/* ==========================================================================
   My AC Dude — site styles
   ========================================================================== */

:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --blue: #1269db;
  --blue-600: #0a56bd;
  --blue-light: #2b8cff;
  --ice: #eaf3ff;
  --ice-2: #f5f9ff;
  --orange: #ff7a1a;
  --orange-600: #e8650a;
  --green: #15a34a;
  --red: #dc2626;
  --ink: #0f1d2e;
  --text: #3a4a5e;
  --muted: #64748b;
  --line: #dbe5f1;
  --white: #fff;

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

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 2px 8px rgba(11, 37, 69, .05);
  --shadow: 0 10px 30px -12px rgba(11, 37, 69, .22);
  --shadow-lg: 0 24px 60px -20px rgba(11, 37, 69, .35);
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.015em;
  font-weight: 800;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
strong { color: var(--ink); font-weight: 650; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 650; font-size: 1rem; line-height: 1.2;
  padding: .95em 1.5em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(255, 122, 26, .7); }
.btn-primary:hover { background: var(--orange-600); color: #fff; box-shadow: 0 12px 24px -8px rgba(255, 122, 26, .75); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(18, 105, 219, .6); }
.btn-blue:hover { background: var(--blue-600); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.btn-light:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-sm { padding: .7em 1.2em; font-size: .94rem; }
.btn-lg { padding: 1.1em 1.9em; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn svg { flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row.center { justify-content: center; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c9d8ec; font-size: .86rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; }
.topbar-note { display: flex; align-items: center; gap: 8px; }
.topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); }
.topbar-meta { display: flex; gap: 18px; }
.topbar-meta a { color: #fff; font-weight: 600; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(11, 37, 69, .35); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand .logo-mark { width: 44px; height: 44px; }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1; }
.brand-my { color: var(--navy); }
.brand-ac { color: var(--blue); }
.brand-dude { color: var(--orange); }
.brand-light .brand-my { color: #fff; }
.brand-light .brand-ac { color: #6eb0ff; }

.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav > ul > li { position: relative; display: flex; align-items: center; }
.site-nav a:not(.btn) {
  display: block; padding: 10px 12px; border-radius: 10px;
  color: var(--ink); font-weight: 550; font-size: .97rem; text-decoration: none; white-space: nowrap;
}
.site-nav a:not(.btn):hover, .site-nav a.is-active { color: var(--blue); }
.site-nav a.is-active { background: var(--ice); }
.sub-toggle { display: none; }
.has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; vertical-align: 3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6;
}
.sub {
  position: absolute; top: calc(100% + 6px); left: -8px; min-width: 270px;
  list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.sub::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { padding: 10px 14px; font-size: .95rem; }
.sub a:hover { background: var(--ice-2); }
.nav-mobile-cta { display: none; }

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 700; text-decoration: none; }
.header-phone svg { color: var(--blue); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--ice-2); border-bottom: 1px solid var(--line); font-size: .88rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 12px 0; }
.breadcrumbs li { color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #a9b8cb; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #dbe7f6; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media 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(11,37,69,.97) 0%, rgba(11,37,69,.9) 38%, rgba(11,37,69,.45) 66%, rgba(11,37,69,.1) 100%);
}
.hero-inner { padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 128px); max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 .hl { color: #6eb0ff; }
.hero-lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: #d0def0; max-width: 560px; margin-bottom: 1.8em; }
.hero-points { list-style: none; padding: 0; margin: 2em 0 0; display: flex; flex-wrap: wrap; gap: 12px 26px; font-weight: 550; color: #fff; font-size: .97rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
}
.hero .eyebrow { color: #ffb37d; background: rgba(255, 122, 26, .14); border: 1px solid rgba(255, 122, 26, .35); padding: 6px 14px; border-radius: 999px; }

.check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--green); display: inline-grid; place-items: center; }
.check::after { content: ""; width: 9px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 26px 20px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--ice); color: var(--blue); display: grid; place-items: center; }
.trust-item strong { display: block; font-family: var(--font-head); font-size: 1.12rem; line-height: 1.2; }
.trust-item span { font-size: .9rem; color: var(--muted); line-height: 1.4; display: block; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-sm { padding: clamp(44px, 6vw, 72px) 0; }
.section-alt { background: var(--ice-2); }
.section-dark { background: var(--navy); color: #c9d8ec; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.12rem; color: var(--muted); margin: 0; }
.section-dark .section-head p { color: #b4c7df; }
.lead { font-size: 1.15rem; color: var(--text); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1a4a8a 100%); color: #cfdcef; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,140,255,.35), transparent 65%);
}
.page-hero .container { position: relative; z-index: 1; padding-top: clamp(52px, 7vw, 88px); padding-bottom: clamp(52px, 7vw, 88px); }
.page-hero h1 { color: #fff; max-width: 820px; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero p { font-size: 1.15rem; max-width: 720px; margin-bottom: 1.6em; }
.page-hero .eyebrow { color: #ffb37d; }
.page-hero p a { color: #ffc699; }
.page-hero p a:hover { color: #fff; }
.page-hero.has-image .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.page-hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover, .card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bcd3f0; }
.card-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: var(--ice); color: var(--blue); }
.card-icon.orange { background: #fff1e6; color: var(--orange); }
.card-icon.green { background: #e7f7ee; color: var(--green); }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 650; color: var(--blue); }
.card-link::after { content: "\2192"; transition: transform .2s ease; }
a.card:hover .card-link::after { transform: translateX(4px); }

.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card .media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ice); }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.service-card:hover .media img { transform: scale(1.05); }
.service-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card .body p { color: var(--muted); font-size: .98rem; }
.service-card .body .pill { align-self: flex-start; }
.service-card .card-link { margin-top: auto; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px 28px; box-shadow: var(--shadow-sm); }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-600)); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; box-shadow: 0 8px 18px -8px rgba(18,105,219,.7);
}
.step-num.sm { width: 30px; height: 30px; font-size: .95rem; margin: 0; flex: none; box-shadow: none; }
ol.checklist { list-style: none; }
.step h3 { font-size: 1.2rem; }
.step p { font-size: .98rem; color: var(--muted); margin: 0; }
.steps-vertical { display: grid; gap: 0; max-width: 860px; margin: 0 auto; }
.vstep { display: grid; grid-template-columns: 64px 1fr; gap: 24px; position: relative; padding-bottom: 44px; }
.vstep:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue-light), var(--line)); }
.vstep .step-num { width: 64px; height: 64px; font-size: 1.5rem; margin: 0; }
.vstep h3 { font-size: 1.45rem; margin-top: 12px; }
.vstep ul { margin-top: .6em; }

