/* =========================================================
   BodyEase — shared stylesheet
   ========================================================= */

/* ---------------------------------------------------------
   0. SELF-HOSTED FONTS — General Sans (was Fontshare CDN)
      Eliminates third-party round-trip, 1-year cache via .htaccess
   --------------------------------------------------------- */
@font-face {
  font-family: 'General Sans';
  src: url('/assets/fonts/general-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: 'General Sans';
  src: url('/assets/fonts/general-sans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: 'General Sans';
  src: url('/assets/fonts/general-sans-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: optional;
}

/* ---------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   --------------------------------------------------------- */
:root {
  /* --- Palette (original names preserved) --- */
  --navy:   #1c2b3a;   /* warmer deep charcoal — was #0d2137 */
  --teal:   #0e6e6e;
  --tealdk: #094f4f;
  --accent: #a85533;   /* muted brick terracotta — WCAG AA 4.7:1 with white */
  --acdk:   #8c4228;
  --bg:     #edf6f5;   /* subtle mint tint — ties into hero palette */
  --bdr:    #dde4e8;   /* lighter, cleaner border */
  --muted:  #4a5568;   /* darkened for WCAG AA on off-white backgrounds */
  --white:  #ffffff;
  --teal-hi:#7ee8d4;

  /* --- Semantic colour aliases (no new hex values) --- */
  --color-primary:        var(--teal);
  --color-primary-dark:   var(--tealdk);
  --color-accent:         var(--accent);
  --color-accent-dark:    var(--acdk);
  --color-surface:        var(--white);
  --color-surface-offset: var(--bg);
  --color-border:         var(--bdr);
  --color-text:           #1c2b3a;
  --color-text-muted:     var(--muted);
  --color-navy:           var(--navy);

  /* --- Spacing scale (4px base) --- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* --- Typography scale --- */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;

  /* --- Border radius --- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-full: 9999px;

  /* --- Shadows — lighter, more clinical --- */
  --shadow-sm: 0 1px 4px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.09);

  /* --- Content widths --- */
  --content-default: 1080px;
  --content-narrow:  760px;

  /* --- Font families --- */
  --font-display: 'Fraunces', Georgia, "Times New Roman", Times, serif;
  --font-body:    'General Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------------------------------------------------------
   2. RESET / BASE
   --------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* must be on html, not body — body overflow-x:hidden breaks position:fixed in iOS Safari */
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-surface-offset);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ---------------------------------------------------------
   3. FOCUS AND ACTIVE STATES
   --------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* High-contrast focus outline on dark backgrounds */
.hero:not(.hero-inner) :focus-visible,
.s-dk :focus-visible,
.footer :focus-visible {
  outline-color: rgba(255,255,255,0.85);
}

a:active,
button:active,
.btn:active {
  transform: scale(0.98);
  opacity: 0.88;
  transition: transform 80ms ease, opacity 80ms ease;
}

/* ---------------------------------------------------------
   4. TYPOGRAPHY
   --------------------------------------------------------- */
h1, h2 {
  font-family: var(--font-display);
  line-height: 1.15;
}

h3 {
  font-family: var(--font-body);
  line-height: 1.3;
}

h1 {
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  color: var(--navy);          /* default — overridden to white inside .hero */
  margin-bottom: 1rem;
  max-width: 100%;
  overflow-wrap: break-word;
  letter-spacing: -0.022em;
}

h2 {
  font-size: clamp(1.45rem, 3.5vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 0.9rem;
  letter-spacing: -0.018em;
}

h3 {
  font-size: 1.1rem;
  color: var(--navy);    /* changed from teal — reduces teal overuse */
  margin-bottom: 0.4rem;
  font-weight: 600;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
  max-width: 65ch;
}

li {
  max-width: 65ch;
}

/* Remove 65ch constraint where layout requires full width */
.nav-links li,
.pills li,
.ctas li,
.fc ul li,
.fb li,
.intro-pills li,
.conds li,
.faq-q span,
.region-count,
.region-text h3 ~ *,
td, th {
  max-width: none;
}

/* Section label */
.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.9rem;
}

.sec-hd {
  text-align: center;
  margin-bottom: 2rem;
}

.sec-hd p {
  max-width: 540px;
  margin: 0.5rem auto 0;
  color: var(--muted);
}

/* ---------------------------------------------------------
   5. NAVIGATION
   --------------------------------------------------------- */
.site-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-top: 2px solid var(--teal);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.site-nav .c {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 56px;
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.nav-logo::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  background: var(--teal-hi);
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--teal-hi);
  font-weight: 400;
  letter-spacing: 0.07em;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}

.nav-links li { max-width: none; }

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  transition: color 0.2s;
  padding: 4px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover { color: var(--white); }

.nav-links a[aria-current="page"] {
  color: var(--white);
  box-shadow: inset 0 -2px 0 rgba(126,232,212,.6);
}

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 7px 18px !important;
  border-radius: var(--radius-md);
  font-weight: 600 !important;
  transition: background 0.2s !important;
  min-height: 40px;
}

