/* ============================================================
   CHIROMAX OF MANOTICK
   Trusted Village Practitioner × Contemporary Wellness
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Public+Sans:wght@300;400;500&display=swap');

/* === VARIABLES === */
:root {
  --slate:       #1E3A5F;
  --slate-dark:  #122440;
  --sand:        #F5F0E8;
  --sand-alt:    #EDE6D8;
  --amber:       #C4813A;
  --amber-light: #E8A55A;
  --white:       #FFFFFF;
  --charcoal:    #1A1A1A;
  --muted:       #6B6B6B;
  --soft:        #9A9A9A;
  --tr:          cubic-bezier(0.22, 1, 0.36, 1);
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Public Sans', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* === BASE TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.12;
  font-weight: 400;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 56px;
  background: var(--white);
  border-bottom: 1px solid rgba(30, 58, 95, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  color: var(--slate);
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
}

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

.nav-links a {
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  font-family: 'Public Sans', sans-serif;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width 0.3s var(--tr);
}

.nav-links a:hover { color: var(--amber); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--slate); }

.nav-cta {
  background: var(--amber);
  color: var(--white);
  padding: 10px 26px;
  border-radius: 50px;
  font-size: 13px;
  font-family: 'Public Sans', sans-serif;
  font-weight: 400;
  transition: background 0.2s ease;
}

.nav-cta:hover { background: var(--amber-light); }
.nav-cta::after { display: none !important; }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 101;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate);
  border-radius: 1px;
  transition: all 0.3s var(--tr);
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--slate);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.nav-overlay.open { display: flex; }

.nav-overlay a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.75rem;
  font-style: italic;
  font-weight: 400;
  color: rgba(245, 240, 232, 0.85);
  transition: color 0.2s ease;
}

.nav-overlay a:hover { color: var(--amber); }

.nav-overlay .nav-overlay-cta {
  font-family: 'Public Sans', sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  background: var(--amber);
  color: var(--white);
  padding: 0.875rem 2.25rem;
  border-radius: 50px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--slate-dark);
  padding: 72px 56px 40px;
  font-family: 'Public Sans', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--white);
  font-style: italic;
  margin: 0 0 10px;
  font-weight: 500;
}

.footer-tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 1.5rem;
}

.footer-land {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.28);
  font-weight: 300;
  line-height: 1.7;
  font-style: italic;
  max-width: 240px;
}

.footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0 20px;
  font-weight: 400;
  font-family: 'Public Sans', sans-serif;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  margin-bottom: 12px;
  font-weight: 300;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--amber); }

.footer-col p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  line-height: 1.75;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

.footer-bottom span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.22);
  font-weight: 300;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--amber); }

/* ============================================================
   TEAM AVATARS — CSS gradient circles with initial
   ============================================================ */
.team-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--slate) 0%, var(--amber) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.team-avatar span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1;
  margin-top: 2px;
}

/* ============================================================
   HERO — HOME (split screen, unforgettable)
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 40fr 60fr;
  min-height: 100vh;
}

/* Left slate panel */
.hero-left {
  background: var(--slate);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 56px;
  position: relative;
  overflow: hidden;
}

/* Subtle architectural pattern on slate */
.hero-left-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
}

.hero-left-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 36px;
  font-weight: 400;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.hero-left-brand::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--amber);
  opacity: 0.6;
  flex-shrink: 0;
}

.hero-left h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 6vw, 80px);
  line-height: 0.98;
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  margin: 0 0 44px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.hero-left h1 em {
  font-style: normal;
  color: var(--amber-light);
  opacity: 0.85;
}

.hero-left-sub {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.42);
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  max-width: 240px;
  position: relative;
  z-index: 1;
}

.hero-left-deco {
  position: absolute;
  bottom: 40px;
  left: 56px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.18);
  text-transform: uppercase;
  z-index: 1;
}

/* Right sand panel */
.hero-right {
  background: var(--sand);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
  position: relative;
}

.hero-right-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
  font-weight: 400;
  font-family: 'Public Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-right-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--amber);
  flex-shrink: 0;
}

