/* ============================================================
   Ocotillo Orthopedics — Design System
   Sonoran-desert palette: olive/sage + terracotta bloom on cream.
   Elegant serif (Fraunces) display + Inter body.
   ============================================================ */

:root {
  /* Desert palette */
  --olive: #5B6B38;          /* primary — ocotillo stem green */
  --olive-deep: #3E4926;     /* darker green — dark sections, text accents */
  --olive-2: #6E7E47;
  --sage: #92A06A;           /* soft sage */
  --sage-soft: #B9C29A;

  --terra: #C24E2A;          /* terracotta — accent / CTAs */
  --terra-deep: #A23C1C;
  --clay: #D5683C;
  --bloom: #DE5A3F;          /* the red-orange ocotillo flower */

  --cream: #F7F3EA;          /* warm off-white background */
  --cream-2: #FBF8F1;
  --sand: #ECE3D1;           /* card / band */
  --sand-2: #E2D6BE;
  --bark: #2C2A21;           /* body text, deep sections */
  --bark-2: #38362B;

  --line: rgba(44, 42, 33, 0.12);
  --line-strong: rgba(44, 42, 33, 0.24);
  --line-cream: rgba(247, 243, 234, 0.14);

  /* Type */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--bark);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--olive-deep);
}
h1 { font-size: clamp(42px, 6.4vw, 92px); letter-spacing: -0.02em; line-height: 1.02; }
h2 { font-size: clamp(32px, 4.4vw, 60px); letter-spacing: -0.015em; }
h3 { font-size: clamp(22px, 2.4vw, 32px); }
h4 { font-size: 20px; }
p { color: var(--bark); }
em, .italic { font-style: italic; }

/* Eyebrow — echoes the logo's tracked "EXTREMITY · JOINT · SPORTS SURGERY" */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 1px;
  background: currentColor;
}
.eyebrow.center { justify-content: center; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
}

.lead { font-size: clamp(17px, 1.4vw, 21px); color: var(--bark); opacity: 0.85; line-height: 1.6; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background 0.3s var(--ease-out), backdrop-filter 0.3s, border-color 0.3s, padding 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(247, 243, 234, 0.86);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo .mark { width: 40px; height: 40px; flex-shrink: 0; object-fit: contain; }
.nav-logo .wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo .wordmark b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--olive-deep);
}
.nav-logo .wordmark span {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 600;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--bark);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--terra); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--terra);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--olive-deep);
  color: var(--cream);
  padding: 11px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { background: var(--terra); transform: translateY(-1px); }
.nav-cta .arrow { transition: transform 0.3s var(--ease-out); }
.nav-cta:hover .arrow { transform: translate(2px, -2px); }

/* Mobile menu */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--olive-deep);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--cream);
  padding: 96px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--olive-deep);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 24px; justify-content: center; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary { background: var(--terra); color: var(--cream); }
.btn-primary:hover { background: var(--terra-deep); transform: translateY(-2px); }
.btn-olive { background: var(--olive-deep); color: var(--cream); }
.btn-olive:hover { background: var(--olive); transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--olive-deep);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover { background: var(--olive-deep); color: var(--cream); border-color: var(--olive-deep); }
.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line-cream);
}
.btn-ghost-light:hover { background: var(--cream); color: var(--olive-deep); }
.btn .arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .arrow { transform: translate(3px, -3px); }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  padding: 160px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 85% 18%, rgba(222, 90, 63, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 10% 90%, rgba(91, 107, 56, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 55%, var(--sand) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-text { max-width: 720px; }
.hero h1 { color: var(--olive-deep); }
.hero h1 .accent { color: var(--terra); font-style: italic; font-weight: 400; }
.hero-sub {
  margin-top: 28px;
  font-size: clamp(17px, 1.35vw, 20px);
  max-width: 560px;
  line-height: 1.6;
  color: var(--bark);
  opacity: 0.88;
}
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 48px;
  display: flex;
  gap: 14px 34px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--bark);
  flex-wrap: wrap;
}
.hero-meta div { display: flex; align-items: center; gap: 9px; }
.hero-meta strong { color: var(--olive-deep); font-weight: 700; }
.hero-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--terra); flex-shrink: 0; }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art .badge-ring {
  width: min(440px, 92%);
  aspect-ratio: 1;
}
.hero-art .hero-logo {
  width: min(460px, 94%);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(62, 73, 38, 0.16));
}

