/* ============================================================
   EZ Glazing Corp — Modern layer
   Clean, bright, bold. Loads AFTER styles.css and re-skins every page:
   floating pill nav · bold sans headings · rounded cards · gradient CTAs
   · wizard quote form · trust marquee · sticky quote button.
   Brand blue comes from the logo (#036ac2).
   ============================================================ */

:root {
  --bg: #f4f6fa;
  --bg-2: #eaeff6;
  --bg-3: #ffffff;
  --ink: #0e1522;
  --ink-dim: #4a5568;
  --muted: #7a8699;
  --gold: #036ac2;          /* accent (var name kept so every old rule re-colors) */
  --gold-lt: #8ccbff;
  --line: rgba(14,21,34,.09);
  --line-2: rgba(14,21,34,.16);
  --scrim: 7,14,28;
  --serif: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 18px 50px rgba(14,21,34,.10);
  --radius: 22px;
  --grad: linear-gradient(135deg, #036ac2 0%, #1f9bff 100%);
  --maxw: 1220px;
}

body { font-size: 16.5px; line-height: 1.65; background: var(--bg); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; }
.lead { font-weight: 400; font-size: 1.1rem; color: var(--ink-dim); }
.section { padding: clamp(60px, 8vw, 110px) 0; }
.eyebrow { font-size: .7rem; letter-spacing: .26em; font-weight: 700; color: var(--gold); margin-bottom: 1rem; }
.eyebrow::before, .center .eyebrow::after { display: none; }

/* ---------- Buttons: pill, gradient ---------- */
.btn { border-radius: 999px; font-size: .95rem; font-weight: 700; letter-spacing: 0; text-transform: none; padding: .95rem 1.9rem; }
.btn--lg { padding: 1.1rem 2.3rem; font-size: 1rem; }
.btn--gold { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(3,106,194,.32); border: 0; }
.btn--gold:hover { background: var(--grad); filter: brightness(1.06); box-shadow: 0 14px 34px rgba(3,106,194,.42); transform: translateY(-2px); }
.btn--outline { border: 1.5px solid var(--line-2); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); background: #fff; }
.btn--light { background: var(--ink); color: #fff; }
.hero .btn--outline, .cta .btn--outline, .hero2 .btn--outline { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.hero .btn--outline:hover, .cta .btn--outline:hover, .hero2 .btn--outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.16); }

/* ---------- Floating pill header ---------- */
.topbar { display: none; }
.site-header {
  top: 14px; left: 0; right: 0; margin: 0 auto;
  width: min(1240px, calc(100% - 28px));
  background: rgba(255,255,255,.97); border: 1px solid rgba(14,21,34,.05); border-radius: 22px;
  box-shadow: 0 12px 44px rgba(7,14,28,.16);
  backdrop-filter: none;
}
.site-header.scrolled { box-shadow: 0 12px 44px rgba(7,14,28,.2); }
.site-header .container { max-width: none; padding: .62rem .9rem .62rem 1.1rem; }
.site-header.scrolled .container { padding-block: .62rem; }
.brand .logo-mark { width: 40px; height: 40px; border: 0; border-radius: 11px; background: url(../img/ez-mark.png) center/cover no-repeat; font-size: 0; color: transparent; overflow: hidden; }
.brand .bt { font-family: var(--sans); font-weight: 800; font-size: 1.02rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink); }
.nav { gap: 1.3rem; }
.nav a.navlink { font-size: .9rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); }
.nav a.navlink:hover, .nav a.navlink.active { color: var(--gold); }
.nav a.navlink.active::after { display: none; }
.nav a.navlink--grant { color: var(--gold); font-weight: 800; }
.nav .btn { padding: .68rem 1.25rem; font-size: .88rem; }
.navphone { display: inline-flex; align-items: center; gap: .45rem; background: #e8f2ff; color: var(--gold); font-weight: 700; font-size: .88rem; padding: .62rem 1rem; border-radius: 999px; white-space: nowrap; }
.navphone:hover { background: var(--gold); color: #fff; }
.menu-toggle span { background: var(--ink); }

/* ---------- Top marquee promo bar ---------- */
.promobar { background: linear-gradient(90deg, #036ac2, #1f9bff 55%, #036ac2); }
.promobar:hover { background: var(--ink); }

/* ---------- Homepage hero (centered, photo, bold) ---------- */
.hero2 { position: relative; min-height: min(100vh, 860px); display: flex; align-items: center; justify-content: center; text-align: center; isolation: isolate; overflow: hidden; color: #fff; }
.hero2 .hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.hero2::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,14,28,.62) 0%, rgba(7,14,28,.45) 45%, rgba(7,14,28,.78) 100%); }
.hero2 .container { padding-top: 130px; padding-bottom: 110px; }
.hero2 .area-line { font-size: .74rem; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 1.6rem; }
.hero2 h1 { color: #fff; font-size: clamp(2.5rem, 6.6vw, 5rem); letter-spacing: -.035em; font-weight: 800; line-height: 1.02; max-width: 15ch; margin: 0 auto 1.3rem; }
.hero2 h1 .hl { background: linear-gradient(90deg, #7cc4ff, #36a8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .sub { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.88); max-width: 56ch; margin: 0 auto 1.4rem; font-weight: 400; }
.hero2 .chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 2rem; }
.hero2 .chips span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); border-radius: 999px; padding: .5rem 1rem; font-size: .84rem; font-weight: 600; color: #fff; }
.hero2 .rating { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.9); margin-bottom: 2rem; }
.hero2 .rating .stars { color: #ffc24b; letter-spacing: 3px; }
.hero2 .hero-actions { justify-content: center; }
.hero2 .scroll-cue { color: rgba(255,255,255,.7); }

/* ---------- Trust marquee strip ---------- */
.tstrip { background: var(--grad); color: #fff; overflow: hidden; padding: 1.15rem 0 1.25rem; text-align: center; }
.tstrip .lbl { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; opacity: .85; margin-bottom: .6rem; }
.tstrip .viewport { overflow: hidden; white-space: nowrap; }
.tstrip .track { display: inline-flex; align-items: center; animation: pb-marquee 38s linear infinite; will-change: transform; }
.tstrip .group { display: inline-flex; align-items: center; flex: none; }
.tstrip .it { font-size: clamp(1.05rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 0 1.6rem; }
.tstrip .dot { opacity: .5; font-size: .7rem; }
@media (prefers-reduced-motion: reduce) { .tstrip .track { animation: none; } }

/* ---------- Why / wizard two-column ---------- */
.why { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.why h2 { max-width: 14ch; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 2rem; }
.mini { background: #fff; border-radius: 16px; padding: 1.1rem 1.1rem 1.15rem; box-shadow: 0 6px 22px rgba(14,21,34,.06); border: 1px solid var(--line); }
.mini .ic { width: 34px; height: 34px; border-radius: 10px; background: #e8f2ff; color: var(--gold); display: grid; place-items: center; margin-bottom: .7rem; }
.mini b { display: block; font-size: .95rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.mini span { display: block; font-size: .8rem; color: var(--muted); margin-top: .2rem; line-height: 1.35; }

/* ---------- Wizard ---------- */
.wiz { background: #fff; border-radius: 26px; box-shadow: 0 24px 70px rgba(14,21,34,.16); border: 1px solid var(--line); overflow: hidden; position: relative; }
.wiz::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad); }
.wiz-in { padding: clamp(24px, 3.2vw, 38px); }
.wiz h3.wiz-title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); text-align: center; margin: .3rem 0 .35rem; }
.wiz .wiz-sub { text-align: center; color: var(--muted); font-size: .86rem; margin: 0 0 1.4rem; }
.wiz-prog { display: flex; align-items: center; gap: 8px; margin-bottom: 1.5rem; }
.wiz-prog i { flex: 1; height: 6px; border-radius: 6px; background: #e4e9f1; transition: background .3s; }
.wiz-prog i.on { background: var(--grad); }
.wiz-prog small { font-size: .74rem; font-weight: 600; color: var(--muted); white-space: nowrap; margin-left: .3rem; }
.wiz-q { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 1rem; }
.wiz-opts { display: grid; gap: 10px; }
.wiz-opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: #f6f8fb; border: 1.5px solid transparent; border-radius: 16px; padding: .95rem 1.1rem; cursor: pointer; font: inherit; color: var(--ink); transition: .2s; }
.wiz-opt:hover { border-color: var(--gold); background: #fff; box-shadow: 0 8px 24px rgba(3,106,194,.12); transform: translateY(-1px); }
.wiz-opt.sel { border-color: var(--gold); background: #eef6ff; }
.wiz-opt .oi { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #e8f2ff; color: var(--gold); display: grid; place-items: center; }
.wiz-opt b { display: block; font-size: .98rem; font-weight: 700; line-height: 1.25; }
.wiz-opt span.d { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.wiz-hint { text-align: center; font-size: .78rem; color: var(--muted); margin: 1rem 0 0; }
.wiz-back { background: none; border: 0; color: var(--muted); font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; padding: .4rem 0; margin-top: .9rem; }
.wiz-back:hover { color: var(--gold); }
.wiz-form .row2 { gap: 10px; }
.wiz-form .field { margin-bottom: 10px; }
.wiz-form .field label { font-size: .7rem; letter-spacing: .12em; font-weight: 700; color: var(--ink-dim); }
.wiz-form input[type=text], .wiz-form input[type=tel], .wiz-form input[type=email] { border-radius: 14px; border: 1.5px solid #dfe5ee; padding: .9rem 1rem; background: #f9fbfd; font-size: 1rem; }
.wiz-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(3,106,194,.14); background: #fff; outline: none; }
.wiz-check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-dim); margin: .4rem 0 1.1rem; line-height: 1.4; cursor: pointer; }
.wiz-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.wiz-form .btn { width: 100%; justify-content: center; }
.wiz-err { color: #c0392b; font-size: .82rem; margin: -.2rem 0 .8rem; display: none; }
.wiz-done { text-align: center; padding: 1.2rem .4rem 1.6rem; }
.wiz-done .ok { width: 68px; height: 68px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; margin: 0 auto 1.2rem; box-shadow: 0 12px 30px rgba(3,106,194,.35); }
.wiz-done h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.wiz-done p { color: var(--ink-dim); margin: 0 auto .9rem; max-width: 36ch; }
.wiz-step { animation: wizin .35s ease; }
@keyframes wizin { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* Modal wrapper */
.wiz-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(7,14,28,.62); backdrop-filter: blur(5px); overflow-y: auto; }
.wiz-modal.open { display: flex; }
.wiz-modal .wiz { width: min(540px, 100%); max-height: calc(100dvh - 36px); overflow-y: auto; margin: auto; }
.wiz-x { position: absolute; right: 14px; top: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #eef1f6; cursor: pointer; font-size: 1.2rem; line-height: 1; color: var(--ink); z-index: 2; }
.wiz-x:hover { background: var(--ink); color: #fff; }

/* Sticky quote button (bottom-right) */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: inline-flex; align-items: center; gap: .6rem; background: var(--grad); color: #fff; font-weight: 800; font-size: .95rem; padding: .95rem 1.4rem; border-radius: 999px; border: 0; cursor: pointer; box-shadow: 0 16px 40px rgba(3,106,194,.45); font-family: var(--sans); }
.fab:hover { filter: brightness(1.08); transform: translateY(-2px); }
.fab small { display: block; font-weight: 600; opacity: .85; font-size: .68rem; letter-spacing: .04em; line-height: 1; }
.fab .t { line-height: 1.15; text-align: left; }

/* ---------- Section: services cards (photo) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 20px; margin-top: 3rem; }
.svc { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 34px rgba(14,21,34,.07); display: flex; flex-direction: column; transition: .3s; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 22px 54px rgba(14,21,34,.14); }
.svc .ph { aspect-ratio: 4/3; overflow: hidden; background: #dfe6ef; }
.svc .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.svc:hover .ph img { transform: scale(1.06); }
.svc .bd { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.svc .kick { font-size: .68rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.svc h3 { font-size: 1.2rem; margin-bottom: .7rem; }
.svc ul { display: grid; gap: .45rem; margin: 0 0 1.3rem; }
.svc li { font-size: .9rem; color: var(--ink-dim); padding-left: 1.5rem; position: relative; }
.svc li::before { content: ""; position: absolute; left: 0; top: .42em; width: 12px; height: 12px; border-radius: 50%; background: #e8f2ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23036ac2' stroke-width='4'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/8px no-repeat; }
.svc .btn { margin-top: auto; align-self: flex-start; padding: .7rem 1.3rem; font-size: .88rem; }

/* ---------- Grant / steps band ---------- */
.grant { background: radial-gradient(1200px 500px at 85% -10%, rgba(31,155,255,.35), transparent 60%), #0a1426; color: #fff; }
.grant h2, .grant h3 { color: #fff; }
.grant .lead { color: rgba(255,255,255,.78); }
.grant .eyebrow { color: var(--gold-lt); }
.gsteps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 2.6rem; }
.gstep { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 1.5rem 1.4rem; }
.gstep .n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); font-weight: 800; margin-bottom: .9rem; }
.gstep h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.gstep p { font-size: .88rem; color: rgba(255,255,255,.7); margin: 0; }
.grant .fine { color: rgba(255,255,255,.55); font-size: .78rem; margin-top: 1.4rem; max-width: 70ch; }

/* ---------- Portfolio grid ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 2.6rem; }
.pgrid .gtile { aspect-ratio: 4/5; border-radius: 18px; box-shadow: 0 8px 26px rgba(14,21,34,.1); }
.pgrid .gtile.wide { grid-column: span 2; aspect-ratio: auto; }
.gtile .cap { opacity: 1; transform: none; padding: 2.4rem 1.1rem 1rem; background: linear-gradient(transparent, rgba(7,14,28,.82)); }
.gtile .cap b { font-family: var(--sans); font-size: .98rem; font-weight: 800; letter-spacing: -.01em; }
.gtile .cap span { color: #bfe0ff; font-size: .68rem; letter-spacing: .14em; font-weight: 700; }

/* ---------- Reviews ---------- */
.qcard { border-radius: 20px; background: #fff; box-shadow: 0 8px 28px rgba(14,21,34,.07); padding: 1.7rem; }
.qcard .mark { display: none; }
.qcard p { font-family: var(--sans); font-style: normal; font-size: .98rem; line-height: 1.6; color: var(--ink-dim); font-weight: 500; }
.qcard .who { border-top: 1px solid var(--line); }
.qcard .who .av { border-radius: 50%; border: 0; background: #e8f2ff; color: var(--gold); font-family: var(--sans); font-weight: 800; }
.qcard .who span { text-transform: none; letter-spacing: 0; }

/* ---------- Cards, chips, split media, forms ---------- */
.scard { background: #fff; border-radius: 20px; border: 1px solid var(--line); padding: 1.9rem 1.7rem; box-shadow: 0 8px 28px rgba(14,21,34,.06); }
.scard::before { display: none; }
.scard:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(14,21,34,.12); }
.scard .ic { color: var(--gold); }
.scard p { font-weight: 400; }
.areas span, .areas a { border-radius: 999px; background: #fff; border: 1px solid var(--line-2); text-transform: none; letter-spacing: 0; font-size: .88rem; font-weight: 600; padding: .55rem 1.1rem; color: var(--ink); }
.areas span:hover, .areas a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media .frame-line { display: none; }
.split-media .tag { background: var(--grad); border-radius: 999px; left: 18px; bottom: 18px; padding: .55rem 1.1rem; letter-spacing: .08em; }
.checklist li { font-weight: 400; }
.formwrap { border-radius: 24px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.field label { letter-spacing: .1em; font-weight: 700; }
.field input, .field select, .field textarea { border-radius: 14px; border: 1.5px solid #dfe5ee; background: #f9fbfd; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(3,106,194,.14); background: #fff; }
.pstep { border-top: 2px solid var(--line-2); }
.pstep::before { font-family: var(--sans); font-weight: 800; }
.stat .n { font-family: var(--sans); font-weight: 800; }
.faq summary { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 1.2rem 1.4rem; margin-bottom: 10px; }
.faq details p { font-weight: 400; }
.strip { background: #fff; }
.strip .si { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .9rem; }
.bcard { border-radius: 20px; background: #fff; }
.bcard-body h3 { font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; }
.prose, .prose h2, .prose h3 { font-family: var(--sans); }
.prose { font-weight: 400; }
.post-note { background: #eef6ff; border-left-color: var(--gold); }
.gtile { border-radius: 16px; }
.photo-grid .gtile { border-radius: 16px; }

/* ---------- Inner-page hero ---------- */
.page-hero { padding: 130px 0 clamp(60px, 7vw, 96px); }
.page-hero::before { background: linear-gradient(180deg, rgba(7,14,28,.6), rgba(7,14,28,.82)); }
.page-hero h1 { color: #fff; letter-spacing: -.02em; font-size: clamp(2rem, 4.8vw, 3.4rem); }
.page-hero p { font-weight: 400; }
.crumb { letter-spacing: .12em; font-weight: 600; }

/* ---------- Band / CTA ---------- */
.band::before { background: linear-gradient(90deg, rgba(7,14,28,.88), rgba(7,14,28,.5)); }
.cta::before { background: linear-gradient(180deg, rgba(7,14,28,.72), rgba(7,14,28,.86)); }
.cta h2, .band h2 { letter-spacing: -.025em; }
.cta p { font-weight: 400; }

/* ---------- Footer ---------- */
.site-footer { background: #08101f; color: #aab6c8; }
.site-footer h4 { font-family: var(--sans); font-weight: 800; letter-spacing: .18em; color: #fff; }
.site-footer a { color: #aab6c8; font-weight: 400; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-weight: 400; color: #8f9db2; }
.site-footer .brand .bt { color: #fff; }
.site-footer .brand .logo-mark { border: 0; }
.fbar { border-top-color: rgba(255,255,255,.1); color: #7e8ca1; }
.socials a { border-radius: 50%; border-color: rgba(255,255,255,.18); }
.fareas { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.6rem; padding-top: 2rem; }
.fareas h4 { margin-bottom: 1rem; }
.fareas-list { display: flex; flex-wrap: wrap; gap: .5rem .55rem; }
.fareas-list a { font-size: .85rem; padding: .38rem .9rem; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; }
.fareas-list a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ---------- Mobile ---------- */
@media (max-width: 1240px) { .navphone .t { display: none; } .navphone { padding: .62rem .8rem; } }
@media (max-width: 1100px) { .nav { gap: 1rem; } .nav a.navlink { font-size: .86rem; } }
@media (max-width: 980px) {
  .why { grid-template-columns: 1fr; }
  .why h2 { max-width: none; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .site-header { top: 10px; width: calc(100% - 20px); border-radius: 18px; }
  .site-header .container { padding: .55rem .8rem .55rem .9rem; }
  .nav { background: #fff; }
  .nav .navphone { width: 100%; justify-content: center; }
  .nav .navphone .t { display: inline; }
  .hero2 .container { padding-top: 110px; padding-bottom: 90px; }
  .hero2 h1 { letter-spacing: -.03em; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .fab { display: none; }
  .callbar { background: #08101f; }
  .callbar a.call { background: var(--grad); }
  .wiz-modal { padding: 10px; align-items: flex-end; }
  .wiz-modal .wiz { border-radius: 24px 24px 18px 18px; max-height: calc(100dvh - 20px); }
}
@media (max-width: 520px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pgrid .gtile.wide { grid-column: span 2; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .wiz-in { padding: 22px 18px; }
}

/* ---------- Promo marquee: now a bigger band right under the hero ---------- */
.promobar.promobar--band { position: relative; top: auto; left: auto; right: auto; z-index: 5; background: linear-gradient(90deg, #036ac2, #1f9bff 50%, #036ac2); box-shadow: 0 -1px 0 rgba(255,255,255,.12) inset; }
.promobar--band:hover { background: linear-gradient(90deg, #0a1426, #123a6b 50%, #0a1426); }
.promobar--band .promobar__track { animation-duration: 52s; }
.promobar--band .pb-item { padding: 1.25rem 0; font-size: 1.2rem; font-weight: 600; letter-spacing: -.005em; }
.promobar--band .pb-item b { font-weight: 800; }
.promobar--band .pb-ico { margin-right: .55rem; }
.promobar--band .pb-sep { margin: 0 2.4rem; font-size: .8rem; opacity: .6; }
@media (max-width: 760px) {
  .promobar--band .pb-item { padding: 1rem 0; font-size: 1.02rem; }
  .promobar--band .pb-sep { margin: 0 1.5rem; }
  .promobar--band .promobar__track { animation-duration: 40s; }
}

/* service cards: 4 across, 2x2 on tablets, 1 on phones */
.svc-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TONED-DOWN PALETTE — neutrals carry the page, blue is the accent.
   (Delete everything from this comment down to go back to the full-blue look.)
   ============================================================ */
:root {
  --bg: #f7f6f3;
  --bg-2: #efede8;
  --bg-3: #ffffff;
  --ink: #12161d;
  --line: rgba(18,22,29,.09);
  --line-2: rgba(18,22,29,.16);
  --scrim: 10,12,16;
}
/* promo band: charcoal with blue only on the accents */
.promobar.promobar--band { background: #12161d; box-shadow: none; border-top: 3px solid var(--gold); }
.promobar--band:hover { background: #1b212c; }
.promobar--band .pb-sep { color: #4da3ff; opacity: 1; }
.promobar--band .pb-item b { color: #8ccbff; }
.promobar--band .pb-item { color: #fff; }
/* panels & small chips go neutral */
.section--panel { background: var(--bg-2); }
.mini .ic, .wiz-opt .oi, .svc li::before { background-color: #eaf1fb; }
.navphone { background: #eeede9; color: var(--ink); }
.navphone:hover { background: var(--ink); color: #fff; }
.wiz-opt { background: #f6f5f2; }
.wiz-opt.sel { background: #eef4fc; }
.wiz-prog i { background: #e6e3dc; }
.field input, .field select, .field textarea, .wiz-form input[type=text], .wiz-form input[type=tel], .wiz-form input[type=email] { background: #faf9f7; border-color: #e1ddd5; }
.areas span, .areas a { background: #fff; }
.faq details, .qcard, .mini, .svc, .scard, .bcard { box-shadow: 0 6px 22px rgba(18,22,29,.06); }
.svc .ph { background: #e7e4dd; }
.post-note { background: #f1efea; }
/* hero highlight stays blue; hero chips neutral glass */
.hero2::before { background: linear-gradient(180deg, rgba(10,12,16,.6) 0%, rgba(10,12,16,.42) 45%, rgba(10,12,16,.8) 100%); }
/* grant section: charcoal, a hint of blue glow */
.grant { background: radial-gradient(900px 380px at 85% -10%, rgba(31,155,255,.22), transparent 60%), #12161d; }
.gstep { background: rgba(255,255,255,.05); }
/* footer neutral dark */
.site-footer { background: #0d1015; }
.callbar { background: #0d1015; }
.band::before { background: linear-gradient(90deg, rgba(10,12,16,.88), rgba(10,12,16,.5)); }
.cta::before { background: linear-gradient(180deg, rgba(10,12,16,.7), rgba(10,12,16,.86)); }
.page-hero::before { background: linear-gradient(180deg, rgba(10,12,16,.58), rgba(10,12,16,.82)); }
/* buttons: flat brand blue instead of the glossy gradient */
.btn--gold { background: var(--gold); box-shadow: 0 8px 22px rgba(3,106,194,.28); }
.btn--gold:hover { background: #0558a3; filter: none; }
.fab { background: var(--ink); box-shadow: 0 14px 36px rgba(18,22,29,.4); }
.fab:hover { background: var(--gold); filter: none; }
.fab small { opacity: .75; }
.wiz::before { background: var(--gold); }
.wiz-prog i.on { background: var(--gold); }
.wiz-done .ok, .gstep .n { background: var(--gold); }

/* ============================================================
   My Safe Florida Home grant page
   ============================================================ */
.ghero { position: relative; color: #fff; text-align: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 480px at 50% -8%, rgba(31,155,255,.30), transparent 62%), radial-gradient(700px 420px at 12% 108%, rgba(3,106,194,.28), transparent 60%), #0d1015; }
.ghero .container { padding-top: 150px; padding-bottom: 90px; max-width: 900px; }
.gcard { display: inline-block; min-width: min(420px, 100%); padding: 1.3rem 2.4rem 1.4rem; margin-bottom: 2rem; border-radius: 26px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.gcard .up, .gcard .to { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.gcard .big { font-size: clamp(3.4rem, 10vw, 5.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; margin: .15rem 0 .3rem; background: linear-gradient(180deg, #fff 30%, #9fd3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ghero h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 4.2rem); letter-spacing: -.035em; line-height: 1.04; margin: 0 0 1.1rem; }
.ghero h1 .hl { background: linear-gradient(90deg, #7cc4ff, #36a8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ghero .sub { font-size: clamp(1.02rem, 1.7vw, 1.22rem); color: rgba(255,255,255,.82); max-width: 54ch; margin: 0 auto 1.8rem; }
.ghero .sub b { color: #fff; }
.ghero .hero-actions { justify-content: center; display: flex; gap: 1rem; flex-wrap: wrap; }
.gticks { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; margin-top: 2rem; font-size: .88rem; color: rgba(255,255,255,.7); }
.gticks span { display: inline-flex; align-items: center; gap: .45rem; }
.gticks svg { color: #4da3ff; flex: none; }

.gstats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-block: 2.4rem; }
.gstat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem 1rem; text-align: center; box-shadow: 0 6px 22px rgba(18,22,29,.05); }
.gstat .n { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; color: var(--gold); line-height: 1.1; }
.gstat .l { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }

.gsteps2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 2.8rem; }
.gstep2 { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.6rem 1.5rem 1.7rem; box-shadow: 0 8px 28px rgba(18,22,29,.06); }
.gstep2 .num { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--gold); line-height: 1; margin-bottom: 1rem; }
.gstep2 h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.gstep2 p { font-size: .92rem; color: var(--ink-dim); margin: 0; }

.gmath { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.calc { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem 1.6rem; box-shadow: 0 14px 40px rgba(18,22,29,.08); margin-bottom: 16px; }
.calc .row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1px dashed var(--line-2); font-size: .98rem; color: var(--ink-dim); }
.calc .row b { font-size: 1.15rem; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
.calc .row small { color: var(--muted); font-size: .76rem; }
.calc .row.match b { color: var(--gold); }
.calc .row.total { border-bottom: 0; padding-bottom: .2rem; }
.calc .row.total span { font-weight: 700; color: var(--ink); }
.calc .row.total b { font-size: 1.7rem; }

.gbens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 2.6rem; }
.gben { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem 1.6rem; box-shadow: 0 8px 28px rgba(18,22,29,.06); }
.gben .ic { width: 50px; height: 50px; border-radius: 15px; background: #eaf1fb; color: var(--gold); display: grid; place-items: center; margin-bottom: 1.1rem; }
.gben h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.gben p { color: var(--ink-dim); font-size: .95rem; margin: 0; }
.gdisc { font-size: .76rem; color: rgba(255,255,255,.55); max-width: 76ch; margin: 2.4rem auto 0; line-height: 1.5; }

@media (max-width: 980px) {
  .gsteps2 { grid-template-columns: repeat(2, 1fr); }
  .gmath { grid-template-columns: 1fr; }
  .gbens { grid-template-columns: 1fr; }
  .gstats .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gsteps2 { grid-template-columns: 1fr; }
  .ghero .container { padding-top: 120px; padding-bottom: 70px; }
  .gcard { padding: 1.1rem 1.4rem; }
}

/* grant journey timeline (who does what) */
.gtl { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 3.4rem; }
.gtl::before { content: ""; position: absolute; left: 12%; right: 12%; top: 30px; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 18px); }
.gtl-step { position: relative; text-align: center; padding: 0 .4rem; }
.gtl-step .node { position: relative; z-index: 1; width: 62px; height: 62px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--bg-2); box-shadow: 0 8px 22px rgba(18,22,29,.12); color: var(--ink); }
.gtl-step .who { display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .18em; padding: .3rem .8rem; border-radius: 999px; margin-bottom: .8rem; }
.who-you { background: #12161d; color: #fff; }
.who-state { background: #e4e1da; color: #3a3f48; }
.who-us { background: var(--gold); color: #fff; }
.gtl-step:nth-child(3) .node { background: var(--gold); color: #fff; border-color: #cfe3f7; }
.gtl-step h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.gtl-step p { font-size: .92rem; color: var(--ink-dim); margin: 0 auto; max-width: 30ch; }
.gtl-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 2.6rem 0 0; font-size: .82rem; color: var(--muted); }
.gtl-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.gtl-legend .dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.gtl-legend .dot.you { background: #12161d; } .gtl-legend .dot.state { background: #cfcac0; } .gtl-legend .dot.us { background: var(--gold); }
@media (max-width: 900px) {
  .gtl { grid-template-columns: 1fr; gap: 28px; padding-left: 12px; }
  .gtl::before { left: 42px; right: auto; top: 30px; bottom: 30px; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 10px, transparent 10px 18px); }
  .gtl-step { text-align: left; padding-left: 88px; }
  .gtl-step .node { position: absolute; left: 0; top: 0; margin: 0; }
  .gtl-step p { margin: 0; max-width: none; }
}

/* grant page: breadcrumb, trust block, guides */
.gcrumb { display: flex; justify-content: center; gap: .6rem; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 1.4rem; }
.gcrumb a { color: rgba(255,255,255,.75); } .gcrumb a:hover { color: #fff; }
.gtrust { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 50px); align-items: start; }
.gwho { display: flex; gap: 1.6rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1.6rem; box-shadow: 0 10px 34px rgba(18,22,29,.07); }
.gwho img { width: 130px; height: 160px; object-fit: cover; border-radius: 16px; flex: none; }
.gwho h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.gwho p { font-size: .95rem; color: var(--ink-dim); }
.gguides { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1.6rem 1.7rem; box-shadow: 0 10px 34px rgba(18,22,29,.07); }
.gguides h3 { font-size: 1.1rem; margin-bottom: .8rem; }
.gguides ul { display: grid; gap: .55rem; }
.gguides a { font-weight: 600; font-size: .94rem; }
@media (max-width: 900px) { .gtrust { grid-template-columns: 1fr; } .gwho { flex-direction: column; } .gwho img { width: 100%; height: 240px; } }

/* images with width/height attributes must still follow the layout's aspect ratio */
.split-media img { height: auto; }

/* five service cards: 3 across, then 2 centered */
@media (min-width: 1101px) {
  .svc-grid { grid-template-columns: repeat(6, 1fr); }
  .svc-grid .svc { grid-column: span 2; }
  .svc-grid .svc:nth-child(4) { grid-column: 2 / span 2; }
  .svc-grid .svc:nth-child(5) { grid-column: 4 / span 2; }
}
@media (min-width: 561px) and (max-width: 1100px) {
  .svc-grid .svc:nth-child(5) { grid-column: 1 / -1; width: calc(50% - 10px); justify-self: center; }
}

/* service card photos: square so full doors and houses fit */
.svc .ph { aspect-ratio: 1 / 1; }

/* ============ homepage video hero ============ */
.hero2 .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero2--video::before { background: linear-gradient(180deg, rgba(8,10,14,.55) 0%, rgba(8,10,14,.38) 42%, rgba(8,10,14,.82) 100%); }
@media (prefers-reduced-motion: reduce) { .hero2 .hero-video { display: none; } }
.hero2 h1 { max-width: 21ch; font-size: clamp(2.2rem, 5.2vw, 4.2rem); min-height: 2.15em; }
.rot { display: inline-block; transition: opacity .32s ease, transform .32s ease; }
.rot.rot-out { opacity: 0; transform: translateY(.22em); }
.hero-cities { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem .9rem; margin: 1.8rem auto 0; max-width: 980px; font-size: .84rem; color: rgba(255,255,255,.75); }
.hero-cities span { font-weight: 800; letter-spacing: .22em; text-transform: uppercase; font-size: .68rem; color: rgba(255,255,255,.55); margin-right: .3rem; }
.hero-cities a { color: rgba(255,255,255,.88); font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.2); }
.hero-cities a:hover { color: #fff; border-color: #fff; }
.hero-cities a.all { color: #8ccbff; border-color: rgba(140,203,255,.35); }
@media (max-width: 760px) { .hero2 h1 { min-height: 0; } .hero-cities { font-size: .78rem; } }

.hero2 h1 { max-width: 26ch; font-size: clamp(2rem, 4.9vw, 3.9rem); min-height: 2.1em; }
.hero2 h1 .hl { display: block; }

/* commercial pages: video behind the page header */
.page-hero--video { isolation: isolate; overflow: hidden; }
.page-hero--video .ph-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.page-hero--video::before { background: linear-gradient(180deg, rgba(8,10,14,.5), rgba(8,10,14,.72)); }
@media (prefers-reduced-motion: reduce) { .page-hero--video .ph-video { display: none; } }

/* video a touch brighter; keep text readable with soft shadows */
.hero2--video::before { background: linear-gradient(180deg, rgba(8,10,14,.44) 0%, rgba(8,10,14,.26) 42%, rgba(8,10,14,.7) 100%); }
.hero2 .hero-video { filter: brightness(1.12) contrast(1.05) saturate(1.08); }
.hero2--video h1, .hero2--video .sub { text-shadow: 0 2px 22px rgba(0,0,0,.45); }
.page-hero--video::before { background: linear-gradient(180deg, rgba(8,10,14,.42), rgba(8,10,14,.66)); }
.page-hero--video .ph-video { filter: brightness(1.08) saturate(1.05); }
.page-hero--video h1, .page-hero--video p { text-shadow: 0 2px 20px rgba(0,0,0,.4); }

/* promo band: four copies, loop distance = half the track (two copies), same speed as before */
.promobar--band .promobar__track { animation-duration: 104s; }
@media (max-width: 760px) { .promobar--band .promobar__track { animation-duration: 80s; } }

/* rotating headline words: stacked cross-fade, no layout jump */
.rot { display: inline-grid; justify-items: center; transition: none; }
.rot > span { grid-area: 1 / 1; opacity: 0; transform: translateY(.16em); transition: opacity .6s ease, transform .6s ease; white-space: nowrap; }
.rot > span.on { opacity: 1; transform: none; }
.hero2 h1 .rot-city { display: inline-grid; }
@media (max-width: 560px) { .rot > span { white-space: normal; } }

/* ============================================================
   PROMO STRIP — blended into the hero: thin, transparent, soft text, slow scroll
   (delete from here down to restore the big dark band)
   ============================================================ */
.promobar.promobar--band {
  margin-top: -42px; height: 42px; position: relative; z-index: 4;
  background: linear-gradient(180deg, rgba(8,10,14,0) 0%, rgba(8,10,14,.45) 100%);
  border: 0; box-shadow: none;
}
.promobar--band:hover { background: linear-gradient(180deg, rgba(8,10,14,0) 0%, rgba(8,10,14,.7) 100%); }
.promobar--band .promobar__viewport { height: 100%; display: flex; align-items: flex-end; }
.promobar--band .promobar__track { animation-duration: 140s; }
.promobar--band .pb-item { padding: .62rem 0; font-size: .8rem; font-weight: 500; letter-spacing: .02em; color: rgba(255,255,255,.62); }
.promobar--band .pb-item b { font-weight: 600; color: rgba(255,255,255,.88); }
.promobar--band .pb-ico { display: none; }
.promobar--band .pb-sep { margin: 0 1.8rem; font-size: .5rem; opacity: .35; color: #fff; }
.promobar--band:hover .pb-item { color: rgba(255,255,255,.9); }
.hero2 .scroll-cue { bottom: 62px; }
@media (max-width: 760px) {
  .promobar.promobar--band { margin-top: -38px; height: 38px; }
  .promobar--band .pb-item { font-size: .74rem; padding: .55rem 0; }
  .promobar--band .promobar__track { animation-duration: 110s; }
}

/* city line: gradient lives on each word, not the wrapper (background-clip breaks on cross-fading children) */
.hero2 h1 .hl { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #5ab0ff; }
.hero2 h1 .rot-city > span { background: linear-gradient(90deg, #86c9ff, #36a8ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* homepage hero fills the whole screen; no scroll cue */
.hero2 { min-height: 100vh; min-height: 100svh; }
.hero2 .scroll-cue { display: none; }
@media (max-width: 760px) { .hero2 { min-height: calc(100vh - 53px); min-height: calc(100svh - 53px); } }

/* four service cards: 4 across, 2x2 on tablets */
@media (min-width: 1101px) {
  .svc-grid { grid-template-columns: repeat(4, 1fr); }
  .svc-grid .svc, .svc-grid .svc:nth-child(4), .svc-grid .svc:nth-child(5) { grid-column: auto; }
}
@media (min-width: 561px) and (max-width: 1100px) {
  .svc-grid .svc:nth-child(5) { width: auto; justify-self: stretch; grid-column: auto; }
}

/* full-screen video header (contractors page) */
.page-hero--full { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding-top: 130px; padding-bottom: 90px; }
.page-hero--full .container { width: 100%; }
@media (max-width: 760px) { .page-hero--full { min-height: calc(100vh - 53px); min-height: calc(100svh - 53px); } }

/* ============================================================
   iPhone / iOS Safari friendly layer
   ============================================================ */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; }
a, button, summary, .wiz-opt { -webkit-tap-highlight-color: rgba(3,106,194,.12); touch-action: manipulation; }
/* Safari needs the -webkit- prefix for blur */
.hero2 .chips span, .gcard, .hero .btn--outline, .cta .btn--outline, .hero2 .btn--outline { -webkit-backdrop-filter: blur(8px); }
/* iOS draws its own rounded inputs / buttons unless reset */
input, select, textarea, button { -webkit-appearance: none; appearance: none; border-radius: 14px; }
input[type=checkbox] { -webkit-appearance: auto; appearance: auto; border-radius: 4px; }

@supports (padding: max(0px)) {
  .callbar { padding-bottom: env(safe-area-inset-bottom); }
  .site-header { margin-top: env(safe-area-inset-top); }
  .fab { right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); }
  .wiz-modal { padding-left: max(10px, env(safe-area-inset-left)); padding-right: max(10px, env(safe-area-inset-right)); padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: env(safe-area-inset-bottom); }
}

@media (max-width: 760px) {
  /* inputs under 16px make iOS zoom the whole page when focused */
  input, select, textarea, .field input, .field select, .field textarea, .wiz-form input[type=text], .wiz-form input[type=tel], .wiz-form input[type=email] { font-size: 16px !important; }
  /* comfortable thumb targets (Apple guideline: 44px) */
  .btn, .btn--lg, .menu-toggle, .nav a.navlink, .nav a.btn, .navphone, .wiz-back, .wiz-x, .faq summary, .callbar a, .areas a, .footer a { min-height: 44px; }
  .btn, .btn--lg { padding-top: .9rem; padding-bottom: .9rem; }
  .menu-toggle { width: 46px; height: 46px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
  .areas a, .areas span { padding: .75rem 1.1rem; }
  .site-footer ul li { margin: 0; }
  .site-footer ul a { display: inline-block; padding: .35rem 0; }
  .fareas-list a { padding: .6rem 1rem; }
  /* background-attachment: fixed is broken on iOS */
  .band, .cta, .page-hero { background-attachment: scroll !important; }
  /* the dropdown menu respects the notch and home bar */
  .nav { padding-top: max(2rem, env(safe-area-inset-top)); padding-bottom: max(2rem, env(safe-area-inset-bottom)); }
  /* the quote popup uses the visible area, not the area behind Safari's toolbar */
  .wiz-modal { align-items: flex-end; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .wiz-modal .wiz { max-height: calc(100dvh - 20px); max-height: calc(100svh - 20px); -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  body.modal-open { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
  h1 { word-break: normal; overflow-wrap: break-word; hyphens: manual; }
  .gtl-legend { justify-content: flex-start; }
}
/* 100vh on iOS includes the area behind the toolbar; svh/-webkit-fill-available fix the full-screen hero */
@supports (-webkit-touch-callout: none) {
  .hero2 { min-height: -webkit-fill-available; }
  @media (max-width: 760px) { .hero2 { min-height: calc(100svh - 53px); } .page-hero--full { min-height: calc(100svh - 53px); } }
}
@media (max-width: 760px) {
  /* stand-alone links get a full thumb-sized hit area (inline links inside paragraphs stay inline) */
  .crumb a, .gcrumb a, .bcard-read, .post-back, .gguides a, p.muted > a:only-child, .center.muted a { display: inline-block; padding: .7rem .2rem; min-height: 44px; line-height: 1.5; }
  .gguides ul { gap: 0; }
  .gguides li { border-bottom: 1px solid var(--line); }
  .gguides li:last-child { border-bottom: 0; }
}

/* learning center hub */
.lgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 2.4rem; }
.lcat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 1.6rem; box-shadow: 0 8px 28px rgba(18,22,29,.05); }
.lcat h2 { font-size: 1.05rem; letter-spacing: .02em; margin-bottom: .8rem; color: var(--gold); }
.lcat ul { display: grid; gap: .1rem; }
.lcat a { display: block; padding: .55rem 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .94rem; color: var(--ink); line-height: 1.35; }
.lcat li:last-child a { border-bottom: 0; }
.lcat a:hover { color: var(--gold); }
@media (max-width: 760px) { .lgrid { grid-template-columns: 1fr; } .lcat a { padding: .8rem 0; } }

/* headline: fixed "most trusted" lead line, then rotating service + city (no clipping) */
.hero2 h1 .h1-lead { display: block; }
.hero2 h1 { max-width: 30ch; min-height: 3.2em; }
.hero2 h1 .rot:not(.rot-city) > span { white-space: normal; }
@media (max-width: 760px) { .hero2 h1 { min-height: 0; max-width: none; } }
