/* ==========================================================================
   Temple Roofers — site stylesheet
   Navy & gold design system. Mobile-first. No frameworks.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
}

:root {
  --navy: #0b1f3a;
  --navy-deep: #071629;
  --navy-700: #13305a;
  --navy-600: #1d4174;
  --gold: #d4a843;
  --gold-600: #b98d2b;
  --gold-light: #f2dfb0;
  --gold-soft: #fbf3df;
  --offwhite: #f8f9fc;
  --white: #ffffff;
  --text: #1e293b;
  --muted: #475569;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --success: #15803d;
  --danger: #b42318;
  --warn: #b45309;

  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 2px 6px rgba(11, 31, 58, .05);
  --shadow: 0 10px 30px -12px rgba(11, 31, 58, .25), 0 4px 10px -6px rgba(11, 31, 58, .12);
  --shadow-lg: 0 30px 60px -20px rgba(7, 22, 41, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
  --container: 1220px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--ease); }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.3rem); font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
button, input, select, textarea { font: inherit; color: inherit; }
main { display: block; outline: none; }
.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--gold); color: var(--navy-deep); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.text-gold { color: var(--gold); }
.pending-link { color: inherit; }
[hidden] { display: none !important; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 860px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.section--alt { background: var(--offwhite); }
.section--navy { background: radial-gradient(1200px 500px at 85% -10%, rgba(212, 168, 67, .14), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #dbe3ef; }
.section--navy .section-title, .section--navy h3 { color: var(--white); }
.section--navy .section-intro { color: #b8c5d8; }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { margin-bottom: .45em; }
.section-title--sm { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.section-intro { color: var(--muted); font-size: 1.1rem; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow--light { color: var(--gold-light); }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: -1; }
}
.center-note { text-align: center; margin-top: 32px; color: var(--muted); }
.intro-block { max-width: 860px; margin: 0 auto 40px; font-size: 1.1rem; color: var(--muted); text-align: center; }
.group-title { font-size: 1.3rem; margin: 44px 0 20px; display: flex; align-items: center; gap: 12px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: linear-gradient(135deg, #e2bb5e 0%, var(--gold) 45%, #c39431 100%); color: var(--navy-deep); box-shadow: 0 10px 24px -10px rgba(212, 168, 67, .8); }
.btn--gold:hover { color: var(--navy-deep); box-shadow: 0 16px 30px -10px rgba(212, 168, 67, .9); }
.btn--navy { background: var(--navy); color: var(--white); box-shadow: 0 10px 24px -12px rgba(11, 31, 58, .7); }
.btn--navy:hover { background: var(--navy-700); color: var(--white); }
.btn--outline-light { border-color: rgba(255, 255, 255, .55); color: var(--white); background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(255, 255, 255, .1); }
.btn--ghost { border-color: var(--line-strong); color: var(--navy); background: var(--white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--navy); }
.header-cta { white-space: nowrap; }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-row--center { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.text-link .icon { transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: #cfd9e8; font-size: .82rem; position: relative; z-index: 1; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.topbar__msg { margin: 0; display: flex; align-items: center; gap: 8px; letter-spacing: .03em; }
.topbar__msg strong { color: var(--gold-light); text-transform: uppercase; font-weight: 700; font-size: .78rem; letter-spacing: .08em; }
.topbar__msg .icon { color: var(--gold); }
.topbar__dash { text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }
.topbar__phone { color: var(--white); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar__phone:hover { color: var(--gold-light); }
@media (max-width: 720px) {
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__dash, .topbar__phone { display: none; }
}

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 31, 58, .97);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-header.is-scrolled { background: rgba(7, 22, 41, .94); backdrop-filter: saturate(140%) blur(10px); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .55); }
.page-home .site-header:not(.is-scrolled) { background: linear-gradient(180deg, rgba(7, 22, 41, .75), rgba(7, 22, 41, 0)); }
.page-home .hero { margin-top: calc(-1 * var(--header-h)); }
.site-header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo__mark { width: 44px; height: 44px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--font-head); font-weight: 800; font-size: 1.22rem; color: var(--white); letter-spacing: -.01em; }
.logo__tag { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: 4px; }
.logo:hover .logo__name { color: var(--gold-light); }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { color: #e6ecf5; text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; padding: 10px 11px; border-radius: 8px; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--white); }
.nav__link:hover::after, .nav__link[aria-current]::after { transform: scaleX(1); }
.nav__toggle { background: none; border: 0; color: #c9d4e5; padding: 6px 4px; margin-left: -8px; cursor: pointer; border-radius: 6px; display: inline-flex; }
.nav__toggle .icon { transition: transform .25s var(--ease); width: 16px; height: 16px; }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.header-phone .icon { color: var(--gold); width: 18px; height: 18px; }
@media (min-width: 1321px) { .header-phone__sr { display: none; } }
.header-phone:hover { color: var(--gold-light); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); cursor: pointer; position: relative; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn__bars { top: 50%; margin-top: -1px; }
.menu-btn__bars::before { content: ""; top: -6px; }
.menu-btn__bars::after { content: ""; top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Dropdowns (desktop) */
.drop { position: absolute; top: calc(100% + 10px); left: -12px; min-width: 260px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; z-index: 70; }
.drop::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.drop ul { list-style: none; margin: 0; padding: 0; }
.drop a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .92rem; line-height: 1.3; }
.drop a .icon { color: var(--gold-600); width: 18px; height: 18px; }
.drop a:hover { background: var(--gold-soft); color: var(--navy); }
.drop--mega { width: min(640px, 80vw); left: -40px; padding: 14px; }
.drop__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.drop__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 12px 4px; border-top: 1px solid var(--line); }
.drop__foot a { padding: 6px 0; font-size: .88rem; }
.drop__foot a:hover { background: none; color: var(--gold-600); }
.drop .drop__cta { background: var(--navy); color: var(--white); padding: 9px 14px; border-radius: 999px; }
.drop .drop__cta:hover { background: var(--navy-700); color: var(--gold-light); }
@media (min-width: 1121px) {
  .drop { display: none; }
  .has-drop:hover > .drop, .has-drop:focus-within > .drop, .has-drop.is-open > .drop { display: block; opacity: 1; visibility: visible; transform: translateY(0); animation: drop-in .22s var(--ease); }
}
@keyframes drop-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile navigation */
@media (max-width: 1120px) {
  .menu-btn { display: inline-block; }
  .header-phone span:not(.sr-only) { display: none; }
  .header-phone { width: 46px; height: 46px; justify-content: center; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(400px, 100%); margin: 0; z-index: 80;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: calc(var(--header-h) + 64px) 20px 32px; overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
    box-shadow: -20px 0 50px rgba(0, 0, 0, .35);
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__link { flex: 1; padding: 14px 6px; font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__toggle { width: 44px; height: 44px; justify-content: center; align-items: center; margin: 0; border: 1px solid rgba(255, 255, 255, .15); }
  .nav__toggle .icon { width: 18px; height: 18px; }
  .drop, .drop--mega { position: static; width: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255, 255, 255, .04); padding: 0; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease), padding .35s; border-radius: 12px; }
  .drop::before { display: none; }
  .has-drop.is-open > .drop { max-height: 900px; padding: 8px; margin-bottom: 12px; }
  .drop a { color: #e3eaf4; }
  .drop a:hover { background: rgba(255, 255, 255, .08); color: var(--white); }
  .drop__grid { grid-template-columns: 1fr; }
  .drop__foot { flex-direction: column; align-items: stretch; border-color: rgba(255, 255, 255, .1); }
  .drop__foot a { color: var(--gold-light); }
  .nav__mobile-cta { display: grid; gap: 12px; margin-top: 24px; }
  .header-actions { margin-left: auto; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy-deep); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(4, 12, 24, .55); z-index: 45; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .menu-btn { position: relative; z-index: 90; }
}
@media (min-width: 1121px) and (max-width: 1320px) {
  .header-phone span:not(.sr-only) { display: none; }
  .nav__link { padding: 10px 9px; font-size: .92rem; }
}
@media (max-width: 480px) {
  .header-cta { display: none; }
  .logo__name { font-size: 1.08rem; }
  .logo__mark { width: 40px; height: 40px; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; color: var(--white); overflow: hidden; background: var(--navy-deep); isolation: isolate; }
.hero__bg, .page-hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__img, .page-hero__img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(100deg, rgba(7, 22, 41, .94) 0%, rgba(7, 22, 41, .82) 42%, rgba(7, 22, 41, .45) 75%, rgba(7, 22, 41, .35) 100%),
  linear-gradient(0deg, rgba(7, 22, 41, .55) 0%, rgba(7, 22, 41, 0) 40%); }
.hero__inner { display: grid; gap: 40px; align-items: center; padding-top: calc(var(--header-h) + 48px); padding-bottom: 72px; min-height: min(860px, 100svh); }
@media (min-width: 1024px) { .hero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(360px, .85fr); gap: 56px; padding-top: calc(var(--header-h) + 64px); padding-bottom: 96px; } }
.hero__eyebrow .icon { color: var(--gold); }
.hero__eyebrow::before { display: none; }
.hero__title { color: var(--white); font-size: clamp(2.1rem, 5.2vw, 3.75rem); line-height: 1.08; margin-bottom: 22px; text-wrap: balance; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d7e0ec; max-width: 620px; margin-bottom: 28px; }
.hero__points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .95rem; color: #e5ecf6; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { color: var(--gold); width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(212, 168, 67, .16); }
.hero__form .lead-form { box-shadow: var(--shadow-lg); }
.hero__copy > * { animation: rise .9s var(--ease) both; }
.hero__copy > *:nth-child(2) { animation-delay: .08s; }
.hero__copy > *:nth-child(3) { animation-delay: .16s; }
.hero__copy > *:nth-child(4) { animation-delay: .24s; }
.hero__copy > *:nth-child(5) { animation-delay: .32s; }
.hero__form { animation: rise 1s .25s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--white); position: relative; z-index: 2; }
.stats-strip__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transform: translateY(-40px); margin-bottom: -40px; }
@media (min-width: 800px) { .stats-strip__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--white); padding: 26px 20px; text-align: center; }
.stat__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.6rem); color: var(--navy); line-height: 1; }
.stat__label { display: block; margin-top: 8px; font-size: .9rem; color: var(--muted); }
.stat:first-child .stat__num { color: var(--gold-600); }