/* ---------- Split media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-badge {
  position: absolute; left: -18px; bottom: 28px; background: #fff; border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: 280px;
}
.media-badge .check { display: inline-grid; width: 36px; height: 36px; }
.media-badge .check::after { width: 13px; height: 7px; border-width: 3px; }
.media-badge strong { display: block; font-family: var(--font-head); font-size: 1.5rem; line-height: 1.1; color: var(--green); }
.media-badge span { font-size: .85rem; color: var(--muted); line-height: 1.35; display: block; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .check { margin-top: 3px; }
.checklist.two-col { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.xlist { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.xlist li { display: flex; gap: 12px; align-items: flex-start; }
.xmark { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #fde8e8; position: relative; margin-top: 3px; }
.xmark::before, .xmark::after { content: ""; position: absolute; left: 6px; top: 10px; width: 10px; height: 2.5px; background: var(--red); border-radius: 2px; transform: rotate(45deg); }
.xmark::after { transform: rotate(-45deg); }

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.compare-col { border-radius: var(--radius-lg); padding: 34px; border: 1px solid var(--line); background: #fff; }
.compare-col.them { background: #fbfcfe; }
.compare-col.us { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); position: relative; }
.compare-col.us::before {
  content: "The smarter way"; position: absolute; top: -14px; left: 30px; background: var(--blue); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.compare-col h3 { font-size: 1.35rem; }
.compare-rows { list-style: none; padding: 0; margin: 18px 0; }
.compare-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .98rem; }
.compare-rows li span:last-child { font-weight: 650; color: var(--ink); white-space: nowrap; }
.compare-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; }
.compare-total span:first-child { font-weight: 650; color: var(--ink); }
.compare-total .amt { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--ink); }
.compare-col.us .compare-total .amt { color: var(--blue); }
.savings-banner {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px;
  background: #e7f7ee; border: 1px solid #b7e6c9; color: #0f5f2f; border-radius: var(--radius); padding: 18px 24px; text-align: center; font-weight: 600;
}
.savings-banner strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--green); }
.fineprint { font-size: .85rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 560px; }
table.data th, table.data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: var(--ice-2); font-family: var(--font-head); color: var(--ink); font-weight: 700; }
table.data tr:last-child td { border-bottom: 0; }

/* ---------- Retailers ---------- */
.retailer { display: flex; flex-direction: column; }
.retailer-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.retailer-logo {
  flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: #fff; background: var(--navy);
}
.retailer-head h3 { margin: 0; font-size: 1.2rem; }
.retailer-head .domain { font-size: .86rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; padding: 0; list-style: none; }
.tags li { font-size: .78rem; font-weight: 600; color: var(--blue-600); background: var(--ice); padding: 4px 10px; border-radius: 999px; }
.retailer p { font-size: .97rem; color: var(--muted); }
.retailer .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Callouts ---------- */
.callout { border-radius: var(--radius-lg); padding: 28px 30px; background: var(--ice); border: 1px solid #c7dcf6; display: flex; gap: 18px; align-items: flex-start; }
.callout.warn { background: #fff6ec; border-color: #ffd6b3; }
.callout-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--blue); }
.callout.warn .callout-icon { color: var(--orange); }
.callout h3 { font-size: 1.15rem; margin-bottom: .3em; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-2 { grid-template-columns: 1fr 1fr !important; gap: 18px; }
.stats-2 .stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 30px 18px; }
.section-dark .eyebrow { color: #ffb37d; }
.section-dark .checklist li { color: #dbe7f6; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1.05; }
.stat span { color: #b4c7df; font-size: .97rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: #bcd3f0; box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%231269db' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 24px 20px; color: var(--text); }
.faq-a p:last-child, .faq-a ul:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { font-size: 1.6rem; margin-bottom: 18px; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.faq-nav a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .94rem; color: var(--navy); background: #fff; }
.faq-nav a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 64px); background: linear-gradient(120deg, var(--blue-600), var(--blue) 50%, var(--blue-light)); color: #e6f0ff; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -140px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .btn-row { position: relative; z-index: 1; flex-direction: column; align-items: stretch; }
@media (max-width: 860px) { .cta-band .btn-row { flex-direction: row; align-items: center; } }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-weight: 600; color: var(--ink); font-size: .94rem; margin-bottom: 7px; }
.field .req { color: var(--orange); }
.field .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fbfdff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(18, 105, 219, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field-error { color: var(--red); font-size: .85rem; margin-top: 6px; display: none; }
.field.has-error .field-error { display: block; }
.choice-group { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .94rem; font-weight: 550; color: var(--text); background: #fbfdff; transition: all .15s ease; }
.choice input:checked + span { border-color: var(--blue); background: var(--ice); color: var(--blue-600); }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-foot small { color: var(--muted); max-width: 420px; line-height: 1.5; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-weight: 550; display: none; }
.form-status.is-success { display: block; background: #e7f7ee; color: #0f5f2f; border: 1px solid #b7e6c9; }
.form-status.is-error { display: block; background: #fdecec; color: #8f1d1d; border: 1px solid #f6c3c3; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success-panel { text-align: center; padding: 30px 10px; }
.form-success-panel .big-check { width: 72px; height: 72px; margin: 0 auto 18px; }
.form-success-panel .big-check.check::after { width: 26px; height: 13px; border-width: 5px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.2rem; margin: 6px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); grid-column: 1 / -1; }

.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.contact-aside { display: grid; gap: 20px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line .card-icon { margin: 0; width: 46px; height: 46px; border-radius: 12px; }
.contact-line strong { display: block; }
.contact-line a { font-weight: 650; text-decoration: none; }

/* ---------- Prose (long-form content) ---------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose li { margin-bottom: .4em; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.sidebar-cta { background: var(--navy); color: #c9d8ec; border-radius: var(--radius-lg); padding: 28px; }
.sidebar-cta h3 { color: #fff; }
.sidebar-cta .btn { margin-top: 6px; }
.sidebar-cta .phone-link { display: block; margin-top: 14px; color: #fff; font-weight: 700; text-decoration: none; text-align: center; }
.sidebar-nav { list-style: none; margin: 0; padding: 0; }
.sidebar-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 550; }
.sidebar-nav a:hover, .sidebar-nav a[aria-current] { color: var(--blue); }

/* ---------- Areas ---------- */
.area-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.area-list li a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 550; color: var(--navy); font-size: .96rem; text-decoration: none; transition: border-color .2s ease, color .2s ease; }
.area-list li a:hover { border-color: var(--blue); color: var(--blue); }
.sidebar-areas { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; margin-bottom: 6px; }
.sidebar-areas a { font-size: .94rem; padding: 8px 0; }
.site-footer .footer-h a:not(.btn) { color: #fff; }
.zip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.zip-list li { background: var(--ice); color: var(--navy); border-radius: 8px; padding: 4px 10px; font-weight: 600; font-size: .9rem; }
.area-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 8px; }
.area-fact { background: var(--ice); border-radius: 14px; padding: 16px 18px; }
.area-fact strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; }
.area-fact span { font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) { .area-facts { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #081c35; color: #a9bcd6; font-size: .96rem; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin: 18px 0 22px; max-width: 360px; }
.footer-h { font-family: var(--font-head); font-size: 1.05rem; color: #fff; margin: 0 0 16px; letter-spacing: 0; }
.footer-h-sm { margin-top: 26px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:not(.btn) { color: #d5e2f3; text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; text-decoration: underline; }
.footer-contact a { font-weight: 700; color: #fff; font-size: 1.1rem; }
.footer-areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .88rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; padding-bottom: 28px; font-size: .84rem; color: #7f95b3; }
.footer-legal p { margin: 0 0 6px; }
.footer-legal a { color: #a9bcd6; text-decoration: underline; }

.mobile-bar { display: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 24px; }
.muted { color: var(--muted); }
.pill { display: inline-block; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--ice); color: var(--blue-600); }
.pill.orange { background: #fff1e6; color: var(--orange-600); }
.center-row { display: flex; justify-content: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1340px) {
  .header-phone span { display: none; }
  .header-phone { width: 42px; height: 42px; justify-content: center; border-radius: 50%; background: var(--ice); }
  .header-inner { gap: 16px; }
}
@media (max-width: 1180px) {
  .site-nav a:not(.btn) { padding: 10px 8px; font-size: .93rem; }
  .has-sub > a::after { margin-left: 4px; }
}

@media (max-width: 1040px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  body.nav-open .site-header { z-index: 300; }
  .header-cta .btn { display: none; }
  .header-phone span { display: inline; }
  .header-phone { width: auto; height: auto; background: none; border-radius: 0; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); margin: 0; z-index: 200;
    background: #fff; padding: 88px 22px 28px; overflow-y: auto; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .28s ease; visibility: hidden;
  }
  .site-nav.is-open { transform: none; visibility: visible; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav > ul > li { flex-wrap: wrap; }
  .site-nav > ul > li > a { flex: 1; padding: 13px 14px; font-size: 1.05rem; }
  .has-sub > a::after { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--ice-2); border-radius: 10px; cursor: pointer; color: var(--navy); }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub { position: static; width: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; display: none; }
  .has-sub.is-open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.is-open:hover .sub { display: block; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 22px; }
  .nav-mobile-cta .btn { width: 100%; }
  .nav-toggle { position: relative; z-index: 210; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(8, 28, 53, .45); z-index: 150; }
  .header-cta { margin-left: auto; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .compare, .contact-layout, .page-hero.has-image .container { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .cta-band { grid-template-columns: 1fr; }
  .hero::before { background: linear-gradient(180deg, rgba(11,37,69,.88) 0%, rgba(11,37,69,.92) 100%); }
  .media-badge { left: 14px; }
  .page-hero-img { max-width: 560px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 68px; }
  .container { padding: 0 18px; }
  .topbar-note { display: none; }
  .topbar-inner { justify-content: center; }
  .header-phone { display: none; }
  .brand-text { font-size: 1.4rem; }
  .brand .logo-mark { width: 38px; height: 38px; }
  :root { --header-h: 66px; }
  .grid-2, .grid-3, .grid-4, .steps, .form-grid, .checklist.two-col { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .compare-col { padding: 26px 22px; }
  .vstep { grid-template-columns: 48px 1fr; gap: 16px; }
  .vstep .step-num { width: 48px; height: 48px; font-size: 1.2rem; }
  .vstep:not(:last-child)::before { left: 23px; top: 48px; }
  .vstep h3 { margin-top: 8px; }
  .callout { flex-direction: column; }
  .hero-inner .btn-row .btn { width: 100%; }
  .mobile-bar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -12px rgba(11,37,69,.3);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 999px; font-weight: 700; text-decoration: none; }
  .mobile-bar-call { border: 1.5px solid var(--line); color: var(--navy); }
  .mobile-bar-cta { background: var(--orange); color: #fff; }
}