.nav-cta:hover { background: var(--acdk); color: var(--white) !important; }

/* Two-row nav on mobile: logo row + links row */
@media (max-width: 767px) {
  .site-nav .c {
    flex-wrap: wrap;
    align-items: center;
    min-height: unset;
    padding-inline: 10px;
    padding-top: 6px;
    padding-bottom: 0;
    gap: 0;
  }
  .nav-logo {
    flex: 0 0 100%;
    justify-content: center;
    font-size: 1.5rem;
    padding-bottom: 4px;
  }
  .nav-links {
    flex: 0 0 100%;
    gap: 0;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,.09);
    padding: 0;
  }
  .nav-links a {
    font-size: 0.76rem;
    min-height: 40px;
    padding: 0 2px;
    white-space: nowrap;
  }
  .nav-cta {
    padding: 5px 11px !important;
    font-size: 0.75rem !important;
    min-height: unset;
    white-space: nowrap;
    margin: 4px 0;
  }
}

/* ---------------------------------------------------------
   6. LAYOUT — CONTAINER AND SECTIONS
   --------------------------------------------------------- */
.c {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .c {
    padding-inline: var(--space-8);
  }
}

.s {
  padding: 64px 0;
}

.s-alt {
  padding: 64px 0;
  background: var(--white);
}

.s-dk {
  padding: 64px 0;
  background: var(--navy);
}

.s-dk h2 { color: var(--white); }
.s-dk p  { color: rgba(255,255,255,.78); }

.section-alt {
  background: var(--color-surface-offset);
}

/* ---------------------------------------------------------
   7. HERO
   --------------------------------------------------------- */
/* ---- HERO SYSTEM ----------------------------------------
   Two variants share base structure:
   .hero          = homepage primary (dark card inside hero-wrap)
   .hero-inner    = inner-page secondary (flat white page header)
   --------------------------------------------------------- */

/* Homepage: floating card wrapper */
.hero-wrap {
  padding: 20px 16px 40px;
  background: linear-gradient(160deg, #daeeed 0%, #eaf6f5 100%);
}

/* ---- Primary hero (homepage) ---- */
.hero {
  background: linear-gradient(135deg, #c4e5e3 0%, #8ec8c4 100%);
  padding: 68px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(0,0,0,.10);
}

/* All text colour overrides scoped to primary hero only */
.hero:not(.hero-inner) h1    { color: var(--navy); }
.hero:not(.hero-inner) .tag  { color: var(--tealdk); letter-spacing: 0.1em; }
.hero:not(.hero-inner) p     { color: rgba(28,43,58,.82); font-size: 1.05rem; max-width: 600px; margin: 0 auto 1.6rem; }

/* Trust pills — primary hero only */
.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0.5rem;
}

.pills li {
  background: rgba(255,255,255,.30);
  border: 1px solid rgba(255,255,255,.50);
  color: var(--navy);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 500;
  max-width: none;
}

/* Secondary ghost CTA — primary hero only */
.hero-ask {
  display: inline-flex;
  align-items: center;
  color: rgba(28,43,58,.70);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  min-height: 48px;
  padding: 4px 0 3px;
  border-bottom: 1px solid rgba(28,43,58,.25);
  transition: color 0.2s, border-color 0.2s;
}
.hero-ask:hover { color: var(--navy); border-bottom-color: rgba(28,43,58,.55); }

/* Trust pills on any light/mint hero (home and inner pages) */
.hero .conds-trust-item {
  color: var(--navy);
}
.hero .conds-trust-item i[data-lucide] {
  color: var(--tealdk);
}

/* qnav on light surface — primary hero only */
.hero:not(.hero-inner) .qnav a {
  background: rgba(255,255,255,.30);
  border-color: rgba(255,255,255,.50);
  color: var(--navy);
}
.hero:not(.hero-inner) .qnav a:hover {
  background: rgba(255,255,255,.55);
  border-color: rgba(255,255,255,.70);
  color: var(--navy);
}

/* ---- Secondary hero (inner pages) ---- */
.hero-inner {
  background: linear-gradient(135deg, #c4e5e3 0%, #8ec8c4 100%);
  border-bottom: 1px solid rgba(14,110,110,.15);
  padding: 52px 0 44px;
  border-radius: 0;
  max-width: none;
}

.hero-inner h1 {
  color: var(--navy);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.018em;
}

.hero-inner .tag  { color: var(--teal); letter-spacing: 0.06em; }
.hero-inner p     { color: var(--muted); font-size: 0.98rem; max-width: 600px; margin: 0 auto 0; }

/* Badges on light surface */
.hero-inner .badge-registration {
  border-color: var(--bdr);
  color: var(--muted);
  background: var(--bg);
}

/* qnav on light surface — use default styling (no override needed) */
.hero-inner .qnav {
  margin-top: 1.4rem;
}

/* CTA row — shared layout, spacing adapts per variant */
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 1.8rem;
}

@media (min-width: 768px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
    gap: 14px;
  }
}