/* Status pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(91, 107, 56, 0.10);
  border: 1px solid rgba(91, 107, 56, 0.22);
  color: var(--olive-deep);
  padding: 7px 16px 7px 13px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}
.status-pill .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--terra);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(194,78,42,0.4); }
  50% { opacity: 0.7; transform: scale(1.25); box-shadow: 0 0 0 6px rgba(194,78,42,0); }
}

/* ============================================================
   SCOPE MARQUEE
   ============================================================ */
.marquee-wrap {
  background: var(--olive-deep);
  color: var(--cream);
  padding: 20px 0;
  overflow: hidden;
}
.marquee {
  display: flex;
  gap: 52px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-left 46s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 52px;
}
.marquee span::after { content: '✦'; color: var(--clay); font-size: 16px; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section { position: relative; }
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.section.cream { background: var(--cream); }
.section.sand { background: var(--sand); }
.section.olive {
  background: var(--olive-deep);
  color: var(--cream);
}
.section.olive h2, .section.olive h3, .section.olive h4 { color: var(--cream); }
.section.olive .eyebrow { color: var(--clay); }
.section.olive .lead { color: rgba(247,243,234,0.82); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head h2 { margin-top: 14px; }
.section-head.center {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}
.section-head.center .eyebrow { justify-content: center; }

/* ============================================================
   STORY / SPLIT  (AZ roots)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.wide-left { grid-template-columns: 1.1fr 0.9fr; }
.story-card {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px;
  box-shadow: 0 24px 60px -34px rgba(44,42,33,0.25);
}
.story-card .quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--olive-deep);
}
.story-card .byline {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}
.story-card .byline .avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(150deg, var(--sage), var(--olive));
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); font-family: var(--font-display); font-weight: 600; font-size: 18px;
  flex-shrink: 0; overflow: hidden;
}
.story-card .byline .avatar img { width: 100%; height: 100%; object-fit: cover; }
.story-card .byline b { color: var(--olive-deep); display: block; }
.story-card .byline span { opacity: 0.7; }

.feature-list { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: none; padding-bottom: 0; }
.feature-row .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(194,78,42,0.10);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-row .ico svg { width: 22px; height: 22px; stroke: var(--terra); fill: none; stroke-width: 1.6; }
.feature-row h4 { color: var(--olive-deep); margin-bottom: 5px; font-size: 18px; }
.feature-row p { font-size: 15px; opacity: 0.82; line-height: 1.55; }

/* ============================================================
   SERVICE / CONDITION CARDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.3s;
  min-height: 280px;
}
a.card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px -28px rgba(44,42,33,0.28); border-color: var(--sage-soft); }
.card .card-ico {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--olive-deep);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.card .card-ico svg { width: 28px; height: 28px; stroke: var(--cream); fill: none; stroke-width: 1.5; }
a.card:hover .card-ico { background: var(--terra); }
.card .card-num {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--terra);
}
.card h3 { font-size: 24px; color: var(--olive-deep); }
.card p { font-size: 15px; line-height: 1.55; opacity: 0.82; margin-top: auto; }
.card .card-link {
  font-size: 14px; font-weight: 600; color: var(--terra);
  display: inline-flex; align-items: center; gap: 7px; margin-top: 4px;
}
.card .card-link .arrow { transition: transform 0.3s var(--ease-out); }
a.card:hover .card-link .arrow { transform: translate(3px, -3px); }
.card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.card .tags span {
  font-size: 12px; padding: 4px 11px; border-radius: 100px;
  background: rgba(91,107,56,0.10); color: var(--olive-deep); font-weight: 500;
}

/* ============================================================
   CREDIBILITY STATS
   ============================================================ */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-cream);
  border: 1px solid var(--line-cream);
  border-radius: 18px;
  overflow: hidden;
}
.stat {
  background: var(--olive-deep);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--cream);
}
.stat .num small { color: var(--clay); font-size: 0.45em; margin-left: 3px; }
.stat .label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--clay); font-weight: 600; margin-top: 10px;
}
.stat .desc { font-size: 13.5px; opacity: 0.78; line-height: 1.5; color: var(--cream); }

/* Credential chips */
.cred-row {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px;
}
.cred-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 9px 18px;
  font-size: 14px; font-weight: 500;
  color: var(--olive-deep);
}
.cred-chip svg { width: 16px; height: 16px; stroke: var(--terra); fill: none; stroke-width: 2; }

