/* ============================================================
   MAREA MEDICAL AESTHETICS — main.css
   Ocean-themed MedSpa template. Written as modern CSS so the
   browser runs it natively, but structured like SCSS (custom
   props, nesting) — drop into a .scss pipeline as-is.
   ============================================================ */

/* ---- 1. TOKENS ---- */
:root {
  /* Color — paper & sand */
  --paper:        #F5F1EA;
  --pearl:        #FAF7F2;
  --bone:         #EFE9DC;
  --sand:         #E8DCC8;
  --driftwood:    #C9B89A;

  /* Color — ocean */
  --deep:         #0E3A47;
  --deep-ink:     #082730;
  --teal:         #2D6B7A;
  --surf:         #5B8C9B;
  --foam:         #C8DDE0;
  --mist:         #E6EEEF;

  /* Color — text & accent */
  --ink:          #14252A;
  --stone:        #6B7A7E;
  --stone-light:  #A8B0B2;
  --gold:         #B89968;
  --gold-warm:    #C9A878;
  --line:         #DCD3C1;
  --line-soft:    rgba(20, 37, 42, 0.08);

  /* Type */
  --f-display:    'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --f-body:       'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Scale */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;
  --space-11: 160px;

  /* Layout */
  --container:   1280px;
  --gutter:      32px;
  --gutter-lg:   64px;
  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   16px;

  /* Motion */
  --ease:        cubic-bezier(.2, .7, .2, 1);
  --dur:         420ms;
  --dur-slow:    900ms;
}

/* ---- 2. RESET / BASE ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-7) 0; }
::selection { background: var(--deep); color: var(--paper); }

/* ---- 3. TYPE ---- */
h1, h2, h3, h4, h5, .display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--deep-ink);
  margin: 0;
  text-wrap: balance;
}
.display-xl { font-size: clamp(56px, 7.4vw, 124px); font-weight: 300; }
.display-l  { font-size: clamp(44px, 5.4vw, 88px); font-weight: 300; }
.display-m  { font-size: clamp(36px, 4vw, 64px); }
.display-s  { font-size: clamp(28px, 2.8vw, 44px); }

.italic, em.script { font-style: italic; font-weight: 300; }

.eyebrow {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--teal);
  margin: 0 0 var(--space-5);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.light { color: var(--foam); }
.eyebrow.light::before { background: var(--gold-warm); }

.lede {
  font-family: var(--f-display);
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.45;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  max-width: 56ch;
  text-wrap: pretty;
}

.body-l { font-size: 18px; line-height: 1.65; }
.body-s { font-size: 14px; line-height: 1.55; }
.muted  { color: var(--stone); }