/* Hero badge row */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

/* Paired CTAs on dark sections */
.ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  max-width: 380px;
  margin-inline: auto;
}

/* ---------------------------------------------------------
   8. INTRO STRIP
   --------------------------------------------------------- */
.intro {
  text-align: center;
  padding: 64px 0;
  background: var(--white);
}

.intro p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--navy);
}

/* ---------------------------------------------------------
   9. BUTTONS
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  min-height: 44px;
  border-radius: var(--radius-md);
  font-size: 0.93rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  border: 1.5px solid transparent;
  width: 100%;
}

/* Primary — filled accent */
.btn-p { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-p:hover { background: var(--acdk); border-color: var(--acdk); }

/* Outline on dark bg */
.btn-o {
  border-color: rgba(255,255,255,.7);
  color: var(--white);
  background: transparent;
}
.btn-o:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* White — for CTAs on teal/dark-coloured card backgrounds */
.btn-wh { background: var(--white); color: var(--teal); border-color: var(--white); }
.btn-wh:hover { background: rgba(255,255,255,.88); border-color: rgba(255,255,255,.88); color: var(--tealdk); }

/* Secondary — outlined teal */
.btn-t {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-t:hover { background: var(--teal); color: var(--white); }

/* Desktop: auto-width, side by side */
@media (min-width: 768px) {
  .btn { width: auto; }

  .ctas {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: none;
  }
}

/* ---------------------------------------------------------
   10. SERVICE CARDS
   --------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--bdr);
  border-radius: 10px;
  padding: 28px var(--space-6);
  transition: border-color 200ms ease;
}

@media (hover: hover) {
  .card:hover {
    border-color: var(--teal);
  }
}

.card p {
  font-size: 0.94rem;
  margin-top: 0.5rem;
}

.cards-note {
  text-align: center;
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: none;
}

/* ---------------------------------------------------------
   11. HOW-IT-WORKS TIMELINE
   --------------------------------------------------------- */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 2rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--bdr);
  border-radius: 10px;
  padding: 24px var(--space-6) 22px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 20px;
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.step h3 { margin-top: 0.4rem; }
.step p  { font-size: 0.92rem; }

.timeline-cta {
  text-align: center;
  margin-top: 2.2rem;
}

/* ---------------------------------------------------------
   12. PRICING CARDS
   --------------------------------------------------------- */
.prices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .prices {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.pc {
  border-radius: 10px;
  padding: 30px var(--space-6);
  border: 1px solid var(--bdr);
  text-align: center;
  background: var(--bg);
  transition: border-color 0.2s;
}

@media (hover: hover) {
  .pc:hover {
    border-color: var(--teal);
  }
}

.pc.feat {
  background: linear-gradient(135deg, #c4e5e3 0%, #8ec8c4 100%);
  border-color: #7bbbb7;
}

.pc.feat h3  { color: var(--navy); }
.pc.feat p   { color: rgba(28,43,58,.82); }

/* Price display */
.fee-amount {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);    /* changed from teal — reduces teal overuse */
  margin: 0.7rem 0 0;
}

.pc.feat .fee-amount { color: var(--navy); }

.fee-was {
  font-size: 0.9rem;
  color: rgba(28,43,58,.45);
  text-decoration: line-through;
  margin-right: 4px;
  font-family: var(--font-display);
}

.fee-duration {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.pc.feat .fee-duration { color: rgba(28,43,58,.60); }

/* Legacy .amt / .dur kept for any remaining references */
.amt {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin: 0.7rem 0 0.25rem;
  display: block;
}

.pc.feat .amt { color: var(--navy); }

.dur {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pc.feat .dur { color: rgba(28,43,58,.60); }

.pc p { font-size: 0.92rem; margin-top: 0.9rem; }

.was {
  font-size: 1.1rem;
  color: rgba(255,255,255,.5);
  text-decoration: line-through;
  margin-right: 6px;
  font-family: var(--font-display);
}

.pc-save {
  display: inline-block;
  margin-top: 0.6rem;
  background: rgba(0,0,0,.06);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pc.feat .pc-save {
  background: rgba(255,255,255,.45);
  color: var(--tealdk);
}

/* Inline CTA inside featured pricing card */
.pc-cta {
  margin-top: 1.4rem;
}
.pc-cta .btn {
  width: 100%;
  justify-content: center;
  display: block;
  text-align: center;
}

/* Risk-reversal note below pricing cards */
.prices-note {
  text-align: center;
  margin: 2rem auto 0;
  font-size: 0.86rem;
  max-width: 560px;
  color: rgba(255,255,255,.52);
  font-style: italic;
}

/* Dark-section pricing overrides */
.s-dk .tag { color: var(--teal-hi); }

.s-dk .pc {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}
.s-dk .pc h3           { color: var(--white); }
.s-dk .pc > p:not(.fee-amount) { color: rgba(255,255,255,.75); }
.s-dk .pc .fee-amount  { color: var(--white); }
.s-dk .pc .fee-was     { color: rgba(255,255,255,.42); }
.s-dk .pc .fee-duration { color: rgba(255,255,255,.60); }
.s-dk .pc .pc-save     { background: rgba(255,255,255,.15); color: rgba(255,255,255,.88); }

@media (hover: hover) {
  .s-dk .pc:hover { border-color: rgba(255,255,255,.32); }
}

/* Featured card: bright white on dark — spotlight effect */
.s-dk .pc.feat {
  background: var(--white);
  border: 2px solid var(--teal);
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
}
.s-dk .pc.feat h3                   { color: var(--navy); }
.s-dk .pc.feat > p:not(.fee-amount) { color: rgba(28,43,58,.78); }
.s-dk .pc.feat .fee-amount          { color: var(--navy); }
.s-dk .pc.feat .fee-was             { color: rgba(28,43,58,.42); }
.s-dk .pc.feat .fee-duration        { color: rgba(28,43,58,.55); }
.s-dk .pc.feat .pc-save             { background: var(--teal); color: var(--white); }

/* Best-value card: dominant teal — highest visual priority */
.s-dk .pc.best {
  background: linear-gradient(145deg, var(--teal) 0%, var(--tealdk) 100%);
  border: 2px solid var(--teal-hi);
  box-shadow: 0 16px 52px rgba(14,110,110,.50);
}
.s-dk .pc.best h3                   { color: var(--white); }
.s-dk .pc.best > p:not(.fee-amount) { color: rgba(255,255,255,.85); }
.s-dk .pc.best .fee-amount          { color: var(--teal-hi); }
.s-dk .pc.best .fee-duration        { color: rgba(255,255,255,.72); }
.s-dk .pc.best .pc-save             { background: var(--teal-hi); color: var(--navy); font-weight: 700; }

/* Desktop: extra shadow depth for best card without vertical offset */
@media (min-width: 768px) {
  .s-dk .pc.best {
    box-shadow: 0 24px 64px rgba(14,110,110,.55);
  }
}

/* Mobile: best card rises to top of stack */
@media (max-width: 767px) {
  .pc.best { order: -1; }
}

.prices-cta {
  text-align: center;
  margin-top: 2rem;
}

.prices-cta p {
  margin-bottom: 1rem;
  font-size: 0.93rem;
  max-width: none;
}

/* Paired CTAs under fees — stack on mobile */
.prices-cta .btn,
.timeline-cta .btn,
.conds-cta .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .prices-cta .btn,
  .timeline-cta .btn,
  .conds-cta .btn {
    width: auto;
  }
}

/* ---------------------------------------------------------
   13. CONDITIONS LIST (home page summary)
   --------------------------------------------------------- */
.conds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 2rem;
}

.cond-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--bdr);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  max-width: none;
  min-height: 52px;
}

.cond-item::before { display: none; }

.cond-item i[data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

@media (hover: hover) {
  .cond-item:hover {
    box-shadow: 0 4px 16px rgba(14,110,110,.10);
    transform: translateY(-2px);
    border-color: var(--teal);
  }
}

.conds-cta {
  text-align: center;
  margin-top: 2.4rem;
}

.conds-cta .btn-t {
  padding: 13px 36px;
  font-size: 0.97rem;
}

/* ---------------------------------------------------------
   14. FAQ ACCORDION
   --------------------------------------------------------- */
.faq {
  max-width: var(--content-narrow);
  margin: 2rem auto 0;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--bdr);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  min-height: 54px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-q span { max-width: none; }

.faq-q:hover { background: var(--bg); outline: none; }
.faq-q:focus-visible { background: var(--bg); }
.faq-q[aria-expanded="true"] { background: var(--bg); }

.faq-q .arr {
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.faq-q[aria-expanded="true"] .arr { transform: rotate(-135deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
}

.faq-a.open {
  grid-template-rows: 1fr;
  padding: 4px 20px 20px;
}

.accordion-inner, .region-body-inner {
  min-height: 0;
}

.faq-a p { font-size: 0.94rem; }

/* ---------------------------------------------------------
   15. CONTACT GRID AND FORM
   --------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 52px;
  }
}

.ci h2          { margin-bottom: 1rem; }
.ci > p         { margin-bottom: 1.6rem; }

.cd {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 0.94rem;
  color: var(--navy);
}

.cd .ico {
  width: 34px;
  height: 34px;
  background: var(--bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 34px;
  border: 1px solid var(--bdr);
}

.cd a { color: var(--navy); }
.cd a:hover { color: var(--teal); }

.map {
  margin-top: 1.4rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--bdr);
  height: 220px;
}

@media (min-width: 768px) {
  .map { height: 300px; }
}

.map iframe { width: 100%; height: 100%; border: 0; }

#leaflet-map {
  width: 100%;
  height: 100%;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  display: block;
  width: 100%;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

label .req { color: var(--accent); }

input,
textarea,
select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  min-height: 46px;
  border: 1.5px solid var(--bdr);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,110,110,.15);
}

textarea { resize: vertical; min-height: 110px; }

.form-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: -6px;
  max-width: none;
}

.form-submit {
  background: var(--accent);
  color: var(--white);
  border: none;
}

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

.wa-block {
  margin-top: 1.4rem;
  padding: 18px;
  background: var(--bg);
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--bdr);
}

.wa-block p {
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.9rem;
  max-width: none;
}

/* ---------------------------------------------------------
   16. ABOUT PAGE — INTRO GRID WITH PHOTO
   --------------------------------------------------------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .intro-grid {
    grid-template-columns: 300px 1fr;
    gap: 48px;
    text-align: left;
  }
}

.intro-photo {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--bdr);
  aspect-ratio: 1 / 1;
  max-width: 220px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .intro-photo {
    aspect-ratio: 3 / 4;
    max-width: 240px;
  }
}

@media (min-width: 768px) {
  .intro-photo {
    max-width: none;
  }
}

.intro-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.intro-text p {
  font-size: 1.02rem;
  color: var(--navy);
  line-height: 1.68;
  margin: 0;
}

.intro-pills {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
  padding: 0;
  align-items: flex-start;
}

@media (max-width: 767px) {
  .intro-pills {
    align-items: flex-start;
    text-align: left;
  }
}

.intro-pills li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--navy);
  line-height: 1.5;
  font-weight: 500;
  max-width: none;
}

.ip-ico {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 2px;
}

.intro-cta {
  margin-top: 20px;
}

@media (max-width: 767px) {
  .intro-cta {
    text-align: center;
  }
  .intro-cta .btn {
    width: 100%;
    max-width: 340px;
  }
}

/* ---------------------------------------------------------
   17. ABOUT PAGE — CONTENT BLOCKS
   --------------------------------------------------------- */
.block {
  padding: 16px 18px;
}

.block h2 { margin-bottom: 0.8rem; }
.block p  { margin-bottom: 0.8rem; }

.creds {
  background: var(--bg);
  border-left: 3px solid var(--teal);
  padding: 16px 18px;
  margin: 12px 0;
  border-radius: var(--radius-md);
}

.creds h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
}

.creds ul { padding-left: 18px; list-style: disc; }
.creds li { margin: 5px 0; color: var(--navy); font-size: 0.93rem; max-width: none; }

.experience {
  background: var(--white);
  border-left: 3px solid var(--accent);
  border-top: 1px solid var(--bdr);
  border-right: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
  padding: 16px 18px;
  margin: 12px 0;
  border-radius: var(--radius-md);
}

.experience h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
}

.experience ul { padding-left: 18px; list-style: disc; }
.experience li { margin: 5px 0; color: var(--navy); font-size: 0.93rem; max-width: none; }

.disclosure {
  background: #fdf8f5;
  border: 1px solid rgba(191,74,27,.25);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin: 12px 0;
  font-size: 0.93rem;
  color: var(--navy);
  line-height: 1.6;
}

.session {
  background: var(--bg);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 12px 0;
  border: 1px solid var(--bdr);
}

.session h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
}

.session p {
  color: var(--navy);
  font-size: 0.93rem;
  margin-bottom: 0.5rem;
}

.cta-row {
  text-align: center;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .cta-row {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .cta-row .btn { width: auto; }
}

/* ---------------------------------------------------------
   18. CONDITIONS PAGE — QUICK NAV
   --------------------------------------------------------- */
.qnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 0 auto 1.4rem;
}

@media (max-width: 1023px) {
  .qnav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, transparent 0, black 4%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 4%, black 92%, transparent 100%);
  }
  .qnav::-webkit-scrollbar { display: none; }
  .qnav a { flex-shrink: 0; }
}

