/* ==========================================================
   V3 Tinting LLC: site styles
   Colors and fonts are set once here in :root.
   ========================================================== */

@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-400-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600 700; font-display: swap; }

:root {
  --bg: #09090a;
  --bg-2: #101012;
  --card: #141416;
  --card-2: #1a1a1d;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .18);
  --text: #f4f1ec;
  --muted: #a9a49b;
  --dim: #8a857d;
  --red: #e24943;          /* logo red */
  --red-text: #ef5a52;     /* red for small text on black */
  --red-btn: #d23c35;      /* button red (white text passes contrast) */
  --red-btn-hover: #b8312b;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --radius: 6px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--red-btn); color: #fff; padding: 10px 16px; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.center { text-align: center; }
em { font-style: italic; color: var(--red); }

/* ---------- buttons & small parts ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 3px; border: 1px solid transparent; font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn-primary { background: var(--red-btn); color: #fff; }
.btn-primary:hover { background: var(--red-btn-hover); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { padding: 12px 18px; font-size: 12px; }
.btn-block { width: 100%; }
.label { font: 600 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--red-text); display: flex; align-items: center; gap: 12px; }
.label::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.more { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red-text); text-decoration: none; }
.more:hover { color: #fff; }
.tag { display: inline-block; font: 600 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--red-text); border: 1px solid rgba(226, 73, 67, .45); padding: 7px 10px; border-radius: 2px; }
.fine { font-size: 13.5px; color: var(--dim); margin-top: 28px; }
.fine a { color: var(--muted); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(9, 9, 10, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header-in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 54px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 400 26px/1 var(--serif); letter-spacing: .01em; }
.brand-sub { font: 500 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.nav { display: flex; gap: 30px; }
.nav a { font-size: 14.5px; font-weight: 500; color: #d7d3cc; text-decoration: none; }
.nav a:hover { color: #fff; }
.nav .nav-call { display: none; }
.header-cta { display: flex; align-items: center; gap: 20px; }
.header-phone { font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 4px; background: transparent; cursor: pointer; position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .2s, top .2s; }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(ellipse 45% 55% at 78% 45%, rgba(226, 73, 67, .14), transparent 70%),
  radial-gradient(ellipse 70% 50% at 20% 0%, rgba(255, 255, 255, .04), transparent 70%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1fr 500px; gap: 80px; align-items: center; padding: 72px 0 104px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 99px; padding: 10px 16px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(226, 73, 67, .2); }
.hero h1 { font: 400 clamp(52px, 7vw, 96px)/.98 var(--serif); letter-spacing: -.012em; margin: 30px 0 26px; }
.hero h1 em { display: inline-block; }
.lead { font-size: 18.5px; line-height: 1.65; color: var(--muted); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-trust li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: #d7d3cc; }
.hero-trust svg { width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hero-media { position: relative; }
.hero-main { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px rgba(0, 0, 0, .55); }
.hero-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-main figcaption { position: absolute; left: 18px; top: 18px; }
.chip { display: inline-block; background: rgba(9, 9, 10, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line-2); color: var(--text); font: 600 12px/1 var(--sans); letter-spacing: .08em; padding: 10px 13px; border-radius: 3px; }
.hero-inset { position: absolute; width: 250px; left: -72px; bottom: -44px; border-radius: var(--radius); overflow: hidden; border: 6px solid var(--bg); box-shadow: 0 24px 50px rgba(0, 0, 0, .6); }
.hero-inset img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { padding: 34px 28px; border-left: 1px solid var(--line); }
.stats-grid div:first-child { border-left: 0; padding-left: 0; }
.stats-grid b { display: block; font: 400 46px/1 var(--serif); color: var(--text); margin-bottom: 10px; }
.stats-grid span { font-size: 14.5px; color: var(--muted); line-height: 1.5; display: block; max-width: 220px; }

/* ---------- sections ---------- */
.section { padding: 120px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head h2 { font: 400 clamp(38px, 5vw, 60px)/1.04 var(--serif); letter-spacing: -.01em; margin: 20px 0 18px; }
.sec-intro { font-size: 17.5px; line-height: 1.65; color: var(--muted); max-width: 620px; }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.sec-head-row h2 { margin-bottom: 0; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .25s; }
.svc:hover { border-color: var(--line-2); transform: translateY(-3px); }
.svc-img { aspect-ratio: 4 / 3; overflow: hidden; background: #0d0d0f; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc:hover .svc-img img { transform: scale(1.04); }
.svc-body { padding: 26px 26px 28px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.svc-body h3 { font: 400 30px/1.1 var(--serif); margin: 18px 0 10px; }
.svc-body p { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }
.svc-body .more { margin-top: auto; }
/* ---------- films ---------- */
.film-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.film { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; }
.film-top { border-color: rgba(226, 73, 67, .55); background: linear-gradient(180deg, rgba(226, 73, 67, .1), var(--card) 45%); }
.film-level { font: 600 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--red-text); }
.film h3 { font: 400 34px/1 var(--serif); margin: 14px 0 12px; }
.film h3 .sup { font-size: .62em; vertical-align: .55em; color: var(--red); }
.film-desc { color: var(--muted); font-size: 15px; min-height: 48px; margin-bottom: 24px; }
.meter { margin-bottom: 16px; }
.meter-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.meter-top b { color: var(--text); font-weight: 600; }
.bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #8f2621, var(--red)); }
.film-list { margin: 10px 0 26px; border-top: 1px solid var(--line); }
.film-list li { font-size: 14.5px; color: #d7d3cc; padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.film-list li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); border: 1.5px solid var(--red); flex: none; }
.film-price { margin-top: auto; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.film-price b { display: block; font: 400 40px/1.1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--text); margin-top: 6px; }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.calc-steps { display: flex; flex-direction: column; gap: 30px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.step legend { display: flex; align-items: center; gap: 12px; font: 400 26px/1 var(--serif); margin-bottom: 18px; padding: 0; }
.step-n { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(226, 73, 67, .6); color: var(--red-text); display: grid; place-items: center; font: 600 13px/1 var(--sans); }
.tiles { display: grid; gap: 12px; }
.tiles-vehicle { grid-template-columns: repeat(5, 1fr); }
.tiles-film { grid-template-columns: repeat(2, 1fr); }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 8px 8px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background .2s; background: rgba(255, 255, 255, .015); }
.tile:hover { border-color: rgba(255, 255, 255, .35); }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile:has(input:checked) { border-color: var(--red); background: rgba(226, 73, 67, .09); box-shadow: inset 0 0 0 1px var(--red); }
.tile:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.tile b { font-size: 15px; font-weight: 600; }
.tile .tt { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tile small { font-size: 12.5px; color: var(--muted); }
.veh { display: block; width: 100%; aspect-ratio: 16 / 10; margin: 0 0 12px; border-radius: 4px; overflow: hidden; background: #0d0d0f; }
.veh img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .25s ease; filter: saturate(.92) brightness(.92); }
.tile:hover .veh img { transform: scale(1.04); }
.tile:has(input:checked) .veh img { filter: none; }
.veh svg { width: 100%; height: auto; }
.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* estimate preview: real photo, side windows fade lighter/darker with the shade */
.photo-car { position: relative; width: 100%; height: 100%; }
.photo-car img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-car .tint-layer { transition: opacity .35s ease; }
.ftile { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; text-align: left; align-items: center; gap: 4px 16px; padding: 18px 20px; }
.ft-name { font-weight: 600; font-size: 15.5px; }
.ft-sub { grid-row: 2; font-size: 13px; color: var(--muted); }
.ft-price { grid-row: 1 / span 2; grid-column: 2; font: 400 30px/1 var(--serif); }
.addon { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer; }
.addon input, .f .addon input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; padding: 0; border: 0; }
.addon .box { width: 22px; height: 22px; border: 1.5px solid var(--line-2); border-radius: 4px; flex: none; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.addon .box::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.addon:has(input:checked) { border-color: var(--red); background: rgba(226, 73, 67, .07); }
.addon:has(input:checked) .box { background: var(--red-btn); border-color: var(--red-btn); }
.addon:has(input:checked) .box::after { opacity: 1; }
.addon:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.addon b { display: block; font-weight: 600; font-size: 15px; }
.addon small { font-size: 13px; color: var(--muted); }
/* shade picker */
.step-help { font-size: 14px; color: var(--muted); margin: -4px 0 18px; }
.shade-label { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #d7d3cc; margin-bottom: 12px; }
.shade-group + .check-line, .check-line + .shade-group { margin-top: 18px; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 10px; }
.chip { position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 8px 8px 11px; border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer; background: rgba(255, 255, 255, .015); transition: border-color .2s, background .2s; }
.chip input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.chip .sw { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: url("../img/view-sky.webp") 50% 62% / cover; }
.chip .sw::after { content: ""; position: absolute; inset: 0; background: rgba(5, 6, 8, var(--o)); }
.chip .sw::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, .1) 34% 44%, transparent 44%); }
.chip b { font: 400 23px/1 var(--serif); }
.chip small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: -4px; }
.chip:hover { border-color: rgba(255, 255, 255, .35); }
.chip:has(input:checked) { border-color: var(--red); background: rgba(226, 73, 67, .09); box-shadow: inset 0 0 0 1px var(--red); }
.chip:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.check-line { position: relative; display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: #d7d3cc; cursor: pointer; width: fit-content; }
.check-line input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.check-line .box { width: 22px; height: 22px; border: 1.5px solid var(--line-2); border-radius: 4px; flex: none; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check-line .box::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check-line:has(input:checked) .box { background: var(--red-btn); border-color: var(--red-btn); }
.check-line:has(input:checked) .box::after { opacity: 1; }
.check-line:has(input:focus-visible) .box { outline: 2px solid var(--red); outline-offset: 2px; }
.law-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; border-radius: 4px; font-size: 13.5px; line-height: 1.5; color: var(--muted); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: color .2s, background .2s, border-color .2s; }
.law-note svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.law-note.warn { color: #eadbc4; background: rgba(242, 178, 76, .06); border-color: rgba(242, 178, 76, .32); }
.law-note.warn svg { color: #f2b24c; }
.est-car { position: relative; aspect-ratio: 16 / 10; margin: 18px 0 22px; border-radius: 6px; overflow: hidden; background: #0d0d0f; box-shadow: 0 0 0 1px var(--line); }
.est-shade { font-size: 14.5px; color: #e3dfd8; margin: -16px 0 24px; display: flex; align-items: center; gap: 10px; }
.est-shade::before { content: ""; width: 16px; height: 10px; border-radius: 2px; flex: none; background: linear-gradient(90deg, #cfe3f2, #0b0d10); border: 1px solid var(--line-2); }
.calc-result { position: sticky; top: calc(var(--header-h) + 20px); background: linear-gradient(180deg, #1b1414, var(--card) 55%); border: 1px solid rgba(226, 73, 67, .35); border-radius: var(--radius); padding: 32px; }
.est-price { font: 400 76px/1 var(--serif); margin: 18px 0 10px; }
.est-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.est-sub + .est-shade { margin-top: -18px; }
.est-lines { border-top: 1px solid var(--line); margin-bottom: 24px; }
.est-lines div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.est-lines b { color: var(--text); font-weight: 600; }
.est-lines .est-total span { color: var(--text); font-weight: 600; }
.est-notes { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.est-notes li { font-size: 13px; color: var(--dim); padding-left: 16px; position: relative; }
.est-notes li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.price-more { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.pm-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; align-items: flex-start; }
.pm-card h3 { font: 400 34px/1.05 var(--serif); margin: 16px 0 12px; }
.pm-intro { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }
.pkg { width: 100%; border-top: 1px solid var(--line); margin-bottom: 28px; }
.pkg li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 130px 1fr; gap: 16px; }
.pkg b { font-weight: 600; font-size: 15px; }
.pkg span { color: var(--muted); font-size: 14.5px; }
.steps li { grid-template-columns: 210px 1fr; align-items: baseline; }
.steps b { display: flex; align-items: center; gap: 10px; }
.steps .sn { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1px solid rgba(226, 73, 67, .6); color: var(--red-text); font-size: 12px; font-weight: 600; }
/* quote form: "what do you want" choices for homes & businesses */
.goals-f { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.goals-f legend { padding: 0; margin-bottom: 10px; }
.goals { display: flex; flex-wrap: wrap; gap: 8px; }
.goals label { position: relative; cursor: pointer; }
.goals input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.goals span { display: block; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: #d7d3cc; background: #0c0c0e; transition: background .2s, border-color .2s, color .2s; }
.goals label:hover span { border-color: rgba(255, 255, 255, .35); }
.goals input:checked + span { background: rgba(226, 73, 67, .14); border-color: var(--red); color: #fff; }
.goals input:checked + span::before { content: "\2713  "; color: var(--red-text); }
.goals input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.pm-card .btn { margin-top: auto; }

/* ---------- shades ---------- */
.shade-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.shade .glass { position: relative; aspect-ratio: 3 / 4; border-radius: 70px 8px 4px 4px; overflow: hidden; background: url("../img/view-sky.webp") 50% 60% / cover; border: 1px solid var(--line); }
.shade .glass::after { content: ""; position: absolute; inset: 0; background: rgba(5, 6, 8, var(--o)); }
.shade .glass::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(118deg, transparent 32%, rgba(255, 255, 255, .07) 32% 40%, transparent 40%); }
.shade b { display: block; font: 400 38px/1 var(--serif); margin-top: 18px; }
.shade span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); font-weight: 600; }
.law { margin-top: 64px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; }
.law-head h3 { font: 400 34px/1.1 var(--serif); margin-top: 16px; }
.law-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.law-grid div { padding: 28px 28px 6px 0; }
.law-grid div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.law-grid b { display: block; font: 400 44px/1 var(--serif); color: var(--red); margin-bottom: 14px; }
.law-grid h4 { font: 600 15.5px/1.3 var(--sans); margin-bottom: 6px; }
.law-grid p { color: var(--muted); font-size: 15px; }
.law .fine { margin-top: 26px; }

/* ---------- warranty ---------- */
.war-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.war { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; }
.war h3 { font: 400 32px/1 var(--serif); padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.war li { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.war li:last-child { border-bottom: 0; }
.war svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.war b { font-weight: 600; font-size: 16px; display: block; margin-bottom: 4px; }
.war li p { color: var(--muted); font-size: 15px; }
.war-note { margin-top: auto; padding: 20px 22px; border-radius: 4px; background: rgba(255, 255, 255, .03); border: 1px dashed var(--line-2); }
.war-note p { font-size: 14px; color: var(--muted); }

/* ---------- gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.g { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: #111; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .3s; }
.g:hover img { transform: scale(1.05); }
.g span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 13px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); font-size: 13.5px; font-weight: 500; color: #fff; }

/* ---------- reviews ---------- */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rev { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px 28px; display: flex; flex-direction: column; margin: 0; }
.qmark { font: 400 72px/1 var(--serif); color: var(--red); height: 40px; overflow: hidden; }
.rev blockquote { margin: 14px 0 28px; font: italic 400 22px/1.38 var(--serif); color: #e4e0d8; }
.rev figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.rev figcaption b { display: block; font-size: 15px; font-weight: 600; color: var(--text); }
.rev figcaption small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.rev .av { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(226, 73, 67, .14); border: 1px solid rgba(226, 73, 67, .4); color: var(--red-text); font: 400 20px/1 var(--serif); }
.rev-cta { justify-content: center; align-items: flex-start; border-style: dashed; border-color: var(--line-2); background: transparent; }
.rev-cta h3 { font: 400 30px/1.1 var(--serif); margin-bottom: 12px; }
.rev-cta p { color: var(--muted); font-size: 15.5px; margin-bottom: 24px; }

/* ---------- quote ---------- */
.quote-grid { display: grid; grid-template-columns: 1fr 560px; gap: 72px; align-items: start; }
.quote-info h2 { font: 400 clamp(38px, 5vw, 58px)/1.04 var(--serif); margin: 20px 0 18px; }
.how { margin: 36px 0; display: flex; flex-direction: column; gap: 20px; }
.how li { display: flex; gap: 16px; align-items: flex-start; }
.how li > span { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(226, 73, 67, .6); color: var(--red-text); display: grid; place-items: center; font: 600 14px/1 var(--sans); flex: none; }
.how b { font-weight: 600; font-size: 16px; }
.how p { color: var(--muted); font-size: 15px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.cc-name { font: 400 26px/1 var(--serif); margin-bottom: 14px; }
.cc-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; color: #d7d3cc; text-decoration: none; }
a.cc-row:hover { color: #fff; }
.cc-row small { color: var(--dim); margin-left: auto; font-size: 13px; }
.cc-row svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; position: sticky; top: calc(var(--header-h) + 20px); }
.f-type legend { font: 400 26px/1 var(--serif); margin-bottom: 16px; padding: 0; }
.seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 5px; background: #0c0c0e; border: 1px solid var(--line); border-radius: 5px; margin-bottom: 26px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 11px 4px; border-radius: 3px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--red-btn); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { margin-bottom: 18px; display: flex; flex-direction: column; }
.f label, .f-label { font-size: 13.5px; font-weight: 600; color: #d7d3cc; margin-bottom: 8px; }
.f small { font-weight: 400; color: var(--dim); }
.f input, .f select, .f textarea { width: 100%; background: #0c0c0e; border: 1px solid var(--line-2); border-radius: 4px; padding: 13px 14px; font-size: 15.5px; color: var(--text); transition: border-color .2s; }
.f input::placeholder, .f textarea::placeholder { color: #67635d; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--red); }
.f select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9a49b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.f textarea { resize: vertical; }
.f-check { justify-content: flex-end; }
.addon-sm { padding: 11px 14px; }
.addon-sm b { font-size: 14px; }
.addon-sm small { font-size: 12.5px; }
.f .invalid { border-color: #ff6b62; }
.drop { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed var(--line-2); border-radius: 5px; cursor: pointer; color: var(--muted); font-size: 14.5px; transition: border-color .2s; }
.drop:hover { border-color: var(--red); }
.drop b { color: var(--text); font-weight: 600; }
.drop svg { width: 26px; height: 26px; fill: none; stroke: var(--red); stroke-width: 1.7; stroke-linejoin: round; flex: none; }
.f { position: relative; }
.f .sr-file { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumbs:empty { display: none; }
.thumb { position: relative; width: 74px; height: 74px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .75); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.est-chip { font-size: 14px; color: #f0c9c6; background: rgba(226, 73, 67, .1); border: 1px solid rgba(226, 73, 67, .35); border-radius: 4px; padding: 12px 14px; margin-bottom: 16px; }
.form-status { font-size: 14px; margin-top: 12px; min-height: 1px; }
.form-status.err { color: #ff8a82; }
.form-alt { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.form-alt a { color: var(--text); }
.hp { position: absolute; left: -9999px; }
.form-done { text-align: center; padding: 40px 10px; }
.form-done svg { width: 54px; height: 54px; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 18px; display: block; }
.form-done h3 { font: 400 38px/1 var(--serif); margin-bottom: 12px; }
.form-done p { color: var(--muted); margin-bottom: 22px; }

/* ---------- footer ---------- */
.site-footer { padding: 80px 0 0; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.foot-brand img { width: 120px; margin-bottom: 22px; }
.foot-brand p { color: var(--muted); font-size: 15px; max-width: 320px; }
.site-footer h4 { font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--red-text); margin-bottom: 18px; }
.site-footer p { font-size: 15px; line-height: 1.9; color: #d7d3cc; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 0 30px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

/* ---------- mobile action bar & lightbox ---------- */
.mobile-bar { display: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { max-width: min(92vw, 900px); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { text-align: center; color: var(--muted); margin-top: 12px; font-size: 14.5px; }
.lb-close, .lb-nav { position: fixed; background: rgba(20, 20, 22, .8); border: 1px solid var(--line-2); color: #fff; border-radius: 50%; width: 48px; height: 48px; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .header-phone { display: none; }
  .hero-grid { grid-template-columns: 1fr 440px; gap: 64px; }
  .film-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles-vehicle { grid-template-columns: repeat(3, 1fr); }
  .quote-grid { grid-template-columns: 1fr 500px; gap: 48px; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .menu-btn { display: block; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; overflow-y: auto; flex-direction: column; gap: 0; background: var(--bg); padding: 8px 24px 120px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .nav-call { display: block; color: var(--red-text); border-bottom: 0; }
  .header-cta .btn { display: none; }
  .brand img { height: 46px; }
  .brand-name { font-size: 23px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; padding: 48px 0 90px; }
  .hero-media { max-width: 520px; margin-left: 56px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 96px 0; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .price-more { grid-template-columns: 1fr; }
  .shade-row { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .law-grid { grid-template-columns: 1fr; }
  .law-grid div, .law-grid div + div { padding: 24px 0; border-left: 0; }
  .law-grid div + div { border-top: 1px solid var(--line); }
  .war-grid { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(3, 1fr); }
  .rev-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .form-card { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; padding-bottom: 68px; }
  .wrap { width: calc(100% - 40px); }
  .brand-sub { display: none; }
  .eyebrow { font-size: 11px; letter-spacing: .16em; padding: 9px 14px; }
  .hero h1 { margin: 24px 0 20px; }
  .lead { font-size: 17px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .hero-grid { padding-top: 20px; gap: 34px; }
  .hero-media { margin-left: 0; order: -1; }
  .hero-main img { aspect-ratio: 4 / 3; object-position: 50% 64%; }
  .hero-inset { display: none; }
  .stats-grid div { padding: 24px 0 24px 18px; }
  .stats-grid div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats-grid b { font-size: 36px; }
  .stats-grid span { font-size: 13.5px; }
  .section { padding: 76px 0; }
  .sec-head { margin-bottom: 40px; }
  .sec-intro { font-size: 16.5px; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
  .svc-grid { grid-template-columns: 1fr; }
  .film-grid { grid-template-columns: 1fr; }
  .film-desc { min-height: 0; }
  .calc-steps { padding: 22px; }
  .tiles-vehicle { grid-template-columns: repeat(2, 1fr); }
  .tiles-vehicle .tile:last-child { grid-column: span 2; flex-direction: row; align-items: center; text-align: left; gap: 16px; padding: 8px 16px 8px 8px; }
  .tiles-vehicle .tile:last-child .veh { width: calc(50% - 4px); margin: 0; flex: none; }
  .tiles-vehicle .tile:last-child .tt { align-items: flex-start; }
  .chips { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .chip b { font-size: 21px; }
  .tiles-film { grid-template-columns: 1fr; }
  .addons { grid-template-columns: 1fr; }
  .calc-result { padding: 26px; }
  .est-price { font-size: 64px; }
  .pm-card { padding: 26px; }
  .pkg li, .steps li { grid-template-columns: 1fr; gap: 4px; }
  .steps span:not(.sn) { padding-left: 34px; }
  .shade-row { gap: 12px; }
  .shade b { font-size: 30px; }
  .shade span { font-size: 11.5px; letter-spacing: .1em; }
  .law { padding: 26px; }
  .war { padding: 26px; }
  .gal { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gal .g:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 16 / 10; }
  .rev { padding: 26px; }
  .form-card { padding: 24px 20px; }
  .seg { grid-template-columns: repeat(6, 1fr); }
  .seg label { grid-column: span 2; }
  .seg label:nth-child(n+4) { grid-column: span 3; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-bottom { flex-direction: column; gap: 6px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(9, 9, 10, .96); border-top: 1px solid var(--line-2); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 8px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .mobile-bar a { display: grid; place-items: center; height: 46px; border: 1px solid var(--line-2); border-radius: 4px; text-decoration: none; font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
  .mobile-bar .mb-quote { background: var(--red-btn); border-color: var(--red-btn); color: #fff; }
  .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- vehicle drawings (js/vehicles.js) ---------- */
.veh-svg { display: block; width: 100%; height: auto; overflow: visible; }
.veh-icon .vwell { fill: #050506; }
.veh-icon .vb { fill: #d9d5ce; transition: fill .2s; }
.veh-icon .vw { fill: #252a32; }
.veh-icon .vp { fill: #131417; }
.veh-icon .vl { stroke: rgba(0, 0, 0, .3); stroke-width: .8; }
.veh-icon .vl2 { fill: rgba(0, 0, 0, .38); }
.veh-icon .vshine { stroke: rgba(255, 255, 255, .55); stroke-width: .9; }
.veh-icon .vm { fill: #bfbab2; transition: fill .2s; }
.veh-icon .vc { fill: #2a2b2f; stroke: #2a2b2f; }
.veh-icon .vhl { fill: #fffaf0; }
.veh-icon .vtl { fill: #a3231c; }
.veh-icon .vt { fill: #0e0e10; }
.veh-icon .vs { stroke: #2e2f33; }
.veh-icon .vr { fill: #9da1a8; }
.veh-icon .vh { fill: #e4e6e9; }
.tile:hover .veh-icon .vb { fill: #ece8e1; }
.tile:has(input:checked) .veh-icon .vb { fill: var(--red); }
.tile:has(input:checked) .veh-icon .vm { fill: #b9332d; }
.tile:has(input:checked) .veh-icon .vtl { fill: #7d1a15; }
.veh-preview .vwell { fill: #050506; }
.veh-preview .vc { fill: #1d1e21; stroke: #1d1e21; }
.veh-preview .vp { fill: #111215; }
.veh-preview .vl { stroke: rgba(0, 0, 0, .24); stroke-width: .55; }
.veh-preview .vl2 { fill: rgba(0, 0, 0, .3); }
.veh-preview .vshine { stroke: rgba(255, 255, 255, .9); stroke-width: .6; }
.veh-preview .vm { fill: #d3d5d7; stroke: rgba(0, 0, 0, .18); stroke-width: .4; }
.veh-preview .vhl { fill: #f6f9ff; stroke: rgba(0, 0, 0, .25); stroke-width: .35; }
.veh-preview .vtl { fill: #c42a22; }
.veh-preview .vseat { fill: #47505d; }
.veh-preview .vt { fill: #0c0c0e; }
.veh-preview .vs { stroke: #2b2c30; }
.veh-preview .vr { fill: #c3c7cc; }
.veh-preview .vrd { fill: #24262b; }
.veh-preview .vsp { stroke: #d9dce0; }
.veh-preview .vh { fill: #f0f1f3; }
