/* Components. Class names are BEM-ish and map 1:1 to template-parts in the theme. */

/* buttons: one system. primary = orange fill, green = secondary, ghost = outline. 19px bold clears AA for large text on brand orange. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font: 700 1.1875rem/1 var(--font); padding: 17px 36px; border-radius: var(--pill);
  background: var(--orange); color: var(--white); text-decoration: none; border: 2px solid var(--orange); cursor: pointer;
}
.btn:hover { background: #C4511A; border-color: #C4511A; color: var(--white); }
.btn--green { background: var(--green); border-color: var(--green); }
.btn--green:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--green); border-color: var(--white); }
.btn--sm { font-size: 1rem; padding: 12px 24px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s4); }

/* top bar + header */
.topbar { background: var(--green); color: var(--white); font-size: var(--fs-small); }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: var(--s5); padding-block: var(--s2); }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #FFB27A; }
.topbar__in > span:first-child { display: none; }
.topbar__in { justify-content: center; }
.topbar__addr { display: none; }
@media (min-width: 860px) { .topbar__addr, .topbar__in > span:first-child { display: block; } .topbar__in { justify-content: space-between; } }
.header { background: var(--white); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); padding-block: var(--s3); }
.header__logo img { height: 56px; width: auto; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: inline-flex; flex-direction: column; gap: 5px; padding: var(--s3); cursor: pointer; border: 1px solid var(--line); border-radius: var(--radius); }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--green); }
.nav { display: none; }
.nav-toggle:checked ~ .nav { display: block; }
.header__in { flex-wrap: wrap; }
.nav { flex-basis: 100%; order: 3; padding-block: var(--s3) var(--s4); }
.nav__list { list-style: none; display: grid; gap: 2px; }
.nav__link { display: block; white-space: nowrap; padding: var(--s3) var(--s2); font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: 0.04em; }
.nav__sub { list-style: none; padding-left: var(--s5); border-left: 2px solid var(--sage-soft); margin: 0 0 var(--s2) var(--s2); }
.nav__sub .nav__link { font-weight: 400; letter-spacing: 0; padding-block: var(--s2); }
.header__cta { display: none; white-space: nowrap; font-size: 1.0625rem; padding: 13px 28px; }
@media (min-width: 1100px) {
  .header__in { flex-wrap: nowrap; }
  .nav-burger { display: none; }
  .nav { display: block; flex-basis: auto; order: 0; padding: 0; margin-inline: auto; }
  .nav__list { display: flex; gap: var(--s2); }
  .nav__item { position: relative; }
  .nav__link { padding: var(--s4) var(--s2); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; }
  .nav__link:hover { color: var(--orange-ink); }
  .nav__item--has-sub > .nav__link::after { content: ""; display: inline-block; margin-left: 8px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(3px); }
  .nav__sub {
    display: none; position: absolute; top: 100%; left: 0; min-width: 290px; z-index: 20; margin: 0; padding: var(--s2);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  }
  .nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { display: block; }
  .nav__sub .nav__link { text-transform: none; letter-spacing: 0; font-size: 1rem; padding: var(--s3) var(--s4); border-radius: 10px; }
  .nav__sub .nav__link:hover { background: var(--sage-soft); }
  .nav__sub .nav__sub { display: block; position: static; border: 0; box-shadow: none; min-width: 0; padding: 0 0 0 var(--s4); margin: 0; border-left: 2px solid var(--sage-soft); }
  .header__cta { display: inline-flex; }
}

