/* ═══════════════════════════════════════════════════════
   Center Seat Solutions — Shared Stylesheet
   Shared between index.html and book.html
   ═══════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  --navy:      #042C53;
  --steel:     #185FA5;
  --orange:    #e05a2b;
  --orange-lt: #F2884F;
  --sky:       #85B7EB;
  --offwhite:  #f5f3ef;
  --mid:       #5a8aaa;
  --rule:      rgba(10,64,112,0.45);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--offwhite);
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ────────────────────────────────────────── */
.section-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 300;
  font-size: 40px;
  line-height: 1.15;
  color: var(--offwhite);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 15px;
  line-height: 1.8;
  color: var(--sky);
  max-width: 520px;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.2s, transform 0.15s;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary:hover  { background: var(--orange-lt); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sky);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: gap 0.2s;
}
.btn-ghost:hover { gap: 10px; color: var(--offwhite); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sky);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border: 1px solid rgba(133,183,235,0.22);
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-outline:hover { border-color: rgba(133,183,235,0.5); color: var(--offwhite); }
.btn-outline:disabled { opacity: 0.35; cursor: not-allowed; }

/* ── Tags ──────────────────────────────────────────────── */
.tag {
  font-size: 11px;
  color: var(--mid);
  background: rgba(10,64,112,0.6);
  border: 1px solid var(--rule);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── Badges ────────────────────────────────────────────── */
.badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--offwhite);
  background: rgba(4,44,83,0.8);
  border: 1px solid rgba(133,183,235,0.2);
  padding: 5px 12px;
  border-radius: 20px;
}

/* ── Scroll animations ─────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Hero card entrance animation ─────────────────────── */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

.mini-card                 { opacity: 0; animation: slideInRight 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
.mini-card:nth-child(1)    { animation-delay: 0.15s; }
.mini-card:nth-child(2)    { animation-delay: 0.35s; }
.mini-card:nth-child(3)    { animation-delay: 0.55s; }
.mini-card:nth-child(4)    { animation-delay: 0.75s; }

/* ── Nav ───────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 64px;
  border-bottom: 1px solid var(--rule);
  background: rgba(4,44,83,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: auto;
  width: 220px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 13px;
  color: var(--sky);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-link:hover { opacity: 1; }

.nav-cta {
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--orange-lt); }

/* ── Footer ────────────────────────────────────────────── */
footer {
  padding: 40px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.footer-logo img {
  height: auto;
  width: 160px;
}

.footer-right { font-size: 12px; color: var(--mid); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav / footer */
  nav        { padding: 16px 24px; }
  .nav-links { display: none; }
  footer     { padding: 32px 24px; flex-direction: column; gap: 16px; text-align: center; }

  /* ── Mobile centering (Fix 3) ─────────────────────────── */

  /* Hero left column */
  .hero-eyebrow { text-align: center; }
  .hero-sub     { text-align: center; max-width: 100%; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }

  /* Stats bar — stack vertically and center */
  .stats-bar            { flex-direction: column; }
  .stat                 { text-align: center; border-right: none;
                          border-bottom: 1px solid var(--rule); }
  .stat:last-child      { border-bottom: none; }

  /* Shared section typography */
  .section-eyebrow      { text-align: center; }
  .section-heading      { text-align: center; }
  .section-sub          { text-align: center; max-width: 100%;
                          margin-left: auto; margin-right: auto; }

  /* Services header block */
  .services-header      { text-align: center; }

  /* CTA actions row */
  .cta-actions          { flex-wrap: wrap; }
}
