/* =========================================================
   Bob & Doug Window Tinting
   Palette pulled from brand assets:
   ink #0b0b08 · paper #f1f0ef · glass teal #ace8e7 / #d0fffe
   ========================================================= */

:root {
  --ink: #0b0b08;
  --ink-2: #14150f;
  --ink-soft: #2a2c22;
  --paper: #f6f7f6;
  --paper-2: #eceeec;
  --white: #ffffff;

  --tint-50: #eafbfa;
  --tint-100: #d0fffe;
  --tint-200: #ace8e7;
  --tint-400: #45c9c0;
  --tint-500: #15b3a8;
  --tint-600: #0e9087;
  --tint-700: #0c6f69;

  --muted: #5e6760;
  --muted-light: #9aa6a0;
  --line: rgba(11, 11, 8, 0.10);
  --line-light: rgba(255, 255, 255, 0.12);

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 8px rgba(11, 11, 8, 0.06);
  --shadow: 0 18px 50px -20px rgba(11, 11, 8, 0.30);
  --shadow-tint: 0 24px 60px -24px rgba(14, 144, 135, 0.55);

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }

.container { width: min(var(--maxw), 92vw); margin-inline: auto; }

.visually-hidden, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px; clip: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 600; font-size: .98rem; padding: .85em 1.5em; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--tint-500), var(--tint-700));
  color: var(--white); box-shadow: var(--shadow-tint);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 28px 64px -22px rgba(14,144,135,.7); }
.btn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,.06); }
.btn-block { width: 100%; }

