/* ==========================================================================
   HomeSecureConnect.net — Stylesheet v3 (theme matched to homesecureconnect.com)
   1. Design tokens   (colors, font, type scale, spacing, radius, shadows)
   2. Base
   3. Layout & typography helpers
   4. Components      (buttons, labels, tiles, cards)
   5. Header & navigation (dark)
   6. Homepage sections
   7. Inner pages     (page hero, service, about, quote, legal)
   8. CTA band & footer (dark)
   9. Responsive
   ========================================================================== */

/* 1. TOKENS --------------------------------------------------------------- */
:root {
  /* Brand (same values as the reference site) */
  --blue:      #1557c0;
  --blue-dk:   #0d3d8f;
  --cyan:      #0899e6;
  --blue-lt:   #dbeafe;
  --blue-50:   #eff5ff;
  --grad:      linear-gradient(135deg, #1557c0 0%, #0899e6 100%);
  --grad-teal: linear-gradient(135deg, #054162 0%, #0899e6 100%);

  /* Dark surfaces */
  --navy:      #0f172a;
  --night:     #0a0f1e;
  --night-2:   #060a15;
  --grad-dark: linear-gradient(135deg, #0f1d3d 0%, #0a0f1e 100%);

  /* Neutrals */
  --ink:     #0d1117;
  --text:    #374151;
  --muted:   #6b7280;
  --line:    #e4e8ef;
  --bg:      #ffffff;
  --gray:    #f4f6fa;
  --on-dark: #cbd5e1;
  --on-dark-muted: #94a3b8;

  --green:     #10b981;
  --green-700: #047857;
  --green-50:  #ecfdf5;
  --amber-50:  #fff8eb;
  --amber-700: #92580a;

  /* Typography */
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;   /* headings */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;          /* body & UI */
  --fs-12: .75rem;  --fs-13: .8125rem; --fs-14: .875rem; --fs-15: .9375rem;
  --fs-16: 1rem;    --fs-17: 1.0625rem; --fs-18: 1.125rem;
  --fs-lead: clamp(1rem, .96rem + .2vw, 1.09375rem);
  --fs-h4:   1.0625rem;
  --fs-h3:   clamp(1.0625rem, 1rem + .2vw, 1.15625rem);
  --fs-h2:   clamp(1.5rem, 1.15rem + 1.3vw, 2.125rem);
  --fs-h1:   clamp(2rem, 1.35rem + 2.4vw, 3.25rem);
  --fs-h1-page: clamp(1.75rem, 1.3rem + 1.7vw, 2.5rem);

  /* Spacing */
  --gutter: clamp(1rem, .4rem + 2.6vw, 2rem);
  --container: 1200px;
  --section: clamp(3.5rem, 2.2rem + 4vw, 5.75rem);
  --gap: clamp(1rem, .6rem + 1.2vw, 1.5rem);

  /* Shape & depth */
  --r-sm: 12px; --r: 16px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --sh:    0 2px 12px rgba(13, 17, 23, .06);
  --sh-md: 0 8px 32px rgba(13, 17, 23, .10);
  --sh-lg: 0 24px 60px rgba(13, 17, 23, .14);
  --sh-blue: 0 10px 28px -8px rgba(21, 87, 192, .55);
  --ring: 0 0 0 4px rgba(21, 87, 192, .2);

  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. BASE ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font: 400 var(--fs-15)/1.7 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; } /* clip (not hidden) so position: sticky keeps working */
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 1rem; font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; }
h1, h2 { font-weight: 700; }
/* non-heading elements that use the heading face */
.cost__num, .cost__price, .glass-card__num, .faq__qt, .pstep__q, .pstep__num, .process__title, .side-card__title, .side-card__heading, .menu__promo-title, .stats__item, .faq-contact__phone, .resource, .how-steps__no { font-family: var(--font-head); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dk); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 700; color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 300; padding: 10px 16px; color: #fff; background: var(--blue); border-radius: var(--r-pill); }
.skip-link:focus { top: 12px; color: #fff; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 3. LAYOUT & TYPE HELPERS ---------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--gray, .section--tint { background: var(--gray); }
.section--sm { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.section--flush-top { padding-top: 0; }
.section--dark { position: relative; color: var(--on-dark); background: var(--navy); overflow: hidden; isolation: isolate; }
.section--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 400px at 15% 0%, rgba(21, 87, 192, .28), transparent 60%), radial-gradient(700px 380px at 90% 100%, rgba(8, 153, 230, .18), transparent 60%); }
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: grid; gap: 1rem; }
.mt-md { margin-top: 1.5rem; } .mt-lg { margin-top: 2rem; } .mt-xl { margin-top: clamp(2.5rem, 1.5rem + 3vw, 3.75rem); }
.text-lg { font-size: var(--fs-16); line-height: 1.75; color: var(--text); }
.text-xl { font-size: var(--fs-16); line-height: 1.75; color: var(--text); }

/* Pill label (reference: "WHAT WE OFFER") */
.label { display: inline-flex; align-items: center; gap: .45rem; max-width: 100%; margin: 0 0 1rem; padding: .35rem .8rem; font-size: .6875rem; font-weight: 600; line-height: 1.35; letter-spacing: .07em; text-transform: uppercase; color: var(--blue); background: var(--blue-lt); border: 1px solid #bfd6fb; border-radius: var(--r-pill); }
.label .icon { width: 14px; height: 14px; }
.label--glass { color: #e2ecff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.eyebrow { display: block; margin: 0 0 .9rem; font-size: var(--fs-13); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }

.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 1.5rem + 2vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.section-head--row .section-title { margin: 0; }
.section-title { font-size: var(--fs-h2); line-height: 1.22; letter-spacing: -.025em; margin-bottom: .9rem; }
.section-intro { margin: 0; font-size: var(--fs-lead); line-height: 1.75; color: var(--muted); }
.section--dark .section-title { color: #fff; }
.section--dark .section-intro { color: var(--on-dark); }
.section--dark .label { color: #e2ecff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.section--dark .hl { background: linear-gradient(135deg, #5b9bff 0%, #38bdf8 100%); -webkit-background-clip: text; background-clip: text; }

.center-note { display: block; max-width: 760px; margin: calc(clamp(2.25rem, 1.5rem + 2vw, 3.25rem) * -.55) auto 2.5rem; font-size: var(--fs-14); color: var(--muted); text-align: center; }
.center-note .icon { display: inline; width: 16px; height: 16px; margin-right: .35rem; vertical-align: -3px; color: var(--blue); }
.note-box { display: flex; gap: .85rem; margin: 2.25rem 0 0; padding: 1.1rem 1.35rem; font-size: var(--fs-14); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--r); box-shadow: var(--sh); }
.note-box .icon { color: var(--blue); margin-top: .2rem; }

/* 4. COMPONENTS --------------------------------------------------------------- */
.btn {
  --bg: var(--blue); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.35rem;
  font: 600 var(--fs-14)/1.2 var(--font);
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: var(--r-pill);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s, border-color .2s;
}
.btn .icon { width: 17px; height: 17px; }
.btn:hover { color: var(--fg); transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--primary { --bg: var(--grad); box-shadow: var(--sh-blue); }
.btn--primary:hover { box-shadow: 0 14px 32px -8px rgba(21, 87, 192, .7); }
.btn--blue { --bg: var(--blue); }
.btn--blue:hover { --bg: var(--blue-dk); }
.btn--outline { --bg: #fff; --fg: var(--blue); --bd: var(--blue); }
.btn--outline:hover { --bg: var(--blue-50); }
.btn--white { --bg: #fff; --fg: var(--blue); }
.btn--white:hover { --fg: var(--blue-dk); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .5); }
.btn--glass { --bg: rgba(255, 255, 255, .1); --fg: #fff; --bd: rgba(255, 255, 255, .3); backdrop-filter: blur(6px); }
.btn--glass:hover { --bg: rgba(255, 255, 255, .18); --bd: rgba(255, 255, 255, .55); }
.btn--sm { min-height: 40px; padding: .5rem 1.05rem; font-size: var(--fs-13); }
.btn--lg { min-height: 52px; padding: .8rem 1.6rem; font-size: var(--fs-15); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-sm); cursor: pointer; }
.icon-btn .icon { width: 22px; height: 22px; }
.nav__head .icon-btn { color: var(--ink); background: var(--gray); border-color: var(--line); }

/* Icon tiles */
.tile__icon, .icon-tile { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; color: var(--blue); background: var(--blue-50); border: 1px solid var(--blue-lt); border-radius: 12px; }
.tile__icon .icon, .icon-tile .icon { width: 21px; height: 21px; stroke-width: 1.9; }
.tile__icon--sm, .icon-tile--sm { width: 36px; height: 36px; border-radius: 10px; }
.tile__icon--sm .icon, .icon-tile--sm .icon { width: 18px; height: 18px; }
.icon-tile--lg { width: 54px; height: 54px; border-radius: 14px; }
.icon-tile--lg .icon { width: 26px; height: 26px; }
.icon-tile--solid { color: #fff; background: var(--grad); border: 0; }
.icon-tile--green { color: #fff; background: var(--green); border: 0; }

.micro-list { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: var(--fs-14); font-weight: 500; color: var(--muted); }
.micro-list li { display: inline-flex; align-items: center; gap: .45rem; }
.micro-list .icon { width: 17px; height: 17px; color: var(--green); }
.micro-list--light { color: var(--on-dark); }
.micro-list--light .icon { color: #34d399; }
.micro-list--center { justify-content: center; }
.yes { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: var(--green-700); }
.yes .icon { width: 16px; height: 16px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-bottom: 1.25rem; font-size: var(--fs-14); color: var(--muted); }
.breadcrumb a { display: inline-flex; color: inherit; }
.breadcrumb .icon { width: 16px; height: 16px; }
.breadcrumb [aria-current] { font-weight: 600; color: var(--ink); }

/* Cards (reference: white, r16, soft shadow) */
.tile, .card, .mini { position: relative; display: flex; flex-direction: column; gap: .75rem; padding: clamp(1.4rem, 1.1rem + .8vw, 1.85rem); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.tile:hover, .card:hover, .mini:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--blue-lt); }
.tile__title, .card__title { margin: .35rem 0 0; font-size: var(--fs-h3); line-height: 1.3; }
.tile__text, .card__text { margin: 0; font-size: var(--fs-14); line-height: 1.7; color: var(--muted); }
.card--row { flex-direction: row; align-items: flex-start; gap: 1.25rem; }
.card--row .card__title { margin: 0 0 .4rem; }
.card--accent::before { content: ""; position: absolute; left: 0; top: 1.4rem; bottom: 1.4rem; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad); opacity: 0; transition: opacity .3s; }
.card--accent:hover::before { opacity: 1; }

/* Photo with floating glass badge (reference "24/7 Professional Monitoring") */
.photo { position: relative; border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
.photo > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); }
.photo--wide > img { aspect-ratio: 16 / 10; }
.photo__badge, .collage__card { position: absolute; left: 6%; right: 6%; bottom: -1.75rem; display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; background: rgba(255, 255, 255, .92); border: 1px solid rgba(255, 255, 255, .8); border-radius: var(--r); box-shadow: var(--sh-lg); backdrop-filter: blur(10px); }
.photo__badge strong, .collage__card strong { display: block; font-size: var(--fs-15); line-height: 1.35; }
.photo__badge small, .collage__card small { display: block; font-size: var(--fs-13); color: var(--muted); }
.photo__badge-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; color: #fff; background: var(--grad); border-radius: 12px; box-shadow: var(--sh-blue); }
.photo__badge-icon .icon { width: 22px; height: 22px; }

/* 5. HEADER (dark) --------------------------------------------------------------- */
.topbar { color: var(--on-dark-muted); background: var(--night-2); font-size: var(--fs-13); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 36px; }
.topbar__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.5rem; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.topbar__item .icon { width: 14px; height: 14px; color: #34d399; }

.header { position: sticky; top: 0; z-index: 100; background: rgba(10, 15, 30, .96); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55); }
.header__inner { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); }
.logo { flex: none; }
.logo img { width: auto; height: 56px; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__head, .nav__foot { display: none; }
.nav__list { display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: .42rem; height: 40px; padding: 0 .75rem;
  font: 500 var(--fs-14)/1 var(--font); color: #e5ecf7; text-decoration: none; white-space: nowrap;
  background: none; border: 0; border-radius: var(--r-pill); cursor: pointer; transition: color .2s, background-color .2s;
}
.nav__icon { width: 16px; height: 16px; opacity: .85; }
.nav__chev { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav__link:hover, .nav__item.is-open > .nav__link { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__link.is-active { color: #fff; background: rgba(21, 87, 192, .35); box-shadow: inset 0 0 0 1px rgba(91, 155, 255, .45); }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }

.menu { position: absolute; top: calc(100% + 6px); left: 50%; z-index: 30; padding-top: 12px; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.nav__item.is-open > .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu__inner { display: flex; gap: .75rem; padding: .75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
.menu__grid { display: grid; align-content: start; gap: .15rem; width: 330px; }
.is-mega .menu__grid { grid-template-columns: 1fr 1fr; width: 560px; }
.menu__link { display: flex; align-items: center; gap: .75rem; padding: .6rem .7rem; font-size: var(--fs-14); font-weight: 600; color: var(--ink); text-decoration: none; border-radius: 12px; transition: background-color .15s, color .15s; }
.menu__link:hover, .menu__link.is-active { color: var(--blue); background: var(--blue-50); }
.menu__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; color: var(--blue); background: var(--blue-50); border-radius: 10px; transition: all .15s; }
.menu__icon .icon { width: 19px; height: 19px; }
.menu__link:hover .menu__icon, .menu__link.is-active .menu__icon { color: #fff; background: var(--grad); }
.menu__promo { display: flex; flex-direction: column; gap: .75rem; width: 230px; padding: .75rem; background: var(--gray); border-radius: var(--r); }
.menu__promo-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.menu__promo-title { margin: 0; font-weight: 700; font-size: var(--fs-15); line-height: 1.35; color: var(--ink); }

.header__actions { display: flex; align-items: center; gap: .6rem; flex: none; margin-left: auto; }
.nav-toggle { display: none; }
.nav-backdrop { position: fixed; inset: 0; z-index: 190; background: rgba(6, 10, 21, .6); backdrop-filter: blur(2px); }

/* 6. HOMEPAGE -------------------------------------------------------------------- */
/* Hero — full-bleed photo with dark overlay */
.hero { position: relative; display: flex; align-items: center; min-height: min(760px, calc(100vh - 110px)); padding: clamp(4rem, 2rem + 6vw, 7rem) 0; color: #fff; background: var(--night); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 13, 28, .94) 0%, rgba(8, 13, 28, .82) 42%, rgba(8, 13, 28, .35) 75%, rgba(8, 13, 28, .2) 100%), linear-gradient(0deg, rgba(8, 13, 28, .6), transparent 40%); }
.hero__inner { width: 100%; }
.hero__copy { max-width: 660px; }
.hero__title { margin-bottom: 1.15rem; font-size: var(--fs-h1); line-height: 1.14; letter-spacing: -.03em; color: #fff; }
.hero__lead { max-width: 600px; margin-bottom: 1.75rem; font-size: var(--fs-lead); line-height: 1.7; color: #d4def0; }
.zip-form { display: flex; gap: .4rem; max-width: 600px; margin-bottom: 1.25rem; padding: .4rem; background: #fff; border-radius: var(--r-pill); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); }
.zip-form:focus-within { box-shadow: var(--ring), 0 20px 50px -20px rgba(0, 0, 0, .6); }
.zip-form__field { flex: 1; display: flex; align-items: center; gap: .6rem; min-width: 0; padding-left: 1.1rem; color: var(--blue); }
.zip-form input { width: 100%; min-width: 0; padding: .55rem 0; font-size: var(--fs-15); font-weight: 500; color: var(--ink); background: none; border: 0; outline: 0; }
.zip-form input::placeholder { color: #9aa4b2; font-weight: 400; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-bottom: 1.5rem; }
.hero__note { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-14); color: var(--on-dark-muted); }
.hero__note .icon { width: 16px; height: 16px; }

/* Stats band */
.stats { color: #fff; background: linear-gradient(135deg, #0f1d3d 0%, #13306b 50%, #0f1d3d 100%); border-top: 1px solid rgba(255, 255, 255, .08); }
.stats__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats__item { display: flex; align-items: center; gap: 1rem; padding: 1.6rem 1.5rem; font-size: var(--fs-14); font-weight: 600; line-height: 1.45; }
.stats__item + .stats__item { border-left: 1px solid rgba(255, 255, 255, .12); }
.stats__icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; color: #8cc4ff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; }
.stats__icon .icon { width: 24px; height: 24px; }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 1rem + 5vw, 5rem); align-items: center; }
.split--top { align-items: start; }
.split--top .split__media { position: sticky; top: calc(var(--header-h) + 2rem); }
.split--reverse .split__media { order: -1; }

/* Service cards */
.svc-card { position: relative; display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.svc-card:hover { color: inherit; transform: translateY(-5px); box-shadow: var(--sh-lg); }
.svc-card__media { position: relative; display: block; overflow: hidden; background: var(--gray); }
.svc-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .7s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card__tag { position: absolute; left: 1rem; top: 1rem; display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .8rem; font-size: var(--fs-12); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(10, 15, 30, .72); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-pill); backdrop-filter: blur(6px); }
.svc-card__tag .icon { width: 14px; height: 14px; color: #8cc4ff; }
.svc-card__body { display: flex; flex-direction: column; gap: .6rem; flex: 1; padding: 1.5rem 1.6rem 1.6rem; }
.svc-card__title { margin: 0; font-size: var(--fs-h3); line-height: 1.3; }
.svc-card__text { margin: 0; flex: 1; font-size: var(--fs-14); line-height: 1.7; color: var(--muted); }
.svc-card__more { display: inline-flex; align-items: center; gap: .35rem; margin-top: .4rem; font-size: var(--fs-14); font-weight: 700; color: var(--blue); }
.svc-card__more .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.svc-card:hover .svc-card__more .icon { transform: translateX(4px); }
.svc-card--compact .svc-card__body { flex-direction: row; align-items: center; padding: 1.1rem 1.3rem; }
.svc-card--compact .svc-card__more { margin: 0 0 0 auto; }
.svc-card__row { display: flex; align-items: center; gap: .75rem; }
.svc-card--compact .svc-card__title { font-size: var(--fs-15); }

/* Promo card (reference "Service 02" gradient card) */
.promo-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); overflow: hidden; color: #e0f2fe; background: var(--grad-teal); border-radius: var(--r-lg); box-shadow: 0 24px 60px -24px rgba(8, 153, 230, .55); }
.promo-card__body { padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); font-size: var(--fs-14); }
.promo-card__kicker { margin: 0 0 .5rem; font-size: var(--fs-12); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #a5e1ff; }
.promo-card__title { margin-bottom: .75rem; font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); color: #fff; }
.promo-card strong { color: #fff; }
.promo-card__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 700; color: #fff; text-decoration: none; }
.promo-card__link .icon { width: 17px; height: 17px; }
.promo-card__link:hover { color: #fff; text-decoration: underline; }
.promo-card__media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }

/* Tier plan cards */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.tier { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tier:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.tier--featured { color: var(--on-dark); background: linear-gradient(160deg, #13244a 0%, #0f172a 100%); border-color: #1d3a73; box-shadow: 0 30px 60px -25px rgba(15, 23, 42, .7); }
.tier__media { position: relative; }
.tier__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tier__no { position: absolute; left: 1rem; top: 1rem; padding: .35rem .85rem; font-size: var(--fs-12); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(10, 15, 30, .75); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-pill); backdrop-filter: blur(6px); }
.tier--featured .tier__no { background: var(--grad); border: 0; }
.tier__body { display: flex; flex-direction: column; gap: 1.2rem; flex: 1; padding: 1.5rem 1.6rem 1.7rem; }
.tier__title { display: flex; align-items: center; gap: .75rem; margin: 0; font-size: var(--fs-h3); line-height: 1.3; }
.tier__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; color: var(--blue); background: var(--blue-50); border-radius: 11px; }
.tier__icon .icon { width: 19px; height: 19px; }
.tier--featured .tier__title { color: #fff; }
.tier--featured .tier__icon { color: #fff; background: var(--grad); }
.tier__list { display: grid; align-content: start; flex: 1; margin: 0; }
.tier__list > div { padding: .8rem 0; border-top: 1px solid var(--line); }
.tier--featured .tier__list > div { border-color: rgba(255, 255, 255, .1); }
.tier__list dt { margin-bottom: .25rem; font-size: var(--fs-12); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.tier--featured .tier__list dt { color: #7cb6ff; }
.tier__list dd { margin: 0; font-size: var(--fs-14); line-height: 1.65; }
.tier--featured .yes { color: #34d399; }

/* Pricing */
.pricing { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 1rem + 4vw, 4.5rem); align-items: start; }
.pricing__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
/* short laptop screens: shrink the photo so the whole sticky column fits on screen */
@media (min-width: 1024px) { .pricing__aside .photo > img { max-height: max(200px, calc(100vh - 520px)); } }
.cost-list { display: grid; gap: 1rem; }
.cost { padding: 1.5rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); transition: box-shadow .3s, border-color .3s; }
.cost:hover { box-shadow: var(--sh-md); border-color: var(--blue-lt); }
.cost__head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.cost__num { font-size: 1.0625rem; font-weight: 700; color: var(--blue); letter-spacing: -.02em; }
.cost__title { margin: 0; font-size: var(--fs-h4); }
.cost__icon { display: grid; place-items: center; margin-left: auto; width: 38px; height: 38px; color: var(--blue); background: var(--blue-50); border-radius: 10px; }
.cost__icon .icon { width: 18px; height: 18px; }
.cost__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.25rem; padding-bottom: 1rem; }
.cost__label { margin: 0 0 .3rem; font-size: var(--fs-12); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cost__text { margin: 0; font-size: var(--fs-14); line-height: 1.65; }
.cost__range { padding: .85rem 1rem; background: var(--blue-50); border-radius: 12px; }
.cost__price { margin: 0; font-weight: 600; font-size: var(--fs-14); line-height: 1.45; color: var(--blue-dk); }
.cost__tip { display: flex; gap: .65rem; margin: 0; padding: .9rem 1rem; font-size: var(--fs-14); line-height: 1.6; color: #5b4519; background: var(--amber-50); border-radius: 12px; }
.cost__tip .icon { width: 18px; height: 18px; color: var(--amber-700); margin-top: .1rem; }
.cost__tip strong { color: var(--amber-700); }

/* Dark glass cards (reference "Why Choose Us") */
.glass-card { display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); transition: transform .3s var(--ease), background .3s, border-color .3s; }
.glass-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .07); border-color: rgba(91, 155, 255, .45); }
.glass-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .35rem; }
.glass-card__icon { display: grid; place-items: center; width: 50px; height: 50px; color: #fff; background: var(--grad); border-radius: 14px; box-shadow: var(--sh-blue); }
.glass-card__icon .icon { width: 24px; height: 24px; }
.glass-card__num { font-size: 1.25rem; font-weight: 700; color: rgba(255, 255, 255, .14); }
.glass-card__title { margin: 0; font-size: var(--fs-h3); line-height: 1.3; color: #fff; }
.glass-card__text { margin: 0; font-size: var(--fs-14); line-height: 1.7; color: var(--on-dark-muted); }

/* Mini cards 2x2 */
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mini { padding: 1.35rem; }
.mini__title { margin: .25rem 0 0; font-size: var(--fs-15); line-height: 1.35; }
.mini__text { margin: 0; font-size: var(--fs-14); line-height: 1.65; color: var(--muted); }

/* Collage (reference 4-image grid with floating card) */
.collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; padding-bottom: 2.5rem; }
.collage__a, .collage__b { overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.collage__a img, .collage__b img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.collage__b { margin-top: 2.5rem; }
.collage--alt .collage__a { margin-top: 2.5rem; }
.collage--alt .collage__b { margin-top: 0; }
.collage__card { bottom: 0; }

/* Heading + collage side by side, feature cards in a full-width row underneath */
.split__copy > .section-head:last-child { margin-bottom: 0; }
.mini-grid--row { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(2.5rem, 1.5rem + 2vw, 3.5rem); }
@media (max-width: 1199px) { .mini-grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .mini-grid--row { grid-template-columns: minmax(0, 1fr); } }


/* Process (reference "How We Work With You") */
.process { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.process__steps { display: grid; gap: .25rem; border-left: 2px solid var(--line); }
.pstep { position: relative; margin-left: -2px; border-left: 2px solid transparent; border-radius: 0 var(--r) var(--r) 0; transition: background .3s, box-shadow .3s, border-color .3s; }
.pstep[open] { background: #fff; border-left-color: var(--blue); box-shadow: var(--sh-md); }
.pstep__head { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; cursor: pointer; list-style: none; }
.pstep__head::-webkit-details-marker { display: none; }
.pstep__num { flex: none; width: 2.2rem; font-size: var(--fs-15); font-weight: 700; color: #9aa4b2; }
.pstep[open] .pstep__num { color: var(--blue); }
.pstep__q { flex: 1; font-size: var(--fs-15); font-weight: 600; line-height: 1.4; color: var(--ink); }
.pstep__q small { display: block; font-size: var(--fs-12); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pstep[open] .pstep__q { color: var(--blue); }
.pstep__head:hover .pstep__q { color: var(--blue); }
.pstep__chev { width: 18px; height: 18px; color: var(--muted); transition: transform .25s var(--ease); }
.pstep[open] .pstep__chev { transform: rotate(90deg); color: var(--blue); }
.pstep__a { margin: 0; padding: 0 1.4rem 1.3rem 4.6rem; font-size: var(--fs-14); line-height: 1.7; color: var(--muted); }
.process__media { position: relative; overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--sh-lg); }
.process__media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.process__overlay { position: absolute; inset: auto 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 4rem 1.6rem 1.5rem; background: linear-gradient(0deg, rgba(8, 13, 28, .92), transparent); }
.process__title { margin: 0; font-size: 1.0625rem; font-weight: 600; color: #fff; }
.process__text { margin: 0; font-size: var(--fs-14); color: var(--on-dark); }

/* FAQ (reference: line accordion) */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 1rem + 4vw, 5rem); align-items: start; }
.faq-layout__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-layout__aside .section-head { margin-bottom: 1.5rem; }
.faq-contact { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.faq-contact__label { margin: 0 0 .35rem; font-size: var(--fs-13); color: var(--muted); }
.faq-contact__phone { display: inline-flex; align-items: center; gap: .45rem; font-size: 1.0625rem; font-weight: 600; text-decoration: none; }
.faq-contact__phone .icon { width: 18px; height: 18px; }
.faq-contact__hours { margin: .25rem 0 0; font-size: var(--fs-13); color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; gap: 1rem; padding: 1.3rem 0; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__qt { flex: 1; font-size: var(--fs-15); font-weight: 600; line-height: 1.45; color: var(--ink); transition: color .2s; }
.faq__q:hover .faq__qt, .faq__item[open] .faq__qt { color: var(--blue); }
.faq__icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; color: var(--ink); transition: transform .25s var(--ease), color .2s; }
.faq__icon .icon { width: 18px; height: 18px; }
.faq__item[open] .faq__icon { color: var(--blue); transform: rotate(45deg); }
.faq__a { padding: 0 2.5rem 1.4rem 0; font-size: var(--fs-14); line-height: 1.75; color: var(--text); }

/* Resources */
.resources__title { margin-bottom: 1.25rem; font-size: clamp(1.125rem, 1.05rem + .4vw, 1.375rem); }
.resources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.resource { display: flex; align-items: center; gap: .85rem; padding: .85rem 1.1rem; font-weight: 600; font-size: var(--fs-14); line-height: 1.35; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--sh); transition: all .25s var(--ease); }
.resource .tile__icon { border-radius: 50%; }
.resource:hover { color: var(--blue); border-color: var(--blue-lt); box-shadow: var(--sh-md); transform: translateY(-2px); }
.resource__arrow { width: 18px; height: 18px; margin-left: auto; color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.resource:hover .resource__arrow { color: var(--blue); transform: translateX(3px); }

/* 7. INNER PAGES --------------------------------------------------------------- */
.page-hero { position: relative; padding: clamp(3.5rem, 2rem + 5vw, 6rem) 0; color: #fff; background: var(--grad-dark); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 13, 28, .95) 0%, rgba(8, 13, 28, .85) 45%, rgba(8, 13, 28, .45) 100%); }
.page-hero--plain::before { background: radial-gradient(800px 400px at 85% 0%, rgba(21, 87, 192, .35), transparent 60%); }
.page-hero__inner > * { max-width: 760px; }
.page-hero .breadcrumb { color: var(--on-dark-muted); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb [aria-current] { color: #fff; }
.page-hero__title { margin-bottom: 1rem; font-size: var(--fs-h1-page); line-height: 1.2; letter-spacing: -.025em; color: #fff; }
.page-hero__lead { margin-bottom: 1.75rem; font-size: var(--fs-lead); line-height: 1.7; color: #d4def0; }
.page-hero__lead a { color: #fff; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.content-layout__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.ideal-box { display: flex; gap: 1.25rem; padding: 1.75rem; background: var(--green-50); border: 1px solid #c3f0dc; border-radius: var(--r-lg); }
.ideal-box__title { margin-bottom: .45rem; font-size: var(--fs-h4); }

.side-card { padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); }
.side-card--advisor { padding: 0; overflow: hidden; color: var(--on-dark); background: var(--grad-dark); border: 0; box-shadow: var(--sh-lg); }
.side-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 30%; }
.side-card__body { display: grid; gap: .7rem; padding: 1.4rem; }
.side-card__title { margin: 0; font-size: var(--fs-16); font-weight: 600; color: #fff; }
.side-card__text { display: flex; gap: .5rem; margin: 0 0 .25rem; font-size: var(--fs-14); }
.side-card__text .icon { width: 17px; height: 17px; margin-top: .2rem; color: #7cb6ff; }
.side-card--advisor .btn--outline { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .3); }
.side-card__heading { margin: 0 0 .85rem; font-size: var(--fs-15); font-weight: 600; color: var(--ink); }
.side-card--advisor .side-card__heading { color: #fff; }
.side-card--soft { background: var(--gray); box-shadow: none; }
.fine { font-size: var(--fs-13); line-height: 1.65; color: var(--muted); }
.side-links { display: grid; gap: .15rem; }
.side-links a { display: flex; align-items: center; gap: .65rem; padding: .6rem .75rem; font-size: var(--fs-14); font-weight: 600; color: var(--text); text-decoration: none; border-radius: var(--r-pill); transition: background-color .15s, color .15s; }
.side-links a > .icon:first-child { width: 18px; height: 18px; color: var(--blue); }
.side-links .side-links__chev { width: 16px; height: 16px; margin-left: auto; color: #c7cdd6; }
.side-links a:hover { color: var(--blue); background: var(--blue-50); }
.side-links a.is-active { color: #fff; background: var(--grad); }
.side-links a.is-active > .icon { color: #fff !important; }

/* About steps */
.how-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.how-steps__item { display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); transition: transform .3s var(--ease), box-shadow .3s; }
.how-steps__item:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.how-steps__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .25rem; }
.how-steps__no { padding: .35rem .8rem; font-size: var(--fs-12); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--blue-lt); border-radius: var(--r-pill); }

/* Quote page & form */
.quote-layout__form, .quote-layout__aside { min-width: 0; }
.quote-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: start; padding-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.quote-layout__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.form-card { padding: clamp(1.5rem, 1rem + 2.2vw, 2.75rem); background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-lg); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 1.5rem; }
.field { display: grid; gap: .45rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label { padding: 0; margin-bottom: .1rem; font-size: var(--fs-14); font-weight: 700; color: var(--ink); }
.req { color: #dc3545; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: .8rem 1.1rem; font-size: var(--fs-16); color: var(--ink); background: var(--gray); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { max-width: 100%; text-overflow: ellipsis; appearance: none; padding-right: 2.75rem; background: var(--gray) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center / 18px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa4b2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background-color: #fff; border-color: var(--blue); box-shadow: var(--ring); }
.has-error input, .has-error select, .has-error textarea { border-color: #dc3545; }
.field__error { display: flex; align-items: center; gap: .35rem; margin: 0; font-size: var(--fs-13); color: #b42318; }
.field__error .icon { width: 15px; height: 15px; }
.radio-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.radio-chip span { display: inline-flex; align-items: center; min-height: 46px; padding: .55rem 1.15rem; font-size: var(--fs-14); font-weight: 600; background: var(--gray); border: 1px solid var(--line); border-radius: var(--r-pill); cursor: pointer; transition: all .2s; }
.radio-chip input:checked + span { color: #fff; background: var(--grad); border-color: transparent; }
.radio-chip input:focus-visible + span { box-shadow: var(--ring); }
.consent-check { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1.25rem; padding: 1rem 1.1rem; font-size: var(--fs-13); line-height: 1.65; background: var(--gray); border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.consent-check input { flex: none; width: 19px; height: 19px; margin-top: .15rem; accent-color: var(--blue); }
.consent-text { display: grid; gap: .75rem; margin-top: 1.25rem; font-size: var(--fs-13); line-height: 1.65; color: var(--muted); }
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.alert { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.5rem; padding: 1rem 1.2rem; font-weight: 600; border-radius: 14px; }
.alert--success { color: var(--green-700); background: var(--green-50); border: 1px solid #c3f0dc; }
.alert--error { color: #b42318; background: #fef3f2; border: 1px solid #fecdca; }
.alert .icon { margin-top: .15rem; }
.contact-list { display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; font-size: var(--fs-14); }
.contact-list small { display: block; font-size: var(--fs-12); color: var(--on-dark-muted); }
.contact-list a { font-weight: 700; color: #fff; text-decoration: none; word-break: break-word; }
.side-card--advisor .contact-list .icon-tile { color: #8cc4ff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); }

/* Legal */
.legal-meta { display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-size: var(--fs-14); color: var(--on-dark-muted); }
.legal-meta .icon { width: 17px; height: 17px; }
.legal-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; padding-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.legal-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); max-height: calc(100vh - var(--header-h) - 3rem); overflow: auto; }
.legal-toc ol { display: grid; gap: .15rem; }
.legal-toc a { display: block; padding: .45rem .8rem; font-size: var(--fs-14); font-weight: 500; color: var(--text); text-decoration: none; border-radius: var(--r-pill); }
.legal-toc a:hover { color: var(--blue); background: var(--blue-50); }
.legal-toc a.is-active { color: #fff; font-weight: 600; background: var(--grad); }
.legal { max-width: 820px; font-size: var(--fs-15); line-height: 1.8; }
.legal h2 { margin: 2.75rem 0 .9rem; font-size: 1.3125rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 1.75rem 0 .75rem; font-size: var(--fs-h4); }
.legal ul { display: grid; gap: .6rem; margin: 0 0 1.25rem; }
.legal li { position: relative; padding-left: 1.5rem; }
.legal li::before { content: ""; position: absolute; left: .3rem; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.legal__label { margin: 1.75rem 0 .75rem; padding: .7rem 1rem; font-size: var(--fs-13); font-weight: 700; letter-spacing: .05em; color: var(--blue-dk); background: var(--blue-50); border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; }
.legal a { word-break: break-word; }

/* 8. CTA BAND & FOOTER (dark) ---------------------------------------------------- */
.cta-panel { position: relative; padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 3vw, 3.5rem); text-align: center; color: var(--on-dark); background: linear-gradient(160deg, #0f1d3d 0%, #0a0f1e 70%); border-radius: var(--r-xl); overflow: hidden; isolation: isolate; box-shadow: var(--sh-lg); }
.cta-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 260px at 50% 110%, rgba(8, 153, 230, .35), transparent 70%), radial-gradient(500px 240px at 10% -10%, rgba(21, 87, 192, .4), transparent 70%); }
.cta-panel__title { max-width: 780px; margin: 0 auto .85rem; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); line-height: 1.25; letter-spacing: -.02em; color: #fff; }
.cta-panel__text { max-width: 640px; margin: 0 auto 1.75rem; font-size: var(--fs-lead); line-height: 1.65; }
.cta-panel__text a { color: #fff; }
.cta-panel__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.cta-panel__note { margin: 1.25rem 0 0; font-size: var(--fs-13); color: var(--on-dark-muted); }

.final-cta { position: relative; padding: clamp(3.5rem, 2rem + 4vw, 5.5rem) 0; text-align: center; color: var(--on-dark); background: #0b1630; overflow: hidden; isolation: isolate; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 360px at 50% 120%, rgba(21, 87, 192, .45), transparent 70%), linear-gradient(180deg, #0d1c3c 0%, #0a1226 100%); }
.final-cta__title { max-width: 820px; margin: 0 auto 1rem; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); line-height: 1.25; letter-spacing: -.02em; color: #fff; }
.final-cta .micro-list { margin-bottom: 1.75rem; }
.final-cta__note { margin: 1.25rem 0 0; font-size: var(--fs-13); color: var(--on-dark-muted); }

.footer { padding-top: clamp(3.5rem, 2.5rem + 3vw, 4.75rem); font-size: var(--fs-14); color: var(--on-dark-muted); background: var(--night-2); }
.footer a { color: var(--on-dark); text-decoration: none; transition: color .2s; }
.footer a:hover, .footer a.is-active { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.15fr .9fr 1fr 1.1fr; gap: clamp(2rem, 1rem + 3vw, 3.5rem); padding-bottom: 3rem; }
.footer__logo img { width: auto; height: 74px; margin-bottom: 1.25rem; }
.footer__about { max-width: 320px; line-height: 1.7; }
.footer__about a { color: #8cc4ff; }
.footer__title { margin: 0 0 1.1rem; font-size: var(--fs-16); font-weight: 700; color: #fff; }
.footer__title--spaced { margin-top: 2rem; }
.footer-links { display: grid; gap: .65rem; }
.footer-contact { display: grid; gap: 1.1rem; }
.footer-contact li { display: flex; gap: .8rem; align-items: flex-start; }
.footer-contact > li > .icon { width: 18px; height: 18px; margin-top: .25rem; color: #3b82f6; }
.footer-contact small { display: block; font-size: var(--fs-12); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #64748b; }
.footer-contact a, .footer-contact strong { font-weight: 700; color: #fff; }
.footer__disclosure { display: grid; gap: .75rem; padding: 2rem 0; font-size: var(--fs-13); line-height: 1.7; color: #7b8799; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__disclosure strong { color: #b6c2d4; }
.footer__disclosure a { color: #8cc4ff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; font-size: var(--fs-13); border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__bottom p { margin: 0; }
.footer__copyright { padding: 1.25rem 0 1.5rem; font-size: var(--fs-13); text-align: center; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__copyright p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }

.sticky-cta { display: none; }

/* ---------- Mobile "Tap to Call" bar + call confirmation sheet ---------- */
.live-dot { display: inline-block; flex: none; width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 6px var(--green); animation: live-pulse 2s ease-in-out infinite; }
@keyframes live-pulse { 50% { opacity: .4; transform: scale(.85); } }
.sticky-cta__copy { display: grid; gap: .15rem; min-width: 0; line-height: 1.25; }
.sticky-cta__kicker { display: inline-flex; align-items: center; gap: .4rem; font-size: .6875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green); white-space: nowrap; }
.sticky-cta__support { font-size: .75rem; color: #94a3b8; white-space: nowrap; }
.sticky-cta__support a { font-weight: 700; color: #38bdf8; text-decoration: underline; }
.sticky-cta__call { display: inline-flex; flex: none; align-items: center; gap: .5rem; min-height: 48px; padding: .5rem 1.15rem; font-size: .875rem; font-weight: 800; color: #fff; text-decoration: none; white-space: nowrap; background: #047857; border-radius: var(--r-pill); box-shadow: 0 4px 14px rgba(4, 120, 87, .45); }
.sticky-cta__call:hover { color: #fff; background: #065f46; }
.sticky-cta__call .icon { width: 17px; height: 17px; }

.sticky-cta__call > span { display: flex; flex-direction: column; line-height: 1.15; }
.sticky-cta__call strong, .call-card__btn strong, .btn strong { font-weight: 800; color: inherit; }
.sticky-cta__call small { font-size: .75rem; font-weight: 700; letter-spacing: .01em; }
/* honest hours: amber dot + label outside Mon–Fri 10am–8pm ET */
.is-offline .live-dot { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; animation: none; }
.sticky-cta__kicker.is-offline { color: #fbbf24; }

/* ---------- Click-to-call components (Google Ads RSA + Call Asset landing) ---------- */
/* Call buttons are always green (#047857 = 5.5:1 contrast with white text) */
.btn--call { --bg: #047857; --fg: #fff; box-shadow: 0 10px 24px -10px rgba(4, 120, 87, .7); }
.btn--call:hover { --bg: #065f46; }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .4); }
.btn--outline-light:hover { --bg: rgba(255, 255, 255, .1); --bd: #fff; }
.header__mobile-call { display: none; }

.call-card { max-width: 560px; margin-bottom: 1.25rem; padding: 1rem; color: var(--ink); background: #fff; border-radius: var(--r); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); }
.call-card__status { display: flex; align-items: center; gap: .5rem; margin: 0 0 .7rem; font-size: .78rem; font-weight: 700; line-height: 1.3; color: var(--green-700); }
.call-card__status.is-offline { color: #b45309; }
.call-card__btn { display: flex; align-items: center; justify-content: center; gap: .75rem; width: 100%; min-height: 58px; padding: .7rem 1.1rem; color: #fff; text-decoration: none; background: #047857; border-radius: var(--r-pill); box-shadow: 0 12px 28px -10px rgba(4, 120, 87, .75); transition: background .2s, transform .2s var(--ease); }
.call-card__btn:hover { color: #fff; background: #065f46; transform: translateY(-1px); }
.call-card__btn:focus-visible { outline: 3px solid #34d399; outline-offset: 3px; }
.call-card__btn .icon { flex: none; width: 22px; height: 22px; }
.call-card__btn-text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.call-card__btn-text strong { font-size: 1.0625rem; font-weight: 800; }
.call-card__btn-text small { font-size: .75rem; font-weight: 500; opacity: .95; }
.call-card__disclosure { margin: .75rem 0 .5rem; font-size: .72rem; line-height: 1.42; color: #334155; }
.call-card__disclosure strong { color: var(--ink); }
.call-card__alt { margin: 0; font-size: .8rem; text-align: center; color: #475569; }
.call-card__alt a { font-weight: 600; color: var(--blue); }
.hero__checks { gap: .4rem 1.1rem; font-size: var(--fs-13); }

.how-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.center-cta { margin: 2rem 0 0; text-align: center; }
.tier__call { white-space: normal; }
.tier__summary { flex: 1; margin: 0; font-size: var(--fs-15); line-height: 1.65; }
.tier__more { border-top: 1px solid var(--line); }
.tier--featured .tier__more { border-color: rgba(255, 255, 255, .1); }
.tier__more > summary { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0 .2rem; font-size: var(--fs-13); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); cursor: pointer; list-style: none; }
.tier__more > summary::-webkit-details-marker { display: none; }
.tier__more > summary .icon { width: 16px; height: 16px; transition: transform .2s; }
.tier__more[open] > summary .icon { transform: rotate(180deg); }
.tier--featured .tier__more > summary { color: #7cb6ff; }
/* paid-ad visitors (gclid etc.): phone-first mobile drawer without the long service menus */
@media (max-width: 1199px) {
  .paid-session .nav__item.has-menu { display: none; }
}
.tier__guide { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; margin-top: -.5rem; font-size: var(--fs-14); font-weight: 600; }
.tier__guide .icon { width: 15px; height: 15px; }
.tier--featured .tier__guide { color: #fff; }
.pricing__main { display: grid; gap: 1.25rem; min-width: 0; }
.pricing__main > .btn { white-space: normal; }
.final-cta__lead { max-width: 640px; margin: 0 auto 1.25rem; font-size: var(--fs-15); color: var(--on-dark); }
.topbar__item--mobile { display: none; }
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; display: grid; place-items: center; width: 46px; height: 46px; color: #fff; background: var(--grad); border: 0; border-radius: 50%; box-shadow: var(--sh-blue); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* 9. RESPONSIVE -------------------------------------------------------------------- */
.menu__promo-call { white-space: normal; text-align: center; }
/* Header fit: drop extras as the screen narrows, never the phone number */
@media (max-width: 1799px) { .header__phone-label { display: none; } }
@media (max-width: 1699px) { .nav__icon { display: none; } }
@media (max-width: 1499px) {
  .header__cta { display: none; }
}

@media (max-width: 1359px) {
  .header__inner { gap: .75rem; }
  .nav__link { padding: 0 .55rem; font-size: var(--fs-14); }
  .logo img { height: 50px; }
}

@media (max-width: 1199px) {
  :root { --header-h: 70px; }
  .logo img { height: 50px; }
  .nav-toggle { display: inline-grid; }
  .header { backdrop-filter: none; background: var(--night); }
  .nav-open .header { z-index: 200; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; left: auto; height: 100vh; height: 100dvh; z-index: 210; display: flex; flex-direction: column; width: min(420px, 90vw); background: #fff; box-shadow: var(--sh-lg); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
  .nav:not(.is-open) { pointer-events: none; }
  /* drawer stacks from the top (desktop centring pushed the top off-screen when a section opened) */
  .nav { justify-content: flex-start; overflow-anchor: none; }
  .nav__list { flex: none; }
  .nav:not(.is-open) .menu { visibility: hidden; }
  .nav.is-open { transform: none; visibility: visible; }
  /* drawer header (logo + close) stays pinned while the list scrolls */
  .nav__head { position: sticky; top: 0; z-index: 2; flex: none; display: flex; align-items: center; justify-content: space-between; padding: .7rem 1.1rem; background: #fff; border-bottom: 1px solid var(--line); }
  .nav__head img { width: auto; height: 42px; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .15rem; padding: .6rem .85rem; }
  .nav__link { width: 100%; height: auto; justify-content: flex-start; padding: .8rem .9rem; font-size: var(--fs-16); color: var(--ink); border-radius: 14px; }
  .nav__icon { display: block; color: var(--blue); }
  .nav__chev { margin-left: auto; }
  .nav__link:hover, .nav__item.is-open > .nav__link { color: var(--blue); background: var(--blue-50); }
  .nav__link.is-active { color: #fff; background: var(--grad); box-shadow: none; }
  .nav__link.is-active .nav__icon { color: #fff; }
  .menu { position: static; display: none; padding: .25rem 0 .5rem; opacity: 1; visibility: visible; transform: none; }
  .nav__item.is-open > .menu { display: block; transform: none; }
  .menu__inner { display: block; padding: 0; border: 0; box-shadow: none; }
  .menu__grid, .is-mega .menu__grid { width: auto; grid-template-columns: 1fr; gap: 0; margin-left: 1.35rem; padding-left: .5rem; border-left: 2px solid var(--blue-lt); }
  /* compact sub-links inside the drawer */
  .menu__link { gap: .6rem; padding: .45rem .6rem; font-size: var(--fs-14); }
  .menu__icon { width: 30px; height: 30px; border-radius: 8px; }
  .menu__icon .icon { width: 16px; height: 16px; }
  .menu__promo { display: none; }
  /* call buttons stay pinned at the bottom of the drawer */
  .nav__foot { position: sticky; bottom: 0; z-index: 2; flex: none; display: grid; gap: .55rem; margin-top: auto; padding: .85rem 1rem calc(.85rem + env(safe-area-inset-bottom)); background: var(--gray); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px -12px rgba(13, 17, 23, .25); }
  .nav__foot .btn { white-space: normal; }
  .nav__foot .btn--outline { min-height: 44px; padding-block: .55rem; font-size: var(--fs-14); }
  .nav__hours { display: flex; gap: .5rem; margin: 0; font-size: var(--fs-12); line-height: 1.4; color: var(--muted); }
  .nav__hours .icon { width: 16px; height: 16px; margin-top: .15rem; color: var(--blue); }
  .nav-open { overflow: hidden; }

  .grid--4, .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; }
  .tier { display: grid; grid-template-columns: 260px minmax(0, 1fr); }
  .tier__media img { height: 100%; aspect-ratio: auto; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .split, .pricing, .process, .faq-layout, .content-layout, .quote-layout, .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .split__media { width: 100%; max-width: 640px; }
  .split--top .split__media, .pricing__aside, .faq-layout__aside, .content-layout__aside, .quote-layout__aside, .legal-toc { position: static; max-height: none; }
  .pricing__aside .photo { display: none; }
  .grid--3, .resources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero::before { background: linear-gradient(180deg, rgba(8, 13, 28, .78) 0%, rgba(8, 13, 28, .9) 100%); }
  .stats__item { padding: 1.5rem 1.1rem; font-size: var(--fs-15); }
  .promo-card { grid-template-columns: minmax(0, 1fr); }
  .promo-card__media { order: -1; }
  .promo-card__media img { aspect-ratio: 16 / 7; min-height: 0; }
  .content-layout__aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  /* topbar: short copy on phones & tablets, allowed to wrap — never clips at 320px */
  .topbar__item--desktop { display: none; }
  .topbar__item--mobile { display: inline-flex; white-space: normal; text-align: center; }
  .topbar__list { justify-content: center; width: 100%; gap: .2rem .9rem; line-height: 1.25; }
}

@media (max-width: 767px) {
  .topbar { font-size: .72rem; }
  .topbar__inner { min-height: 30px; padding-block: .3rem; }
  .header__cta, .header__phone { display: none; }
  .header__actions { gap: .5rem; }
  .header__mobile-call { display: inline-flex; min-height: 42px; padding: .5rem .85rem; gap: .35rem; font-size: .82rem; font-weight: 700; }
  .header__mobile-call .icon { width: 15px; height: 15px; }

  /* click-to-call hero: CTA above the fold on 360×640 and 375×812 */
  .hero--call { padding: 1.25rem 0 1.75rem; }
  .hero--call .label { margin-bottom: .65rem; }
  .hero--call .hero__title { margin-bottom: .6rem; font-size: clamp(1.6rem, 6.4vw, 2.25rem); line-height: 1.12; }
  .hero--call .hero__lead { margin-bottom: .9rem; font-size: .9375rem; line-height: 1.45; }
  .call-card { padding: .85rem; }
  .how-steps--3 { grid-template-columns: minmax(0, 1fr); }
  .center-cta .btn { width: 100%; white-space: normal; }
  .grid--2, .grid--3, .grid--4, .how-steps, .resources, .form-grid, .mini-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; }
  .zip-form { flex-direction: column; border-radius: 22px; padding: .5rem; }
  .zip-form__field { padding: .35rem .75rem; border-bottom: 1px solid var(--line); }
  .zip-form .btn { width: 100%; white-space: normal; }
  .hero__actions .btn, .btn-row .btn, .cta-panel__actions .btn { width: 100%; white-space: normal; }
  .stats__list { grid-template-columns: minmax(0, 1fr); }
  .stats__item + .stats__item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .stats__item { padding: 1.1rem .25rem; }
  .photo__badge { position: static; margin-top: .75rem; }
  .tier { display: flex; }
  .tier__media img { aspect-ratio: 16 / 9; height: auto; }
  .cost { padding: 1.25rem; }
  .cost__grid { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .card--row, .ideal-box { flex-direction: column; }
  .collage { padding-bottom: 0; }
  .collage__card { position: static; grid-column: 1 / -1; }
  .pstep__head { padding: 1rem; gap: .75rem; }
  .pstep__a { padding: 0 1rem 1.1rem 1rem; }
  .faq__a { padding-right: 0; }
  .content-layout__aside { grid-template-columns: minmax(0, 1fr); }
  .section-head--row { flex-direction: column; align-items: start; }
  .footer__top, .legal-toc ol { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { flex-direction: column; }
  .to-top { bottom: 92px; right: 1rem; width: 42px; height: 42px; }

  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom)); background: rgba(4, 20, 33, .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid rgba(56, 189, 248, .32); box-shadow: 0 -8px 30px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
  .sticky-cta.is-hidden { transform: translateY(110%); }
}

@media (max-width: 400px) {
  .logo img { height: 44px; }
  .sticky-cta { gap: .5rem; padding-inline: .75rem; }
  .sticky-cta__call { padding: .55rem .9rem; font-size: .8rem; }
  .sticky-cta__call small { font-size: .7rem; }
  .sticky-cta__kicker { font-size: .625rem; letter-spacing: .04em; }
  .sticky-cta__support { font-size: .6875rem; white-space: normal; }
  .header__mobile-call { padding-inline: .7rem; font-size: .78rem; }
  .hero--call .label { font-size: .625rem; }

  /* Small phones: scale the type down so headings don't wrap to 4-5 lines */
  :root {
    --fs-h1:      1.75rem;     /* 28px (was 32) */
    --fs-h1-page: 1.5rem;      /* 24px (was 28) */
    --fs-h2:      1.375rem;    /* 22px (was 24) */
    --fs-h3:      1rem;        /* 16px (was 17) */
    --fs-h4:      1rem;
    --fs-lead:    .9375rem;    /* 15px (was 16) */
  }
  .cta-panel__title, .final-cta__title, .lead-success__title { font-size: 1.25rem; }
  .promo-card__title, .resources__title, .legal h2 { font-size: 1.125rem; }
  .cost__num, .process__title, .faq-contact__phone { font-size: 1rem; }
  .glass-card__num { font-size: 1.125rem; }
  .section-head, .section-head--row { margin-bottom: 1.75rem; }
  .stats__item { gap: .85rem; font-size: var(--fs-13); }
  .stats__icon { width: 42px; height: 42px; border-radius: 12px; }
  .stats__icon .icon { width: 20px; height: 20px; }
}

@media (max-width: 340px) {
  :root {
    --fs-h1:      1.625rem;    /* 26px */
    --fs-h1-page: 1.375rem;    /* 22px */
    --fs-h2:      1.25rem;     /* 20px */
  }
  .cta-panel__title, .final-cta__title { font-size: 1.1875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .header, .sticky-cta, .to-top, .cta-panel, .final-cta { display: none; }
}

/* ---------- v3.1 polish ---------- */
/* compact header once the page scrolls */
.header__inner { transition: height .3s var(--ease); }
.header.is-scrolled .header__inner { height: 66px; }
.header.is-scrolled .logo img { height: 46px; }
.logo img { transition: height .3s var(--ease); }
/* hero entrance */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__copy > * { animation: rise .8s 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__copy > :nth-child(6) { animation-delay: .4s; }
/* readable line length for body copy */
.split__copy .text-lg, .content-layout__main .text-xl { max-width: 62ch; }
/* card icon hover */
.tile:hover .tile__icon, .mini:hover .tile__icon, .card:hover .icon-tile { color: #fff; background: var(--grad); border-color: transparent; }
.tile__icon, .icon-tile { transition: background .25s, color .25s, border-color .25s; }
/* selection + reCAPTCHA spacing */
::selection { color: #fff; background: var(--blue); }
.recaptcha { margin-bottom: 1.25rem; }
@media (prefers-reduced-motion: reduce) { .hero__copy > * { animation: none; } }

/* ---------- Lead form states ---------- */
[hidden] { display: none !important; }
.btn .spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .submit-arrow { display: none; }
.btn:disabled { cursor: progress; opacity: .85; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.field__error span { flex: 1; }
.has-error .field__label { color: #b42318; }
.lead-success { display: grid; justify-items: center; gap: .9rem; padding: clamp(1rem, .5rem + 2vw, 2rem) 0; text-align: center; outline: 0; }
.lead-success__icon { display: grid; place-items: center; width: 72px; height: 72px; color: #fff; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 10px var(--green-50); }
.lead-success__icon .icon { width: 36px; height: 36px; }
.lead-success__title { margin: .5rem 0 0; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); }
.lead-success__text { max-width: 460px; margin: 0; color: var(--muted); }
.lead-success__list { display: grid; gap: .55rem; margin: .5rem 0 .75rem; padding: 1rem 1.25rem; text-align: left; background: var(--gray); border-radius: var(--r); }
.lead-success__list li { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-14); }
.lead-success__list .icon { width: 17px; height: 17px; color: var(--blue); }

/* ---------- Related pages carousel (service & tier pages) ---------- */
.related__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; margin-bottom: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); }
.related__title { margin: 0; }
.related__controls { display: flex; align-items: center; gap: .6rem; }
.related__count { min-width: 3.5rem; margin-right: .35rem; font-family: var(--font-head); font-size: var(--fs-14); color: var(--muted); text-align: right; }
.related__count strong { color: var(--ink); }
.related__btn { display: grid; place-items: center; width: 48px; height: 48px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--sh); cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, opacity .2s; }
.related__btn .icon { width: 19px; height: 19px; }
.related__btn[data-carousel-prev] .icon { transform: rotate(180deg); }
.related__btn:hover:not(:disabled) { color: #fff; background: var(--grad); border-color: transparent; box-shadow: var(--sh-blue); }
.related__btn:disabled { opacity: .4; cursor: default; box-shadow: none; }
.related__controls.is-static { display: none; }

.carousel { position: relative; }
.carousel__track { --per: 3; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); gap: var(--gap); margin: -12px; padding: 12px 12px 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 12px; scrollbar-width: none; scroll-behavior: smooth; outline: 0; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { box-shadow: var(--ring); border-radius: var(--r-lg); }
.carousel__slide { scroll-snap-align: start; display: flex; }
.carousel__progress { position: relative; height: 4px; margin-top: 1.25rem; overflow: hidden; background: var(--line); border-radius: 4px; }
.carousel__progress span { position: absolute; inset: 0 auto 0 0; width: 30%; background: var(--grad); border-radius: 4px; transition: left .3s var(--ease), width .3s var(--ease); }

.rel-card { position: relative; display: flex; flex-direction: column; width: 100%; overflow: hidden; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.rel-card:hover { color: inherit; transform: translateY(-6px); border-color: var(--blue-lt); box-shadow: var(--sh-lg); }
.rel-card__media { position: relative; display: block; overflow: hidden; background: var(--gray); }
.rel-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .7s var(--ease); }
.rel-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 13, 28, .35)); }
.rel-card:hover .rel-card__media img { transform: scale(1.06); }
.rel-card__icon { position: absolute; left: 1.2rem; top: -23px; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; color: #fff; background: var(--grad); border: 3px solid #fff; border-radius: 14px; box-shadow: var(--sh-blue); }
.rel-card__icon .icon { width: 20px; height: 20px; }
.rel-card__body { position: relative; display: flex; flex-direction: column; gap: .45rem; flex: 1; padding: 2.1rem 1.4rem 1.4rem; }
.rel-card__title { padding-right: 2.75rem; font-family: var(--font-head); font-size: var(--fs-16); font-weight: 600; line-height: 1.35; color: var(--ink); }
.rel-card__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--fs-14); line-height: 1.6; color: var(--muted); }
.rel-card__go { position: absolute; top: 1.85rem; right: 1.2rem; display: grid; place-items: center; width: 36px; height: 36px; color: var(--blue); background: var(--blue-50); border-radius: 50%; transition: background .25s, color .25s, transform .25s var(--ease); }
.rel-card__go .icon { width: 17px; height: 17px; }
.rel-card:hover .rel-card__go { color: #fff; background: var(--grad); transform: translateX(3px); }

.carousel__track--few { --per: 2; }
.carousel__track--few .rel-card__media img { aspect-ratio: 16 / 8; }
@media (max-width: 1023px) { .carousel__track { --per: 2; } }
@media (max-width: 767px) {
  .carousel__track { grid-auto-columns: 84%; }
  .related__btn { width: 42px; height: 42px; }
  .related__head { align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .carousel__track { scroll-behavior: auto; } }

/* ==========================================================================
   Footer layout — matched to homesecureconnect.pro (Nov 2026)
   Brand + contact column, then Services | Tiers + Company | Legal & Privacy.
   ========================================================================== */
.footer__top { grid-template-columns: 1.35fr 1fr 1.15fr .95fr; gap: 36px; align-items: start; padding-bottom: 44px; }
.footer__logo { display: inline-flex; }
.footer__logo img { height: 68px; margin-bottom: 0; }
.footer__brand-title { display: block; margin-top: 14px; font-family: var(--font-head); font-size: .95rem; font-weight: 700; line-height: 1.45; color: #fff; }
.footer__about { max-width: 380px; margin: 18px 0 22px; font-size: .92rem; line-height: 1.7; color: #93a4c6; overflow-wrap: break-word; }
.footer__title { margin: 0 0 16px; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; color: #fff; white-space: normal; }
.footer__title--spaced { margin-top: 30px; }
.footer-links { gap: 9px; }
.footer-links a { font-size: .92rem; color: #93a4c6; }
.footer-links a:hover, .footer-links a.is-active { color: #fff; }
.footer__brand .footer-contact { gap: 14px; }
.footer__brand .footer-contact li { gap: 12px; }
.footer__brand .footer-contact > li > .icon { width: 16px; height: 16px; margin-top: 3px; color: #22d3ee; }
.footer__brand .footer-contact small { font-size: .72rem; font-weight: 400; letter-spacing: .08em; color: #64759a; }
.footer__brand .footer-contact a, .footer__brand .footer-contact strong { font-size: .92rem; font-weight: 400; color: #d6deee; }
.footer__brand .footer-contact a:hover { color: #fff; }

@media (max-width: 1199px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); }
}