/* ---------- Media frames ---------- */
.media-frame { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.media-frame:hover img { transform: scale(1.04); }
.media-frame--accent { overflow: visible; }
.media-frame--accent img { border-radius: var(--radius-lg); }
.media-frame--accent::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: var(--radius-lg); z-index: -1; }
.split__media { position: relative; z-index: 0; }
.badge-float { position: absolute; left: 16px; bottom: -22px; background: var(--navy); color: var(--white); padding: 14px 20px; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; }
.badge-float strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--gold); line-height: 1; }
.badge-float span { font-size: .85rem; font-weight: 600; line-height: 1.3; }

/* ---------- Factor & feature cards ---------- */
.factor-grid { display: grid; gap: 18px; margin-top: 48px; }
@media (min-width: 620px) { .factor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .factor-grid { grid-template-columns: repeat(4, 1fr); } .factor-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.factor-grid--3 { margin-top: 0; }
.factor { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.factor:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.factor h3 { font-size: 1.08rem; margin: 14px 0 8px; }
.factor p { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.65; }
.factor__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--gold-soft), var(--gold-light)); color: var(--navy); }
.factor__icon .icon { width: 24px; height: 24px; }
.factor--cta { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%); border: 0; color: #d3dcea; display: flex; flex-direction: column; justify-content: center; }
.factor--cta h3 { color: var(--white); margin-top: 0; }
.factor--cta p { color: #c3cfe0; margin-bottom: 16px; }
.factor--cta .btn { align-self: flex-start; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--navy); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 22, 41, .45)); }
.card__badge { position: absolute; left: 22px; top: -26px; z-index: 2; width: 48px; height: 48px; border-radius: 14px; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .45); }
.card__badge .icon { width: 24px; height: 24px; }
.card__body { padding: 24px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card--service .card__body { padding-top: 38px; position: relative; }
.card__title { font-size: 1.18rem; margin-bottom: 10px; }
.card__title a { color: var(--navy); text-decoration: none; }
.card__title a:hover { color: var(--gold-600); }
.card__body > p { color: var(--muted); font-size: .97rem; line-height: 1.6; }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .93rem; color: var(--navy); text-decoration: none; font-family: var(--font-head); }
.card__link .icon { color: var(--gold-600); transition: transform .25s var(--ease); }
.card__link:hover .icon, .card:hover .card__link .icon { transform: translateX(4px); }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.card__meta .icon { color: var(--gold-600); }
.card__foot { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .85rem; color: var(--muted); }
.card__foot span { display: inline-flex; align-items: center; gap: 6px; }
.card__foot .card__link { margin: 0; }
.card--more { background: linear-gradient(150deg, var(--gold-soft), var(--white)); border-style: dashed; border-color: var(--gold-light); }
.card--more .card__body { justify-content: center; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--navy); font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.tag:hover { background: var(--gold-light); color: var(--navy); }