.qnav a {
  background: var(--white);
  border: 1px solid var(--bdr);
  color: var(--navy);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  max-width: none;
}

.qnav a:hover {
  border-color: var(--teal);
  color: var(--teal);
  outline: none;
}

.qnav a:focus-visible {
  border-color: var(--teal);
  color: var(--teal);
}

.qnav a.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* ---------------------------------------------------------
   19. CONDITIONS PAGE — REGION ACCORDION
   --------------------------------------------------------- */
.region {
  background: var(--white);
  border: 1px solid var(--bdr);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  scroll-margin-top: 80px;
}

.region-hd {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
}

.region-hd:hover { background: var(--bg); outline: none; }
.region-hd:focus-visible { background: var(--bg); }

.region-hd[aria-expanded="true"] {
  background: var(--bg);
  border-bottom: 1px solid var(--bdr);
}

.region-title {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.region-ico {
  width: 40px;
  height: 40px;
  background: var(--bg);
  border: 1px solid var(--bdr);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  color: var(--muted);
}

.region-hd[aria-expanded="true"] .region-ico {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.region-text h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.region-count {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  max-width: none;
}

.region-arr {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.25s, border-color 0.25s;
}

.region-hd[aria-expanded="true"] .region-arr {
  transform: rotate(-135deg);
  border-color: var(--teal);
}

.region-body {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease;
}

.region-body.open { grid-template-rows: 1fr; }

/* IMPORTANT: no vertical padding here — padding causes the grid track minimum
   to be non-zero, making text bleed through when the accordion is closed.
   Padding is applied only on the open state (same pattern as .cond-body). */
.region-body-inner {
  padding: 0 18px;
  transition: padding 0.3s ease;
}

.region-body.open > .region-body-inner { padding: 16px 18px 20px; }

/* ---------------------------------------------------------
   20. CONDITIONS PAGE — CONDITION ACCORDION
   --------------------------------------------------------- */
.cond {
  border: 1px solid var(--bdr);
  border-radius: 8px;
  margin: 7px 0;
  overflow: hidden;
  background: var(--white);
}

.cond-hd {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  cursor: pointer;
  padding: 15px 20px;
  min-height: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.cond-hd:hover { background: var(--bg); outline: none; }
.cond-hd:focus-visible { background: var(--bg); }
.cond-hd[aria-expanded="true"] { background: var(--bg); }

.cond-arr {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.cond-hd[aria-expanded="true"] .cond-arr { transform: rotate(-135deg); border-color: var(--teal); }

.cond-body {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease, padding 0.3s ease;
  padding: 0 18px;
}

.cond-body.open {
  grid-template-rows: 1fr;
  padding: 4px 18px 18px;
}

.cond-body p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--navy);
}

.cond-body p:last-child { margin-bottom: 0; }

/* Transform inline bold labels into scannable section headers */
.cond-body p strong {
  display: block;
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 3px;
  font-family: var(--font-body);
}

.cond-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  color: var(--teal);
  font-size: 0.87rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(14,110,110,.3);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.cond-cta::after {
  content: '→';
  font-size: 0.85rem;
}
.cond-cta:hover {
  color: var(--tealdk);
  border-bottom-color: var(--teal);
}

/* ---------------------------------------------------------
   21. CONDITIONS PAGE — CLOSING CTA BOX
   --------------------------------------------------------- */
.closing {
  background: var(--bg);
  border: 1px solid var(--bdr);
  border-radius: 10px;
  padding: 32px 28px;
  text-align: center;
  margin-top: 36px;
}

.closing h2 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.closing p  { max-width: 540px; margin: 0 auto 1.2rem; }

/* Sticky booking bar — conditions page, mobile only */
.conditions-sticky-cta { display: none; }

/* ---------------------------------------------------------
   22. AREAS SERVED LIST (contact.html)
   --------------------------------------------------------- */
.areas-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}
.areas-list li {
  background: var(--bg-alt);
  border: 1px solid var(--bdr);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  text-align: center;
}

/* ---------------------------------------------------------
   23. FOOTER
   --------------------------------------------------------- */
.footer {
  background: var(--navy);
  padding: var(--space-16) 0 var(--space-10);
  color: rgba(255,255,255,.68);
  border-top: 2px solid var(--teal);
}

.footer p {
  color: rgba(255,255,255,.68);
  font-size: 0.88rem;
  max-width: 38ch;
}

.fg {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .fg {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 44px;
  }
}

.f-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.f-logo::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  background: var(--teal-hi);
  border-radius: 50%;
  flex-shrink: 0;
}

