/* ==========================================================================
   Mahoney Window Tinting — Goodyear, AZ
   Cold-pitch demo site for Incline Digital Marketing Agency
   Palette: cool graphite/charcoal · warm amber sun · cool steel blue
   ========================================================================== */

/* ---------- Custom properties ---------- */
:root {
  /* base graphite / charcoal */
  --graphite-900: #0d0f12;
  --graphite-850: #14171b;
  --graphite-800: #1b1f24;
  --graphite-700: #23272e;
  --graphite-600: #2e333b;
  --graphite-500: #3a414b;
  --graphite-400: #565d68;

  /* text */
  --ink: #f3f5f7;
  --ink-soft: #c4cbd3;
  --ink-muted: #8a93a0;

  /* amber sun accent */
  --amber: #f5a524;
  --amber-bright: #ffba3d;
  --amber-deep: #d8860b;

  /* cool blue accent */
  --blue: #4aa3df;
  --blue-bright: #6cc0f5;
  --blue-deep: #2a7fb8;

  /* surfaces */
  --surface: var(--graphite-800);
  --surface-2: var(--graphite-700);
  --surface-3: var(--graphite-600);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* effects */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-amber: 0 12px 36px rgba(245, 165, 36, 0.28);

  --container: 1180px;
  --header-h: 72px;

  --font-head: "Sora", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::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;
  font-family: var(--font-body);
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(245, 165, 36, 0.10), transparent 60%),
    radial-gradient(900px 520px at 10% 0%, rgba(74, 163, 223, 0.10), transparent 55%),
    var(--graphite-900);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1200;
  background: var(--amber);
  color: var(--graphite-900);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 92px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--graphite-850), var(--graphite-900)); border-block: 1px solid var(--border); }

.section__head { max-width: 720px; margin-bottom: 52px; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin: 14px 0 14px; }
.section__lead { color: var(--ink-soft); font-size: 1.06rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 5px 12px;
  border: 1px solid rgba(245, 165, 36, 0.32);
  border-radius: 999px;
  background: rgba(245, 165, 36, 0.07);
}

.accent { color: var(--amber); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--amber-bright), var(--amber-deep));
  color: var(--graphite-900);
  box-shadow: var(--shadow-amber);
}
.btn--primary:hover { box-shadow: 0 16px 40px rgba(245, 165, 36, 0.4); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue-bright); background: rgba(74, 163, 223, 0.08); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-soft);
  border-color: var(--border);
}
.btn--ghost:hover { color: var(--ink); border-color: var(--border-strong); }

.btn--sm { padding: 9px 16px; font-size: 0.86rem; }
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(13, 15, 18, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(13, 15, 18, 0.92);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo__mark { flex: none; border-radius: 9px; box-shadow: var(--shadow-sm); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.logo__sub { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue-bright); margin-top: 3px; }

.nav { display: flex; gap: 6px; }
.nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }

.site-header__actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 84px; overflow: hidden; }
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 380px at 84% 8%, rgba(245, 165, 36, 0.18), transparent 62%),
    radial-gradient(560px 420px at 4% 92%, rgba(74, 163, 223, 0.16), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  font-weight: 800;
  margin: 18px 0 18px;
}
.hero__sub { color: var(--ink-soft); font-size: 1.12rem; max-width: 540px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }

.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.hero__trust svg { color: var(--amber); flex: none; }

/* hero visual / car card */
.hero__visual { display: flex; justify-content: center; }
.car-card {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(160deg, var(--graphite-700), var(--graphite-850));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.car-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px 160px at 80% 0%, rgba(245, 165, 36, 0.14), transparent 70%);
  pointer-events: none;
}
.car-card__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 8px;
}
.car-card__label .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.22);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.22); }
  50% { box-shadow: 0 0 0 8px rgba(245, 165, 36, 0.04); }
}
.car-svg { width: 100%; height: auto; }