/* ---------- Why / navy section ---------- */
.why-grid { display: grid; gap: 20px; }
@media (min-width: 680px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card { position: relative; padding: 30px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: transform .3s var(--ease), background .3s, border-color .3s; overflow: hidden; }
.why-card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.why-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .07); border-color: rgba(212, 168, 67, .35); }
.why-card:hover::after { transform: scaleX(1); }
.why-card h3 { font-size: 1.12rem; margin: 18px 0 8px; }
.why-card p { margin: 0; color: #b8c5d8; font-size: .97rem; }
.why-card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(212, 168, 67, .14); color: var(--gold); border: 1px solid rgba(212, 168, 67, .35); }
.why-card__icon .icon { width: 24px; height: 24px; }

/* ---------- Process steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: step; position: relative; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) {
  .steps { grid-template-columns: repeat(5, 1fr); }
  .steps--4 { grid-template-columns: repeat(4, 1fr); }
  .steps::before { content: ""; position: absolute; top: 46px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px); opacity: .7; }
}
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 24px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__num { position: absolute; top: 14px; right: 16px; font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--gold-light); line-height: 1; }
.step__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--gold); margin: 0 auto 16px; box-shadow: 0 0 0 8px var(--gold-soft); position: relative; z-index: 1; }
.step__icon .icon { width: 26px; height: 26px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.6; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); margin: 0 0 1.5em; box-shadow: var(--shadow-sm); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.table-wrap th, .table-wrap td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: var(--navy); color: var(--white); font-family: var(--font-head); font-size: .88rem; letter-spacing: .02em; }
.table-wrap thead th .icon { color: var(--gold); margin-right: 4px; }
.table-wrap tbody tr:nth-child(even) { background: var(--offwhite); }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }
.table-wrap tbody th { color: var(--navy); font-weight: 700; }
.compare-table td:nth-child(2) { border-left: 3px solid rgba(21, 128, 61, .25); }
.compare-table td:nth-child(3) { border-left: 3px solid rgba(212, 168, 67, .45); }

/* ---------- Check lists & callouts ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.check-list .icon { flex: none; width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); stroke-width: 3; }
.check-list--light li { color: #dbe3ef; }
.note-line { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--gold-soft); color: var(--navy); font-weight: 600; font-size: .95rem; }
.note-line .icon { color: var(--gold-600); }
.callout { border-left: 4px solid var(--gold); background: var(--gold-soft); padding: 18px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.5em 0; color: var(--text); }
.callout--warn { border-left-color: var(--danger); background: #fdf1ef; }
.callout p:last-child { margin-bottom: 0; }
.safety-banner { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 24px; }
.safety-banner .icon { color: var(--danger); width: 24px; height: 24px; margin-top: 2px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; background: radial-gradient(900px 400px at 90% 0%, rgba(212, 168, 67, .16), transparent 60%), linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); overflow: hidden; isolation: isolate; }
.page-hero--image { padding: clamp(56px, 9vw, 120px) 0; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 22, 41, .95) 0%, rgba(7, 22, 41, .82) 50%, rgba(7, 22, 41, .5) 100%); }
.page-hero--compact { padding: clamp(36px, 5vw, 60px) 0 clamp(40px, 5vw, 64px); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-light) 40%, transparent 80%); }
.page-hero__inner { position: relative; max-width: var(--container); }
.page-hero__title { color: var(--white); max-width: 900px; font-size: clamp(1.95rem, 4.4vw, 3.1rem); text-wrap: balance; }
.page-hero__lead { color: #d3dcea; font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 720px; }
.page-hero__inner--split { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1024px) { .page-hero__inner--split { grid-template-columns: 1fr minmax(380px, 480px); align-items: center; } }
.hero-meta { display: inline-flex; gap: 8px; align-items: center; color: var(--gold-light); font-weight: 600; font-size: .95rem; }
.page-hero--weather { background: radial-gradient(700px 360px at 85% 10%, rgba(120, 170, 230, .25), transparent 60%), linear-gradient(160deg, #10305a 0%, var(--navy-deep) 100%); }

/* Breadcrumbs */
.crumbs { margin-bottom: 18px; font-size: .86rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; color: #aebbd0; }
.crumbs li + li::before { content: "›"; color: var(--gold); margin-right: 4px; }
.crumbs a { color: #d7e0ec; text-decoration: none; }
.crumbs a:hover { color: var(--gold-light); text-decoration: underline; }
.crumbs [aria-current] { color: var(--gold-light); }
.post-header .crumbs li { color: var(--muted); }
.post-header .crumbs a { color: var(--navy-600); }
.post-header .crumbs [aria-current] { color: var(--muted); }

/* ---------- Content pages (prose + sidebar) ---------- */
.content-layout { display: grid; gap: 48px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 1024px) { .content-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; } }
.prose { max-width: 760px; min-width: 0; }
.prose > h2 { margin-top: 1.9em; padding-top: .2em; position: relative; }
.prose > h2:first-child { margin-top: 0; }
.prose > h2::before { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--gold); margin-bottom: 14px; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: #334155; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold-600); font-weight: 700; }
.prose a { font-weight: 500; }
.prose blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--navy); background: var(--offwhite); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; }
.prose .faq { margin-top: 3em; }
.legal { padding-top: 48px; padding-bottom: 64px; }
.sidebar { min-width: 0; }
.sidebar__sticky { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.side-card--form { padding: 0; border: 0; box-shadow: none; background: transparent; }
.side-card--navy { background: linear-gradient(150deg, var(--navy), var(--navy-deep)); color: #cbd6e6; border: 0; display: grid; gap: 12px; }
.side-card--navy p { margin: 0; }
.side-card__title { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.08rem; margin: 0 0 12px; }
.side-card--navy .side-card__title { color: var(--white); margin: 0; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .93rem; }
.side-links a .icon { color: var(--gold-600); }
.side-links a:hover { background: var(--gold-soft); }

/* Inline CTA box */
.cta-box { display: grid; gap: 18px; align-items: center; margin: 2.4em 0; padding: 26px; border-radius: var(--radius); background: radial-gradient(500px 200px at 100% 0%, rgba(212, 168, 67, .22), transparent 60%), linear-gradient(140deg, var(--navy), var(--navy-deep)); color: #d4deeb; box-shadow: var(--shadow); }
@media (min-width: 720px) { .cta-box { grid-template-columns: auto 1fr auto; } }
.cta-box__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; }
.cta-box__icon .icon { width: 28px; height: 28px; }
.cta-box__title { font-family: var(--font-head); font-weight: 800; color: var(--white); font-size: 1.2rem; margin: 0 0 4px; }
.cta-box p { margin: 0; color: #c9d4e4; font-size: .97rem; }
.cta-box__actions { display: grid; gap: 8px; justify-items: center; }
.cta-box__phone { color: var(--gold-light); text-decoration: none; font-weight: 700; font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }
.cta-box__phone:hover { color: var(--white); }
.prose .cta-box p, .prose .cta-box a { color: inherit; }
.prose .cta-box .btn { color: var(--navy-deep); }
.prose .cta-box .cta-box__phone { color: var(--gold-light); }

/* Related */
.related { display: grid; gap: 28px; padding: 40px 0 64px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .related { grid-template-columns: 1fr 1fr; } }
.related__title { font-size: 1.25rem; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.link-list a { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--white); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.link-list a:hover { border-color: var(--gold-light); box-shadow: var(--shadow); transform: translateY(-2px); }
.link-list .icon { color: var(--gold-600); width: 24px; height: 24px; margin-top: 2px; }
.link-list strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1rem; }
.link-list small { display: block; color: var(--muted); font-size: .87rem; margin-top: 2px; }

/* ---------- FAQ accordion ---------- */
.faq h2 { margin-bottom: .4em; }
.faq__intro { color: var(--muted); margin-bottom: 24px; }
.section .faq h2 { text-align: center; }
.section .faq__intro { text-align: center; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq__item.is-open { border-color: var(--gold-light); box-shadow: var(--shadow); }
.faq__q { margin: 0; font-size: 1.02rem; }
.faq__q button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--navy); line-height: 1.4; }
.faq__q button:hover { color: var(--gold-600); }
.faq__icon { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--gold-soft); color: var(--navy); transition: transform .3s var(--ease), background .3s; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--gold); }
.faq__a { overflow: hidden; transition: height .35s var(--ease); }
.faq__a-inner { padding: 0 20px 20px; color: var(--muted); }
.faq__a-inner p { margin: 0; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; padding: clamp(64px, 9vw, 112px) 0; background: radial-gradient(800px 400px at 0% 100%, rgba(212, 168, 67, .18), transparent 60%), radial-gradient(700px 400px at 100% 0%, rgba(29, 65, 116, .7), transparent 60%), var(--navy-deep); color: #d3dcea; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(135deg, rgba(255, 255, 255, .025) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .025) 50%, rgba(255, 255, 255, .025) 75%, transparent 75%); background-size: 28px 28px; pointer-events: none; }
.final-cta__inner { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .final-cta__inner { grid-template-columns: 1fr minmax(380px, 460px); gap: 64px; } }
.final-cta h2 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.7rem); text-wrap: balance; }
.final-cta__copy > p { font-size: 1.08rem; }
.final-cta__phone { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; padding: 14px 18px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); }
.final-cta__phone .icon { color: var(--gold); width: 22px; height: 22px; }
.final-cta__phone strong { color: var(--gold-light); }
.final-cta__phone:hover { border-color: var(--gold); color: var(--white); }
.cta-slim { background: var(--offwhite); text-align: center; }
.cta-slim__inner { display: grid; justify-items: center; gap: 12px; }