.link-arrow { font-weight: 600; color: var(--tint-600); }
.link-arrow:hover { text-decoration: underline; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px 0;
  transition: padding .3s var(--ease), background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  padding: 8px 0;
  background: rgba(11, 11, 8, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 18px 40px -28px rgba(0,0,0,.8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo { height: 42px; width: auto; transition: height .3s var(--ease); }
.scrolled .brand-logo { height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--white); letter-spacing: -.01em; }
.brand-sub { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--tint-200); }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  color: rgba(255,255,255,.86); font-weight: 500; font-size: .94rem;
  padding: .55em .85em; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav .nav-cta {
  background: var(--tint-500); color: var(--white); font-weight: 600; margin-left: .35rem;
  box-shadow: 0 10px 24px -12px rgba(21,179,168,.9);
}
.nav .nav-cta:hover { background: var(--tint-400); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.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); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate;
  background:
    radial-gradient(120% 90% at 80% -10%, #16302e 0%, transparent 55%),
    radial-gradient(90% 70% at 0% 0%, #122723 0%, transparent 50%),
    linear-gradient(180deg, #0b0b08 0%, #0e1411 60%, #0b0b08 100%);
  color: var(--white);
  padding: 150px 0 0;
  overflow: hidden;
}
.hero-glow {
  position: absolute; z-index: -1; top: -20%; right: -10%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(21,179,168,.32), transparent 62%);
  filter: blur(20px); pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center;
  padding-bottom: 90px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  color: var(--tint-200); background: rgba(172,232,231,.08);
  border: 1px solid rgba(172,232,231,.18); padding: .45em 1em; border-radius: 999px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tint-400); box-shadow: 0 0 0 0 rgba(69,201,192,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(69,201,192,.6);} 70% { box-shadow: 0 0 0 10px rgba(69,201,192,0);} 100% { box-shadow: 0 0 0 0 rgba(69,201,192,0);} }

.hero h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); font-weight: 700; margin: 1.1rem 0 1.2rem; }
.grad-text { background: linear-gradient(100deg, var(--tint-200), var(--tint-400) 60%, var(--tint-100)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lede { color: rgba(255,255,255,.78); font-size: 1.12rem; max-width: 36ch; }
.lede em { color: var(--tint-200); font-style: normal; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.9rem 0 2.4rem; }

.hero-stats { list-style: none; padding: 0; display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--white); }
.hero-stats span { font-size: .82rem; color: var(--muted-light); letter-spacing: .02em; }

/* ----- Tint comparison demo ----- */
.tint-demo { margin: 0; }
.tint-stage {
  position: relative; aspect-ratio: 4 / 3.1; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.08);
  user-select: none; touch-action: pan-y;
  --split: 55%;
}
.pane { position: absolute; inset: 0; overflow: hidden; }
.pane-tinted { width: var(--split); border-right: 2px solid rgba(255,255,255,.85); }
.pane .sky { position: absolute; inset: 0; background: linear-gradient(180deg, #8fd3ff 0%, #cdeaff 48%, #f4e3c4 100%); }
.pane .skyline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background:
    linear-gradient(180deg, transparent, rgba(20,40,45,.05)),
    repeating-linear-gradient(90deg, #2c4a4d 0 26px, #355457 26px 30px, #294245 30px 52px, #324f52 52px 58px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%);
  mask-image: linear-gradient(180deg, transparent, #000 30%);
  clip-path: polygon(0 38%, 8% 38%, 8% 20%, 16% 20%, 16% 46%, 28% 46%, 28% 12%, 38% 12%, 38% 40%, 50% 40%, 50% 26%, 62% 26%, 62% 50%, 74% 50%, 74% 18%, 84% 18%, 84% 44%, 94% 44%, 94% 30%, 100% 30%, 100% 100%, 0 100%);
}
.sun { position: absolute; border-radius: 50%; }
.sun-harsh {
  top: 16%; left: 62%; width: 86px; height: 86px;
  background: radial-gradient(circle, #fff 0%, #fff5cf 40%, #ffd86b 70%, rgba(255,216,107,0) 72%);
  box-shadow: 0 0 80px 40px rgba(255,228,140,.85);
}
.sun-soft {
  top: 17%; left: 60%; width: 72px; height: 72px;
  background: radial-gradient(circle, #eafbfa 0%, #bfeee9 55%, rgba(172,232,231,0) 72%);
  box-shadow: 0 0 40px 12px rgba(172,232,231,.35);
}
.glare {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,.55) 0%, transparent 35%),
    radial-gradient(circle at 66% 22%, rgba(255,244,200,.5), transparent 45%);
  mix-blend-mode: screen;
}
.tint-film {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,40,42,.62), rgba(8,28,32,.5));
  backdrop-filter: saturate(120%);
}
.uv-shield {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(172,232,231,.16) 48%, transparent 62%);
}
.pane-tag {
  position: absolute; bottom: 12px; font-size: .72rem; font-weight: 600; letter-spacing: .03em;
  padding: .35em .8em; border-radius: 999px; backdrop-filter: blur(6px); white-space: nowrap;
}
.tag-clear { right: 12px; background: rgba(255,255,255,.78); color: #5a4a1e; }
.tag-tinted { left: 12px; background: rgba(8,28,32,.7); color: var(--tint-100); border: 1px solid rgba(172,232,231,.3); }

.tint-handle {
  position: absolute; top: 0; bottom: 0; left: var(--split); transform: translateX(-50%);
  width: 44px; display: flex; align-items: center; justify-content: center; z-index: 5;
  cursor: ew-resize; touch-action: none;
}
.handle-line { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.9); }
.handle-grip {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); box-shadow: 0 6px 18px rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center; gap: 3px;
}
.handle-grip span { width: 3px; height: 14px; border-radius: 2px; background: var(--tint-600); }
.tint-handle:focus-visible { outline: none; }
.tint-handle:focus-visible .handle-grip { box-shadow: 0 0 0 4px rgba(69,201,192,.6); }

.tint-readout { display: flex; flex-direction: column; gap: .15rem; margin-top: 1rem; padding-left: .3rem; }
.readout-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted-light); }
.readout-stat { font-family: var(--font-display); font-weight: 600; color: var(--tint-200); font-size: 1.05rem; }

