/* ==========================================================================
   Pacific Pro Window Cleaning — design system
   Coastal editorial. Palette sampled from colored-logo.PNG.
   Newsreader (display) + Public Sans (body).

   NOTE: the block marked "SEO ENGINE CONTRACT" near the bottom defines class
   names and custom properties that the Echo Local SEO engine emits into
   generated blog + area pages. Do not rename or remove them or every
   engine-generated page renders unstyled.
   ========================================================================== */

:root {
  /* brand — sampled from the logo */
  --navy:        #16294C;
  --navy-deep:   #0D2246;
  --blue:        #2A6CA7;
  --blue-dark:   #215684;
  --sky:         #53B4DF;
  --ice:         #B5E0EF;
  --ice-soft:    #DCEFF7;

  /* neutrals */
  --sand:        #FBFAF7;
  --sand-2:      #F4F1EA;
  --white:       #FFFFFF;
  --ink:         #16294C;
  --slate:       #4A5568;
  --slate-2:     #6B7280;
  --line:        #E3E8EF;

  /* type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* spacing scale */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  64px;
  --space-2xl: 96px;

  /* layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);

  --radius-sm: 3px;
  --radius:    6px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(13, 34, 70, .05), 0 2px 8px rgba(13, 34, 70, .04);
  --shadow:    0 2px 6px rgba(13, 34, 70, .06), 0 12px 32px rgba(13, 34, 70, .08);
  --shadow-lg: 0 8px 24px rgba(13, 34, 70, .10), 0 24px 60px rgba(13, 34, 70, .12);

  --ease: cubic-bezier(.4, 0, .2, 1);
  --t: .25s var(--ease);
  --t-fast: .15s var(--ease);

  --z-nav: 50;
  --z-overlay: 40;
  --z-mobile: 45;
  --z-cta: 30;
}

/* --------------------------------------------------------------- base --- */

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

/* overflow-x on BOTH html and body. The off-canvas nav panel is position:fixed
   and translated off to the right; body-only overflow does not contain a fixed
   descendant, which left ~380px of sideways scroll on mobile. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--navy);
  margin: 0 0 var(--space-md);
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 var(--space-md); max-width: 68ch; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--t-fast); }
a:hover { color: var(--navy); }

ul, ol { margin: 0 0 var(--space-md); padding-left: 1.25em; }
li { margin-bottom: .4em; }

strong { font-weight: 700; color: var(--navy); }

blockquote { margin: 0; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: var(--sand);
  padding: 12px 20px; border-radius: 0 0 var(--radius) 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------- utilities --- */

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--sand  { background: var(--sand-2); }
.section--ice   { background: var(--ice-soft); }
.section--dark  { background: var(--navy); color: var(--ice-soft); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(220, 239, 247, .88); }
.section--dark a { color: var(--sky); }

.center { text-align: center; }
.center p { margin-inline: auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: var(--space-sm);
}
.section--dark .eyebrow { color: var(--sky); }

.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--slate); }
.section--dark .lead { color: rgba(220, 239, 247, .9); }

.muted { color: var(--slate-2); }
.small { font-size: .9rem; }

/* asymmetric split — the core coastal-editorial layout primitive */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--wide  { grid-template-columns: 1.35fr .65fr; }
.split--flip  { direction: rtl; }
.split--flip > * { direction: ltr; }
.split--top   { align-items: start; }

