/* Gurley Collision Center — brand: navy #2e3092, red #d70007 (from the logo) */
:root {
  --navy: #2e3092;
  --navy-d: #1f2170;
  --navy-dd: #12133d;
  --red: #d70007;
  --red-d: #b00006;
  --ink: #171a2c;
  --ink-soft: #464b60;
  --muted: #6b7084;
  --line: #e3e5ee;
  --tint: #f4f5fa;
  --white: #fff;
  --head: "Exo", "Segoe UI", system-ui, sans-serif;
  --body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --r: 16px;
  --shadow: 0 18px 40px -18px rgba(18, 19, 61, 0.35);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; color: var(--navy-dd); }
h1 { font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; }
h3, .h3 { font-size: 1.32rem; font-weight: 700; }
.h4 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink); }
.center { text-align: center; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.18em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid #f5b400; outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; padding: 0.78em 1.35em; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 0.95em 1.6em; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-d); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-d); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.65); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy-dd); }
.btn-line { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn-line:hover { background: var(--navy); color: var(--white); }

/* top bar + header */
.topbar { background: var(--navy-dd); color: #c9cdf0; font-size: 0.86rem; }
.topbar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; padding: 8px 0; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar-right { margin-left: auto; gap: 20px !important; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 82px; position: relative; }
.brand img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-item > a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 700; text-decoration: none; padding: 10px 12px; border-radius: 10px; }
.nav > a:hover, .nav-item > a:hover, .nav a.on { color: var(--red); }
.nav-item { position: relative; }
.nav-item .i { width: 0.9em; transition: transform 0.15s; }
.sub { position: absolute; top: calc(100% + 6px); left: -10px; min-width: 280px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: grid; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > a .i, .has-sub:focus-within > a .i { transform: rotate(180deg); }
.sub a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.sub a .i { color: var(--red); }
.sub a:hover { background: var(--tint); color: var(--navy); }
.sub .sub-all { border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0 0 10px 10px; color: var(--navy); }
.nav > a.nav-est { display: none; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.header-phone-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fdecec; color: var(--red); }
.header-phone small { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.1; }
.header-phone b { font: 700 1.12rem/1.2 var(--head); color: var(--navy-dd); }
.header-phone:hover b { color: var(--red); }
.nav-toggle { display: none; }

/* hero */
.hero { position: relative; color: var(--white); background: var(--navy-dd); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18, 19, 61, 0.95) 0%, rgba(18, 19, 61, 0.82) 50%, rgba(18, 19, 61, 0.45) 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(56px, 7vw, 96px) 0; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.75rem); color: var(--white); max-width: 16ch; margin-bottom: 0.4em; }
.hero-text { max-width: 60ch; font-size: 1.1rem; color: #dfe1f6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.kicker { margin: 0 0 10px; font: 700 0.84rem/1.2 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.kicker-light { color: #ffb3b5; }

/* quick estimate card */
.qcard { background: var(--white); color: var(--ink); border-radius: 20px; padding: 26px 26px 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45); }
.qcard-k { margin: 0 0 4px; font: 700 0.8rem/1.2 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.qcard-h { font-size: 1.45rem; margin-bottom: 14px; }
.qcard .form { gap: 11px; }
.qcard-alt { margin: 4px 0 0; font-size: 0.9rem; color: var(--muted); text-align: center; }
.qcard-alt .i { color: var(--red); }

/* stats strip */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 26px 18px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-ic { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--navy); }
.stat-ic .i { width: 26px; height: 26px; }
.stat b { font: 700 1.08rem/1.2 var(--head); color: var(--navy-dd); }
.stat span:last-child { font-size: 0.9rem; color: var(--muted); }

/* sections */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 44px; }
.section p { color: var(--ink-soft); }