/* ----- Marquee ----- */
.marquee { border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); padding: 16px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: scroll-x 28s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: rgba(255,255,255,.55); white-space: nowrap; }
.marquee span:nth-child(even) { color: var(--tint-400); }
@keyframes scroll-x { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* =========================================================
   SECTIONS (shared)
   ========================================================= */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.section-dark {
  background:
    radial-gradient(80% 60% at 100% 0%, #16302e, transparent 55%),
    linear-gradient(180deg, #0b0b08, #0e1411);
  color: var(--white);
}

.section-head { max-width: 720px; margin: 0 auto clamp(2.4rem, 5vw, 3.8rem); text-align: center; }
.section-head-left { text-align: left; margin-inline: 0; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--tint-600); margin-bottom: .8rem; }
.kicker-light { color: var(--tint-200); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.section-sub { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-sub { color: rgba(255,255,255,.72); }

/* =========================================================
   BENEFITS
   ========================================================= */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.benefit-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(21,179,168,.35); }
.benefit-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--tint-50), var(--tint-200)); color: var(--tint-700);
}
.benefit-icon svg { width: 28px; height: 28px; }
.benefit-card h3 { font-size: 1.22rem; margin-bottom: .55rem; }
.benefit-card p { color: var(--muted); font-size: .96rem; }
.benefit-card strong { color: var(--ink); }

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.why-copy h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.why-copy .btn { margin-top: 1.6rem; }
.why-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.why-list li {
  display: flex; gap: 1.3rem; align-items: flex-start; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.7rem;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.why-list li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.why-num { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--tint-400); line-height: 1; }
.why-list h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.why-list p { color: var(--muted); font-size: .96rem; }

/* =========================================================
   PRICING
   ========================================================= */
.pricing-layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 1.8rem; align-items: start; }

.estimator {
  position: sticky; top: 90px;
  background: linear-gradient(165deg, #10211f, #0b0b08);
  color: var(--white); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.08);
}
.estimator-title { font-size: 1.35rem; margin-bottom: 1.5rem; }
.field { margin-bottom: 1.4rem; }
.field-label { display: block; font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.85); margin-bottom: .6rem; }
.field-label strong { color: var(--tint-200); }

.seg { display: inline-flex; background: rgba(255,255,255,.07); border-radius: 999px; padding: 4px; gap: 2px; width: 100%; }
.seg-btn { flex: 1; padding: .7em 1em; border-radius: 999px; color: rgba(255,255,255,.7); font-weight: 600; font-size: .92rem; transition: background .25s, color .25s; }
.seg-btn.is-active { background: linear-gradient(135deg, var(--tint-500), var(--tint-700)); color: var(--white); }

.select, .estimator .select {
  width: 100%; padding: .8em 1em; border-radius: 12px; background: rgba(255,255,255,.06);
  color: var(--white); border: 1px solid rgba(255,255,255,.14); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ace8e7' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1em center;
}
.select option { color: #111; }
.field-hint { font-size: .82rem; color: var(--tint-200); margin-top: .5rem; min-height: 1.1em; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: rgba(255,255,255,.14); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 4px solid var(--tint-500); cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.4); transition: transform .15s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 4px solid var(--tint-500); cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted-light); margin-top: .5rem; }

.field-checks { display: flex; flex-direction: column; gap: .8rem; }
.check { display: flex; align-items: flex-start; gap: .7rem; font-size: .9rem; color: rgba(255,255,255,.85); cursor: pointer; }
.check em { color: var(--muted-light); font-style: normal; }
.check input { width: 20px; height: 20px; accent-color: var(--tint-500); margin-top: 1px; flex-shrink: 0; }

.estimate-result {
  margin-top: 1.6rem; padding: 1.4rem 1.5rem; border-radius: var(--radius);
  background: rgba(21,179,168,.10); border: 1px solid rgba(69,201,192,.3);
}
.estimate-label { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--tint-200); }
.estimate-amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.5rem); margin: .25rem 0; color: var(--white); }
.estimate-note { font-size: .84rem; color: rgba(255,255,255,.7); }
.estimator-fineprint { font-size: .82rem; color: var(--muted-light); margin-top: 1.1rem; }
.estimator-fineprint a { color: var(--tint-200); font-weight: 600; }

