/* ==========================================================================
   Austin HVAC Pros — Design System
   Texas craftsman: flag navy + red on warm cream, slab-serif heads, badges.
   ========================================================================== */

:root {
  --navy: #002868;
  --navy-deep: #001a45;
  --navy-soft: #1d3f7a;
  --red: #bf0a30;
  --red-deep: #8f0724;
  --cream: #f7f1e3;
  --parchment: #ede3cc;
  --parchment-deep: #e2d4b4;
  --ink: #1e2533;
  --steel: #5b6475;
  --line: #d9cbaa;
  --white: #fff;
  --star: #c9a227;
  --green: #2f6b3a;
  --amber: #a86a00;

  --font-head: 'Zilla Slab', Rockwell, 'Roboto Slab', Georgia, serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(30, 37, 51, .06), 0 6px 20px -8px rgba(30, 37, 51, .18);
  --shadow-lg: 0 2px 4px rgba(30, 37, 51, .06), 0 18px 40px -16px rgba(0, 26, 69, .35);
  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .36 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --star-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l3.1 7.1 7.7.6-5.9 5 1.8 7.5L12 17.8l-6.7 3.9 1.8-7.5-5.9-5 7.7-.6z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream) var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
p, li { text-wrap: pretty; }
strong { font-weight: 700; }
small, .small { font-size: .875rem; }
hr { border: 0; height: 0; border-top: 2px dashed var(--line); margin: 2.5rem 0; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: .6rem 1rem; font-weight: 700; }
.skip-link:focus { left: 8px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }

