/* =========================================================================
   Ryan's House LLC — Design System
   Brand: navy + gold "community of compassion" care brand
   Fonts: Lora (headings) + Open Sans (body)
   ========================================================================= */

:root {
  /* Brand palette (derived from logo) */
  --navy:        #12274f;   /* primary headings / text */
  --navy-deep:   #0a1a3a;   /* footer / deep CTA bands */
  --navy-700:    #1c3a6e;   /* hover / lighter navy */
  --gold:        #c8902f;   /* accent / primary CTA */
  --gold-bright: #d9a23f;   /* gold hover */
  --gold-dark:   #7e580f;   /* AA-accessible gold text on light bg */
  --cream:       #faf6ee;   /* page background */
  --cream-alt:   #f3ecdd;   /* alternating warm section bg */
  --white:       #ffffff;
  --ink:         #2b3140;   /* body text (warm near-black) */
  --ink-soft:    #55607a;   /* muted text */
  --line:        #e7ded0;   /* hairline borders on cream */
  --line-cool:   #e3e8f0;   /* hairline on white */

  /* Type */
  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing / layout */
  --container: 1180px;
  --container-wide: 1320px;
  --radius: 14px;
  --radius-sm: 10px;
  --pill: 999px;
  --shadow-sm: 0 2px 10px rgba(18, 39, 79, 0.06);
  --shadow-md: 0 18px 44px rgba(18, 39, 79, 0.10);
  --shadow-lg: 0 30px 60px rgba(10, 26, 58, 0.16);
  --ease: 0.22s ease;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;          /* 18px floor for care audiences */
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 992px) {
  body { font-size: 1.1875rem; }  /* 19px desktop */
}

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

a { color: var(--gold-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.55rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--wide { max-width: var(--container-wide); }
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 88px 0; } }
.section--tight { padding: 48px 0; }

.bg-white  { background: var(--white); }
.bg-cream  { background: var(--cream); }
.bg-alt    { background: var(--cream-alt); }
.bg-navy   { background: var(--navy-deep); color: #e9eefb; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }

.text-center { text-align: center; }
.measure { max-width: 62ch; }
.measure-center { max-width: 62ch; margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 0 0 .6rem;
}
.bg-navy .eyebrow { color: var(--gold-bright); }

.lead { font-size: 1.18rem; color: var(--ink); }
.bg-navy .lead { color: #cdd6ea; }

/* ---------- Buttons (pills) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: .92em 1.5em;
  border-radius: var(--pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--ease), background var(--ease), color var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-bright); color: var(--navy-deep); box-shadow: var(--shadow-md); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn--lg { font-size: 1.06rem; padding: 1.05em 1.85em; }
.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; position: relative; z-index: 2; }

/* ---------- Liquid glass CTAs -----------------------------------------
   Tinted brand glass for the primary pill buttons. Solid color rules above
   are the fallback; this enhancement only applies where backdrop-filter is
   supported, so older browsers keep the AA-accessible solid buttons. */
@supports ((backdrop-filter: blur(6px)) or (-webkit-backdrop-filter: blur(6px))) {
  .btn--gold, .btn--navy, .btn--ghost, .btn--ghost-light {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    backdrop-filter: blur(10px) saturate(150%);
    transition: transform var(--ease), background var(--ease),
                color var(--ease), box-shadow var(--ease), border-color var(--ease);
  }

  /* Hover sheen — a soft specular streak sweeping across the surface */
  .btn--gold::after, .btn--navy::after,
  .btn--ghost::after, .btn--ghost-light::after {
    content: "";
    position: absolute;
    top: -10%;
    left: -75%;
    width: 50%;
    height: 120%;
    background: linear-gradient(105deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.5) 50%,
      rgba(255,255,255,0) 100%);
    transform: skewX(-18deg);
    pointer-events: none;
    z-index: 1;
    transition: left .6s cubic-bezier(.22,.61,.36,1);
  }
  .btn--gold:hover::after, .btn--navy:hover::after,
  .btn--ghost:hover::after, .btn--ghost-light:hover::after { left: 130%; }

  /* Gold — primary CTA */
  .btn--gold {
    background:
      linear-gradient(180deg, rgba(255,255,255,.40), rgba(255,255,255,0) 55%),
      linear-gradient(135deg, rgba(216,162,63,.92), rgba(196,140,46,.88));
    color: var(--navy-deep);
    border-color: rgba(255,255,255,.40);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.55),
      inset 0 -2px 6px rgba(110,72,12,.25),
      0 8px 22px -6px rgba(126,88,15,.45);
  }
  .btn--gold:hover {
    background:
      linear-gradient(180deg, rgba(255,255,255,.50), rgba(255,255,255,0) 55%),
      linear-gradient(135deg, rgba(224,172,72,.96), rgba(206,150,54,.92));
    color: var(--navy-deep);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.65),
      inset 0 -2px 6px rgba(110,72,12,.28),
      0 12px 28px -6px rgba(126,88,15,.55);
  }

  /* Navy — secondary CTA */
  .btn--navy {
    background:
      linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 55%),
      linear-gradient(135deg, rgba(28,58,110,.80), rgba(18,39,79,.84));
    color: #fff;
    border-color: rgba(255,255,255,.22);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.28),
      inset 0 -2px 6px rgba(0,0,0,.28),
      0 8px 22px -6px rgba(10,26,58,.55);
  }
  .btn--navy:hover {
    background:
      linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,0) 55%),
      linear-gradient(135deg, rgba(38,72,132,.86), rgba(24,48,96,.90));
    color: #fff;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.34),
      inset 0 -2px 6px rgba(0,0,0,.30),
      0 12px 28px -6px rgba(10,26,58,.6);
  }

  /* Ghost — outline CTA on light sections */
  .btn--ghost {
    background:
      linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.12));
    color: var(--navy);
    border-color: rgba(18,39,79,.55);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.7),
      0 6px 18px -8px rgba(10,26,58,.35);
  }
  .btn--ghost:hover {
    background:
      linear-gradient(180deg, rgba(28,58,110,.92), rgba(18,39,79,.94));
    color: #fff;
    border-color: rgba(255,255,255,.25);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.25),
      0 12px 26px -8px rgba(10,26,58,.5);
  }

  /* Ghost-light — outline CTA on dark hero / navy bands */
  .btn--ghost-light {
    background:
      linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.06));
    color: #fff;
    border-color: rgba(255,255,255,.6);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.45),
      0 6px 18px -8px rgba(0,0,0,.35);
  }
  .btn--ghost-light:hover {
    background:
      linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
    color: var(--navy);
    border-color: #fff;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.8),
      0 12px 26px -8px rgba(0,0,0,.4);
  }

  /* Respect reduced-motion: keep the glass, drop the moving sheen */
  @media (prefers-reduced-motion: reduce) {
    .btn--gold::after, .btn--navy::after,
    .btn--ghost::after, .btn--ghost-light::after { display: none; }
  }
}