/* ---------- Lead forms ---------- */
.lead-form { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.lead-form__title { font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; color: var(--navy); margin: 0 0 4px; }
.lead-form__sub { color: var(--muted); font-size: .92rem; margin: 0 0 18px; }
.form-grid { display: grid; gap: 14px 16px; margin-bottom: 18px; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.lead-form--compact .form-grid, .lead-form--short .form-grid { grid-template-columns: 1fr; }
@media (min-width: 1024px) { .lead-form--compact .form-grid { grid-template-columns: 1fr 1fr; } .lead-form--compact .field--wide { grid-column: 1 / -1; } }
@media (min-width: 560px) and (max-width: 1023px) { .lead-form--compact .form-grid, .lead-form--short .form-grid { grid-template-columns: 1fr 1fr; } }
.sidebar .lead-form--short .form-grid { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.req { color: var(--danger); }
.opt { color: var(--muted); font-weight: 400; font-size: .82rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--white);
  font-size: 1rem; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 168, 67, .22); }
.field [aria-invalid="true"] { border-color: var(--danger); background: #fffafa; }
.field__error { margin: 0; color: var(--danger); font-size: .85rem; font-weight: 600; }
.field__help { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--navy); flex: none; }
.field--check label { flex: 1; font-weight: 400; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.field--check .field__error { flex-basis: 100%; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lead-form__submit { min-height: 54px; position: relative; }
.lead-form__submit[disabled] { opacity: .75; cursor: progress; transform: none; }
.lead-form__submit.is-loading [data-submit-label]::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -3px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.lead-form__note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.lead-form__note .icon { color: var(--gold-600); margin-top: 2px; }
.form-alert { padding: 12px 14px; border-radius: 10px; font-size: .92rem; font-weight: 600; margin-bottom: 16px; }
.form-alert--error { background: #fdecea; color: #8a1c12; border: 1px solid #f5c2bc; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Weather ---------- */
.weather-preview { background: linear-gradient(160deg, #10305a 0%, var(--navy-deep) 100%); color: #d3dcea; overflow: hidden; }
.weather-preview::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 168, 67, .22), transparent 65%); pointer-events: none; }
.weather-preview__inner { display: grid; gap: 36px; align-items: center; position: relative; }
@media (min-width: 960px) { .weather-preview__inner { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.weather-preview .section-title { color: var(--white); }
.weather-preview__widget { min-height: 240px; }
.wx-loading { display: flex; align-items: center; gap: 12px; padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); color: #b8c5d8; }
.page-weather .wx-loading { background: var(--offwhite); color: var(--muted); }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(212, 168, 67, .3); border-top-color: var(--gold); animation: spin .8s linear infinite; flex: none; }
.wx-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); padding: 24px; backdrop-filter: blur(6px); }
.wx-card__top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.wx-card__icon { width: 72px; height: 72px; color: var(--gold); }
.wx-card__temp { font-family: var(--font-head); font-size: 3.4rem; font-weight: 800; color: var(--white); line-height: 1; }
.wx-card__label { color: var(--white); font-weight: 600; font-size: 1.1rem; }
.wx-card__feels { color: #b8c5d8; font-size: .92rem; }
.wx-mini-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.wx-mini-day { text-align: center; padding: 10px 4px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: .85rem; }
.wx-mini-day .icon { width: 26px; height: 26px; margin: 6px auto; color: var(--gold-light); }
.wx-mini-day strong { color: var(--white); }
.wx-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: .88rem; color: #c5d1e2; }
.wx-meta span { display: inline-flex; gap: 6px; align-items: center; }
.wx-meta .icon { color: var(--gold); }
.wx-foot { margin: 14px 0 0; font-size: .8rem; color: #93a4bd; }
.wx-foot a { color: var(--gold-light); }
.wx-alert-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: #b42318; color: var(--white); font-weight: 700; font-size: .85rem; margin-bottom: 14px; text-decoration: none; }
.wx-alert-chip:hover { color: var(--white); background: #8f1b12; }
.wx-error { padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px dashed rgba(255, 255, 255, .25); }
.page-weather .wx-error { background: var(--offwhite); border-color: var(--line-strong); color: var(--muted); }

.wx-status { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; font-size: .92rem; }
.wx-status--cached { background: #fff7e6; color: #7a4b00; border: 1px solid #f3d38b; }
.wx-status--error { background: #fdecea; color: #8a1c12; border: 1px solid #f5c2bc; }
.wx-alerts { display: grid; gap: 14px; margin-bottom: 24px; }
.wx-alert { border-radius: var(--radius); border: 1px solid #f5c2bc; background: #fff7f6; overflow: hidden; }
.wx-alert__head { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: #b42318; color: var(--white); }
.wx-alert--moderate .wx-alert__head, .wx-alert--minor .wx-alert__head { background: #b45309; }
.wx-alert__head .wx-alert__title { color: var(--white); margin: 0; font-size: 1.08rem; }
.wx-alert__head .icon { width: 26px; height: 26px; flex: none; }
.wx-alert__body { padding: 16px 18px; font-size: .94rem; }
.wx-alert__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .86rem; color: var(--muted); margin-bottom: 10px; }
.wx-alert__desc { white-space: pre-line; color: #334155; max-height: 220px; overflow: auto; }
.wx-noalerts { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: #ecfdf3; border: 1px solid #b7ebc9; color: #14532d; font-weight: 600; }
.wx-noalerts .icon { color: var(--success); width: 22px; height: 22px; }
.wx-now-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .wx-now-grid { grid-template-columns: 1.4fr 1fr; } }
.wx-now { border-radius: var(--radius-lg); padding: 28px; background: radial-gradient(500px 260px at 100% 0%, rgba(212, 168, 67, .2), transparent 60%), linear-gradient(150deg, #133a6b, var(--navy-deep)); color: #d3dcea; box-shadow: var(--shadow); }
.wx-now__head { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.wx-now__main { display: flex; align-items: center; gap: 18px; }
.wx-now__icon { width: 84px; height: 84px; color: var(--gold); }
.wx-now__temp { font-family: var(--font-head); font-size: clamp(3rem, 7vw, 4.4rem); font-weight: 800; color: var(--white); line-height: 1; }
.wx-now__label { font-size: 1.25rem; font-weight: 600; color: var(--white); margin: 0; }
.wx-now__feels { margin: 2px 0 0; color: #b8c5d8; }
.wx-now__time { font-size: .85rem; color: #9fb0c8; text-align: right; }
.wx-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
@media (min-width: 600px) { .wx-stats { grid-template-columns: repeat(3, 1fr); } }
.wx-stat { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.wx-stat small { display: flex; align-items: center; gap: 6px; color: #9fb0c8; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.wx-stat small .icon { color: var(--gold); }
.wx-stat strong { display: block; color: var(--white); font-size: 1.2rem; font-family: var(--font-head); margin-top: 4px; }
.wx-risk { border-radius: var(--radius-lg); padding: 26px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.wx-risk .wx-risk__title { font-size: 1.1rem; display: flex; gap: 8px; align-items: center; }
.wx-risk .wx-risk__title .icon { color: var(--gold-600); }
.risk-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-family: var(--font-head); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.risk-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.risk--low { background: #ecfdf3; color: #15803d; }
.risk--elevated { background: #fff4e0; color: #b45309; }
.risk--high { background: #fdecea; color: #b42318; }
.wx-risk ul { margin: 14px 0; padding-left: 1.1em; color: var(--muted); font-size: .94rem; }
.wx-risk__note { font-size: .8rem; color: var(--muted); margin: 0; border-top: 1px solid var(--line); padding-top: 12px; }
.wx-days { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.wx-day { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: 18px 14px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; display: flex; flex-direction: column; gap: 4px; position: relative; }
.wx-day:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.wx-day--today { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-light); }
.wx-day__name { font-family: var(--font-head); font-weight: 800; color: var(--navy); }
.wx-day__date { font-size: .82rem; color: var(--muted); }
.wx-day .wx-day__icon { width: 46px; height: 46px; margin: 8px auto; color: var(--navy-600); }
.wx-day__label { font-size: .86rem; color: var(--muted); min-height: 2.6em; line-height: 1.3; }
.wx-day__temps { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.wx-day__temps span { color: var(--muted); font-weight: 600; font-size: 1rem; }
.wx-day dl { margin: 8px 0 0; display: grid; grid-template-columns: auto auto; gap: 4px 8px; font-size: .8rem; text-align: left; }
.wx-day dt { color: var(--muted); }
.wx-day dd { margin: 0; text-align: right; color: var(--text); font-weight: 600; }
.wx-day__storm { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: #fff4e0; color: #b45309; display: grid; place-items: center; }
.wx-day__storm .icon { width: 15px; height: 15px; }
.wx-day .risk-pill { align-self: center; margin-top: 10px; font-size: .68rem; padding: 4px 10px; }
.wx-attrib { margin-top: 20px; font-size: .84rem; color: var(--muted); }

/* ---------- Tools ---------- */
.tool-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .tool-grid { grid-template-columns: repeat(3, 1fr); } .tool-grid--lg { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tool-grid--lg { grid-template-columns: repeat(4, 1fr); } }
.tool-card { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 30px 26px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; overflow: hidden; }
.tool-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--gold)); }
.tool-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tool-card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 18px; }
.tool-card__icon .icon { width: 28px; height: 28px; }
.tool-card__title { font-size: 1.18rem; }
.tool-card__title a { color: var(--navy); text-decoration: none; }
.tool-card__title a::after { content: ""; position: absolute; inset: 0; }
.tool-card p { color: var(--muted); font-size: .97rem; }
.tool-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .tool-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } .tool-results { position: sticky; top: calc(var(--header-h) + 20px); } }
.tool-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.tool-panel__title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 18px; }
.tool-panel__title .icon { color: var(--gold-600); width: 24px; height: 24px; }
.tool-panel__title:not(:first-child) { margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.tool-panel__hint { color: var(--muted); font-size: .94rem; margin-top: -8px; }
.tool-results { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #d3dcea; border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-lg); display: grid; gap: 18px; }
.tool-results .btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .3); }
.result-hero { text-align: center; padding: 6px 0 4px; }
.result-hero__label { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--gold-light); margin: 0 0 6px; font-weight: 700; }
.result-hero__value { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 4.6vw, 2.6rem); color: var(--white); margin: 0; line-height: 1.15; }
.result-hero__sub { margin: 6px 0 0; color: #a9b8cf; font-size: .9rem; }
.result-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.result-stats--2 { grid-template-columns: repeat(2, 1fr); }
.result-stats > div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 12px; text-align: center; }
.result-stats span { display: block; font-family: var(--font-head); font-weight: 800; color: var(--white); font-size: 1.2rem; }
.result-stats small { display: block; font-size: .74rem; color: #a9b8cf; margin-top: 4px; line-height: 1.3; }
.tool-results .table-wrap { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .1); margin: 0; box-shadow: none; }
.tool-results .table-wrap table { min-width: 0; font-size: .88rem; }
.tool-results .table-wrap th, .tool-results .table-wrap td { padding: 9px 12px; border-color: rgba(255, 255, 255, .08); color: #d3dcea; }
.tool-results .table-wrap thead th { background: rgba(255, 255, 255, .08); color: var(--gold-light); }
.tool-results .table-wrap tbody tr:nth-child(even) { background: rgba(255, 255, 255, .03); }
.tool-results .table-wrap td:not(:first-child), .tool-results .table-wrap th:not(:first-child) { text-align: right; white-space: nowrap; }
.breakdown tfoot td, .breakdown .total-row td { font-weight: 800; color: var(--white); border-top: 1px solid rgba(255, 255, 255, .2); }
.bar-chart { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; font-size: .78rem; color: #a9b8cf; }
.bar__track { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar__fill { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform-origin: left; transition: width .5s var(--ease); }
.tool-disclaimer { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: .8rem; color: #9fb0c8; line-height: 1.5; }
.tool-disclaimer .icon { color: var(--gold); margin-top: 2px; }
input[type="range"] { accent-color: var(--gold-600); min-height: 0; padding: 0; border: 0; height: 28px; }
.field output { color: var(--gold-600); font-weight: 800; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; border: 0; padding: 4px; margin: 0 0 18px; border-radius: 999px; background: var(--offwhite); border: 1px solid var(--line); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); transition: background .2s, color .2s; }
.seg label:has(input:checked) { background: var(--navy); color: var(--white); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--gold); }
.pitch-diagram { margin: 0; background: rgba(255, 255, 255, .04); border-radius: var(--radius); padding: 14px; }
.pitch-diagram svg { width: 100%; height: auto; }
.pitch-diagram figcaption { font-size: .8rem; color: #a9b8cf; text-align: center; }
.pd-base { stroke: rgba(255, 255, 255, .35); stroke-width: 2; }
.pd-tri { fill: rgba(212, 168, 67, .16); stroke: var(--gold); stroke-width: 3; stroke-linejoin: round; transition: all .4s var(--ease); }
.pd-rise { stroke: var(--gold-light); stroke-width: 2; stroke-dasharray: 5 4; }
.pd-arc { fill: none; stroke: var(--gold-light); stroke-width: 2; }
.pd-label { fill: #d3dcea; font-size: 12px; font-family: var(--font-body); font-weight: 600; }
.pd-label--gold { fill: var(--gold-light); }
.pitch-class { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(212, 168, 67, .12); color: var(--gold-light); font-size: .9rem; }
.pitch-class:empty { display: none; }
.check-cards { display: grid; gap: 10px; margin-bottom: 22px; }
@media (min-width: 640px) { .check-cards { grid-template-columns: 1fr 1fr; } }
.check-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; position: relative; }
.check-card:hover { border-color: var(--gold-light); }
.check-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-card__box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line-strong); display: grid; place-items: center; color: transparent; transition: all .2s; margin-top: 1px; }
.check-card__box .icon { width: 15px; height: 15px; stroke-width: 3.5; }
.check-card__text strong { display: block; color: var(--navy); font-size: .95rem; line-height: 1.35; }
.check-card__text small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.45; margin-top: 2px; }
.check-card:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 3px rgba(212, 168, 67, .15); }
.check-card:has(input:checked) .check-card__box { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.check-card:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.meter { padding: 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.meter__label { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; color: var(--gold-light); font-weight: 700; }
.meter__track { height: 12px; border-radius: 8px; background: linear-gradient(90deg, #22c55e 0%, #eab308 50%, #ef4444 100%); position: relative; opacity: .9; }
.meter__fill { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--white); border: 4px solid var(--navy-deep); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); left: 0; transition: left .5s var(--ease); }
.meter__value { font-family: var(--font-head); font-weight: 800; color: var(--white); font-size: 1.25rem; margin: 14px 0 4px; }
.meter__text { margin: 0; font-size: .92rem; color: #c3cfe0; }
.next-steps h3 { color: var(--white); font-size: 1.05rem; }
.next-steps ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: .93rem; color: #d3dcea; }
.next-steps li::marker { color: var(--gold); font-weight: 700; }

/* ---------- Service areas ---------- */
.area-grid { display: grid; gap: 12px; }
@media (min-width: 560px) { .area-grid { grid-template-columns: 1fr 1fr; } }
.area-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.area-card__pin { width: 42px; height: 42px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; flex: none; }
.area-card__body { flex: 1; min-width: 0; }
.area-card__name { display: block; font-family: var(--font-head); font-weight: 800; color: var(--navy); }
.area-card__note { display: block; font-size: .83rem; color: var(--muted); line-height: 1.4; }
.area-card__arrow { color: var(--gold-600); transition: transform .25s var(--ease); }
.area-card:hover .area-card__arrow { transform: translateX(4px); }
.card--area .card__meta { margin-bottom: 8px; }

/* ---------- Blog ---------- */
.blog-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 34px; }
.blog-search { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--white); max-width: 560px; box-shadow: var(--shadow-sm); }
.blog-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 168, 67, .2); }
.blog-search .icon { color: var(--muted); }
.blog-search input { flex: 1; min-width: 0; border: 0; outline: none; padding: 10px 0; font-size: 1rem; background: transparent; }
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-filter a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; color: var(--navy); font-weight: 600; font-size: .88rem; background: var(--white); display: inline-flex; gap: 6px; align-items: center; }
.cat-filter a span { font-size: .75rem; background: var(--offwhite); border-radius: 999px; padding: 1px 7px; color: var(--muted); }
.cat-filter a:hover { border-color: var(--gold); }
.cat-filter a[aria-current] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.cat-filter a[aria-current] span { background: rgba(255, 255, 255, .15); color: var(--white); }
.result-note { color: var(--muted); }
.empty-note { padding: 24px; text-align: center; color: var(--muted); background: var(--offwhite); border-radius: var(--radius); }
.blog-item { display: flex; }
.blog-item > .card { flex: 1; }
.post-header { padding: clamp(32px, 5vw, 56px) 0 0; background: linear-gradient(180deg, var(--offwhite) 0%, var(--offwhite) 70%, var(--white) 70%); }
.post-header__title { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 14px 0 16px; text-wrap: balance; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.post-meta span { display: inline-flex; gap: 6px; align-items: center; }
.post-meta .icon { color: var(--gold-600); }
.post-header__media { max-width: 1140px; }
.post-figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.post-figure img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.post-layout { display: grid; gap: 48px; padding-top: clamp(36px, 5vw, 56px); padding-bottom: 48px; }
@media (min-width: 1024px) { .post-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } }
.post-body { font-size: 1.08rem; }
.post-end-cta { margin-top: 3em; padding: 32px; border-radius: var(--radius-lg); background: var(--gold-soft); border: 1px solid var(--gold-light); text-align: center; }
.post-end-cta h2::before { margin-left: auto; margin-right: auto; }
.post-end-cta .btn-row { justify-content: center; }
.toc ol { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: .9rem; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--navy); font-weight: 600; }
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(0); transform-origin: left; }

/* ---------- Contact, status, sitemap ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.contact-tile { display: flex; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; text-decoration: none; color: var(--text); background: var(--white); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
a.contact-tile:hover { border-color: var(--gold-light); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.contact-tile__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold); flex: none; }
.contact-tile__label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-tile strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.12rem; }
.contact-tile small { display: block; color: var(--muted); }
.status-page { text-align: center; }
.status-page__inner { display: grid; justify-items: center; }
.status-page__icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; }
.status-page__icon--ok { background: #ecfdf3; color: var(--success); box-shadow: 0 0 0 10px #f4fdf7; }
.status-page__icon .icon { width: 42px; height: 42px; stroke-width: 3; }
.status-page__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; margin: 0; background: linear-gradient(135deg, var(--navy), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.status-page .lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.status-page__box { text-align: left; background: var(--offwhite); border-radius: var(--radius-lg); padding: 26px; margin: 18px 0 28px; width: 100%; max-width: 640px; }
.link-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; width: 100%; margin: 12px 0 26px; }
.link-tiles a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 600; background: var(--white); }
.link-tiles a .icon { color: var(--gold-600); }
.link-tiles a:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.sitemap-grid { display: grid; gap: 32px; }
@media (min-width: 700px) { .sitemap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sitemap-grid { grid-template-columns: repeat(4, 1fr); } }
.sitemap-grid h2 { font-size: 1.15rem; margin-top: 0; }
.sitemap-grid ul + h2 { margin-top: 28px; }
.sitemap-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.sitemap-list a { text-decoration: none; font-weight: 500; }
.sitemap-list small { display: block; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aebbd0; font-size: .95rem; padding-top: clamp(56px, 7vw, 80px); border-top: 4px solid var(--gold); }
.footer__grid { display: grid; gap: 36px; padding-bottom: 48px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; } }
.footer__brand p { margin: 18px 0; line-height: 1.65; }
.footer__phone { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; font-size: 1.08rem; text-decoration: none; margin-bottom: 18px; }
.footer__phone .icon { color: var(--gold); }
.footer__phone:hover { color: var(--gold-light); }
.footer__title { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__col a { color: #c3cfe0; text-decoration: none; }
.footer__col a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0 24px; font-size: .84rem; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: #dbe3ef; }
.footer__note { color: #7f90aa; }

/* ---------- Sticky mobile bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 860px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 22, 41, .96); backdrop-filter: blur(8px); box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .5); transform: translateY(0); transition: transform .3s var(--ease); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; font-family: var(--font-head); font-weight: 700; text-decoration: none; font-size: .95rem; }
  .mobile-bar__call { color: var(--white); border: 1.5px solid rgba(255, 255, 255, .3); }
  .mobile-bar__cta { background: var(--gold); color: var(--navy-deep); }
  .mobile-bar__call:hover { color: var(--white); }
  .mobile-bar__cta:hover { color: var(--navy-deep); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  body.nav-open .mobile-bar { transform: translateY(110%); }
}

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .card-grid > .reveal:nth-child(3n+2), .js .card-grid > * > .reveal:nth-child(3n+2) { transition-delay: .08s; }
.js .card-grid > .reveal:nth-child(3n+3) { transition-delay: .16s; }
.js .steps > .reveal:nth-child(2) { transition-delay: .08s; }
.js .steps > .reveal:nth-child(3) { transition-delay: .16s; }
.js .steps > .reveal:nth-child(4) { transition-delay: .24s; }
.js .steps > .reveal:nth-child(5) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__img, .page-hero__img { transform: none !important; height: 100%; }
}

/* ---------- Print (tools & articles) ---------- */
@media print {
  .topbar, .site-header, .site-footer, .mobile-bar, .final-cta, .sidebar, .lead-form, .btn, .reading-progress, .related, .cta-box { display: none !important; }
  body { padding: 0; color: #000; }
  .page-hero { background: none; color: #000; padding: 0 0 12px; }
  .page-hero__title, .page-hero__lead { color: #000; }
  .page-hero::after, .page-hero--image::before, .page-hero__bg { display: none; }
  .tool-results { background: none; color: #000; box-shadow: none; border: 1px solid #999; }
  .tool-results *, .meter__value, .next-steps h3, .next-steps ol { color: #000 !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.lead-form__note a, .cta-box__phone, .topbar__phone, .footer__phone { white-space: nowrap; }