/* page hero (inner pages) */
.phero { background: linear-gradient(120deg, var(--navy-dd), var(--navy) 120%); color: var(--white); padding: clamp(40px, 6vw, 72px) 0 clamp(44px, 6vw, 76px); position: relative; overflow: hidden; }
.phero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, 0.04); }
.phero h1 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 22ch; }
.phero-text { color: #dfe1f6; font-size: 1.12rem; max-width: 62ch; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: #aeb2e0; margin-bottom: 18px; }
.crumbs a { color: #dfe1f6; text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-media { position: relative; padding: 0 0 60px 0; }
.about-a { width: 74%; border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; }
.about-b { position: absolute; right: 0; bottom: 0; width: 50%; border-radius: var(--r); border: 6px solid var(--white); aspect-ratio: 1; object-fit: cover; }
.years { position: absolute; left: 18px; bottom: 18px; background: var(--red); color: var(--white); border-radius: var(--r); padding: 14px 18px; display: grid; }
.years b { font: 800 2.4rem/1 var(--head); }
.years span { font-size: 0.85rem; font-weight: 700; }
.about-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 26px; }
.callchip { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.callchip-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--tint); color: var(--red); }
.callchip small { display: block; color: var(--muted); font-size: 0.85rem; }
.callchip b { font: 700 1.2rem/1.2 var(--head); color: var(--navy-dd); }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.card:hover { border-color: #c7c9e6; transform: translateY(-3px); box-shadow: var(--shadow); }
.card-img { position: relative; display: block; }
.card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-ic { position: absolute; left: 18px; bottom: -22px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--red); color: var(--white); border: 4px solid var(--white); }
.card-body { padding: 34px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 a { color: var(--navy-dd); text-decoration: none; }
.card-body h3 a:hover { color: var(--red); }
.card-links { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; }
.card-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); text-decoration: none; }
.card-more:hover { color: var(--red); }
.card-call { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fdecec; color: var(--red); }
.card-call:hover { background: var(--red); color: var(--white); }

/* process steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px 22px; }
.section-tint .steps li { border-color: transparent; }
.step-n { position: absolute; top: 18px; right: 20px; font: 800 2.6rem/1 var(--head); color: #eceef7; }
.step-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: var(--white); margin-bottom: 16px; }
.steps h3 { font-size: 1.12rem; }
.steps p { margin: 0; font-size: 0.97rem; }

/* equipment */
.equip { background: var(--navy-dd); color: #dfe1f6; position: relative; overflow: hidden; }
.equip::before { content: ""; position: absolute; inset: 0; background: url("../img/hero-960.webp") center / cover; opacity: 0.12; }
.equip-in { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.equip h2 { color: var(--white); }
.equip p { color: #c9cdf0; }
.equip-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.equip-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r); padding: 26px; }
.equip-card h3 { color: var(--white); font-size: 1.18rem; }
.equip-card a { display: inline-flex; align-items: center; gap: 6px; color: #ffb3b5; font-weight: 700; text-decoration: none; }
.equip-card a:hover { color: var(--white); }
.equip-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--red); color: var(--white); margin-bottom: 16px; }

/* why */
.why { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.why-media img { border-radius: var(--r); aspect-ratio: 8 / 7; object-fit: cover; width: 100%; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 700; color: var(--navy-dd); }
.checks .i { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--red); color: var(--white); stroke-width: 3; }
.checks-2 { grid-template-columns: 1fr 1fr; }
.checks-sm li { font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); }
.checks-sm .i { width: 22px; height: 22px; padding: 5px; }

/* call band */
.band { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding: 40px 0; }
.band h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin-bottom: 4px; }
.band p { margin: 0; color: #cfd2f0; }
.band-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font: 700 1.05rem/1.35 var(--head); color: var(--navy-dd); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--red); transition: transform 0.15s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq-a { padding: 0 20px 6px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 64px); align-items: start; }
.info { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.info li { display: flex; gap: 14px; align-items: flex-start; }
.info-ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--tint); color: var(--navy); }
.info small { display: block; color: var(--muted); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.info a { color: var(--ink); font-weight: 700; text-decoration: none; }
.info a:hover { color: var(--red); }
.formcard { background: var(--tint); border-radius: 20px; padding: clamp(22px, 4vw, 36px); }
.formcard h3 { font-size: 1.5rem; }
.map { margin-top: 48px; }
.map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--r); display: block; }