.hero-right h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.14;
  font-weight: 400;
  color: var(--charcoal);
  margin: 0 0 36px;
  max-width: 480px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 52px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(30, 58, 95, 0.12);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  color: var(--slate);
  font-family: 'Public Sans', sans-serif;
  font-weight: 400;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.hero-badge:hover {
  border-color: rgba(196, 129, 58, 0.3);
  box-shadow: 0 4px 16px rgba(196, 129, 58, 0.1);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-cta-primary {
  background: var(--slate);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 14px;
  font-family: 'Public Sans', sans-serif;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.25s ease;
  display: inline-block;
}

.hero-cta-primary:hover { background: var(--amber); }

.hero-cta-secondary {
  font-size: 13px;
  color: var(--muted);
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  transition: color 0.2s;
}

.hero-cta-secondary:hover { color: var(--slate); }

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-container {
  max-width: 1140px;
  margin: 0 auto;
}

.section-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 400;
  font-family: 'Public Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--amber);
  flex-shrink: 0;
}

/* ============================================================
   WHY CHIROMAX
   ============================================================ */
.why {
  padding: 100px 56px;
  background: var(--sand);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

.why-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  color: var(--slate);
  line-height: 1.15;
  margin: 0 0 28px;
  font-weight: 400;
}

.why-left p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  max-width: 480px;
}

.why-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
  transition: background 0.2s;
}

.why-item:first-child { border-top: 1px solid rgba(30, 58, 95, 0.08); }

.why-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--amber);
  font-style: italic;
  min-width: 28px;
  margin-top: 3px;
  flex-shrink: 0;
}

.why-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--slate);
  margin: 0 0 6px;
  font-weight: 500;
}

.why-item p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
  font-weight: 300;
  font-family: 'Public Sans', sans-serif;
}

/* ============================================================
   CONDITIONS
   ============================================================ */
.conditions {
  padding: 100px 56px;
  background: var(--sand-alt);
}

.conditions-hd {
  margin-bottom: 64px;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.conditions-hd h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 48px);
  color: var(--slate);
  font-weight: 400;
  margin: 0 0 10px;
}

.conditions-hd p {
  font-size: 14px;
  color: var(--soft);
  font-weight: 300;
  letter-spacing: 0.04em;
  font-family: 'Public Sans', sans-serif;
}

.cond-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(30, 58, 95, 0.1);
  max-width: 1140px;
  margin: 0 auto;
}

.cond-item {
  padding: 32px 0;
  border-bottom: 1px solid rgba(30, 58, 95, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 28px;
  cursor: pointer;
  transition: padding-left 0.3s var(--tr);
}

.cond-item:nth-child(odd) {
  padding-right: 56px;
  border-right: 1px solid rgba(30, 58, 95, 0.1);
}

.cond-item:nth-child(even) { padding-left: 56px; }

.cond-item:hover { padding-left: 8px; }
.cond-item:nth-child(odd):hover { padding-left: 0; padding-right: 48px; }
.cond-item:hover .cond-num { color: var(--amber); }

.cond-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: rgba(30, 58, 95, 0.22);
  font-style: italic;
  min-width: 24px;
  margin-top: 3px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.cond-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--slate);
  margin: 0 0 6px;
  font-weight: 500;
}

.cond-body p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
  font-weight: 300;
  font-family: 'Public Sans', sans-serif;
}

/* ============================================================
   ORTHOTICS
   ============================================================ */
.orthotics {
  background: var(--slate);
  padding: 100px 56px;
}

.orthotics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

.orthotics-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 48px);
  color: var(--white);
  line-height: 1.15;
  margin: 0 0 24px;
  font-weight: 400;
  font-style: italic;
}

.orthotics-text p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  margin: 0 0 36px;
  max-width: 480px;
}

.orthotics-cta {
  background: var(--amber);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 14px;
  font-family: 'Public Sans', sans-serif;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.orthotics-cta:hover { background: var(--amber-light); }

.orthotics-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ortho-stat {
  padding: 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.ortho-stat:hover {
  border-color: rgba(196, 129, 58, 0.4);
  background: rgba(255, 255, 255, 0.03);
}

.ortho-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  color: var(--amber);
  line-height: 1;
  margin: 0 0 8px;
  font-weight: 400;
}

.ortho-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  line-height: 1.55;
}

/* ============================================================
   TEAM TEASER
   ============================================================ */
.team-teaser {
  padding: 100px 56px;
  background: var(--sand);
}

.team-teaser-hd {
  max-width: 1140px;
  margin: 0 auto 56px;
}

.team-teaser-hd h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 48px);
  color: var(--slate);
  font-weight: 400;
  margin: 0 0 8px;
}

.team-teaser-hd p {
  font-size: 14px;
  color: var(--soft);
  font-weight: 300;
  font-family: 'Public Sans', sans-serif;
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto 40px;
}