.f-logo span {
  color: var(--teal-hi);
  font-weight: 400;
  letter-spacing: 0.07em;
}

.fc p {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.5);
  margin-bottom: 0.8rem;
  max-width: none;
}

.fc ul { display: flex; flex-direction: column; gap: 6px; }
.fc ul li { max-width: none; }

.fc ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.65);
  transition: color 0.2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.fc ul a:hover { color: var(--white); }

.fb {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,.60);
}

.fb a { color: rgba(255,255,255,.55); }
.fb a:hover { color: var(--white); }

/* ---------------------------------------------------------
   23. TRUST / UTILITY COMPONENTS
   --------------------------------------------------------- */

/* Badge row */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.2rem;
}

/* Registration / credential badges */
.badge-registration {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255,255,255,.7);
  gap: var(--space-2);
  background: rgba(255,255,255,.06);
}

/* Badge row outside hero (about page qualification section) */
.badge-row .badge-registration {
  border-color: var(--bdr);
  color: var(--muted);
  background: var(--bg);
}

/* Profile photo placeholder */
.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--color-surface-offset);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  margin: 0 auto var(--space-4);
  overflow: hidden;
  flex-shrink: 0;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------------------------------------------------------
   24. HERO ENTRANCE ANIMATION
   --------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  [data-js="1"] .hero-animate {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 380ms ease-out, transform 380ms ease-out;
  }
  [data-js="1"] .hero-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------------------
   25. SKIP LINK
   --------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--white);
  padding: 12px 20px;
  font-weight: 700;
  font-size: var(--text-sm);
  z-index: 9999;
  border-radius: 0 0 var(--radius-md) 0;
  text-decoration: none;
  white-space: nowrap;
}