.grid { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.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: 1024px) {
  .split, .split--wide { grid-template-columns: 1fr; }
  .split--flip { direction: ltr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-3.keep-2-md, .grid-4.keep-2-md { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .grid-3.keep-2-md, .grid-4.keep-2-md { grid-template-columns: 1fr; }
}

/* reveal-on-scroll (JS adds .revealed) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ buttons --- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 26px;
  font-family: var(--sans); font-size: .97rem; font-weight: 600;
  border: 1.5px solid transparent; border-radius: var(--radius-pill);
  text-decoration: none; cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
}
.btn--primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--primary:hover { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.btn--secondary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy-deep); color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.section--dark .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.55); }
.section--dark .btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--lg { min-height: 54px; padding: 16px 34px; font-size: 1.02rem; }
.btn--sm { min-height: 40px; padding: 9px 18px; font-size: .88rem; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-row--center { justify-content: center; }

.arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .93rem; color: var(--blue); }
.arrow::after { content: "→"; transition: transform var(--t); }
a:hover .arrow::after { transform: translateX(4px); }

/* -------------------------------------------------------------- topbar --- */

.topbar { background: var(--navy); color: var(--ice-soft); font-size: .86rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__phone { color: var(--white); font-weight: 600; text-decoration: none; letter-spacing: .01em; }
.topbar__phone:hover { color: var(--sky); }
.topbar__note { color: rgba(220, 239, 247, .8); }
@media (max-width: 760px) { .topbar__note { display: none; } .topbar__inner { justify-content: center; } }

/* ---------------------------------------------------------------- nav --- */

.site-header {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgba(251, 250, 247, .93);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.nav__brand img { height: 44px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; margin: 0; }
.nav__item > a,
.nav__dropdown-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; min-height: 44px;
  font-size: .95rem; font-weight: 500; color: var(--navy);
  text-decoration: none; background: none; border: 0; cursor: pointer;
  font-family: var(--sans); border-radius: var(--radius);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav__item > a:hover,
.nav__dropdown-trigger:hover { background: var(--ice-soft); color: var(--navy); }
.nav__item > a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav__caret { font-size: .7em; opacity: .6; }

.nav__dropdown {
  position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 268px; padding: 8px; margin: 0; list-style: none;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: none; }
.nav__dropdown li { margin: 0; }
.nav__dropdown a {
  display: block; padding: 10px 14px; border-radius: var(--radius);
  font-size: .92rem; color: var(--navy); text-decoration: none;
  transition: background var(--t-fast);
}
.nav__dropdown a:hover { background: var(--ice-soft); }

.nav__cta-wrap { margin-left: 8px; }
.nav__toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer; position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  position: absolute; left: 11px; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: transform var(--t), opacity var(--t-fast);
}
.nav__toggle span { top: 21px; }
.nav__toggle span::before { content: ""; top: -7px; left: 0; }
.nav__toggle span::after  { content: ""; top: 7px; left: 0; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 96px 20px 32px; overflow-y: auto;
    background: var(--sand); border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    /* visibility (not just transform) so the closed menu's links are not
       keyboard-focusable and are hidden from assistive tech */
    transform: translateX(100%); visibility: hidden;
    transition: transform var(--t), visibility var(--t);
    z-index: var(--z-mobile);
  }
  .nav.is-open .nav__links { transform: none; visibility: visible; }
  .nav__item > a, .nav__dropdown-trigger { width: 100%; justify-content: space-between; font-size: 1.05rem; padding: 14px; }
  .nav__dropdown {
    /* `inherit`, not `visible` — an explicit `visible` here would override the
       closed panel's visibility:hidden and leave these links focusable. */
    position: static; opacity: 1; visibility: inherit; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--ice);
    border-radius: 0; margin: 0 0 8px 14px; padding: 0 0 0 8px;
    max-height: 0; overflow: hidden; transition: max-height var(--t);
  }
  .nav__item--has-dropdown.is-expanded .nav__dropdown { max-height: 640px; }
  .nav__cta-wrap { margin: 16px 0 0; }
  .nav__cta { width: 100%; }
}

.nav__overlay {
  position: fixed; inset: 0; background: rgba(13, 34, 70, .45);
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
  z-index: var(--z-overlay);
}
.nav__overlay.is-visible { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------- hero --- */

.hero { position: relative; padding-block: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__title { margin-bottom: var(--space-md); }
.hero__title em { font-style: italic; color: var(--blue); }
.hero__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.hero__proof {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: var(--space-md);
}
.stars { color: #E5A100; letter-spacing: 2px; font-size: 1.05rem; }
.hero__proof-text { font-size: .95rem; color: var(--slate); }
.hero__proof-text strong { color: var(--navy); }

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

/* ---------------------------------------------------------- statbar --- */

.statbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 40px); }
.stat__num { display: block; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 500; color: var(--blue); line-height: 1; margin-bottom: 6px; }
.stat h4 { margin-bottom: 4px; }
.stat p { font-size: .92rem; color: var(--slate-2); margin: 0; }
@media (max-width: 860px) { .statbar { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------- service cards --- */

.service-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: inherit; cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t);
}
.service-card:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.service-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ice-soft); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.03); }
.service-card__body { padding: var(--space-md); display: flex; flex-direction: column; flex: 1; }
.service-card__body h3 { margin-bottom: 10px; }
.service-card__body p { font-size: .95rem; color: var(--slate); flex: 1; margin-bottom: var(--space-sm); }

/* ------------------------------------------------------------ steps --- */

.steps { counter-reset: step; display: grid; gap: var(--space-lg); }
.step { display: grid; grid-template-columns: 56px 1fr; gap: var(--space-md); align-items: start; }
.step__num {
  counter-increment: step; width: 56px; height: 56px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--ice-soft); color: var(--navy);
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
}
.step__num::before { content: counter(step); }
.step h3 { margin-bottom: 8px; }
.step p { margin-bottom: 0; font-size: .97rem; color: var(--slate); }

/* ----------------------------------------------------------- quotes --- */

.quote {
  background: var(--white); border: 1px solid var(--line);
  border-left: 3px solid var(--sky);
  border-radius: var(--radius-lg); padding: var(--space-md);
  display: flex; flex-direction: column; height: 100%;
}
.quote__stars { color: #E5A100; letter-spacing: 2px; margin-bottom: 10px; font-size: .95rem; }
.quote__body { font-family: var(--serif); font-style: italic; font-size: 1.08rem; line-height: 1.55; color: var(--navy); margin-bottom: var(--space-sm); flex: 1; }
.quote__meta { font-size: .87rem; color: var(--slate-2); }
.quote__meta strong { color: var(--navy); font-weight: 600; }

.pullquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem); line-height: 1.4;
  color: var(--navy); border-left: 3px solid var(--sky);
  padding-left: clamp(20px, 3vw, 36px); margin: var(--space-lg) 0;
  max-width: 30ch;
}
.pullquote cite { display: block; font-family: var(--sans); font-style: normal; font-size: .85rem; font-weight: 600; color: var(--slate-2); margin-top: 14px; letter-spacing: .04em; text-transform: uppercase; }