/* Portrait + figures */
.aside-portrait {
  width: 100%;
  height: auto;              /* override the img height attribute so aspect-ratio governs */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 16px;
  border: 1px solid var(--line);
  margin-bottom: 6px;
}
.figure { margin: 30px 0; }
.figure img {
  display: block;
  width: 100%;
  height: auto;            /* keep natural aspect ratio — never squish/stretch */
  max-height: 480px;       /* tall phone photos become a tidy banner */
  object-fit: cover;
  object-position: center 30%;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -30px rgba(44,42,33,0.4);
}
.figure figcaption { font-size: 13px; opacity: 0.62; margin-top: 12px; text-align: center; }

/* Hero portrait card (home) */
.hero-portrait {
  position: absolute;
  right: -8px; bottom: -8px;
  width: 132px; height: 132px;
  border-radius: 18px;
  object-fit: cover;
  border: 4px solid var(--cream);
  box-shadow: 0 18px 40px -18px rgba(44,42,33,0.45);
}
@media (max-width: 1000px) { .hero-portrait { width: 104px; height: 104px; } }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 150px 0 64px;
  background:
    radial-gradient(ellipse 60% 60% at 88% 0%, rgba(222,90,63,0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 14ch; }
.page-hero .lead { max-width: 620px; margin-top: 22px; }
.breadcrumb {
  display: flex; gap: 9px; align-items: center;
  font-size: 13px; color: var(--bark); opacity: 0.7; margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--terra); }
.breadcrumb .sep { opacity: 0.5; }

/* ============================================================
   PROSE (article body)
   ============================================================ */
.prose { max-width: 720px; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 48px; }
.prose h3 { font-size: 24px; margin-top: 36px; color: var(--olive-deep); }
.prose p { line-height: 1.7; color: var(--bark); opacity: 0.92; }
.prose ul.bullets { display: flex; flex-direction: column; gap: 12px; padding-left: 4px; }
.prose ul.bullets li {
  position: relative;
  padding-left: 32px;
  line-height: 1.6;
}
.prose ul.bullets li::before {
  content: '';
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--terra);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8.5l3 3 5-6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}
.prose a.inline { color: var(--terra); font-weight: 600; border-bottom: 1px solid rgba(194,78,42,0.35); }
.prose a.inline:hover { border-bottom-color: var(--terra); }

/* Quick Answer (AEO) */
.quick-answer {
  background: var(--sand);
  border-left: 4px solid var(--terra);
  border-radius: 0 16px 16px 0;
  padding: 26px 30px;
  margin: 8px 0 8px;
}
.quick-answer .qa-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--terra); font-weight: 700; margin-bottom: 10px;
}
.quick-answer p { font-size: 17px; line-height: 1.6; color: var(--olive-deep); }