.car-card__bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.metric { text-align: center; }
.metric__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--amber);
}
.metric__lbl { display: block; font-size: 0.72rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Trust bar ---------- */
.trustbar {
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.trustbar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-block: 24px;
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.trustbar__item svg { color: var(--amber); flex: none; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: linear-gradient(165deg, var(--graphite-800), var(--graphite-850));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(245, 165, 36, 0.12);
  color: var(--amber);
  margin-bottom: 18px;
  border: 1px solid rgba(245, 165, 36, 0.22);
}
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Why us ---------- */
.why__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.why__intro h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 14px 0 16px; }
.why__intro p { color: var(--ink-soft); margin-bottom: 26px; font-size: 1.04rem; }

.why__features { display: grid; gap: 18px; }
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.feature:hover { transform: translateX(4px); border-color: var(--border-strong); background: rgba(255, 255, 255, 0.04); }
.feature__icon {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(74, 163, 223, 0.12);
  color: var(--blue-bright);
  border: 1px solid rgba(74, 163, 223, 0.24);
}
.feature h3 { font-size: 1.08rem; margin-bottom: 5px; }
.feature p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Showcase / compare slider ---------- */
.compare {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 16 / 8.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  user-select: none;
  touch-action: none;
}
.compare__pane { position: absolute; inset: 0; }
.compare__pane--tinted {
  width: 50%;
  border-right: 3px solid var(--amber);
  z-index: 2;
}
.compare__scene {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #6fb7e6 0%, #bfe0f3 46%, #e9d3a0 78%, #d9b072 100%);
  overflow: hidden;
}
.compare__scene--tinted {
  background: linear-gradient(180deg, #2c3742 0%, #38454f 46%, #44423a 80%, #3a3530 100%);
}
.compare__pane--tinted .compare__scene { width: 200vw; max-width: 920px; }

.compare__sun {
  position: absolute;
  top: 14%; right: 16%;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff5d6 0%, #ffd166 45%, #f5a524 75%);
  box-shadow: 0 0 70px 30px rgba(255, 209, 102, 0.6);
}
.compare__sun--dim {
  background: radial-gradient(circle, #c9d4dc 0%, #8fa1ad 55%, #5e6b75 80%);
  box-shadow: 0 0 30px 8px rgba(120, 140, 155, 0.35);
}
.compare__glare {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%),
    radial-gradient(400px 200px at 80% 22%, rgba(255, 255, 255, 0.5), transparent 70%);
  mix-blend-mode: screen;
}
.compare__heat {
  position: absolute;
  left: 22px; bottom: 22px;
  background: rgba(13, 15, 18, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 16px;
}
.compare__temp {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
}
.compare__heat--hot .compare__temp { color: #ff7a59; }
.compare__heat--cool .compare__temp { color: var(--blue-bright); }
.compare__cap { display: block; font-size: 0.72rem; color: var(--ink-soft); margin-top: 4px; }

.compare__tag {
  position: absolute;
  top: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 3;
}
.compare__tag--left { right: 16px; background: rgba(13, 15, 18, 0.7); color: #fff; border: 1px solid var(--border-strong); }
.compare__tag--right { left: 16px; background: var(--amber); color: var(--graphite-900); }

.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}
.compare__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 44px;
  margin-left: -22px;
  display: grid;
  place-items: center;
  z-index: 4;
  pointer-events: none;
  color: var(--graphite-900);
}
.compare__handle::before {
  content: "";
  position: absolute;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.compare__handle svg { position: relative; }

.showcase__notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.showcase__note {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.showcase__note strong { color: var(--ink); display: block; margin-bottom: 3px; font-family: var(--font-head); }

/* ---------- Testimonials ---------- */
.quote {
  position: relative;
  background: linear-gradient(165deg, var(--graphite-800), var(--graphite-850));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px 24px;
  margin: 0;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.quote:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.quote__mark {
  font-family: var(--font-head);
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--amber);
  opacity: 0.5;
  margin-bottom: 6px;
}
.quote blockquote { margin: 0 0 16px; color: var(--ink-soft); font-size: 1rem; }
.quote figcaption { font-family: var(--font-head); font-weight: 700; color: var(--blue-bright); font-size: 0.92rem; }

.reviews__disclaimer { margin-top: 26px; text-align: center; color: var(--ink-muted); font-size: 0.84rem; font-style: italic; }

/* ---------- FAQ ---------- */
.faq__wrap { max-width: 820px; }
.faq { display: grid; gap: 12px; }
.faq__item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.faq__item[open] { border-color: rgba(245, 165, 36, 0.34); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--amber);
  font-weight: 400;
  flex: none;
  transition: transform 0.22s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 22px 20px; }
.faq__body p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- CTA band ---------- */
.ctaband {
  position: relative;
  padding: 64px 0;
  background:
    radial-gradient(700px 300px at 18% 30%, rgba(245, 165, 36, 0.18), transparent 60%),
    radial-gradient(700px 300px at 90% 70%, rgba(74, 163, 223, 0.18), transparent 60%),
    linear-gradient(135deg, var(--graphite-700), var(--graphite-850));
  border-block: 1px solid var(--border);
  overflow: hidden;
}
.ctaband__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.ctaband h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 6px; }
.ctaband p { color: var(--ink-soft); max-width: 460px; }
.ctaband__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: start;
}
.contact__info h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin: 14px 0 14px; }
.contact__info > p { color: var(--ink-soft); margin-bottom: 26px; }
.contact__list { display: grid; gap: 14px; margin-bottom: 20px; }
.contact__list li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}
.contact__list svg { color: var(--amber); flex: none; }
.contact__list a:hover { color: var(--blue-bright); }
.contact__note { color: var(--ink-muted); font-size: 0.9rem; }