.rate-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.rate-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.rate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rate-card-wide { grid-column: 1 / -1; }
.rate-head { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.rate-emoji { font-size: 1.5rem; }
.rate-head h3 { font-size: 1.3rem; }
.rate-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.rate-list-inline { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
.rate-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px dashed var(--line); }
.rate-list-inline li { flex-direction: column; gap: .2rem; border-bottom: none; padding-bottom: 0; }
.rate-list li:last-child { border-bottom: none; padding-bottom: 0; }
.rate-list span { color: var(--muted); font-size: .95rem; }
.rate-list b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.rate-list b i { font-style: normal; font-size: .75rem; color: var(--muted); font-weight: 500; }
.rate-foot { margin-top: 1.1rem; font-size: .86rem; color: var(--muted); }

/* =========================================================
   SERVICE AREA
   ========================================================= */
.area-checker { display: flex; gap: .7rem; max-width: 560px; margin: 0 auto 1rem; }
.area-checker input {
  flex: 1; padding: .95em 1.2em; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); color: var(--white);
}
.area-checker input::placeholder { color: rgba(255,255,255,.5); }
.area-checker input:focus { outline: none; border-color: var(--tint-400); background: rgba(255,255,255,.1); }
.area-result { text-align: center; min-height: 1.6em; font-weight: 600; margin-bottom: 2.5rem; }
.area-result.ok { color: var(--tint-200); }
.area-result.no { color: #ffd9a8; }

.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.area-zone {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.area-zone:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); border-color: rgba(172,232,231,.35); }
.area-zone h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.area-zone h3 small { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--tint-200); margin-top: .25rem; }
.area-zone p { color: rgba(255,255,255,.72); font-size: .94rem; }
.area-zone-cta { background: linear-gradient(150deg, rgba(21,179,168,.18), rgba(21,179,168,.04)); border-color: rgba(69,201,192,.4); }
.area-zone-cta .link-arrow { color: var(--tint-200); display: inline-block; margin-top: .6rem; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-art { position: relative; }
.about-art-glow {
  position: absolute; inset: 8% 8% auto 8%; aspect-ratio: 1; z-index: 0;
  background: radial-gradient(circle, rgba(21,179,168,.28), transparent 65%); filter: blur(30px);
}
.about-art img { position: relative; z-index: 1; width: 100%; max-width: 460px; margin-inline: auto; filter: drop-shadow(0 30px 50px rgba(11,11,8,.18)); }
.about-copy h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1.1rem; }
.about-copy p { color: var(--muted); margin-bottom: 1rem; }
.about-points { list-style: none; padding: 0; margin-top: 1.6rem; display: flex; flex-direction: column; gap: .8rem; }
.about-points li { position: relative; padding-left: 2rem; color: var(--ink); font-weight: 500; }
.about-points li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--tint-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-layout .section-head { position: sticky; top: 100px; }
.faq-list { display: flex; flex-direction: column; gap: .8rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 1.5rem; box-shadow: var(--shadow-sm); transition: box-shadow .3s, border-color .3s;
}
.faq-item[open] { box-shadow: var(--shadow); border-color: rgba(21,179,168,.3); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.3rem 0; font-family: var(--font-display);
  font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--tint-600);
  transition: transform .3s var(--ease); line-height: 1; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { overflow: hidden; }
.faq-body p { color: var(--muted); padding-bottom: 1.4rem; }
.faq-item[open] .faq-body { animation: faq-open .4s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.contact-list { list-style: none; padding: 0; margin-top: 2rem; display: flex; flex-direction: column; gap: 1.4rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(21,179,168,.14); border: 1px solid rgba(69,201,192,.3); color: var(--tint-200); }
.contact-ico svg { width: 22px; height: 22px; }
.contact-k { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--tint-200); }
.contact-v { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--white); margin: .15rem 0; }
a.contact-v:hover { color: var(--tint-200); }
.contact-meta { display: block; font-size: .86rem; color: rgba(255,255,255,.6); }

.contact-form {
  background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow); color: var(--ink);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .45rem; color: var(--ink); }