/* ---- 4. LAYOUT ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-wide { max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space-10) 0; }
.section-sm { padding: var(--space-9) 0; }
.section-tight { padding: var(--space-8) 0; }

.row { display: flex; gap: var(--gutter); }
.grid { display: grid; gap: var(--gutter); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.divider-wave {
  height: 24px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'><path d='M0,12 C150,22 250,2 400,12 C550,22 650,2 800,12 C950,22 1050,2 1200,12' fill='none' stroke='%230E3A47' stroke-width='1' opacity='0.4'/></svg>") repeat-x center;
}

/* ---- 5. BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 16px 28px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  background: var(--deep);
  color: var(--paper);
  border: 1px solid var(--deep);
}
.btn-primary:hover { background: var(--deep-ink); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--deep);
  border: 1px solid var(--deep);
}
.btn-outline:hover { background: var(--deep); color: var(--paper); }
.btn-outline-light {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(245, 241, 234, 0.5);
}
.btn-outline-light:hover { background: var(--paper); color: var(--deep); border-color: var(--paper); }
.btn-ghost {
  background: transparent;
  color: var(--deep);
  padding: 12px 0;
  border-radius: 0;
  border-bottom: 1px solid var(--deep);
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
.btn-sm { padding: 10px 18px; font-size: 11px; }
.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep);
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: color var(--dur) var(--ease);
}
.link-arrow:hover { color: var(--gold); }
.link-arrow .arrow { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---- 6. NAV / HEADER ---- */
.topbar {
  background: var(--deep);
  color: var(--foam);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px var(--gutter);
  max-width: 1480px;
  margin: 0 auto;
}
.topbar a:hover { color: var(--gold-warm); }
.topbar .pipe { color: rgba(200, 221, 224, 0.3); margin: 0 12px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 234, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  transition: background var(--dur) var(--ease);
}
.nav.scrolled { background: rgba(245, 241, 234, 0.98); }
.nav-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-5);
}
.brand {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--deep-ink);
  text-align: center;
  line-height: 1;
}
.brand .mark { font-style: italic; font-weight: 300; }
.brand small {
  display: block;
  font-family: var(--f-body);
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 4px;
}
.nav-links {
  display: flex;
  gap: var(--space-6);
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--dur) var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-right { display: flex; gap: var(--space-3); justify-content: flex-end; align-items: center; }
.nav-left { display: flex; gap: var(--space-6); align-items: center; }
.nav-phone {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-burger {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-burger span { width: 22px; height: 1px; background: var(--ink); transition: all var(--dur) var(--ease); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--deep);
  color: var(--paper);
  z-index: 100;
  display: none;
  padding: var(--space-7) var(--gutter);
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--f-display); font-size: 36px; padding: 10px 0; }

/* ---- 7. HERO ---- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--deep);
  color: var(--paper);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(14, 58, 71, 0.35) 0%,
    rgba(14, 58, 71, 0.15) 50%,
    rgba(14, 58, 71, 0.7) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: var(--space-10) var(--gutter) var(--space-9);
  width: 100%;
}
.hero-title {
  color: var(--paper);
  font-weight: 300;
  max-width: 14ch;
  text-wrap: balance;
}
.hero-meta {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-7);
  align-items: center;
  flex-wrap: wrap;
}
.hero-locale {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--foam);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-locale::before {
  content: "";
  width: 40px; height: 1px;
  background: var(--gold-warm);
}
.hero-scroll {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--foam);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0.7;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 40px;
  background: var(--foam);
  animation: drip 2.4s ease-in-out infinite;
}
@keyframes drip {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* compact hero variant for inner pages */
.hero-inner-page {
  min-height: 56vh;
}
.hero-inner-page .hero-title { max-width: 22ch; font-size: clamp(40px, 5vw, 80px); }

/* ---- 8. CARDS / TILES ---- */
.service-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--pearl);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -32px rgba(14, 58, 71, 0.4);
}
.service-card-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--mist);
  position: relative;
  overflow: hidden;
}
.service-card-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14, 58, 71, 0.45));
}
.service-card-body { padding: var(--space-5) var(--space-5) var(--space-6); }
.service-card h3 { font-size: 26px; margin-bottom: 8px; }
.service-card p { color: var(--stone); font-size: 14px; margin: 0 0 var(--space-4); }
.service-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  border-top: 1px solid var(--line-soft);
  padding-top: var(--space-3);
}