/* -------------------------------------------------------- checklist --- */

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 16px; height: 9px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.section--dark .checklist li::before { border-color: var(--sky); }

/* --------------------------------------------------------- areas --- */

.area-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px 24px; }
.area-links li { margin: 0; }
.area-links a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none; font-size: .96rem; transition: color var(--t-fast), padding var(--t-fast); }
.area-links a:hover { color: var(--blue); padding-left: 6px; }

/* ------------------------------------------------------------- faq --- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: var(--space-md) 0; min-height: 56px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: clamp(1.08rem, 1.6vw, 1.25rem); font-weight: 500; color: var(--navy);
}
.faq__q::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; color: var(--blue); flex-shrink: 0; transition: transform var(--t); }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.faq__item.is-open .faq__a { max-height: 720px; }
.faq__a p { padding-bottom: var(--space-md); margin: 0; color: var(--slate); }

/* ------------------------------------------------------------ form --- */

.form { display: grid; gap: var(--space-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; min-height: 48px;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42, 108, 167, .15);
}
.field--check { display: flex; align-items: flex-start; gap: 10px; }
.field--check input { width: 20px; height: 20px; min-height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); }
.field--check label { font-weight: 400; font-size: .88rem; color: var(--slate); line-height: 1.5; }
.hp { position: absolute; left: -9999px; }
.form__note { font-size: .8rem; color: var(--slate-2); line-height: 1.5; }

.form__success, .form__error { padding: var(--space-md); border-radius: var(--radius-lg); display: none; }
.form__success { background: #E8F5EC; border: 1px solid #A8D8B9; color: #1D5B31; }
.form__error   { background: #FDECEC; border: 1px solid #F0B4B4; color: #8B2020; }
.form__success.is-visible, .form__error.is-visible { display: block; }

/* ----------------------------------------------------------- footer --- */

.site-footer { background: var(--navy); color: rgba(220, 239, 247, .82); padding-block: var(--space-xl) var(--space-lg); }
.site-footer h4 { color: var(--white); margin-bottom: var(--space-sm); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a { color: rgba(220, 239, 247, .82); text-decoration: none; }
.site-footer a:hover { color: var(--sky); }
.site-footer p { font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer__logo { height: 46px; width: auto; margin-bottom: var(--space-sm); }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 9px; font-size: .93rem; }
.footer__phone { color: var(--white) !important; font-weight: 600; font-size: 1.05rem !important; }
.footer__phone:hover { color: var(--sky) !important; }
.footer__bottom {
  margin-top: var(--space-xl); padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .84rem; color: rgba(220, 239, 247, .6);
}
.footer__credit { font-size: 10px; opacity: .45; margin-top: 4px; }
.footer__credit a { color: inherit; text-decoration: none; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------- sticky mobile CTA --- */

.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-cta);
    background: var(--white); border-top: 1px solid var(--line);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(13, 34, 70, .1);
  }
  .mobile-cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .mobile-cta .btn { width: 100%; min-height: 46px; padding: 11px 12px; font-size: .93rem; }
  body { padding-bottom: 78px; }
}

/* ==========================================================================
   SEO ENGINE CONTRACT
   The Echo Local SEO engine (blog_engine.py / location_pages.py) emits these
   exact class names and CSS variables into generated pages. They are mapped
   onto the Pacific Pro palette here. Renaming any of them silently ships
   unstyled pages.
   ========================================================================== */

:root {
  --clr-primary-dark:    var(--navy);
  --clr-text-secondary:  var(--slate);
  --clr-accent-gold:     var(--blue);   /* engine's "accent" slot; brand has no gold */
  --color-text-muted:    var(--slate-2);
  --color-surface:       var(--white);
}

.page-header { padding-block: clamp(40px, 6vw, 76px) clamp(24px, 3vw, 40px); background: var(--ice-soft); border-bottom: 1px solid var(--line); }
.page-header__title { margin-bottom: var(--space-sm); }
.page-header__subtitle { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--slate); max-width: 60ch; margin: 0; }

.breadcrumbs { font-size: .85rem; color: var(--slate-2); margin-bottom: var(--space-sm); }
.breadcrumbs a { color: var(--slate-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }

.centered-block { max-width: 760px; margin-inline: auto; }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color var(--t), box-shadow var(--t);
}
.card:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.card--with-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__content { padding: var(--space-md); display: flex; flex-direction: column; flex: 1; }
.card__content h3 { margin-bottom: 10px; }
.card__content p { font-size: .95rem; color: var(--slate); flex: 1; }

.fade-in { animation: fadeIn .6s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade-in { animation: none; } }

/* Long-form body copy in engine-generated blog + area pages */
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--space-xl); }
.prose h3 { margin-top: var(--space-lg); }
.prose img { border-radius: var(--radius-lg); margin-block: var(--space-md); }
.prose ul, .prose ol { margin-bottom: var(--space-md); }