/* form */
.quote-form {
  background: linear-gradient(165deg, var(--graphite-800), var(--graphite-850));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.84rem;
  margin-bottom: 7px;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--graphite-900);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { resize: vertical; min-height: 100px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.18);
}
.field input.invalid,
.field textarea.invalid { border-color: #ff7a59; box-shadow: 0 0 0 3px rgba(255, 122, 89, 0.18); }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238a93a0'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }

.form-status { margin-top: 14px; font-weight: 600; font-size: 0.94rem; min-height: 1.2em; }
.form-status.ok { color: var(--blue-bright); }
.form-status.err { color: #ff7a59; }
.form-fineprint { margin-top: 12px; color: var(--ink-muted); font-size: 0.8rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--graphite-900);
  border-top: 1px solid var(--border);
  padding-top: 44px;
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.site-footer__brand { display: flex; align-items: center; gap: 13px; }
.site-footer__brand strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.site-footer__brand span { display: block; color: var(--ink-muted); font-size: 0.84rem; }
.site-footer__nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer__nav a { color: var(--ink-soft); font-size: 0.92rem; font-weight: 500; }
.site-footer__nav a:hover { color: var(--amber); }

.site-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px 24px 40px;
  color: var(--ink-muted);
  font-size: 0.86rem;
}
.credit a { color: var(--blue-bright); font-weight: 600; }
.credit a:hover { color: var(--amber); text-decoration: underline; }

/* ---------- Mobile call bar ---------- */
.mobilebar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 950;
  display: none;
  gap: 0;
  background: rgba(13, 15, 18, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-strong);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}
.mobilebar__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 13px;
  border-radius: 999px;
  margin: 0 5px;
}
.mobilebar__btn--call { background: rgba(74, 163, 223, 0.16); color: var(--blue-bright); border: 1px solid rgba(74, 163, 223, 0.32); }
.mobilebar__btn--quote { background: linear-gradient(135deg, var(--amber-bright), var(--amber-deep)); color: var(--graphite-900); }

/* ==========================================================================
   Opening animation overlay — bright pane darkening to cut glare
   ========================================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--graphite-900);
  overflow: hidden;
  transition: opacity 0.55s var(--ease), visibility 0.55s var(--ease);
}
.intro.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.intro__scene {
  position: relative;
  width: min(78vw, 420px);
  aspect-ratio: 3 / 2;
}
.intro__sky {
  position: absolute;
  inset: 8px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, #7ec0ec 0%, #cfe7f6 50%, #f0d9a8 80%, #e0bb7e 100%);
}
.intro__sun {
  position: absolute;
  top: 16%; right: 18%;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7dd 0%, #ffd166 50%, #f5a524 78%);
  box-shadow: 0 0 60px 26px rgba(255, 209, 102, 0.7);
  animation: introSun 2.4s var(--ease) forwards;
}
@keyframes introSun {
  0% { box-shadow: 0 0 60px 26px rgba(255, 209, 102, 0.7); filter: brightness(1.3); }
  100% { box-shadow: 0 0 18px 6px rgba(255, 209, 102, 0.25); filter: brightness(0.8); }
}
.intro__glare {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.75) 50%, transparent 62%),
    radial-gradient(280px 160px at 78% 22%, rgba(255, 255, 255, 0.7), transparent 70%);
  mix-blend-mode: screen;
  animation: introGlare 2.4s var(--ease) forwards;
}
@keyframes introGlare {
  0% { opacity: 1; }
  60% { opacity: 0.35; }
  100% { opacity: 0; }
}
.intro__pane {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.intro__tint {
  transform-origin: top;
  transform: scaleY(0);
  animation: introTint 2.4s var(--ease) forwards;
}
@keyframes introTint {
  0% { transform: scaleY(0); }
  18% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

.intro__copy { text-align: center; animation: introCopy 0.7s var(--ease) 0.5s both; }
@keyframes introCopy {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.intro__brandmark {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  letter-spacing: 0.16em;
  background: linear-gradient(90deg, var(--amber-bright), var(--blue-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.intro__tag {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.intro__skip {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 9px 20px;
  border-radius: 999px;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.intro__skip:hover { color: var(--ink); border-color: var(--blue); }

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

/* stagger children of grids a touch */
.grid--3 .reveal:nth-child(2) { transition-delay: 0.08s; }
.grid--3 .reveal:nth-child(3) { transition-delay: 0.16s; }
.grid--3 .reveal:nth-child(5) { transition-delay: 0.08s; }
.grid--3 .reveal:nth-child(6) { transition-delay: 0.16s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .why__grid { grid-template-columns: 1fr; gap: 36px; }
  .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .nav { display: none; }
}

@media (max-width: 880px) {
  .trustbar__inner { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .showcase__notes { grid-template-columns: 1fr; }
  .site-header__actions .btn--ghost { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .container { padding-inline: 18px; }
  .grid--3 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .ctaband__inner { flex-direction: column; align-items: flex-start; }
  .ctaband__actions { width: 100%; }
  .ctaband__actions .btn { flex: 1; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; }
  .mobilebar { display: flex; }
  main { padding-bottom: 76px; }
  .hero__cta .btn { flex: 1; }
  .quote-form { padding: 22px; }
  .compare__heat { left: 12px; bottom: 12px; padding: 9px 12px; }
  .compare__temp { font-size: 1.3rem; }
}

@media (max-width: 400px) {
  .trustbar__inner { grid-template-columns: 1fr; }
  .logo__sub { display: none; }
  .hero__content h1 { font-size: 2.05rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .intro { display: none; }
}