/* forms */
.form { display: grid; gap: 14px; margin-top: 8px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 0.93rem; color: var(--navy-dd); }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cdd0de; border-radius: 10px; font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--white); }
.form input::placeholder, .form textarea::placeholder { color: #9aa0b4; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(46, 48, 146, 0.18); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.req { color: var(--red); }
.optional { font: 500 0.9rem var(--body); color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.errors { background: #fdecec; color: #8a0a0e; border-radius: 10px; padding: 10px 14px; font-weight: 700; font-size: 0.95rem; }
.form-note { margin: 2px 0 0; font-size: 0.82rem; color: var(--muted); }
.radios { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.radios-l { width: 100%; font-weight: 700; font-size: 0.93rem; color: var(--navy-dd); }
.form .radio { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); cursor: pointer; }
.radio input { width: 18px; height: 18px; accent-color: var(--navy); }

/* estimate page */
.est { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.est-form fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 8px; margin: 0 0 4px; display: grid; gap: 14px; }
.est-form legend { display: inline-flex; align-items: center; gap: 10px; padding: 0 8px; font: 700 1.15rem/1.2 var(--head); color: var(--navy-dd); }
.legend-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 0.95rem; }
.est-form fieldset > :last-child { margin-bottom: 14px; }
.drop-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.form .drop-zone { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 28px 18px; border: 2px dashed #c3c6de; border-radius: 14px; background: var(--tint); cursor: pointer; font-weight: 500; color: var(--muted); transition: border-color 0.15s, background 0.15s; }
.form .drop-zone b { color: var(--navy-dd); font-size: 1.05rem; }
.drop-zone:hover, .drop.is-over .drop-zone, .drop-input:focus-visible + .drop-zone { border-color: var(--navy); background: #eceef9; }
.drop-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--red); margin-bottom: 4px; }
.drop-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.drop-list:empty { display: none; }
.drop-list li { position: relative; border-radius: 10px; overflow: hidden; background: var(--tint); aspect-ratio: 1; }
.drop-list img { width: 100%; height: 100%; object-fit: cover; }
.drop-list .drop-name { position: absolute; inset: auto 0 0; padding: 4px 6px; font-size: 0.7rem; background: rgba(18, 19, 61, 0.7); color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drop-list button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.65); color: var(--white); cursor: pointer; font-size: 16px; line-height: 1; }
.drop-err { color: #8a0a0e; font-weight: 700; font-size: 0.9rem; margin: 6px 0 0; }
.est-side { display: grid; gap: 16px; position: sticky; top: 110px; }
.sidecard { background: var(--tint); border-radius: var(--r); padding: 22px; }
.sidecard p:last-child { margin-bottom: 0; }
.sidecard-navy { background: var(--navy); color: #dfe1f6; }
.sidecard-navy h2 { color: var(--white); }
.section .sidecard-navy p { color: #c9cdf0; }
.side-phone { display: inline-flex; align-items: center; gap: 10px; font: 800 1.6rem/1.2 var(--head); color: var(--white); text-decoration: none; margin: 4px 0 6px; }
.side-phone:hover { color: #ffb3b5; }
.mini-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-soft); font-size: 0.96rem; }

/* service page */
.svc { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.svc-img { width: 100%; border-radius: var(--r); aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 28px; }
.svc-main .steps { grid-template-columns: 1fr 1fr; }
.svc-callout { display: flex; gap: 16px; align-items: flex-start; background: var(--tint); border-radius: var(--r); padding: 22px; margin-top: 32px; }
.svc-callout p { margin: 0; }
.svc-callout-ic, .panel-ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--navy); color: var(--white); }
.svc-side .sticky { position: sticky; top: 110px; display: grid; gap: 16px; }
.svc-side .qcard { box-shadow: none; border: 1px solid var(--line); }
.sidelinks { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.sidelinks a { display: flex; align-items: center; gap: 10px; padding: 9px 4px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.sidelinks li:last-child a { border-bottom: 0; }
.sidelinks a .i { color: var(--red); }
.sidelinks a:hover { color: var(--navy); }

/* insurance */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--white); border-radius: var(--r); padding: 28px; }
.panel .panel-ic { margin-bottom: 16px; }
.panel .checks li { font-weight: 500; color: var(--ink-soft); }
.panel .checks .i { width: 22px; height: 22px; padding: 5px; }
.est-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.est-split .qcard { box-shadow: var(--shadow); border: 1px solid var(--line); }

/* simple text pages */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }

/* thanks / 404 */
.thanks-in { max-width: 680px; text-align: center; }
.thanks-ic { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #e6f4ea; color: #17803a; margin-bottom: 18px; }
.thanks-ic .i { width: 38px; height: 38px; stroke-width: 2.6; }
.thanks-ic-q { background: #eceef9; color: var(--navy); }
.thanks h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }

/* footer */
.footer { background: var(--navy-dd); color: #c6c9ea; padding: 64px 0 0; font-size: 0.97rem; }
.footer-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h2 { color: var(--white); font-size: 1.12rem; margin-bottom: 14px; }
.footer a { color: #e6e8ff; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand .btn { margin-top: 4px; }
.footer-brand .btn:hover { text-decoration: none; }
.footer-logo { height: 68px; width: auto; background: var(--white); border-radius: 12px; padding: 6px 10px; margin-bottom: 16px; }
.flinks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fcontact { display: grid; gap: 8px; }
.fcontact a { display: inline-flex; align-items: center; gap: 8px; }
.hours { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; max-width: 280px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.86rem; color: #9ea2cf; }

/* mobile action bar */
.mbar { display: none; }

@media (max-width: 1180px) {
  .header-phone small { display: none; }
  .nav > a, .nav-item > a { padding: 10px 9px; }
}
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid .qcard { max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .equip-in { grid-template-columns: 1fr; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 980px) {
  .nav { position: absolute; top: 100%; left: -16px; right: -16px; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 16px 18px; display: none; max-height: calc(100vh - 120px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a, .nav-item > a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-item > a .i { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 10px; min-width: 0; }
  .sub a { padding: 9px 6px; font-weight: 500; }
  .sub .sub-all { display: none; }
  .nav > a.nav-est { display: flex; justify-content: center; margin-top: 14px; border-radius: 999px; color: var(--white); border-bottom: 0; padding: 14px; }
  .nav > a.nav-est:hover { color: var(--white); }
  .nav-item > a { display: flex; }
  .nav-toggle { display: grid; gap: 5px; margin-left: 4px; padding: 10px; background: none; border: 0; cursor: pointer; }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.15s, opacity 0.15s; }
  .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); }
  .header-actions { margin-left: auto; }
  .about, .why, .contact, .faq-wrap, .svc, .est, .est-split { grid-template-columns: 1fr; }
  .why-media { order: -1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .est-side, .svc-side .sticky { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .hide-s { display: none !important; }
  .topbar-in { font-size: 0.8rem; }
  .header-in { min-height: 70px; gap: 10px; }
  .brand img { height: 52px; }
  .header-phone span:last-child, .header-est { display: none; }
  .cards, .steps, .svc-main .steps, .two, .checks-2, .equip-cards, .row2 { grid-template-columns: 1fr; }
  .stats-in { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding: 16px 0; }
  .stat:first-child { border-top: 0; }
  .footer-in { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .band-ctas, .band-ctas .btn { width: 100%; }
  .about-media { padding-bottom: 40px; }
  .qcard { padding: 22px 18px 18px; }
  .est-form fieldset { padding: 18px 14px 6px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.15); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; font: 700 1.05rem/1 var(--body); text-decoration: none; color: var(--white); }
  .mbar-call { background: var(--red); }
  .mbar-est { background: var(--navy); }
  .map iframe { height: 280px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .card, .sub { transition: none; } }
@media print { .topbar, .header, .mbar, .band, .footer, .map, .qcard { display: none !important; } }