.skip-link:focus {
  left: 0;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   26. LUCIDE ICON SIZING
   --------------------------------------------------------- */
i[data-lucide] {
  display: inline-block;
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
  vertical-align: middle;
}

.card i[data-lucide] {
  width: 24px;
  height: 24px;
  color: var(--muted);    /* changed from teal — reduces teal overuse */
  display: block;
  margin-bottom: var(--space-3);
}

/* ---------------------------------------------------------
   27. MOBILE BREAKPOINTS
   --------------------------------------------------------- */
@media (max-width: 768px) {
  /* ---- Section padding: 48px → 28px (saves ~280px across all sections) ---- */
  .s,
  .s-alt,
  .s-dk   { padding: 28px 0; }
  .hero-wrap    { padding: 10px 0 16px; }
  .hero:not(.hero-inner) { padding: 32px 0 24px; border-radius: 12px; }
  .hero-inner   { padding: 18px 0 12px; }
  .intro  { padding: 20px 0; }
  .footer { padding: 28px 0 20px; }

  /* ---- Internal element margins: 2rem → 1.2rem ---- */
  .sec-hd         { margin-bottom: 1.2rem; }
  .cards          { margin-top: 1.2rem; }
  .timeline       { margin-top: 1.2rem; }
  .prices         { margin-top: 1.2rem; }
  .prices-cta     { margin-top: 1.2rem; }
  .prices-note    { margin-top: 1.2rem; }
  .timeline-cta   { margin-top: 1.2rem; }
  .faq            { margin-top: 1.2rem; }

  /* ---- Component overrides ---- */
  .block          { padding: 12px 14px; }
  .creds,
  .experience,
  .session        { padding: 14px; }

  .sec-hd h2      { font-size: 1.4rem; }
  .sec-hd p       { margin-top: 0.3rem; }
  .conds          { margin-top: 1.2rem; }
  .conds-cta      { margin-top: 1rem; }
  .hero-ctas      { margin-top: 0.9rem; }

  .region-hd      { padding: 16px 18px; }
  .region-text h2 { font-size: 1.05rem; }
  .cond-hd        { font-size: 0.9rem; }
  .qnav a         { font-size: 0.8rem; padding: 6px 12px; min-height: 44px; }

  main { padding-bottom: 0; }

  /* ---- About page hero — strip redundant elements on mobile ---- */
  .hero-inner .conds-trust-list { display: none; }
  .hero-inner .hero-ctas        { display: none; }
  .hero-inner .tag              { margin-bottom: 0.3rem; }
  .hero-inner h1                { margin-bottom: 0.5rem; }
}

@media (max-width: 767px) {
  .conds { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .conds { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  h1        { font-size: 1.55rem; }
  .pills li { font-size: 0.78rem; padding: 5px 12px; }
}

@media (max-width: 360px) {
  h1  { font-size: 1.38rem; }
  h2  { font-size: 1.3rem; }
  .btn { padding: 11px 18px; font-size: 0.88rem; }
}

/* ---------------------------------------------------------
   28. CONDITIONS PAGE — MOBILE UX
   --------------------------------------------------------- */

/* Trust strip */
.conds-trust {
  background: var(--white);
  border-bottom: 1px solid var(--bdr);
  padding: 10px 0;
  /* overflow: hidden removed — it clips nowrap content at medium widths */
}

.conds-trust-list {
  display: flex;
  flex-wrap: wrap;          /* wrap on large desktop — all 5 fit in one row at 1280px */
  gap: 6px 20px;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
}

/* Tablet and below: switch to left-aligned horizontal scroll so nothing is cut off */
@media (max-width: 1023px) {
  .conds-trust-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .conds-trust-list::-webkit-scrollbar { display: none; }
}

.conds-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  max-width: none;
}

.conds-trust-item i[data-lucide] {
  width: 13px;
  height: 13px;
  color: var(--teal);
  flex-shrink: 0;
  display: inline-block;
}

/* Region section intro */
.region-intro {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
  padding: 10px 14px;
  background: var(--bg);
  border-left: 3px solid rgba(14,110,110,.28);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  max-width: none;
}

/* Sticky dual CTA bar — conditions page, mobile only */
@media (max-width: 767px) {
  .conditions-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--white);
    border-top: 1px solid var(--bdr);
    box-shadow: 0 -4px 20px rgba(0,0,0,.08);
    padding: 10px 16px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    gap: 10px;
    align-items: center;
  }

  .cta-bar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 48px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    border: 1.5px solid transparent;
    max-width: none;
  }

  .cta-bar-btn i[data-lucide] { width: 16px; height: 16px; display: inline-block; }

  .cta-bar-call {
    flex: 0 0 auto;
    padding: 0 20px;
    background: var(--bg);
    color: var(--navy);
    border-color: var(--bdr);
  }
  .cta-bar-call:hover { border-color: var(--teal); color: var(--teal); }

  .cta-bar-book {
    flex: 1;
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
  }
  .cta-bar-book:hover { background: var(--acdk); border-color: var(--acdk); }

  /* Quick nav scroll — already handled by ≤1023px rule above */

  /* Trust strip — fade edges on mobile */
  .conds-trust-list {
    gap: 6px 14px;
    mask-image: linear-gradient(to right, transparent 0, black 4%, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 4%, black 88%, transparent 100%);
  }
}

/* ---------------------------------------------------------
   29. REDUCED MOTION
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
}