.team-card {
  background: var(--white);
  border-radius: 4px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s var(--tr);
}

.team-card:hover {
  box-shadow: 0 16px 48px rgba(30, 58, 95, 0.1);
  transform: translateY(-3px);
}

.team-card-init {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  font-style: italic;
  color: rgba(30, 58, 95, 0.04);
  line-height: 1;
  position: absolute;
  top: 8px;
  right: 16px;
  font-weight: 400;
  pointer-events: none;
  user-select: none;
}

.team-card-accent {
  width: 32px;
  height: 2px;
  background: var(--amber);
  margin-bottom: 20px;
}

.team-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--slate);
  margin: 0 0 4px;
  font-weight: 500;
}

.team-card .role {
  font-size: 10px;
  color: var(--amber);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: 'Public Sans', sans-serif;
  font-weight: 400;
  display: block;
}

.team-card p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
  font-weight: 300;
  font-family: 'Public Sans', sans-serif;
}

.team-cta-wrap {
  max-width: 1140px;
  margin: 0 auto;
}

.btn-outline {
  display: inline-block;
  color: var(--slate);
  border: 1.5px solid rgba(30, 58, 95, 0.3);
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 13px;
  font-family: 'Public Sans', sans-serif;
  font-weight: 400;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn-outline-white {
  display: inline-block;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 13px;
  font-family: 'Public Sans', sans-serif;
  font-weight: 400;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline-white:hover {
  border-color: var(--amber);
  background: var(--amber);
}

/* ============================================================
   FEES TEASER
   ============================================================ */
.fees-teaser {
  padding: 100px 56px;
  background: var(--sand-alt);
}

.fees-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.fees-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 48px);
  color: var(--slate);
  font-weight: 400;
  margin: 0 0 12px;
}

.fees-sub {
  font-size: 15px;
  color: var(--muted);
  font-weight: 300;
  margin: 0 0 56px;
  font-family: 'Public Sans', sans-serif;
}

.fees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.fee-card {
  background: var(--white);
  border-radius: 4px;
  padding: 32px 20px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s var(--tr);
}

.fee-card:hover {
  box-shadow: 0 8px 32px rgba(30, 58, 95, 0.08);
  transform: translateY(-2px);
}

.fee-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  color: var(--slate);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 10px;
}

.fee-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.55;
  font-family: 'Public Sans', sans-serif;
}

.fees-note {
  font-size: 13px;
  color: var(--soft);
  font-weight: 300;
  font-style: italic;
  font-family: 'Public Sans', sans-serif;
  margin-bottom: 24px;
}

/* ============================================================
   BOOKING CTA
   ============================================================ */
.book-cta {
  background: var(--amber);
  padding: 80px 56px;
  text-align: center;
}

.book-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  color: var(--white);
  font-style: italic;
  font-weight: 400;
  margin: 0 0 16px;
}

.book-cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 40px;
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
}

.book-cta-btn {
  background: var(--white);
  color: var(--amber);
  padding: 18px 52px;
  border-radius: 50px;
  font-size: 15px;
  font-family: 'Public Sans', sans-serif;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: box-shadow 0.2s, transform 0.2s;
}

.book-cta-btn:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.book-cta-sub {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--slate);
  padding: 100px 56px 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
}

.page-hero-inner {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.page-hero-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 400;
  font-family: 'Public Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 24px;
}

.page-hero-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--amber);
  flex-shrink: 0;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  margin: 0 0 20px;
  line-height: 1.08;
}

.page-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.58);
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  line-height: 1.75;
  max-width: 560px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.philosophy {
  padding: 100px 56px;
  background: var(--sand);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

.philosophy-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-style: italic;
  color: var(--slate);
  line-height: 1.45;
  font-weight: 400;
  position: relative;
  padding-left: 32px;
}

.philosophy-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--amber);
  border-radius: 2px;
}

.philosophy-right p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.philosophy-right p:last-child { margin-bottom: 0; }

/* Full team */
.team-full {
  padding: 100px 56px;
  background: var(--sand-alt);
}

.team-full-hd {
  max-width: 1140px;
  margin: 0 auto 56px;
}

.team-full-hd h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 48px);
  color: var(--slate);
  font-weight: 400;
  margin: 0 0 8px;
}

.team-full-hd p {
  font-size: 14px;
  color: var(--soft);
  font-weight: 300;
  font-family: 'Public Sans', sans-serif;
}