/* Article layout with sticky aside */
.article-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}
.aside-card {
  position: sticky;
  top: 100px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.aside-card h4 { color: var(--olive-deep); font-size: 20px; }
.aside-card .aside-row { display: flex; flex-direction: column; gap: 3px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.aside-card .aside-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.aside-card .aside-row small { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--terra); font-weight: 600; }
.aside-card .aside-row a, .aside-card .aside-row span { font-size: 15px; font-weight: 500; color: var(--olive-deep); }
.aside-card .aside-row a:hover { color: var(--terra); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; max-width: 820px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.section.olive .faq-item { border-color: var(--line-cream); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); font-weight: 500;
  color: var(--olive-deep); list-style: none;
}
.section.olive .faq-q { color: var(--cream); }
.faq-q::-webkit-details-marker { display: none; }
.faq-toggle {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(91,107,56,0.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.3s, transform 0.3s; font-size: 18px; color: var(--terra);
}
.section.olive .faq-toggle { background: rgba(247,243,234,0.10); }
.faq-item[open] .faq-toggle { background: var(--terra); color: var(--cream); transform: rotate(45deg); }
.faq-a { font-size: 16px; line-height: 1.7; opacity: 0.85; margin-top: 14px; max-width: 92%; }

/* ============================================================
   LOCATIONS / AFFILIATES
   ============================================================ */
.loc-card {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.loc-card .loc-map {
  height: 180px;
  background: linear-gradient(135deg, var(--sage-soft), var(--sage));
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.loc-card .loc-map svg { width: 56px; height: 56px; stroke: var(--cream); fill: none; stroke-width: 1.5; }
.loc-card.primary .loc-map { background: linear-gradient(135deg, var(--olive), var(--olive-deep)); }
.loc-card .loc-body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 12px; }
.loc-tag {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; color: var(--terra);
}
.loc-card h3 { font-size: 22px; color: var(--olive-deep); }
.loc-card .loc-addr { font-size: 15px; line-height: 1.55; opacity: 0.85; }
.loc-card .loc-links { display: flex; gap: 16px; margin-top: 6px; font-size: 14px; font-weight: 600; }
.loc-card .loc-links a { color: var(--terra); display: inline-flex; align-items: center; gap: 6px; }

.affiliate-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 28px;
}
.affiliate-row .aff-logo {
  width: 58px; height: 58px; border-radius: 14px;
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.affiliate-row .aff-logo svg { width: 30px; height: 30px; stroke: var(--olive); fill: none; stroke-width: 1.5; }
.affiliate-row h4 { color: var(--olive-deep); font-size: 19px; margin-bottom: 4px; }
.affiliate-row p { font-size: 14.5px; opacity: 0.8; line-height: 1.5; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-inner > * { min-width: 0; }  /* keep wide form controls from stretching the grid past the viewport */
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
.contact-form {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 30px 70px -34px rgba(44,42,33,0.22);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--bark); opacity: 0.65; font-weight: 600;
}
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 16px;
  padding: 12px 0;
  background: transparent;
  border: none; border-bottom: 1px solid var(--line-strong);
  color: var(--bark); outline: none;
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--terra); }
.field textarea { min-height: 96px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.contact-meta { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.contact-meta-item h5 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--terra); margin-bottom: 6px; font-weight: 600;
}
.contact-meta-item a, .contact-meta-item p {
  font-family: var(--font-display); font-size: 21px; font-weight: 500; color: var(--olive-deep); line-height: 1.3;
  overflow-wrap: anywhere;
}
.contact-meta-item a:hover { color: var(--terra); }
.contact-meta-item .sub { font-family: var(--font-body); font-size: 13px; opacity: 0.6; font-weight: 400; }

/* Disclaimer */
.disclaimer {
  background: var(--sand);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.82;
}
.disclaimer strong { color: var(--olive-deep); }

/* CTA band */
.cta-band {
  background: var(--olive-deep);
  color: var(--cream);
  border-radius: 28px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(222,90,63,0.30) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 { color: var(--cream); position: relative; }
.cta-band p { color: rgba(247,243,234,0.82); max-width: 540px; margin: 18px auto 0; position: relative; }
.cta-band .hero-cta { justify-content: center; position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bark);
  color: var(--cream);
  padding: 88px 0 30px;
  position: relative;
  overflow: hidden;
}
.footer h2 { color: var(--cream); }
.footer-top { display: grid; grid-template-columns: 1.4fr auto; gap: 48px; align-items: end; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
  margin-top: 72px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line-cream);
}
.footer-col h5 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--clay); margin-bottom: 18px; font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.footer-col a { opacity: 0.85; }
.footer-col a:hover { opacity: 1; color: var(--clay); }
.footer-brand p { font-size: 16px; line-height: 1.55; max-width: 320px; opacity: 0.8; margin-top: 16px; }
.footer-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: rgba(247,243,234,0.6);
  flex-wrap: wrap;
}
.footer-bottom .legal { max-width: 680px; line-height: 1.5; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-child > * { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-child.in > * { opacity: 1; transform: translateY(0); }
.reveal-child.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-child.in > *:nth-child(2) { transition-delay: 0.11s; }
.reveal-child.in > *:nth-child(3) { transition-delay: 0.17s; }
.reveal-child.in > *:nth-child(4) { transition-delay: 0.23s; }
.reveal-child.in > *:nth-child(5) { transition-delay: 0.29s; }
.reveal-child.in > *:nth-child(6) { transition-delay: 0.35s; }
.reveal-child.in > *:nth-child(7) { transition-delay: 0.41s; }
.reveal-child.in > *:nth-child(8) { transition-delay: 0.47s; }
.reveal-child.in > *:nth-child(9) { transition-delay: 0.53s; }
.reveal-child.in > *:nth-child(10) { transition-delay: 0.59s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; max-width: 360px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .split, .split.wide-left { grid-template-columns: 1fr; gap: 40px; }
  .card-grid, .card-grid.four { grid-template-columns: 1fr 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: 1fr; gap: 40px; }
  .aside-card { position: static; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links, .nav > .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 84px 0; }
  .card-grid, .card-grid.two, .card-grid.four { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 44px 28px; }
  .container, .container-narrow { padding: 0 22px; }
  .hero { padding: 130px 0 70px; }
  .stat-band { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