/* ---------- Eyebrows, badges, ornaments ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  margin-bottom: .9rem;
}
.eyebrow::before, .eyebrow::after { content: ''; width: .75em; height: .75em; background: currentColor; -webkit-mask: var(--star-shape) center/contain no-repeat; mask: var(--star-shape) center/contain no-repeat; flex: none; }
.eyebrow.plain::after { display: none; }
.on-dark .eyebrow, .eyebrow.light { color: #ffb3c1; }

.lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--steel); max-width: 62ch; }
.on-dark .lede { color: #d6ddea; }

.stitch { border: 0; height: 0; border-top: 2px dashed var(--line); margin: 0; }
.star-rule { display: flex; align-items: center; gap: 1rem; color: var(--red); margin: 0 auto 1.5rem; max-width: 220px; }
.star-rule::before, .star-rule::after { content: ''; flex: 1; border-top: 2px dashed currentColor; opacity: .5; }
.star-rule span { width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--star-shape) center/contain no-repeat; mask: var(--star-shape) center/contain no-repeat; }

.ph-tag {
  display: inline-block; vertical-align: middle; margin-left: .4em;
  font: 700 .62rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--amber); border: 1.5px dashed var(--amber); border-radius: 3px; padding: .25em .45em;
  background: #fff8e6;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff; --bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8rem 1.5rem;
  font: 700 1.05rem/1.2 var(--font-body); letter-spacing: .01em; text-decoration: none; text-align: center;
  color: var(--fg); background: var(--bg); border: 2px solid var(--bd); border-radius: var(--radius);
  box-shadow: 0 3px 0 var(--red-deep); cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.btn:hover { color: var(--fg); background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-1px); box-shadow: 0 4px 0 #5e0418; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--red-deep); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-navy { --bg: var(--navy); --bd: var(--navy); box-shadow: 0 3px 0 var(--navy-deep); }
.btn-navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); box-shadow: 0 4px 0 #000d24; }
.btn-outline { --bg: transparent; --fg: var(--navy); --bd: var(--navy); box-shadow: none; }
.btn-outline:hover { --fg: #fff; background: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.7); box-shadow: none; }
.btn-light:hover { --fg: var(--navy); background: #fff; border-color: #fff; box-shadow: none; }
.btn-lg { min-height: 60px; font-size: 1.15rem; padding-inline: 1.9rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.text-link::after { content: '→'; transition: transform .15s; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Utility bar + header ---------- */
.utility {
  background: var(--navy-deep); color: #dfe6f3; font-size: .9rem;
}
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.utility a { color: #fff; font-weight: 700; text-decoration: none; }
.utility a:hover { color: #ffb3c1; }
.utility .pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; margin-right: .5em; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 2s infinite; vertical-align: middle; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.utility-promise { display: none; }
@media (min-width: 760px) { .utility-promise { display: inline; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 227, .96); backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 2px dashed var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; max-width: 1340px; }
.utility .wrap { max-width: 1340px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand img { width: 50px; height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-sub, .nav a, .nav button.nav-drop, .header-cta { white-space: nowrap; }
.brand-sub { font-family: var(--font-head); font-weight: 700; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-top: .3rem; }
.brand:hover { color: var(--navy); }

.nav { display: none; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav a, .nav button.nav-drop {
  display: flex; align-items: center; gap: .3em; padding: .55rem .7rem; border-radius: var(--radius);
  font: 600 1rem/1 var(--font-body); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav button.nav-drop:hover, .nav [aria-current="page"] { color: var(--red); }
.nav button.nav-drop::after { content: ''; width: .45em; height: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: .2em; }
.nav li { position: relative; }
.nav .sub {
  position: absolute; top: calc(100% + 8px); left: -.5rem; min-width: 240px; list-style: none; margin: 0; padding: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .15s ease;
}
.nav .sub::before { content: ''; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav li:hover > .sub, .nav li:focus-within > .sub, .nav li.open > .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { padding: .65rem .8rem; font-weight: 600; }
.nav .sub a:hover { background: var(--cream); }
.nav .sub small { display: block; font-weight: 400; color: var(--steel); font-size: .82rem; margin-top: .2rem; }
.header-phone { display: none; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: 0 .9rem;
  font: 700 .95rem var(--font-body); color: var(--navy); background: transparent; border: 2px solid var(--navy); border-radius: var(--radius); cursor: pointer;
}
.menu-toggle .bars { width: 18px; height: 12px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-toggle .bars::after { content: ''; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }

@media (min-width: 1100px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .header-cta { display: inline-flex; min-height: 46px; padding: .6rem 1.1rem; font-size: 1rem; }
}
@media (min-width: 1100px) and (max-width: 1279px) { .nav a, .nav button.nav-drop { padding-inline: .5rem; font-size: .97rem; } .site-header .wrap { gap: .8rem; } }
@media (min-width: 1420px) { .header-phone { display: inline-flex; align-items: center; gap: .4em; } }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.drawer.open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 26, 69, .55); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); overflow-y: auto;
  background: var(--cream) var(--paper); padding: 1.25rem 1.25rem 7rem; box-shadow: var(--shadow-lg);
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.drawer-close { width: 46px; height: 46px; border: 2px solid var(--navy); background: none; border-radius: var(--radius); font-size: 1.6rem; line-height: 1; color: var(--navy); cursor: pointer; }
.drawer h2 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 1.4rem 0 .4rem; }
.drawer ul { list-style: none; padding: 0; margin: 0; }
.drawer li a { display: block; padding: .7rem 0; border-bottom: 1px dashed var(--line); font-weight: 600; font-size: 1.1rem; text-decoration: none; color: var(--ink); }
.drawer .btn { margin-top: 1.5rem; }

/* Mobile sticky action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--navy-deep); box-shadow: 0 -6px 20px rgba(0,0,0,.2);
}
.mobile-bar .btn { min-height: 50px; padding: .6rem .5rem; font-size: 1rem; box-shadow: none; }
@media (min-width: 900px) { .mobile-bar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 72px; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.band-parchment { background: var(--parchment) var(--paper); border-block: 2px dashed var(--line); }
.band-white { background: #fffdf8; border-block: 1px solid var(--line); }
.band-navy, .on-dark { background: var(--navy); color: #eef2f9; }
.band-navy { background: radial-gradient(1200px 400px at 85% -10%, rgba(255,255,255,.08), transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark a:not(.btn) { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head.center { margin-inline: auto; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(3rem, 2rem + 4vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 3.5rem; } }
.hero h1 { margin-bottom: .45em; }
.hero h1 .accent { color: var(--red); display: block; }
.hero .lede { color: var(--ink); opacity: .85; margin-bottom: 1.6rem; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; filter: drop-shadow(0 20px 30px rgba(0, 26, 69, .18)); }
.hero-badge { position: absolute; left: -4px; top: 6%; width: clamp(96px, 22vw, 140px); transform: rotate(-8deg); filter: drop-shadow(0 8px 14px rgba(0,0,0,.25)); }
.hero-badge img { width: 100%; }

.trust-row { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.8rem; padding: 0; list-style: none; font-weight: 600; font-size: .98rem; color: var(--ink); }
.trust-row li { display: flex; align-items: center; gap: .45rem; }
.trust-row svg { width: 1.2em; height: 1.2em; color: var(--red); flex: none; }
.stars { display: inline-flex; gap: 1px; color: var(--star); }
.stars i { width: 1.05em; height: 1.05em; background: currentColor; -webkit-mask: var(--star-shape) center/contain no-repeat; mask: var(--star-shape) center/contain no-repeat; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding-block: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(2.75rem, 2rem + 3vw, 4.5rem); color: #eef2f9; overflow: hidden;
  background: radial-gradient(900px 380px at 100% 0%, rgba(191,10,48,.22), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); }
.page-hero::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px; background: rgba(255,255,255,.04); -webkit-mask: var(--star-shape) center/contain no-repeat; mask: var(--star-shape) center/contain no-repeat; pointer-events: none; }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .lede { color: #d6ddea; }
.page-hero .eyebrow { color: #ffb3c1; }
.page-hero-grid { display: grid; gap: 2rem; align-items: start; position: relative; z-index: 1; }
@media (min-width: 980px) { .page-hero-grid.has-aside { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
.page-hero .trust-row { color: #fff; }
.page-hero .trust-row svg { color: #ffb3c1; }

.crumbs { font-size: .88rem; margin-bottom: 1.4rem; position: relative; z-index: 1; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.crumbs li { color: #b7c3d9; }
.crumbs li + li::before { content: '/'; margin-right: .3rem; opacity: .6; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }

/* ---------- Promise banner ---------- */
.promise {
  display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: #fffdf8; border: 2px solid var(--navy); border-radius: var(--radius-lg); box-shadow: 8px 8px 0 var(--navy);
  position: relative;
}
@media (min-width: 860px) { .promise { grid-template-columns: auto 1fr auto; gap: 2.25rem; } }
.promise-badge { width: 120px; height: 120px; flex: none; }
.promise h2 { margin-bottom: .3em; }
.promise p { margin: 0; }
.promise .fine { font-size: .85rem; color: var(--steel); margin-top: .6rem; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(1rem, .8rem + 1vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column; padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4em; }
.card p { color: #3b4455; }
.card .text-link { margin-top: auto; }
a.card { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease, border-color .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--navy); color: inherit; }
.card-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 1.1rem; border-radius: 50%; background: var(--cream); border: 2px dashed var(--navy); color: var(--navy); }
.card-icon svg { width: 28px; height: 28px; }
.card-icon.red { border-color: var(--red); color: var(--red); }
.card-tag { position: absolute; top: 1rem; right: 1rem; font: 700 .7rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }

.emergency-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.75rem;
  padding: 1.25rem 1.5rem; border-radius: var(--radius-lg); background: var(--red); color: #fff;
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.05) 14px 28px);
}
.emergency-strip strong { font-family: var(--font-head); font-size: 1.35rem; display: block; line-height: 1.2; }
.emergency-strip .btn { --bg: #fff; --fg: var(--red); --bd: #fff; box-shadow: 0 3px 0 var(--red-deep); }
.emergency-strip .btn:hover { background: var(--cream); border-color: var(--cream); }

/* ---------- Honesty / quote ---------- */
.split { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.wide-left { grid-template-columns: 1.2fr .8fr; } .split.wide-right { grid-template-columns: .85fr 1.15fr; } }
.big-quote {
  position: relative; margin: 0; padding: 2.25rem 2rem 2rem; background: var(--navy); color: #fff; border-radius: var(--radius-lg);
  box-shadow: 10px 10px 0 var(--red);
}
.big-quote::before { content: '“'; position: absolute; top: -.2em; left: .25em; font: 700 7rem/1 var(--font-head); color: var(--red); }
.big-quote p { font-family: var(--font-head); font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.95rem); line-height: 1.25; margin: 0 0 1rem; position: relative; }
.big-quote footer { font-size: .95rem; color: #c6d0e2; }

.vs-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.vs-list li { display: grid; grid-template-columns: 30px 1fr; gap: .7rem; align-items: start; }
.vs-list .no, .vs-list .yes { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: .95rem; margin-top: .1rem; }
.vs-list .no { background: var(--steel); }
.vs-list .yes { background: var(--red); }

/* ---------- Checklist + steps ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2.1rem; font-weight: 600; }
.checklist li::before { content: ''; position: absolute; left: 0; top: .22em; width: 1.35rem; height: 1.35rem; background: var(--red); -webkit-mask: var(--star-shape) center/contain no-repeat; mask: var(--star-shape) center/contain no-repeat; }
.checklist.cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); column-gap: 2rem; }
.checklist.light li { font-weight: 400; }
.on-dark .checklist li::before { background: #ffb3c1; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; position: relative; padding: 1.5rem 1.5rem 1.4rem; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: .9rem;
  font: 700 1.4rem var(--font-head); color: #fff; background: var(--navy); border-radius: 50%; box-shadow: 0 0 0 4px var(--cream), 0 0 0 6px var(--navy);
}
.steps h3 { font-size: 1.25rem; margin-bottom: .3em; }
.steps p { margin: 0; color: #3b4455; }

/* ---------- Report mockup (free inspection) ---------- */
.report {
  background: #fff; border-radius: 6px; padding: 1.5rem 1.6rem; box-shadow: var(--shadow-lg); transform: rotate(-1.5deg);
  border-top: 8px solid var(--navy); font-size: .95rem; max-width: 460px; margin-inline: auto;
}
.report-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px dashed var(--line); padding-bottom: .8rem; margin-bottom: .8rem; }
.report-head strong { font-family: var(--font-head); color: var(--navy); font-size: 1.15rem; }
.report-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid #eee7d6; }
.pill { font-size: .75rem; font-weight: 700; padding: .15rem .55rem; border-radius: 99px; white-space: nowrap; }
.pill.ok { background: #e3f1e5; color: var(--green); }
.pill.warn { background: #fff1d6; color: var(--amber); }
.pill.bad { background: #fbe0e5; color: var(--red); }
.report-verdict { margin-top: 1rem; padding: .8rem 1rem; background: var(--cream); border-left: 4px solid var(--red); font-weight: 600; }

/* ---------- Reviews ---------- */
.rating-summary { display: inline-flex; align-items: center; gap: 1rem; padding: .8rem 1.25rem; background: #fffdf8; border: 1px solid var(--line); border-radius: 99px; box-shadow: var(--shadow); }
.rating-summary .num { font: 700 2rem/1 var(--font-head); color: var(--navy); }
.rating-summary .stars { font-size: 1.2rem; }
.review-card { display: flex; flex-direction: column; gap: .8rem; padding: 1.6rem; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); margin: 0; }
.review-card blockquote { margin: 0; font-size: 1.05rem; }
.review-card figcaption { margin-top: auto; font-weight: 700; color: var(--navy); font-size: .95rem; }
.review-card figcaption span { display: block; font-weight: 400; color: var(--steel); font-size: .88rem; }

/* ---------- Service areas ---------- */
.area-map { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem; box-shadow: var(--shadow); }
.area-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.area-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--navy); transition: .15s; }
.area-list a::after { content: '→'; color: var(--red); }
.area-list a:hover { border-color: var(--navy); transform: translateX(3px); }
.area-list small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--steel); }

/* ---------- Offer tiles (financing / discount) ---------- */
.offer { position: relative; padding: 2rem; border-radius: var(--radius-lg); overflow: hidden; }
.offer.navy { background: var(--navy); color: #eef2f9; }
.offer.navy h3 { color: #fff; }
.offer.red { background: var(--red); color: #fff; }
.offer.red h3 { color: #fff; }
.offer .big { font: 700 clamp(2.6rem, 2rem + 2vw, 3.6rem)/1 var(--font-head); display: block; margin-bottom: .3rem; }
.offer p { margin-bottom: 1.2rem; }
.offer .fine { font-size: .82rem; opacity: .8; margin: 1rem 0 0; }
.offer::after { content: ''; position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; background: rgba(255,255,255,.07); -webkit-mask: var(--star-shape) center/contain no-repeat; mask: var(--star-shape) center/contain no-repeat; }
.offer .btn { --bg: #fff; --fg: var(--navy); --bd: #fff; box-shadow: none; }
.offer.red .btn { --fg: var(--red); }
.offer .btn:hover { background: var(--cream); border-color: var(--cream); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .75rem; }
details.faq { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .15s; }
details.faq[open] { border-color: var(--navy); box-shadow: var(--shadow); }
details.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.3rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); border: 2px solid var(--navy); font: 700 1.2rem/1 var(--font-body); transition: transform .2s; }
details.faq[open] summary::after { content: '–'; background: var(--navy); color: #fff; }
details.faq .faq-a { padding: 0 1.3rem 1.2rem; }
details.faq .faq-a > :last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-card {
  background: #fffdf8; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.4rem, 1rem + 1.5vw, 2.1rem);
  box-shadow: var(--shadow-lg); border-top: 6px solid var(--red); position: relative;
}
.form-card h2, .form-card h3 { color: var(--navy); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-bottom: .25em; }
.form-card .form-sub { color: var(--steel); font-size: .98rem; margin-bottom: 1.2rem; }
.form-card .form-badge { position: absolute; top: -26px; right: 18px; width: 70px; transform: rotate(8deg); }
.lead-form { display: grid; gap: .95rem; }
.field-row { display: grid; gap: .95rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .3rem; }
.field label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem .85rem; font: 400 1rem var(--font-body); color: var(--ink);
  background: #fff; border: 1.5px solid #c9bb99; border-radius: var(--radius); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 92px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.2rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 40, 104, .18); }
.field [aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(191, 10, 48, .12); }
.field-error { color: var(--red); font-size: .85rem; font-weight: 600; min-height: 0; }
.field-note { font-size: .86rem; padding: .55rem .75rem; border-radius: var(--radius); background: #fff4d9; color: #6b4a00; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--red); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-fine { font-size: .82rem; color: var(--steel); margin: 0; text-align: center; }
.form-status { font-weight: 600; padding: .8rem 1rem; border-radius: var(--radius); }
.form-status.error { background: #fbe0e5; color: var(--red-deep); }
.lead-form button[disabled] { opacity: .7; cursor: progress; }

/* ---------- CTA band ---------- */
.cta-band .split { align-items: start; }
.cta-band h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.cta-points { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .9rem; }
.cta-points li { display: flex; gap: .8rem; align-items: flex-start; }
.cta-points svg { width: 26px; height: 26px; color: #ffb3c1; flex: none; margin-top: .1rem; }
.cta-phone { display: inline-flex; flex-direction: column; margin-top: .5rem; text-decoration: none; }
.cta-phone small { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .75rem; color: #ffb3c1; }
.cta-phone span { font: 700 clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem)/1.1 var(--font-head); color: #fff; }

/* ---------- Prose (long-form pages, blog) ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); }
.prose h3 { margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--red); font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .98rem; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.3rem; border-left: 4px solid var(--red); background: #fffdf8; font-style: italic; }

.content-grid { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr); }
.content-grid > * { min-width: 0; }
@media (min-width: 1000px) { .content-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; } .content-grid aside { position: sticky; top: 100px; align-self: start; } }

.callout { padding: 1.3rem 1.5rem; border-radius: var(--radius-lg); background: #fffdf8; border: 2px solid var(--navy); margin: 1.75rem 0; }
.callout > :last-child { margin-bottom: 0; }
.callout h3, .callout h4 { margin-top: 0 !important; }
.callout.red { border-color: var(--red); background: #fff6f7; }
.callout.navy { background: var(--navy); color: #eef2f9; border-color: var(--navy); }
.callout.navy h3, .callout.navy h4 { color: #fff; }
.callout.warn { border-color: var(--amber); background: #fff8e6; }
.takeaways { padding: 1.4rem 1.6rem; background: var(--parchment); border: 2px dashed var(--navy); border-radius: var(--radius-lg); margin-bottom: 2rem; }
.takeaways h2 { font-size: 1.2rem !important; margin: 0 0 .7rem !important; letter-spacing: .08em; text-transform: uppercase; }
.takeaways ul { margin: 0; }

.toc { padding: 1.2rem 1.4rem; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.toc h2 { font-size: .8rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 .6rem !important; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .95rem; }
.toc li { margin-bottom: .35em; }

.side-card { padding: 1.5rem; background: var(--navy); color: #eef2f9; border-radius: var(--radius-lg); box-shadow: 8px 8px 0 var(--red); }
.side-card h2, .side-card h3 { color: #fff; font-size: 1.4rem; }
.side-card .btn { width: 100%; margin-top: .6rem; }
.side-card .btn-light { margin-top: .75rem; }
.side-card ul { padding-left: 1.1em; margin: 0 0 1rem; }

.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .92rem; color: #c6d0e2; margin-top: 1rem; }

/* Blog cards */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card .post-art { aspect-ratio: 16 / 9; background: var(--navy); display: grid; place-items: center; color: #fff; }
.post-card .post-art svg { width: 38%; opacity: .95; }
.post-card .post-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card .post-kicker { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--red); margin-bottom: .5rem; }

/* ---------- Photo placeholder ---------- */
.photo-ph {
  position: relative; display: grid; place-items: center; text-align: center; aspect-ratio: 4 / 3; padding: 1.5rem;
  border: 3px dashed var(--navy); border-radius: var(--radius-lg); color: var(--navy);
  background: repeating-linear-gradient(135deg, #fffdf8 0 16px, #f3ead6 16px 32px);
}
.photo-ph svg { width: 54px; height: 54px; margin: 0 auto .6rem; opacity: .7; }
.photo-ph strong { font-family: var(--font-head); font-size: 1.2rem; display: block; }
.photo-ph small { color: var(--steel); }

/* ---------- Stats row ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stats div { background: #fffdf8; padding: 1.4rem 1rem; text-align: center; }
.stats strong { display: block; font: 700 clamp(2rem, 1.6rem + 1.5vw, 2.8rem)/1 var(--font-head); color: var(--navy); }
.stats span { font-size: .92rem; color: var(--steel); font-weight: 600; }

/* ---------- Repair-or-replace tool ---------- */
.rr { background: #fffdf8; border: 2px solid var(--navy); border-radius: var(--radius-lg); box-shadow: 10px 10px 0 var(--navy); padding: clamp(1.4rem, 1rem + 2vw, 2.5rem); max-width: 820px; margin-inline: auto; }
.rr-progress { display: flex; gap: 6px; margin-bottom: 1.5rem; }
.rr-progress span { flex: 1; height: 8px; border-radius: 99px; background: var(--parchment-deep); transition: background .25s; }
.rr-progress span.done { background: var(--red); }
.rr-step[hidden] { display: none; }
.rr-step legend, .rr-q { font: 700 clamp(1.4rem, 1.2rem + 1vw, 1.9rem)/1.2 var(--font-head); color: var(--navy); margin-bottom: .35rem; padding: 0; }
.rr-step fieldset { border: 0; padding: 0; margin: 0; }
.rr-hint { color: var(--steel); margin-bottom: 1.2rem; }
.rr-count { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--red); margin-bottom: .4rem; }
.rr-options { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.rr-options label { position: relative; cursor: pointer; }
.rr-options input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.rr-options .opt {
  display: flex; align-items: center; gap: .7rem; min-height: 64px; padding: .9rem 1rem; border: 2px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; font-weight: 600; transition: .12s;
}
.rr-options .opt svg { width: 28px; height: 28px; color: var(--navy); flex: none; }
.rr-options label:hover .opt { border-color: var(--navy); }
.rr-options input:focus-visible + .opt { outline: 3px solid var(--red); outline-offset: 2px; }
.rr-options input:checked + .opt { border-color: var(--red); background: #fff6f7; box-shadow: inset 0 0 0 1px var(--red); }
.rr-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.rr-result { text-align: center; }
.rr-result .verdict-badge { width: 116px; height: 116px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 6px #fffdf8, 0 0 0 9px currentColor; }
.rr-result .verdict-badge svg { width: 56px; height: 56px; }
.rr-result.repair .verdict-badge { background: var(--green); color: var(--green); }
.rr-result.tossup .verdict-badge { background: var(--amber); color: var(--amber); }
.rr-result.replace .verdict-badge { background: var(--red); color: var(--red); }
.rr-result .verdict-badge svg { color: #fff; }
.rr-result h2 { margin-bottom: .3em; }
.rr-result .why { text-align: left; background: var(--cream); border-radius: var(--radius-lg); padding: 1.1rem 1.3rem; margin: 1.3rem 0; }
.rr-result .why ul { margin: .4rem 0 0; padding-left: 1.2em; }
.rr-disclaimer { font-size: .85rem; color: var(--steel); margin-top: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c6d0e2; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); font-size: .98rem; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--navy) 0 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.site-footer h2 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #eef2f9; text-decoration: none; }
.site-footer a:hover { color: #ffb3c1; text-decoration: underline; }
.footer-brand img { width: 118px; margin-bottom: 1rem; }
.footer-brand p { max-width: 36ch; }
.footer-contact strong { color: #fff; }
.footer-bottom { margin-top: 3rem; padding-block: 1.4rem; border-top: 1px dashed rgba(255,255,255,.2); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .88rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---------- Misc ---------- */
.notice { padding: .9rem 1.2rem; border-radius: var(--radius); background: #fff4d9; border-left: 4px solid var(--amber); font-size: .95rem; }
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.5rem 1.75rem; margin: 2.5rem 0; background: var(--navy); color: #fff; border-radius: var(--radius-lg); box-shadow: 8px 8px 0 var(--red); }
.inline-cta strong { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.2; display: block; }
.inline-cta p { margin: .2rem 0 0; color: #c6d0e2; }
.kicker-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.kicker-list li { padding: .35rem .8rem; background: #fffdf8; border: 1px solid var(--line); border-radius: 99px; font-size: .92rem; font-weight: 600; }
.error-hero { text-align: center; padding-block: clamp(4rem, 3rem + 5vw, 8rem); }
.error-hero .big-num { font: 700 clamp(6rem, 4rem + 10vw, 11rem)/1 var(--font-head); color: var(--red); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 560px) {
  .btn-row .btn-lg { width: 100%; }
  .promise { box-shadow: 5px 5px 0 var(--navy); }
  .promise-badge { width: 96px; height: 96px; }
}