.team-cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}

/* Values */
.values {
  padding: 100px 56px;
  background: var(--slate);
}

.values-hd {
  max-width: 1140px;
  margin: 0 auto 64px;
}

.values-hd h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 48px);
  color: var(--white);
  font-weight: 400;
  margin: 0 0 8px;
}

.values-hd p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 300;
  font-family: 'Public Sans', sans-serif;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.value-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  padding: 36px 32px;
  transition: border-color 0.3s, background 0.3s;
}

.value-card:hover {
  border-color: rgba(196, 129, 58, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.value-icon {
  width: 36px;
  height: 36px;
  color: var(--amber);
  margin-bottom: 20px;
}

.value-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--white);
  margin: 0 0 10px;
  font-weight: 500;
}

.value-card p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  margin: 0;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-section {
  padding: 100px 56px;
}

.service-section--sand { background: var(--sand); }
.service-section--white { background: var(--white); }

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

.service-grid.reverse { }

.service-text .service-tag { margin-bottom: 20px; }

.service-divider {
  width: 48px;
  height: 2px;
  background: var(--amber);
  margin-bottom: 24px;
}

.service-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--slate);
  margin: 0 0 20px;
  font-weight: 400;
  line-height: 1.15;
}

.service-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  max-width: 480px;
}

.service-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  position: relative;
}

.service-svg-wrap {
  color: var(--slate);
  opacity: 0.12;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-num-display {
  font-family: 'Cormorant Garamond', serif;
  font-size: 180px;
  font-style: italic;
  font-weight: 400;
  color: rgba(30, 58, 95, 0.06);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.service-svg-main {
  position: relative;
  z-index: 1;
  color: var(--slate);
  opacity: 0.55;
}

/* Orthotics full bleed */
.orthotics-services {
  background: var(--slate);
  padding: 100px 56px;
}

.orthotics-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
}

.orthotics-services h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 48px);
  color: var(--white);
  font-style: italic;
  margin: 0 0 24px;
  font-weight: 400;
}

.orthotics-services p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.58);
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.included-list {
  margin-top: 8px;
}

.included-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.included-list li::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--amber);
  flex-shrink: 0;
}

.ortho-price-display {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  color: var(--amber);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 8px;
}

.ortho-price-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
}

/* Billing section */
.billing {
  padding: 100px 56px;
  background: var(--sand);
}

.billing-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.billing-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 48px);
  color: var(--slate);
  font-weight: 400;
  margin: 0 0 8px;
}

.billing-inner .billing-sub {
  font-size: 14px;
  color: var(--soft);
  font-weight: 300;
  font-family: 'Public Sans', sans-serif;
  margin-bottom: 56px;
}

.billing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.billing-card {
  background: var(--white);
  border-radius: 4px;
  padding: 36px 32px;
  border-top: 3px solid var(--amber);
  transition: box-shadow 0.3s, transform 0.3s var(--tr);
}

.billing-card:hover {
  box-shadow: 0 12px 40px rgba(30, 58, 95, 0.08);
  transform: translateY(-3px);
}

.billing-icon {
  color: var(--amber);
  margin-bottom: 20px;
  width: 32px;
  height: 32px;
}

.billing-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--slate);
  margin: 0 0 8px;
  font-weight: 500;
}

.billing-card p {
  font-size: 13px;
  line-height: 1.78;
  color: var(--muted);
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  margin: 0;
}

.billing-note {
  font-size: 13px;
  color: var(--soft);
  font-weight: 300;
  font-style: italic;
  font-family: 'Public Sans', sans-serif;
}

/* ============================================================
   HOURS PAGE
   ============================================================ */
.hours-contact {
  padding: 100px 56px;
  background: var(--sand);
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: start;
}

.hours-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--slate);
  font-weight: 400;
  margin: 0 0 32px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.hours-table tr { border-bottom: 1px solid rgba(30, 58, 95, 0.08); }
.hours-table tr:first-child { border-top: 1px solid rgba(30, 58, 95, 0.08); }

.hours-table td {
  padding: 16px 0;
  font-family: 'Public Sans', sans-serif;
  font-size: 14px;
}

.hours-table td:first-child {
  color: var(--slate);
  font-weight: 500;
  width: 140px;
}

.hours-table td:last-child {
  color: var(--muted);
  font-weight: 300;
}

.hours-table .closed { color: var(--soft); font-style: italic; }