/* ---------- Section emblem ---------- */
.emblem {
  width: 58px;
  height: 58px;
  margin: 0 auto .9rem;
  display: block;
}
.emblem--left { margin-left: 0; }
.section-head { margin-bottom: 2.6rem; }
.section-head .lead { margin-top: .4rem; }

/* =========================================================================
   Utility bar (tier 1)
   ========================================================================= */
.utilbar {
  background: var(--navy-deep);
  color: #c9d4ec;
  font-size: .9rem;
}
.utilbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
  flex-wrap: wrap;
}
.utilbar a { color: #dbe4f6; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.utilbar a:hover { color: #fff; }
.utilbar__links { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.utilbar .icon { width: 16px; height: 16px; flex: none; color: var(--gold-bright); }
@media (max-width: 767px) { .utilbar { display: none; } }

/* =========================================================================
   Main navigation (tier 2)
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-cool);
  box-shadow: 0 2px 14px rgba(18,39,79,.05);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.nav__logo img { height: 46px; width: auto; }
@media (min-width: 992px) { .nav__logo img { height: 54px; } }

.nav__menu {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  text-decoration: none;
  padding: .6rem .85rem;
  border-radius: 8px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
}
.nav__link:hover { background: var(--cream-alt); color: var(--navy); }
.nav__link[aria-current="page"] { color: var(--gold-dark); }
.nav__link[aria-current="page"]::after {
  content: ""; display: block;
}
.nav__caret { width: 14px; height: 14px; transition: transform var(--ease); }
.nav__item--has-menu[data-open="true"] .nav__caret { transform: rotate(180deg); }

.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__actions .btn { padding: .72em 1.15em; font-size: .95rem; }

/* Dropdown */
.nav__item--has-menu { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 290px;
  background: #fff;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: .5rem;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}
.nav__item--has-menu[data-open="true"] .nav__dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__dropdown a {
  display: block;
  padding: .62rem .8rem;
  border-radius: 8px;
  color: var(--navy);
  text-decoration: none;
  font-size: .98rem;
  font-weight: 600;
}
.nav__dropdown a small {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: .82rem;
}
.nav__dropdown a:hover { background: var(--cream-alt); }
.nav__dropdown li + li { margin-top: 2px; }
.nav__dropdown .nav__dropdown-all { color: var(--gold-dark); }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  border: 1px solid var(--line-cool);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.nav__toggle span { display: block; height: 2.5px; width: 22px; margin: 0 auto; background: var(--navy); border-radius: 2px; transition: var(--ease); }
.nav[data-mobile-open="true"] .nav__toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav[data-mobile-open="true"] .nav__toggle span:nth-child(2) { opacity: 0; }
.nav[data-mobile-open="true"] .nav__toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 991px) {
  .nav__toggle { display: flex; }
  .nav__collapse {
    position: fixed;
    inset: 0 0 0 auto;
    top: 0;
    width: min(360px, 86vw);
    height: 100dvh;
    background: #fff;
    box-shadow: var(--shadow-lg);
    padding: 92px 22px 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .28s ease;
    display: block;
  }
  .nav[data-mobile-open="true"] .nav__collapse { transform: translateX(0); }
  .nav__menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { width: 100%; justify-content: space-between; font-size: 1.1rem; padding: .9rem .4rem; border-radius: 8px; }
  .nav__item { border-bottom: 1px solid var(--line-cool); }
  .nav__dropdown {
    position: static; opacity: 1; visibility: hidden; transform: none;
    box-shadow: none; border: 0; min-width: 0; padding: 0 0 .6rem .4rem;
    height: 0; overflow: hidden;
  }
  .nav__item--has-menu[data-open="true"] .nav__dropdown { visibility: visible; height: auto; }
  .nav__actions { flex-direction: column; align-items: stretch; gap: .6rem; margin-top: 1.4rem; }
  .nav__actions .btn { width: 100%; justify-content: center; padding: .95em 1.2em; font-size: 1rem; }
}

.nav__backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10,26,58,.4);
  z-index: 999;
}
.nav[data-mobile-open="true"] .nav__backdrop { display: block; }
@media (min-width: 992px) { .nav__backdrop { display: none !important; } }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  color: #fff;
  background: var(--navy-deep);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10,26,58,.92) 0%, rgba(10,26,58,.78) 42%, rgba(10,26,58,.42) 78%, rgba(10,26,58,.30) 100%);
}
.hero__inner {
  position: relative;
  padding: 92px 0 96px;
  max-width: 680px;
}
.hero--home .hero__inner { padding: 120px 0 124px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero p { color: #dbe4f6; font-size: 1.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__tag {
  display: inline-flex; align-items: center; gap: .5em;
  background: rgba(200,144,47,.18);
  border: 1px solid rgba(217,162,63,.5);
  color: #f1d9a8;
  padding: .4em .9em; border-radius: var(--pill);
  font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.hero__tag svg { width: 1.15em; height: 1.15em; flex: none; }
.hero--page .hero__inner { padding: 72px 0 76px; max-width: 760px; }
.hero__breadcrumb { font-size: .92rem; color: #b9c5e0; margin-bottom: 1rem; }
.hero__breadcrumb a { color: #d9e2f5; text-decoration: none; }
.hero__breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* =========================================================================
   Generic content blocks
   ========================================================================= */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 26px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.card--service { display: flex; flex-direction: column; }
.card--service .card__media { margin: -30px -26px 22px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 4 / 3; }
.card--service .card__media img { width: 100%; height: 100%; object-fit: cover; }
.card--service .btn-text { margin-top: auto; }

.icon-circle {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(200,144,47,.14);
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.icon-circle svg { width: 28px; height: 28px; }

.btn-text {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 700; color: var(--gold-dark); text-decoration: none;
  font-size: 1rem;
}
.btn-text:hover { color: var(--navy); gap: .65em; }
.btn-text svg { width: 18px; height: 18px; }

/* Feature / value list with icons */
.feature {
  display: flex; gap: 1rem; align-items: flex-start;
}
.feature .icon-circle { flex: none; margin-bottom: 0; width: 50px; height: 50px; }
.feature h3 { font-size: 1.2rem; margin-bottom: .2em; }
.feature p { margin-bottom: 0; }

/* =========================================================================
   Zigzag (alternating media + text)
   ========================================================================= */
.zigzag { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.zigzag + .zigzag { margin-top: 72px; }
.zigzag__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.zigzag--flip .zigzag__media { order: 2; }
@media (max-width: 860px) {
  .zigzag { grid-template-columns: 1fr; gap: 28px; }
  .zigzag--flip .zigzag__media { order: 0; }
  .zigzag + .zigzag { margin-top: 48px; }
}

/* =========================================================================
   Stat / value band
   ========================================================================= */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; gap: 26px; } }
.pillar { text-align: center; }
.pillar .pillar__icon { width: 54px; height: 54px; margin: 0 auto .7rem; color: var(--gold-bright); }
.pillar h3 { color: #fff; font-size: 1.3rem; margin-bottom: .25em; }
.pillar p { color: #c4cfe6; margin-bottom: 0; font-size: 1rem; }

/* =========================================================================
   Phone / inline CTA bar
   ========================================================================= */
.callbar {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy-deep);
  text-align: center;
}
.callbar__inner { padding: 38px 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 820px) {
  .callbar__inner { flex-direction: row; justify-content: center; gap: 1.6rem; text-align: left; }
}
.callbar h2 { color: var(--navy-deep); margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.callbar p { margin: 0; color: #4a3a17; font-weight: 600; }
.callbar .btn { background: var(--navy-deep); color: #fff; }
.callbar .btn:hover { background: var(--navy); }
.callphone { font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; color: var(--navy-deep); text-decoration: none; white-space: nowrap; }
.callphone:hover { color: var(--navy); text-decoration: underline; }

/* =========================================================================
   Dual-audience split CTA
   ========================================================================= */
.dualcta { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .dualcta { grid-template-columns: 1fr; } }
.dualcta__card {
  border-radius: var(--radius);
  padding: 40px 34px;
  border: 1px solid var(--line);
}
.dualcta__card--seek { background: #fff; }
.dualcta__card--join { background: var(--navy-deep); color: #dbe4f6; border-color: var(--navy-deep); }
.dualcta__card--join h3 { color: #fff; }
.dualcta__card p { font-size: 1.05rem; }

/* =========================================================================
   FAQ accordion (numbered)
   ========================================================================= */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__btn {
  width: 100%;
  display: flex; align-items: center; gap: 1rem;
  text-align: left;
  background: none; border: 0; cursor: pointer;
  padding: 1.3rem 0;
  font-family: var(--font-head);
  font-size: 1.2rem; font-weight: 600; color: var(--navy);
}
.faq__num { color: var(--gold-dark); font-weight: 700; font-size: 1.05rem; min-width: 2.2ch; }
.faq__q { flex: 1; }
.faq__icon { flex: none; width: 26px; height: 26px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content:""; position:absolute; background: var(--gold-dark); border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.faq__icon::before { width: 16px; height: 2.5px; }
.faq__icon::after { width: 2.5px; height: 16px; transition: transform var(--ease); }
.faq__btn[aria-expanded="true"] .faq__icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq__panel { overflow: hidden; height: 0; transition: height var(--ease); }
.faq__panel-inner { padding: 0 0 1.4rem 3.2rem; }
.faq__panel-inner p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .faq__panel-inner { padding-left: 0; } }

/* =========================================================================
   Locations / areas
   ========================================================================= */
.areagrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 860px) { .areagrid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .areagrid { grid-template-columns: 1fr; } }
.area-chip {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; display: flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.area-chip svg { width: 20px; height: 20px; color: var(--gold-dark); flex: none; }

.info-card {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 30px;
}
.info-row { display:flex; gap:.8rem; align-items:flex-start; margin-bottom: 1rem; }
.info-row:last-child { margin-bottom: 0; }
.info-row svg { width: 22px; height: 22px; color: var(--gold-dark); flex:none; margin-top: 3px; }
.info-row a { color: var(--navy); text-decoration: none; font-weight: 600; }
.info-row a:hover { color: var(--gold-dark); text-decoration: underline; }

/* =========================================================================
   Process steps
   ========================================================================= */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { background:#fff; border:1px solid var(--line-cool); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.step__num {
  counter-increment: step;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color:#fff;
  display:grid; place-items:center; font-family: var(--font-head); font-weight:600; font-size:1.2rem;
  margin-bottom: 1rem;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.15rem; }
.step p { margin-bottom: 0; font-size: 1rem; }

/* =========================================================================
   Pull quote
   ========================================================================= */
.pullquote { text-align: center; max-width: 880px; margin: 0 auto; }
.pullquote blockquote {
  font-family: var(--font-head); font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4; color: #fff; margin: 0;
}
.pullquote .mark { color: var(--gold-bright); font-size: 3rem; line-height: 0; font-family: var(--font-head); display:block; margin-bottom: .2em; }
.pullquote cite { display:block; margin-top: 1.2rem; font-style: normal; color: var(--gold-bright); font-weight: 700; font-size: .95rem; letter-spacing: .04em; }

/* =========================================================================
   Forms
   ========================================================================= */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: .35rem; font-size: .98rem; }
.field .req { color: var(--gold-dark); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 1rem;
  padding: .8rem .9rem;
  border: 1.5px solid var(--line-cool);
  border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,144,47,.18);
}
.form__note { font-size: .92rem; color: var(--ink-soft); }
.form__hp { position: absolute; left: -9999px; }
.formnotice {
  background: rgba(200,144,47,.12); border: 1px solid rgba(200,144,47,.4);
  border-radius: var(--radius-sm); padding: .9rem 1.1rem; font-size: .95rem; color: var(--gold-dark);
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer { background: var(--navy-deep); color: #bcc8e2; }
.footer__top { padding: 72px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 540px) { .footer__top { grid-template-columns: 1fr; } }
.footer__chip {
  background: var(--cream); border-radius: var(--radius-sm); padding: 16px 18px;
  display: inline-block; margin-bottom: 1.2rem;
}
.footer__chip img { height: 52px; width: auto; }
.footer h4 { color: #fff; font-size: 1.05rem; letter-spacing: .02em; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .55rem; }
.footer a { color: #c4d0ea; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__contact a { display: inline-flex; gap: .5em; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-bright); flex: none; margin-top: 4px; }
.footer__about p { font-size: 1rem; color: #aebbd8; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }
.footer__bottom-inner { display:flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; color: #8e9cbe; }
.footer__bottom a { color:#aab7d6; }
.fg-credit { display: flex; justify-content: center; margin-top: 1.25rem; }
.fg-credit a { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; color: #8e9cbe; text-decoration: none; transition: color .2s; }
.fg-credit a:hover { color: #fff; }
.fg-credit img { height: 20px; width: auto; display: block; }

/* =========================================================================
   Misc
   ========================================================================= */
.badge-row { display:flex; flex-wrap:wrap; gap: 1rem; justify-content:center; align-items:center; }
.trust-pill {
  display:inline-flex; align-items:center; gap:.55em;
  background:#fff; border:1px solid var(--line); border-radius: var(--pill);
  padding:.6em 1.15em; font-weight:600; color: var(--navy); box-shadow: var(--shadow-sm); font-size: .98rem;
}
.trust-pill svg { width: 20px; height: 20px; color: var(--gold-dark); }

.note-owner { /* internal placeholder marker, hidden visually but in DOM as comment usually */ }

hr.rule { border:0; border-top:1px solid var(--line); margin: 0; }

.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul li::marker { color: var(--gold-dark); }
.prose__meta { color: var(--gold-dark); font-weight: 600; font-size: .95rem; margin-bottom: 1.6em; }

/* =========================================================================
   Emergency / 988 notice
   ========================================================================= */
.emergency-wrap { background: var(--cream); padding: 8px 0 36px; }
.bg-navy + .emergency-wrap, .section.bg-cream + .emergency-wrap { padding-top: 36px; }
.emergency {
  display: flex; gap: .9rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-left: 5px solid var(--gold); border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow-sm);
}
.emergency__icon { flex: none; display: inline-flex; color: var(--gold-dark); margin-top: 2px; }
.emergency__icon svg { width: 26px; height: 26px; }
.emergency p { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--navy); }
.emergency strong { color: var(--navy); }
.emergency a { color: var(--gold-dark); font-weight: 700; }

/* =========================================================================
   Service-area cards + linkable chips
   ========================================================================= */
.card--area { display: flex; flex-direction: column; text-align: left; position: relative; }
.card--area .btn-text { margin-top: auto; }
.card--area__county { color: var(--gold-dark); font-weight: 600; font-size: .92rem; margin: -.4rem 0 .6rem; }
.card__badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--navy); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .3em .7em; border-radius: var(--pill);
}
a.area-chip--link { text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.area-chip--link:hover {
  border-color: var(--gold); box-shadow: var(--shadow-md);
  transform: translateY(-2px); color: var(--navy);
}
a.area-chip--link span { font-weight: 600; }

/* =========================================================================
   Footer service-area links
   ========================================================================= */
.footer__areas {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem;
  padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .95rem;
}
.footer__areas-label { color: #aeb9d2; font-weight: 700; }
.footer__areas a { color: #cdd6ea; text-decoration: none; }
.footer__areas a:hover { color: #fff; text-decoration: underline; }
.footer__areas-all { display: inline-flex; align-items: center; gap: .3em; color: var(--gold-bright) !important; font-weight: 600; }
.footer__areas-all svg { width: 16px; height: 16px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