.area-card {
  display: flex;
  flex-direction: column;
  background: var(--pearl);
  border: 1px solid var(--line-soft);
  padding: var(--space-6);
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
  min-height: 240px;
  position: relative;
  overflow: hidden;
}
.area-card::before {
  content: "";
  position: absolute;
  top: -20%; right: -20%;
  width: 60%; height: 60%;
  background: radial-gradient(circle, var(--foam) 0%, transparent 70%);
  opacity: 0.6;
  transition: all var(--dur) var(--ease);
}
.area-card:hover { background: var(--deep); color: var(--paper); border-color: var(--deep); }
.area-card:hover::before { opacity: 0; }
.area-card:hover h3, .area-card:hover .area-meta { color: var(--paper); }
.area-card h3 { font-size: 32px; margin-bottom: 4px; }
.area-card .area-meta {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-5);
}
.area-card p { font-size: 14px; margin: 0; flex: 1; }
.area-card .area-cta {
  margin-top: var(--space-5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.provider-card {
  background: var(--pearl);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.provider-img {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center top;
  background-color: var(--mist);
}
.provider-body { padding: var(--space-5); }
.provider-body h3 { font-size: 28px; margin-bottom: 2px; }
.provider-body .credentials {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.provider-body p { font-size: 14px; color: var(--stone); margin: 0; }

/* ---- 9. FAQ ACCORDION ---- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  text-align: left;
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  color: var(--deep-ink);
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.faq-q:hover { color: var(--gold); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: currentColor;
  transition: transform var(--dur) var(--ease);
}
.faq-icon::before { width: 14px; height: 1px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 1px; height: 14px; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 0 var(--space-6);
  max-width: 70ch;
  color: var(--stone);
  font-size: 16px;
  line-height: 1.7;
}

/* ---- 10. TESTIMONIALS ---- */
.testimonial-carousel { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex;
  gap: var(--gutter);
}
.testimonial {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--gutter-lg);
  align-items: center;
}
.testimonial-img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  background-color: var(--mist);
}
.testimonial-quote {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--deep-ink);
  text-wrap: pretty;
  margin: 0 0 var(--space-6);
}
.testimonial-quote::before {
  content: """;
  display: block;
  font-size: 80px;
  line-height: 0.5;
  color: var(--gold);
  margin-bottom: var(--space-5);
}
.testimonial-meta { display: flex; align-items: center; gap: var(--space-4); }
.testimonial-name { font-weight: 600; font-size: 14px; letter-spacing: 0.06em; }
.testimonial-location { font-size: 12px; color: var(--stone); margin-top: 2px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }

.carousel-nav {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-7);
  justify-content: flex-end;
}
.carousel-btn {
  width: 48px; height: 48px;
  border: 1px solid var(--deep);
  border-radius: 999px;
  color: var(--deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur) var(--ease);
}
.carousel-btn:hover { background: var(--deep); color: var(--paper); }
.carousel-dots { display: flex; gap: 6px; align-items: center; margin-right: auto; }
.carousel-dot { width: 24px; height: 1px; background: var(--line); transition: all var(--dur) var(--ease); }
.carousel-dot.active { background: var(--deep); width: 48px; }

/* ---- 11. BEFORE / AFTER ---- */
.ba {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
}
.ba-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.ba-img.after {
  clip-path: inset(0 0 0 50%);
}
.ba-label {
  position: absolute;
  top: var(--space-4);
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(245, 241, 234, 0.9);
  color: var(--deep);
  border-radius: 2px;
}
.ba-label.before { left: var(--space-4); }
.ba-label.after  { right: var(--space-4); }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--paper);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--deep);
  transform: translate(-50%, -50%);
}
.ba-handle::after {
  content: "‹ ›";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--deep);
  font-weight: 600;
}

/* ---- 12. STATS / TRUST ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: var(--space-7) var(--space-5); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(40px, 4.2vw, 64px);
  font-weight: 300;
  line-height: 1;
  color: var(--deep-ink);
}
.stat-num sup { font-size: 0.5em; color: var(--gold); }
.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: var(--space-3);
}

/* ---- 13. FORMS ---- */
.field { margin-bottom: var(--space-5); display: block; }
.field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--space-2);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-bottom-color: var(--deep);
}
.field textarea { resize: vertical; min-height: 100px; }

/* ---- 14. JOURNEY / STEP ROW ---- */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter-lg); }
.journey-step { position: relative; padding-top: var(--space-6); }
.journey-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
}
.journey-step .num {
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.journey-step h3 { font-size: 30px; margin-bottom: var(--space-3); }
.journey-step p { font-size: 15px; color: var(--stone); margin: 0; }

/* ---- 15. PRICING / RATES ---- */
.rates {
  border-top: 1px solid var(--line);
}
.rate-row {
  display: grid;
  grid-template-columns: 1.2fr 2fr auto;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.rate-name { font-family: var(--f-display); font-size: 22px; }
.rate-desc { color: var(--stone); font-size: 14px; }
.rate-price {
  font-family: var(--f-display);
  font-size: 26px;
  color: var(--deep-ink);
  white-space: nowrap;
}
.rate-price small { font-size: 12px; color: var(--stone); letter-spacing: 0.12em; text-transform: uppercase; margin-left: 4px; }

/* ---- 16. CTA BAND ---- */
.cta-band {
  background: var(--deep);
  color: var(--paper);
  padding: var(--space-9) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(184, 153, 104, 0.15), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(91, 140, 155, 0.25), transparent 50%);
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--gutter-lg);
  align-items: center;
}
.cta-band h2 { color: var(--paper); }
.cta-band p { color: var(--foam); max-width: 50ch; }
.cta-band .actions { display: flex; gap: var(--space-4); justify-content: flex-end; flex-wrap: wrap; }

/* ---- 17. FOOTER ---- */
.footer {
  background: var(--deep-ink);
  color: var(--foam);
  padding: var(--space-9) 0 var(--space-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--gutter-lg);
  margin-bottom: var(--space-8);
}
.footer h4 {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: var(--space-5);
}
.footer .brand { text-align: left; color: var(--paper); }
.footer .brand small { color: var(--foam); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 12px; font-size: 14px; }
.footer a:hover { color: var(--gold-warm); }
.footer-address { font-size: 14px; line-height: 1.7; margin: 0 0 var(--space-5); }
.footer-legal {
  border-top: 1px solid rgba(200, 221, 224, 0.12);
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(200, 221, 224, 0.6);
}

/* ---- 18. UTILITIES & MOTION ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

.text-center { text-align: center; }
.center-x { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-7); }
.mb-8 { margin-bottom: var(--space-8); }

.section-head { max-width: 60ch; margin-bottom: var(--space-8); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter-lg);
  align-items: center;
}
.split-img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: var(--mist);
  border-radius: var(--radius);
}
.split-img.wide { aspect-ratio: 5 / 4; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--mist);
  color: var(--teal);
}
.pill.gold { background: rgba(184, 153, 104, 0.12); color: var(--gold); }

.section-bg-sand { background: var(--sand); }
.section-bg-mist { background: var(--mist); }
.section-bg-deep { background: var(--deep); color: var(--paper); }
.section-bg-deep h1, .section-bg-deep h2, .section-bg-deep h3 { color: var(--paper); }
.section-bg-deep .lede, .section-bg-deep .muted { color: var(--foam); }

/* horizon line decorative */
.horizon {
  text-align: center;
  margin: var(--space-6) 0;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  justify-content: center;
}
.horizon::before, .horizon::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 120px;
  background: var(--line);
}
.horizon span {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* breadcrumb */
.breadcrumb {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--foam);
  display: flex;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-5);
}
.breadcrumb a { color: var(--foam); opacity: 0.7; transition: opacity var(--dur) var(--ease); }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb .sep { opacity: 0.4; }

/* ---- 19. RESPONSIVE ---- */
@media (max-width: 960px) {
  .nav-left, .nav-right .btn { display: none; }
  .nav-burger { display: flex; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .brand { text-align: left; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .split, .cta-band-inner, .journey, .footer-grid { grid-template-columns: 1fr; }
  .testimonial { grid-template-columns: 1fr; }
  .footer-grid { gap: var(--space-7); }
  .section { padding: var(--space-8) 0; }
  .hero { min-height: 70vh; }
  .cta-band .actions { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .topbar-inner { flex-direction: column; gap: 4px; padding: 8px var(--gutter); }
  .rate-row { grid-template-columns: 1fr; gap: var(--space-2); }
  .rate-price { font-size: 22px; }
  :root { --gutter: 20px; }
}