.hours-note {
  font-size: 13px;
  color: var(--amber);
  font-weight: 300;
  font-family: 'Public Sans', sans-serif;
  font-style: italic;
  margin-top: 12px;
}

.hours-right .fees-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--slate);
  font-weight: 400;
  margin: 0 0 32px;
}

.fees-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
}

.fee-row:first-child { border-top: 1px solid rgba(30, 58, 95, 0.08); }

.fee-row-label {
  font-size: 14px;
  color: var(--charcoal);
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
}

.fee-row-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--slate);
  font-weight: 500;
}

/* Contact section */
.contact-section {
  padding: 100px 56px;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: start;
}

.contact-form-wrap h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--slate);
  font-weight: 400;
  margin: 0 0 32px;
}

.form-group { margin-bottom: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
  font-family: 'Public Sans', sans-serif;
}

input, textarea, select {
  width: 100%;
  padding: 13px 16px;
  font-family: 'Public Sans', sans-serif;
  font-size: 14px;
  color: var(--charcoal);
  background: var(--sand);
  border: 1.5px solid rgba(30, 58, 95, 0.12);
  border-radius: 4px;
  outline: none;
  font-weight: 300;
  transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none;
  -webkit-appearance: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(196, 129, 58, 0.12);
  background: var(--white);
}

textarea { height: 130px; resize: vertical; line-height: 1.65; }

.form-submit {
  background: var(--amber);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 14px;
  font-family: 'Public Sans', sans-serif;
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.form-submit:hover { background: var(--amber-light); }

/* Contact details */
.contact-details h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--slate);
  font-weight: 400;
  margin: 0 0 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
}

.contact-item:last-of-type { border-bottom: none; }

.contact-icon {
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
  width: 20px;
  height: 20px;
}

.contact-item h4 {
  font-family: 'Public Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 4px;
}

.contact-item p, .contact-item a {
  font-size: 14px;
  color: var(--muted);
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

.contact-item a { color: var(--amber); transition: opacity 0.2s; }
.contact-item a:hover { opacity: 0.75; }

.contact-note {
  background: var(--sand);
  border-left: 3px solid var(--amber);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--muted);
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  font-style: italic;
  margin-top: 24px;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: 0.10s; }
.fade-up:nth-child(3) { transition-delay: 0.20s; }
.fade-up:nth-child(4) { transition-delay: 0.30s; }
.fade-up:nth-child(5) { transition-delay: 0.40s; }
.fade-up:nth-child(6) { transition-delay: 0.50s; }

/* ============================================================
   MOBILE — 768px
   ============================================================ */
@media (max-width: 768px) {
  /* Nav */
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero: stack sand on top, slate below */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-right { order: 1; padding: 60px 24px 48px; }
  .hero-left  { order: 2; padding: 60px 24px; }
  .hero-left h1 { font-size: 48px; }
  .hero-left-deco { left: 24px; }

  /* Sections */
  .why, .conditions, .orthotics, .team-teaser,
  .fees-teaser, .philosophy, .team-full, .values,
  .service-section, .orthotics-services, .billing,
  .hours-contact, .contact-section {
    padding: 60px 24px;
  }

  .book-cta { padding: 60px 24px; }
  .page-hero { padding: 80px 24px 60px; }
  footer { padding: 60px 24px 36px; }

  /* Grids → single column */
  .why-grid,
  .orthotics-grid,
  .philosophy-grid,
  .service-grid,
  .orthotics-services-grid,
  .hours-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  /* conditions → single column */
  .cond-list { grid-template-columns: 1fr; }
  .cond-item:nth-child(odd) { padding-right: 0; border-right: none; }
  .cond-item:nth-child(even) { padding-left: 0; }

  /* Team 3-col → single */
  .team-cards { grid-template-columns: 1fr; }

  /* Team 4-col → 2 cols */
  .team-cards-4 { grid-template-columns: 1fr 1fr; }

  /* Values 3 → 1 */
  .values-grid { grid-template-columns: 1fr; }

  /* Fees 4 → 2 */
  .fees-grid { grid-template-columns: 1fr 1fr; }

  /* Billing 3 → 1 */
  .billing-cards { grid-template-columns: 1fr; }

  /* Form row → stack */
  .form-row { grid-template-columns: 1fr; }

  /* Footer grid → 2 cols then 1 */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .team-cards-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .fees-grid { grid-template-columns: 1fr; }
}