/* hero (home) and page hero (inner) */
.hero, .page-hero {
  position: relative; color: var(--white); background: var(--green-deep) var(--hero-img) center / cover no-repeat;
}
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,70,49,.93) 0%, rgba(8,70,49,.72) 48%, rgba(8,70,49,.28) 100%); }
.hero::before { background: linear-gradient(90deg, rgba(8,70,49,.84) 0%, rgba(8,70,49,.5) 42%, rgba(8,70,49,.08) 72%); }
.hero__in, .page-hero__in { position: relative; z-index: 2; }
/* hero slider: the one sanctioned motion (operator choice). Crossfade only, no zoom; 5 slides x 6s; pauses on hover; static for reduced-motion. */
.hero { background-image: none; background-color: var(--green-deep); }
.hero__slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; background: var(--img) var(--pos, center) / cover no-repeat; opacity: 0; animation: hero-fade 30s linear infinite; animation-delay: var(--d); }
.hero:hover .hero__slide { animation-play-state: paused; }
@keyframes hero-fade { 0% { opacity: 0; } 5% { opacity: 1; } 20% { opacity: 1; } 25% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__slide { animation: none; } .hero__slide:first-child { opacity: 1; } }
.hero h1, .hero .lead, .hero .eyebrow { text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.hero { padding-block: clamp(80px, 12vw, 170px); }
.hero h1, .page-hero h1 { color: var(--white); font-size: var(--fs-h1); font-weight: 700; }
.hero h1 { max-width: 17ch; }
.hero .lead { margin-top: var(--s5); margin-bottom: var(--s6); color: #F3F7F5; }
.page-hero { padding-block: clamp(56px, 8vw, 104px); }
.page-hero h1 { max-width: 22ch; }
.page-hero__meta { margin-top: var(--s4); color: #E5EEE9; font-size: var(--fs-small); display: flex; gap: var(--s4); flex-wrap: wrap; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); font-size: var(--fs-small); margin-bottom: var(--s4); color: #DCE8E2; }
.crumbs li + li::before { content: "/"; margin-right: var(--s2); opacity: .6; }
.crumbs a { color: #DCE8E2; }

/* split (image + text) */
.split { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s8); } .split--flip > :first-child { order: 2; } }
.split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.split__text > * + * { margin-top: var(--s4); }
.split__text .btn { margin-top: var(--s5); }
.logos { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s5); align-items: center; margin-top: var(--s6); }
.logos img { height: 34px; width: auto; mix-blend-mode: multiply; }

/* cards */
.grid { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border-radius: var(--radius-lg); padding: var(--s6); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: var(--s3); }
.card h3 { font-size: 1.375rem; }
.card p { color: var(--muted); font-size: 1rem; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card__icon { width: 52px; height: 52px; color: var(--green); margin-bottom: var(--s2); }
.card--link { text-decoration: none; color: inherit; }

/* steps */
.steps { display: grid; gap: var(--s5); list-style: none; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: var(--s6); box-shadow: var(--shadow); }
.step__n { display: block; font-size: 2.1875rem; font-weight: 700; color: var(--orange-ink); line-height: 1; margin-bottom: var(--s4); }
.step h3, .section--green .step h3 { font-size: 1.25rem; margin-bottom: var(--s3); color: var(--green); }
.step p { font-size: 1rem; color: var(--muted); }
.process-intro { max-width: 760px; margin: 0 auto var(--s7); text-align: center; }
.process-intro .lead { margin: var(--s4) auto var(--s5); }
.process-intro .btn-row { justify-content: center; }

/* quote band */
.quote { background: var(--green); color: var(--white); padding-block: clamp(48px, 6vw, 80px); text-align: center; }
.quote__stars { display: flex; justify-content: center; gap: 4px; margin-bottom: var(--s5); color: #FFB27A; }
.quote__stars svg { width: 20px; height: 20px; fill: currentColor; }
.quote blockquote { margin: 0 auto var(--s5); max-width: 28em; font-size: clamp(22px, calc(0.9vw + 18px), 32px); font-weight: 600; line-height: 1.4; text-wrap: balance; }
.quote cite { font-style: normal; font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; opacity: .9; }

/* forms */
.form { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .form { grid-template-columns: repeat(6, minmax(0, 1fr)); } .form .f2 { grid-column: span 2; } .form .f3 { grid-column: span 3; } .form .f6 { grid-column: 1 / -1; } }
.field label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: var(--s1); color: var(--ink); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 14px 16px; border: 1px solid #B9C4BF; border-radius: 10px; background: var(--white); color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7A7879; }
.hp { position: absolute; left: -9999px; }
.captcha { display: flex; align-items: center; gap: var(--s3); border: 1px dashed #9DB0A7; border-radius: 10px; padding: var(--s3) var(--s4); font-size: var(--fs-small); color: var(--muted); max-width: 320px; }
.captcha i { width: 22px; height: 22px; border: 2px solid #9DB0A7; border-radius: 4px; display: block; }
.form-box { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.form-note { font-size: 0.875rem; color: var(--muted); margin-top: var(--s3); }

/* post cards */
.post-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card__img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.post-card__body { padding: var(--s5) var(--s5) var(--s6); display: grid; gap: var(--s3); }
.post-card__date { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--orange-ink); }
.post-card h3 { font-size: 1.375rem; text-decoration: none; }
.post-card p { font-size: 1rem; color: var(--muted); }
.section__row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s7); }
.section__row .section__head { margin-bottom: 0; }

/* widget slot (live third-party widget, shown as a labeled placeholder in the mockups) */
.widget-slot { border: 2px dashed #9DB0A7; border-radius: var(--radius-lg); padding: var(--s7) var(--s6); text-align: center; color: var(--muted); background: var(--white); }
.widget-slot strong { display: block; color: var(--green); margin-bottom: var(--s2); }

/* inner-page layout: content + sidebar */
.layout { display: grid; gap: var(--s8); }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 780px) 340px; justify-content: space-between; align-items: start; } }
.sidebar { display: grid; gap: var(--s5); }
.side-card { background: var(--bg-alt); border-radius: var(--radius-lg); padding: var(--s6); }
.side-card h2, .side-card h3 { font-size: 1.1875rem; margin-bottom: var(--s4); }
.side-nav { list-style: none; display: grid; gap: 2px; }
.side-nav a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem; }
.side-nav a:hover { background: var(--sage-soft); }
.side-nav a[aria-current="page"] { background: var(--green); color: var(--white); }
.help-card { background: var(--green); color: var(--white); border-radius: var(--radius-lg); padding: var(--s6); }
.help-card h2, .help-card h3 { color: var(--white); font-size: 1.375rem; margin-bottom: var(--s3); }
.help-card p { font-size: 1rem; color: #E5EEE9; margin-bottom: var(--s4); }
.help-card__list { list-style: none; display: grid; gap: var(--s2); margin-bottom: var(--s5); font-size: 1rem; }
.help-card__list a { color: var(--white); font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.help-card .btn { width: 100%; }
.recent { list-style: none; display: grid; gap: var(--s4); }
.recent a { text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.35; display: block; }
.recent a:hover { color: var(--orange-ink); }
.recent small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8125rem; margin-top: 2px; }

/* CTA band */
.cta { text-align: center; }
.cta h2 { font-size: var(--fs-h2); margin-bottom: var(--s4); }
.cta p { max-width: 56ch; margin: 0 auto var(--s6); color: #E5EEE9; }
.cta .btn-row { justify-content: center; }

/* footer */
.footer { background: var(--green-deep); color: #D9E6DF; font-size: 1rem; }
.footer__grid { display: grid; gap: var(--s7); padding-block: var(--s9) var(--s8); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.footer img { height: 56px; width: auto; margin-bottom: var(--s5); }
.footer h2 { color: var(--white); font-size: 1.125rem; margin-bottom: var(--s4); text-transform: none; }
.footer ul { list-style: none; display: grid; gap: var(--s2); }
.footer a { color: #D9E6DF; text-decoration: none; }
.footer a:hover { color: #FFB27A; }
.footer__phone { color: var(--white); font-weight: 700; font-size: 1.25rem; }
.footer__map { background: #0D5239; border: 1px dashed #5E8B7A; border-radius: var(--radius); min-height: 150px; display: grid; place-items: center; color: #BFD3C9; font-size: var(--fs-small); text-align: center; padding: var(--s4); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.15); padding-block: var(--s5); font-size: 0.875rem; display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }

/* ===== home polish (2026-11-11): depth + rhythm, still no motion beyond the hero crossfade ===== */
/* hero: taller, brand-green bottom fade so the trust strip sits on it cleanly */
.hero { padding-block: clamp(56px, calc(14vw - 80px), 120px) clamp(120px, 14vw, 190px); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 1; background: linear-gradient(to top, rgba(8,70,49,.55), transparent); }
.hero .eyebrow { display: inline-block; padding: 7px 14px; border: 1px solid rgba(255,255,255,.45); border-radius: var(--pill); background: rgba(8,70,49,.35); }
.hero h1 { font-size: clamp(38px, calc(3.2vw + 24px), 72px); letter-spacing: -0.01em; }

/* trust strip: overlaps the hero's bottom edge */
.trust { position: relative; z-index: 5; margin-top: calc(-1 * var(--s8)); }
.trust__in { background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 18px 50px rgba(8,70,49,.18); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .trust__in { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust__item { padding: var(--s5) var(--s5); display: flex; gap: var(--s4); align-items: center; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.trust__item:nth-child(-n+2) { border-top: 0; }
.trust__item:nth-child(odd) { border-left: 0; }
@media (min-width: 900px) { .trust__item { border-top: 0; } .trust__item:nth-child(odd) { border-left: 1px solid var(--line); } .trust__item:first-child { border-left: 0; } }
.trust__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--sage-soft); color: var(--green); display: grid; place-items: center; }
.trust__icon svg { width: 24px; height: 24px; margin: 0; }
.trust__item strong { display: block; color: var(--green); font-size: 1.0625rem; line-height: 1.25; }
.trust__item span { display: block; font-size: 0.875rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.trust + .section { padding-top: calc(var(--section) + var(--s5)); }

/* section titles: short orange rule under left-aligned titles, centered under centered ones */
.split__text .title::after, .section__head .title::after, .process-intro .title::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--orange); margin-top: var(--s4); }
.section__head--center .title::after, .process-intro .title::after { margin-inline: auto; }
.section--green .title::after { background: #FFB27A; }

/* framed photos: offset sage block behind + inner border, so images feel placed, not pasted */
.split__media { position: relative; isolation: isolate; }
.split__media::before { content: ""; position: absolute; z-index: -1; inset: var(--s5) calc(-1 * var(--s5)) calc(-1 * var(--s5)) var(--s5); border-radius: var(--radius-lg); background: var(--sage-soft); }
.split--flip .split__media::before { inset: var(--s5) var(--s5) calc(-1 * var(--s5)) calc(-1 * var(--s5)); background: #DCE7E1; }
.split__media img { aspect-ratio: 5 / 4; box-shadow: 0 20px 45px rgba(8,70,49,.2); }
.split__media::after { content: ""; position: absolute; left: var(--s4); top: var(--s4); width: 84px; height: 84px; border-left: 4px solid var(--orange); border-top: 4px solid var(--orange); border-top-left-radius: 14px; pointer-events: none; }
.split--flip .split__media::after { left: auto; right: var(--s4); border-left: 0; border-right: 4px solid var(--orange); border-top-left-radius: 0; border-top-right-radius: 14px; }
.split__text .logos { padding-top: var(--s5); border-top: 1px solid var(--line); }
@media (max-width: 899px) { .split__media::before { inset: var(--s3) calc(-1 * var(--s2)) calc(-1 * var(--s3)) var(--s3); } .split--flip .split__media::before { inset: var(--s3) var(--s3) calc(-1 * var(--s3)) calc(-1 * var(--s2)); } }

/* service cards: icon chip, top accent bar, hover = color shift only */
.card { position: relative; overflow: hidden; padding: var(--s6) var(--s6) var(--s6); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(8,70,49,.06); }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--green); }
.card:nth-child(2)::before { background: var(--sage); }
.card:nth-child(3)::before { background: var(--orange); }
.card:nth-child(4)::before { background: var(--green-deep); }
.card__icon { box-sizing: content-box; width: 30px; height: 30px; padding: 15px; border-radius: 50%; background: var(--sage-soft); color: var(--green); margin-bottom: var(--s3); }
.card:hover { border-color: var(--sage); }
.card:hover .card__icon { background: var(--green); color: var(--white); }

/* quote bands: big quote mark, deeper green with a soft radial glow */
.quote { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 50% 0%, #11704f 0%, var(--green) 45%, var(--green-deep) 100%); padding-block: clamp(64px, 8vw, 110px); }
.quote::before { content: "\201C"; position: absolute; left: 50%; top: clamp(8px, 1.5vw, 20px); transform: translateX(-50%); font: 700 clamp(120px, 13vw, 190px)/1 Georgia, serif; color: rgba(255,255,255,.16); pointer-events: none; }
.quote .wrap { position: relative; }
.quote { padding-top: clamp(104px, 11vw, 160px); }
.quote blockquote { font-size: clamp(24px, calc(1.1vw + 19px), 36px); }
.quote cite::before { content: ""; display: block; width: 40px; height: 2px; background: #FFB27A; margin: 0 auto var(--s4); }

/* process steps: connector line + larger numerals */
.section--sage { background: linear-gradient(180deg, var(--sage-soft) 0%, #F2F6F3 100%); }
.steps { position: relative; }
@media (min-width: 1000px) { .steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 52px; height: 0; border-top: 2px dashed #9DB0A7; z-index: 0; } }
.step { position: relative; z-index: 1; border: 1px solid var(--line); padding-top: var(--s7); }
.step__n { position: absolute; top: calc(-1 * var(--s5)); left: var(--s6); width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: var(--white); display: grid; place-items: center; font-size: 1.375rem; box-shadow: 0 8px 18px rgba(222,95,36,.35); margin: 0; }
.steps { padding-top: var(--s5); }

/* insurance: intro left, form right on desktop */
.ins { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 1000px) { .ins { grid-template-columns: 5fr 7fr; gap: var(--s8); } .ins__intro { position: sticky; top: var(--s6); } }
.ins__intro .logos { margin-top: var(--s5); }
.ins__points { list-style: none; display: grid; gap: var(--s3); margin-top: var(--s5); }
.ins__points li { display: flex; gap: var(--s3); align-items: flex-start; font-size: 1.0625rem; }
.ins__points svg { flex: none; width: 24px; height: 24px; margin-top: 2px; color: var(--orange-ink); }
.ins .form-box { border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(8,70,49,.12); margin: 0; }
.field input:focus, .field textarea:focus { border-color: var(--green); outline: 3px solid rgba(11,92,65,.18); outline-offset: 0; }

/* callback: green panel framing the form */
.callback { background: var(--green); border-radius: 28px; padding: clamp(28px, 5vw, 64px); color: var(--white); }
.callback .title, .callback .eyebrow { color: var(--white); }
.callback .lead { color: #E5EEE9; }
.callback .title::after { background: #FFB27A; }
.callback .form-box { box-shadow: 0 20px 50px rgba(0,0,0,.25); }

/* post cards: tighter, hover shadow only */
.post-card { border: 1px solid var(--line); }
.post-card:hover { border-color: var(--sage); box-shadow: 0 14px 34px rgba(8,70,49,.14); }
.post-card:hover h3 { color: var(--orange-ink); }

/* footer: orange top edge */
.footer { border-top: 6px solid var(--orange); }

/* ===== background imagery (2026-11-11): real Etowah photos under heavy brand-color washes, so text contrast holds ===== */
.section--photo { position: relative; isolation: isolate; background-image: linear-gradient(rgba(249,249,249,.86), rgba(249,249,249,.8)), var(--bg); background-size: cover; background-position: center; }
.section--photo.section--sage { background-image: linear-gradient(rgba(232,238,234,.88), rgba(242,246,243,.92)), var(--bg); }
.section--photo-right { background-image: linear-gradient(90deg, #fff 0%, #fff 30%, rgba(255,255,255,.72) 100%), var(--bg); background-size: cover; background-position: center; }
.quote { background-image: linear-gradient(rgba(8,70,49,.9), rgba(8,70,49,.84)), var(--bg); background-size: cover; background-position: center 55%; }
.callback { background-image: linear-gradient(rgba(11,92,65,.9), rgba(8,70,49,.93)), var(--bg); background-size: cover; background-position: center; }
.footer { background: var(--green); }

/* theme additions: live map iframe in the footer, form status messages */
iframe.footer__map { width: 100%; height: 200px; border: 0; border-radius: var(--radius); background: #0D5239; display: block; }
.form-status { padding: var(--s4) var(--s5); border-radius: var(--radius); margin-bottom: var(--s4); font-weight: 600; }
.form-status--ok { background: var(--sage-soft); color: var(--green-deep); }
.form-status--err { background: #FBE9E1; color: #8A2E0B; }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
.pager { display: flex; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s7); }
.pager .page-numbers { padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--pill); text-decoration: none; font-weight: 600; }
.pager .current { background: var(--green); color: var(--white); border-color: var(--green); }

/* solid green variants (operator, 2026-11-11) */
.quote--solid { background: var(--green); }
.callback { background: var(--green); }

/* sticky header */
.header { position: sticky; top: 0; z-index: 50; }
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }

/* call-today ticker: the second sanctioned motion (operator request); pauses on hover/focus, static for reduced-motion */
.ticker { background: var(--green-deep); color: var(--white); overflow: hidden; border-block: 4px solid var(--orange); }
.ticker__track { display: flex; width: max-content; animation: ticker-scroll 70s linear infinite; }
@media (hover: hover) { .ticker:hover .ticker__track { animation-play-state: paused; } }
.ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__row { list-style: none; display: flex; flex: none; margin: 0; padding: 0; }
.ticker__row li { flex: none; display: flex; align-items: center; padding: var(--s5) var(--s6); font-size: 1.1875rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.ticker__row li::after { content: ""; width: 10px; height: 10px; margin-left: calc(var(--s6) * 2); border-radius: 50%; background: var(--orange); }
.ticker__row a { color: #FFB27A; text-decoration: none; }
.ticker__row a:hover { color: var(--white); text-decoration: underline; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
/* phones with Reduce Motion on (common on iOS) still get the ticker - the operator wants it moving - just slower */
@media (prefers-reduced-motion: reduce) { .ticker__track { animation-duration: 140s; } }

/* light closing CTA (sits above the green footer without merging into it) */
.cta--light h2 { color: var(--green); }
.cta--light p { color: var(--ink); }
.cta--light .btn--ghost { color: var(--green); border-color: var(--green); }
.cta--light .btn--ghost:hover { background: var(--green); color: var(--white); border-color: var(--green); }

/* phones: two columns, icon stacked above the text so nothing is wider than its half */
.trust__item > div { min-width: 0; }
.trust__item strong, .trust__item span { overflow-wrap: anywhere; }
@media (max-width: 599px) {
	.trust__item { flex-direction: column; align-items: flex-start; gap: var(--s3); padding: var(--s5) var(--s4); }
	.trust__item strong { font-size: 1rem; }
	.trust__item span { font-size: .8125rem; }
}

/* phones: forms and sidebar cards get even, smaller padding; the 304px reCAPTCHA widget is scaled to fit instead of stretching the form */
.field input, .field textarea { box-sizing: border-box; }
@media (max-width: 599px) {
	.form-box { padding: 20px 18px; }
	.g-recaptcha { transform: scale(.9); transform-origin: 0 0; height: 70px; }
	.side-card, .help-card { padding: var(--s5); }
}
/* sidebar nav: link text lines up with the card heading; the hover/active pill reaches the card padding edge */
.side-nav { margin-inline: -14px; }
/* home callback: the green panel + white form box are nested, so on phones trim both paddings; captcha scales further on very small screens */
@media (max-width: 599px) {
	.callback { padding: 24px 12px; border-radius: 22px; }
	.callback .form-box { padding: 18px 14px; }
	.callback .section__head { padding-inline: 6px; }
}
@media (max-width: 359px) { .g-recaptcha { transform: scale(.72); height: 58px; } }

/* phones/tablets: compact Call now button sits between the logo and the menu button */
@media (max-width: 1099px) {
	.header__in { flex-wrap: wrap; gap: 10px; }
	.header__logo { order: 0; flex: 0 1 auto; min-width: 0; margin-right: auto; }
	.header__logo img { height: 44px; max-width: 100%; }
	.header__cta { display: inline-flex; order: 1; font-size: .9375rem; padding: 9px 16px; line-height: 1.1; }
	.nav-burger { order: 2; padding: 11px; }
}
@media (min-width: 600px) and (max-width: 1099px) { .header__logo img { height: 52px; } .header__cta { font-size: 1rem; padding: 11px 20px; } }
@media (max-width: 359px) { .header__in { gap: 8px; } .header__logo img { height: 34px; } .header__cta { font-size: .875rem; padding: 8px 12px; } .nav-burger { padding: 9px; } }

/* centered intro blocks (What we do, Our admissions process, ...) use the wide measure, not a narrow column */
.section__head--center, .process-intro { max-width: 1060px; }
.section__head--center .lead, .process-intro .lead { max-width: 100ch; }

/* mobile menu: the open menu is a scrollable panel inside the sticky header (it used to grow past the screen and could not be scrolled) */
@media (max-width: 1099px) {
	.nav { max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
	.admin-bar .nav { max-height: calc(100dvh - 142px); }
	.nav__list { padding-bottom: var(--s4); }
}