.form-field input, .form-field textarea, .contact-form .select {
  width: 100%; padding: .8em 1em; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.contact-form .select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230e9087' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1em center; appearance: none;
}
.form-field input:focus, .form-field textarea:focus, .contact-form .select:focus {
  outline: none; border-color: var(--tint-500); box-shadow: 0 0 0 3px rgba(21,179,168,.15);
}
.form-field input.invalid, .form-field textarea.invalid { border-color: #e2725b; box-shadow: 0 0 0 3px rgba(226,114,91,.15); }
.contact-form .btn { margin-top: .5rem; }
.form-status { margin-top: 1rem; font-weight: 600; font-size: .95rem; text-align: center; min-height: 1.2em; }
.form-status.ok { color: var(--tint-700); }
.form-status.err { color: #c0432c; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: #08100e; color: rgba(255,255,255,.7); padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { height: 50px; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 42ch; font-size: .95rem; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-nav h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--tint-200); margin-bottom: 1rem; }
.footer-nav a, .footer-nav span { display: block; color: rgba(255,255,255,.7); font-size: .94rem; margin-bottom: .6rem; transition: color .2s; }
.footer-nav a:hover { color: var(--tint-200); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.6rem; font-size: .84rem; color: rgba(255,255,255,.5); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--white); display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s, background .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--tint-600); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 70px; }
  .tint-demo { max-width: 520px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .pricing-layout, .about-grid, .faq-layout, .contact-grid { grid-template-columns: 1fr; }
  .estimator, .faq-layout .section-head { position: static; }
  .about-art { order: -1; }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; top: 0; right: 0; left: auto;
    height: 100vh; height: 100dvh; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; justify-content: center; gap: .4rem;
    background: rgba(11,11,8,.96); backdrop-filter: blur(20px); padding: 2rem;
    transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,.5);
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1.1rem; padding: .8em 1em; }
  .nav .nav-cta { text-align: center; margin-left: 0; margin-top: .5rem; }
  .nav-toggle { display: flex; }
  .site-header { padding: 12px 0; background: rgba(11,11,8,.72); backdrop-filter: blur(16px); }

  .hero { padding-top: 110px; }
  .hero-stats { gap: 1.5rem; }
  .card-grid, .area-grid, .rate-cards, .form-row, .footer-nav { grid-template-columns: 1fr; }
  .rate-card-wide { grid-column: auto; }
  .rate-list-inline { flex-direction: column; gap: .7rem; }
  .area-checker { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
  .section-head { text-align: left; }
}

@media (max-width: 400px) {
  .brand-text { display: none; }
  .hero-stats strong { font-size: 1.8rem; }
}

/* =========================================================
   404 / ERROR PAGE
   ========================================================= */
.error-main {
  min-height: 100vh; display: grid; place-items: center; text-align: center;
  padding: 116px 0 64px; position: relative; isolation: isolate; overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(120% 90% at 80% -10%, #16302e 0%, transparent 55%),
    radial-gradient(90% 70% at 0% 0%, #122723 0%, transparent 50%),
    linear-gradient(180deg, #0b0b08 0%, #0e1411 60%, #0b0b08 100%);
}
.error-main .hero-glow { top: 50%; right: 50%; transform: translate(50%, -50%); }
.error-inner { width: min(680px, 92vw); }
.error-code {
  font-family: var(--font-display); font-weight: 700; line-height: .85;
  font-size: clamp(6rem, 26vw, 15rem); letter-spacing: -.05em;
  background: linear-gradient(120deg, var(--tint-200), var(--tint-500) 55%, var(--tint-100));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  position: relative; display: inline-block;
}
.error-code .pane-split {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(10,40,42,.0) 49.4%, rgba(255,255,255,.5) 49.5%, rgba(255,255,255,.5) 50.5%, rgba(10,40,42,0) 50.6%);
  -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: initial;
  mix-blend-mode: screen;
}
.error-tag {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: .4rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--tint-200);
  background: rgba(172,232,231,.08); border: 1px solid rgba(172,232,231,.18);
  padding: .45em 1em; border-radius: 999px;
}
.error-main h1 { font-size: clamp(1.6rem, 4.5vw, 2.5rem); margin: 1rem 0 .9rem; }
.error-main p { color: rgba(255,255,255,.74); font-size: 1.1rem; max-width: 46ch; margin: 0 auto 2rem; }
.error-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.error-links {
  margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--line-light);
  display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; font-size: .95rem;
}
.error-links a { color: rgba(255,255,255,.75); font-weight: 500; transition: color .2s; }
.error-links a:hover { color: var(--tint-200); }
