/* Indra Auto-Elétrica — mobile-first. Motion direction: "a corrente passa":
   one yellow current runs through the page (header line, process rail,
   charging stat bars) and the headline lamp ignites once on load. */

@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('../fonts/barlow-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url('../fonts/barlow-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url('../fonts/barlow-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 700; font-display: swap; src: url('../fonts/barlow-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-display: swap; src: url('../fonts/barlow-condensed-800.woff2') format('woff2'); }

/* Registered so the hero photo's border can sweep; unsupported browsers keep the full border. */
@property --sweep { syntax: '<angle>'; inherits: false; initial-value: 360deg; }

:root {
  --accent: #FFD500;
  --ink: #0E0E0E;
  --ink-2: #141414;
  --paper: #F3F3F1;
  --line: #DEDEDA;
  --muted: #4A4A4A;
  --on-dark: #D6D6D6;
  --on-dark-2: #CFCFCF;
  --star: #E8A800;

  --font: 'Barlow', system-ui, sans-serif;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  --gutter: 16px;
  --header-h: 64px;
  --bar-h: 72px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.25, .8, .3, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-reveal: 760ms;
  --stagger: 0ms;
  --rise: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button { font: inherit; color: inherit; touch-action: manipulation; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.cta :focus-visible, .review-accent :focus-visible, .topbar :focus-visible { outline-color: var(--ink); }

.i { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-solid { fill: currentColor; stroke: none; }
.sprite { position: absolute; }
.wrap { max-width: 1240px; margin-inline: auto; }
.accent { color: var(--accent); }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px;
  background: var(--accent); color: var(--ink); font-weight: 700; border-radius: 8px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 1;
  font-size: clamp(36px, 10.4vw, 44px); text-wrap: balance;
}
.h2-cta { font-size: clamp(34px, 9.6vw, 44px); }
.body-text { font-size: 16px; line-height: 1.65; color: var(--muted); }
.body-text-dark { color: var(--on-dark-2); line-height: 1.6; }

.pill {
  align-self: flex-start; display: inline-flex; gap: 8px; align-items: center;
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.pill-light { background: #fff; border: 1px solid var(--line); }
.pill-dark { border: 1px solid rgba(255, 255, 255, .25); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-soft), box-shadow var(--dur) var(--ease-soft),
    background-color var(--dur) var(--ease-soft), color var(--dur) var(--ease-soft);
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn-xl { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-outline-ink { border: 2px solid var(--ink); }
.btn-outline-accent { align-self: flex-start; border: 2px solid var(--accent); color: var(--accent); }
.btn-ghost-light { border: 2px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-arrow { transition: transform var(--dur) var(--ease-out); }

/* ---------- Topbar ---------- */
.topbar { background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 600; }
.topbar-inner {
  max-width: 1240px; margin-inline: auto; padding: 8px max(var(--gutter), env(safe-area-inset-left));
  display: flex; gap: 8px 28px; align-items: center; justify-content: space-between;
}
.topbar-group { flex: 1; display: flex; gap: 8px 24px; align-items: center; justify-content: space-between; }
.topbar-item { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.topbar a.topbar-item { padding-block: 12px; margin-block: -12px; }
.topbar-whats, .topbar-address { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }
.header-inner {
  max-width: 1240px; margin-inline: auto; height: var(--header-h);
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
}
.logo { position: relative; z-index: 2; display: block; padding-block: 3px; }
.logo img { height: 42px; width: auto; }
.header-cta { display: none; }

/* The current: reading progress, drawn on the header's lower edge. */
.scroll-current {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); box-shadow: 0 0 10px rgba(255, 213, 0, .7);
  transform: scaleX(0); transform-origin: left center;
}

.menu-btn {
  position: relative; z-index: 2; width: 48px; height: 48px; margin-right: -8px;
  display: grid; place-items: center; background: none; border: 0; cursor: pointer;
}
.menu-btn-bars, .menu-btn-bars::before {
  display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform var(--dur) var(--ease-out);
}
.menu-btn-bars { transform: translateY(-4px); }
.menu-btn-bars::before { content: ''; transform: translateY(8px); }
.menu-btn[aria-expanded='true'] .menu-btn-bars { transform: rotate(45deg); }
.menu-btn[aria-expanded='true'] .menu-btn-bars::before { transform: rotate(-90deg); }

.nav-list a { display: block; position: relative; }

@media (max-width: 1023.98px) {
  .nav {
    position: fixed; inset: 0; z-index: 1; height: 100vh; height: 100dvh; overflow-y: auto;
    padding: calc(var(--menu-top, var(--header-h)) + 16px) 20px max(24px, env(safe-area-inset-bottom));
    display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
    background: var(--ink); visibility: hidden; clip-path: inset(0 0 100% 0);
    transition: clip-path 420ms var(--ease-out), visibility 0s linear 420ms;
  }
  .menu-open .nav { visibility: visible; clip-path: inset(0); transition: clip-path 420ms var(--ease-out); }
  .menu-open { overflow: hidden; }
  .nav-list a {
    padding: 8px 0; min-height: 48px;
    font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
    font-size: clamp(30px, 6.4vh, 44px); line-height: 1.05;
    opacity: 0; transform: translateY(14px);
    transition: opacity var(--dur) var(--ease-soft), transform var(--dur) var(--ease-soft);
  }
  .menu-open .nav-list a {
    opacity: 1; transform: none;
    transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
    transition-delay: calc(60ms + var(--n, 0) * 45ms);
  }
  .nav-list li:nth-child(2) a { --n: 1; }
  .nav-list li:nth-child(3) a { --n: 2; }
  .nav-list li:nth-child(4) a { --n: 3; }
  .nav-list li:nth-child(5) a { --n: 4; }
  .nav-list li:nth-child(6) a { --n: 5; }
  .nav-list a[aria-current] { color: var(--accent); }
  .nav-extras { display: flex; flex-direction: column; gap: 12px; }
  .nav-note { color: #BDBDBD; font-size: 14px; line-height: 1.5; padding-top: 4px; }
}

/* ---------- Hero ---------- */
.hero-section { padding: 12px var(--gutter) 0; background: var(--ink); }
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: 1240px; margin-inline: auto; border-radius: 22px;
  padding: 28px 20px 20px; color: #fff; background: var(--ink);
  display: grid; gap: 28px; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: url('../img/hero-bg-640.webp') center / cover no-repeat;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14, 14, 14, .9) 0%, rgba(14, 14, 14, .82) 60%, rgba(14, 14, 14, .7) 100%);
}
.hero-copy, .hero-visual { min-width: 0; display: flex; flex-direction: column; }
.hero-copy { gap: 18px; }
.hero-kicker { padding: 7px 13px; letter-spacing: .06em; font-size: 11.5px; }
.hero-spark { color: var(--accent); }
.hero-title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  line-height: .95; letter-spacing: -.01em; font-size: clamp(40px, 13vw, 76px);
}
/* Padding offsets keep É and Ç inside the mask used by the line reveal. */
.line { display: block; overflow: hidden; padding-block: .14em .08em; margin-block: -.14em -.08em; }
.line > span { display: block; }
.ignite { color: var(--accent); }
.hero-lede { font-size: 16px; line-height: 1.6; color: var(--on-dark); max-width: 560px; }
.hero-actions { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.hero-actions .btn { width: 100%; }
.hero-call { display: inline-flex; align-items: center; gap: 14px; }
.hero-call-icon {
  flex: none; width: 52px; height: 52px; border-radius: 999px; background: #fff; color: var(--ink);
  display: grid; place-items: center; transition: transform var(--dur) var(--ease-out);
}
.hero-call-text, .since-text, .rating-side, .emergency-text { display: flex; flex-direction: column; gap: 2px; }
.hero-call-title, .since-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.15; }
.hero-call-number, .since-sub { font-size: 15px; color: var(--on-dark); }
.since-sub { font-size: 14px; line-height: 1.4; }

.hero-photo {
  --sweep: 360deg; padding: 4px; border-radius: 22px;
  background: conic-gradient(from 210deg, var(--accent) var(--sweep), rgba(255, 255, 255, .14) 0);
}
.hero-photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%;
  border-radius: 18px;
}
.since {
  order: 3; margin-top: 12px; display: flex; gap: 14px; align-items: center; padding: 14px 16px;
  border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
}
.since-icon {
  flex: none; width: 48px; height: 48px; border-radius: 999px; background: var(--accent); color: var(--ink);
  display: grid; place-items: center;
}
.hero-photo { order: 1; }
.rating {
  order: 2; position: relative; align-self: flex-start; margin: -44px 0 0 12px;
  display: flex; gap: 14px; align-items: center; padding: 12px 18px;
  border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}
.rating-num { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; }
.rating-side { gap: 4px; }
.stars { display: flex; gap: 3px; color: var(--star); }
.rating-sub { font-size: 13px; font-weight: 600; }
.hero-foot { height: 32px; background: linear-gradient(180deg, var(--ink) 0, var(--ink) 50%, var(--paper) 50%); }

/* ---------- Sections ---------- */
.section { padding: 48px var(--gutter); }
.about { display: grid; gap: 32px; align-items: center; }
.about-copy { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.checks { display: grid; gap: 10px 40px; font-weight: 600; }
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: center; }
.check {
  flex: none; width: 24px; height: 24px; border-radius: 999px; background: var(--accent); color: var(--ink);
  display: grid; place-items: center;
}
.check .i { stroke-width: 3; }

.emergency {
  display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center;
  padding: 18px; border-radius: 18px; background: var(--ink); color: #fff;
}
.emergency-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: var(--ink);
  display: grid; place-items: center;
}
.emergency-text { gap: 4px; }
.emergency-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.emergency-sub { font-size: 14px; line-height: 1.4; color: var(--on-dark-2); }
.emergency-btn { grid-column: 1 / -1; }

.about-media { min-width: 0; position: relative; }
.media { overflow: hidden; background: #1c1c1c; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-about { border-radius: 20px; aspect-ratio: 4 / 3.2; }
.media-about img { object-position: 40% center; }
.years {
  position: absolute; left: 12px; bottom: 12px; padding: 12px 16px; border-radius: 16px;
  background: var(--accent); color: var(--ink); display: flex; flex-direction: column; gap: 2px;
}
.years-num { font-family: var(--font-display); font-weight: 800; font-size: 42px; line-height: .95; font-variant-numeric: tabular-nums; }
.years-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.cities-section { padding: 0 var(--gutter) 48px; }
.cities {
  padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; align-items: center;
}
.cities-label {
  grid-column: 1 / -1; font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase;
}
.city { display: flex; gap: 6px; align-items: center; font-weight: 700; font-size: 16px; color: #3A3A3A; }

/* ---------- Dark panels ---------- */
.panel-section { padding-inline: var(--gutter); }
.panel { max-width: 1240px; margin-inline: auto; border-radius: 22px; padding: 36px 20px 20px; color: #fff; }
.dark-bg {
  background-color: #121212;
  background-image: linear-gradient(180deg, rgba(18, 18, 18, .93), rgba(18, 18, 18, .97)), url('../img/dark-bg.webp');
  background-size: cover; background-position: center;
}
.services { display: flex; flex-direction: column; gap: 28px; }
.services-head { display: grid; gap: 20px; }
.services-title { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.services-intro { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.services-intro .btn { width: 100%; }

.service-grid { display: grid; gap: 16px; }
.service {
  position: relative; background: #fff; color: var(--ink-2); border-radius: 20px; padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.service:active { transform: scale(.985); }
.service-head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.service-title { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.05; text-transform: uppercase; }
.stretched::after { content: ''; position: absolute; inset: 0; border-radius: 20px; }
.service-arrow {
  flex: none; width: 44px; height: 44px; border-radius: 999px; background: var(--accent); color: var(--ink);
  display: grid; place-items: center; transition: transform var(--dur) var(--ease-out);
}
.service-arrow .i { stroke-width: 2.4; }
.service-text { font-size: 15px; line-height: 1.55; color: var(--muted); }
.media-service { border-radius: 14px; aspect-ratio: 16 / 9; margin-top: auto; }
.media-service img { transition: transform 700ms var(--ease-out); }

.feature-grid { display: grid; gap: 10px; }
.feature {
  display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px;
  font-weight: 600; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
}
.feature .i { color: var(--accent); }

/* ---------- Stats ---------- */
.stats-section { padding: 32px var(--gutter) 0; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat {
  padding: 20px 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px; text-align: center;
}
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-bar {
  height: 4px; width: 48px; margin: 4px auto; background: var(--accent); border-radius: 4px;
  transform-origin: left center; transition: transform 900ms var(--ease-out) 150ms;
}
.stat-label { font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--muted); }

/* ---------- Process rail ---------- */
.section-steps { padding-block: 56px; }
.steps-block { display: flex; flex-direction: column; gap: 28px; }
.steps-head { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.steps-head .pill { align-self: center; }
.steps-wrap { --p: 1; position: relative; padding-left: 28px; }
.rail { position: absolute; left: 8px; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: var(--line); }
.rail-fill {
  position: absolute; inset: 0; border-radius: 3px; background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 213, 0, .75); transform: scaleY(var(--p)); transform-origin: top center;
}
.rail-head {
  display: none; position: absolute; left: 50%; top: calc(var(--p) * 100%); width: 11px; height: 11px;
  margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 3px var(--accent), 0 0 16px 4px rgba(255, 213, 0, .9);
}
.motion .rail-head { display: block; }
.steps { display: grid; gap: 14px; }
.step {
  position: relative; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.step::before {
  content: ''; position: absolute; left: -27px; top: 45px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--ink);
  transition: background-color var(--dur) var(--ease-soft), border-color var(--dur) var(--ease-soft);
}
.step-final { background: var(--ink); color: #fff; border-color: var(--ink); }
.step-top { display: flex; justify-content: space-between; align-items: center; }
.step-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--accent);
  display: grid; place-items: center;
  transition: color var(--dur) var(--ease-soft), background-color var(--dur) var(--ease-soft);
}
.step-final .step-icon { background: var(--accent); color: var(--ink); }
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: #5F5F5B;
  transition: color var(--dur) var(--ease-soft);
}
.step-final .step-num { color: #A8A8A8; }
.step-title { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.1; text-transform: uppercase; }
.step-text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.step-final .step-text { color: var(--on-dark-2); }

/* ---------- Reviews ---------- */
.reviews { display: flex; flex-direction: column; gap: 24px; }
.reviews-intro { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.review-grid { min-width: 0; display: grid; gap: 14px; }
.review {
  padding: 22px; border-radius: 18px; background: #fff; color: var(--ink-2);
  display: flex; flex-direction: column; gap: 12px;
}
.review-mark { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: .6; height: 26px; color: var(--star); }
.review blockquote { flex: 1; font-size: 15px; line-height: 1.6; color: #333; }
.review figcaption { font-weight: 700; font-size: 15px; }
.review figcaption span { display: block; font-weight: 500; font-size: 13px; color: #666; }
.review-accent { background: var(--accent); color: var(--ink); }
.review-accent .review-mark, .review-accent blockquote, .review-accent figcaption span { color: var(--ink); }

/* ---------- CTA ---------- */
.cta {
  padding: 28px 20px; border-radius: 22px; background: var(--accent); color: var(--ink);
  display: flex; flex-direction: column; gap: 20px;
}
.cta-copy { display: flex; flex-direction: column; gap: 10px; }
.cta-copy p { font-size: 16px; font-weight: 500; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink); color: #fff;
  padding: 44px var(--gutter) calc(var(--bar-h) + 20px + env(safe-area-inset-bottom));
}
.footer-inner { display: flex; flex-direction: column; gap: 32px; }
.footer-grid { display: grid; gap: 32px; }
.footer-col { min-width: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: #DADADA; }
.footer-col p { line-height: 1.6; color: #BDBDBD; }
.footer-logo { height: 56px; width: auto; align-self: flex-start; }
.footer-photo { width: 100%; max-width: 360px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 45% center; border-radius: 14px; margin-top: 6px; }
.footer-title { margin-bottom: 2px; font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; color: var(--accent); }
.footer-link { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; margin-block: -6px; transition: color var(--dur-fast) var(--ease-soft); }
.footer-link-accent { font-weight: 700; color: var(--accent); }
.footer-address { line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid #2A2A2A; padding-top: 20px;
  display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #9A9A9A;
}

/* ---------- Mobile call bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px max(12px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: rgba(14, 14, 14, .96); border-top: 1px solid #2A2A2A;
  transition: transform var(--dur) var(--ease-out), visibility 0s linear 0s;
}
.sticky-bar.is-hidden { transform: translateY(100%); visibility: hidden; transition: transform var(--dur) var(--ease-soft), visibility 0s linear var(--dur); }
.sticky-btn { min-height: 50px; padding: 0 12px; }

/* ---------- Breakpoints ---------- */
@media (max-width: 359.98px) {
  .topbar { font-size: 12px; }
  .topbar-item .i { display: none; }
  .hero-kicker { font-size: 10.5px; letter-spacing: .04em; }
  .since-sub { font-size: 13px; }
}

@media (min-width: 560px) {
  .checks { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
  .hero-actions .btn, .services-intro .btn { width: auto; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .emergency { grid-template-columns: auto 1fr auto; }
  .emergency-btn { grid-column: auto; }
  .footer-bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
}

@media (min-width: 640px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service:last-child { grid-column: 1 / -1; }
  .service:last-child .media-service { aspect-ratio: 21 / 8; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cities { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
  .cities-label { flex-basis: 100%; }
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --header-h: 76px; --stagger: 70ms; --rise: 22px; }
  .topbar-whats { display: flex; }
  .topbar-group { flex: 0 1 auto; }
  .topbar-inner { font-size: 14px; }
  .logo img { height: 50px; }
  .header-cta { display: inline-flex; margin-left: auto; }
  .hero-section { padding-top: 20px; }
  .hero { padding: 48px 40px; border-radius: 28px; gap: 36px; }
  .hero::before { background-image: url('../img/hero-bg-1143.webp'); }
  .hero::after { background: linear-gradient(90deg, rgba(14, 14, 14, .95) 0%, rgba(14, 14, 14, .84) 50%, rgba(14, 14, 14, .6) 100%); }
  .hero-lede { font-size: 18px; }
  .hero-kicker { padding: 8px 16px; font-size: 13px; letter-spacing: .08em; }
  .hero-title { font-size: clamp(64px, 10vw, 84px); }
  .hero-photo img { aspect-ratio: 16 / 9; }
  .hero-foot { height: 56px; }
  .pill { font-size: 13px; }
  .h2 { font-size: clamp(44px, 6vw, 60px); }
  .h2-cta { font-size: clamp(40px, 5.2vw, 52px); }
  .h2-reviews { font-size: clamp(44px, 5vw, 56px); }
  .body-text { font-size: 17px; }
  .section { padding-block: 72px; }
  .section-steps { padding-block: 88px; }
  .about { gap: 40px; }
  .media-about { aspect-ratio: 16 / 10; border-radius: 24px; }
  .years { left: 20px; bottom: 20px; padding: 18px 22px; border-radius: 18px; }
  .years-num { font-size: 52px; }
  .years-label { font-size: 14px; }
  .cities-section { padding-bottom: 72px; }
  .cities { padding: 22px 32px; }
  .city { font-size: 17px; }
  .panel { padding: 56px 40px 48px; border-radius: 28px; }
  .services { gap: 40px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .feature { padding: 18px 20px; font-size: 16px; }
  .service { padding: 22px; border-radius: 22px; }
  .service-title { font-size: 28px; }
  .stats-section { padding-top: 56px; }
  .stats { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .stat { padding: 28px; border-radius: 20px; }
  .stat-num { font-size: 56px; }
  .stat-label { font-size: 16px; }
  .review-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .review { padding: 26px; border-radius: 20px; }
  .cta { padding: 48px; border-radius: 28px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
  .cta-copy { flex: 1 1 420px; }
  .cta-copy p { font-size: 17px; }
  .footer { padding: 64px var(--gutter) 28px; }
  .sticky-bar { display: none; }
}

@media (min-width: 900px) {
  .cities-label { flex-basis: auto; }
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .service:last-child { grid-column: auto; }
  .service:last-child .media-service, .media-service { aspect-ratio: 16 / 10; }

  .steps-wrap { padding: 34px 0 0; }
  .rail { left: 0; right: 0; top: 8px; bottom: auto; width: auto; height: 3px; }
  .rail-fill { transform: scaleX(var(--p)); transform-origin: left center; }
  .rail-head { left: calc(var(--p) * 100%); top: 50%; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .step { padding: 32px; border-radius: 22px; gap: 14px; }
  .step::before { left: 32px; top: -33px; }
  .step-icon { width: 60px; height: 60px; }
  .step-num { font-size: 48px; }
}

@media (min-width: 1024px) {
  .topbar-address { display: flex; }
  .topbar-inner { padding-block: 10px; }
  .header-inner { gap: 32px; }
  .menu-btn { display: none; }
  .header-cta { margin-left: 0; }
  .nav { display: block; }
  .nav-extras { display: none; }
  .nav-list { display: flex; gap: 6px 28px; font-size: 16px; font-weight: 600; }
  .nav-list a { padding: 10px 0; transition: color var(--dur-fast) var(--ease-soft); }
  .nav-list a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: left center; transition: transform var(--dur) var(--ease-out);
  }
  .nav-list a[aria-current] { color: var(--accent); }
  .nav-list a[aria-current]::after { transform: scaleX(1); }

  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 48px; padding: 72px 56px; }
  .hero-copy { gap: 24px; }
  .hero-title { font-size: clamp(60px, 6vw, 84px); }
  .hero-visual { gap: 18px; }
  .since { order: 1; margin: 0; align-self: flex-end; max-width: 340px; padding: 16px 20px; }
  .hero-photo { order: 2; }
  .hero-photo img { aspect-ratio: auto; height: 320px; }
  .rating { order: 3; margin: 0; padding: 16px 22px; box-shadow: none; gap: 16px; }
  .rating-num { font-size: 44px; }
  .rating-sub { font-size: 14px; }

  .about { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; }
  .about-copy { gap: 22px; }
  .media-about { aspect-ratio: auto; height: 480px; }
  .services-head { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; }
  .panel { padding: 64px 48px 56px; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 36px; }
  .footer-photo { max-width: 280px; }
}

@media (min-width: 1200px) {
  .reviews { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 3fr); gap: 40px; padding-block: 64px; }
}

/* ---------- Hover: pointers only ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn-accent:hover { box-shadow: 0 8px 24px rgba(255, 213, 0, .35); transform: translateY(-2px); }
  .btn-ink:hover { background: #2a2a2a; transform: translateY(-2px); }
  .btn-outline-ink:hover { background: var(--ink); color: #fff; }
  .btn-outline-accent:hover { background: var(--accent); color: var(--ink); }
  .btn-ghost-light:hover { background: rgba(255, 255, 255, .1); }
  .btn:hover .btn-arrow { transform: translateX(4px); }
  .hero-call:hover .hero-call-icon { transform: rotate(-10deg) scale(1.06); }
  .nav-list a:hover { color: var(--accent); }
  .nav-list a:hover::after { transform: scaleX(1); }
  .footer-link:hover { color: var(--accent); }
  .service:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
  .service:hover .service-arrow { transform: rotate(45deg); }
  .service:hover .media-service img { transform: scale(1.05); }
}

/* ---------- Motion ---------- */
.motion .reveal:not(.is-in) { opacity: 0; transform: translateY(var(--rise)); }
.reveal.is-in {
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
/* Clip the image, not the observed wrapper: a fully clipped target never reports as intersecting. */
.motion .reveal-media:not(.is-in) { opacity: 1; transform: none; background: transparent; }
.motion .reveal-media:not(.is-in) img { clip-path: inset(0 0 100% 0); }
.reveal-media.is-in img { clip-path: inset(0); transition: clip-path 1000ms var(--ease-out); }
.motion .reveal:not(.is-in) .stat-bar { transform: scaleX(0); }

.motion .step:not(.lit)::before { background: var(--paper); border-color: var(--line); }
.motion .step:not(.lit) .step-icon { color: #6B6B6B; }
.motion .step-final:not(.lit) .step-icon { background: #2A2A2A; color: #8A8A8A; }
.motion .step:not(.lit) .step-num { color: #949490; }
.motion .step-final:not(.lit) .step-num { color: #6B6B6B; }
.step.just-lit .step-icon { animation: charge 620ms var(--ease-out); }
.seen .hazard { animation: hazard 900ms steps(1) 2 300ms; }

@keyframes charge {
  0% { box-shadow: 0 0 0 0 rgba(255, 213, 0, .75); }
  100% { box-shadow: 0 0 0 16px rgba(255, 213, 0, 0); }
}
@keyframes hazard {
  0%, 100% { background: var(--accent); }
  50% { background: #6B5A00; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes line-up { from { transform: translateY(112%); } }
@keyframes settle { from { transform: scale(1.09); } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.94); } }
@keyframes star-in { from { opacity: 0; transform: scale(.3) rotate(-40deg); } }
@keyframes sweep { from { --sweep: 0deg; } to { --sweep: 360deg; } }
@keyframes spark {
  0%, 100% { opacity: 1; }
  20%, 44% { opacity: .15; }
  32% { opacity: 1; filter: drop-shadow(0 0 6px var(--accent)); }
}
/* A lamp catching: two dips, under the 3-flashes-per-second safety limit. */
@keyframes ignite {
  0%, 22% { color: rgba(255, 255, 255, .2); text-shadow: none; }
  26% { color: var(--accent); text-shadow: 0 0 26px rgba(255, 213, 0, .75); }
  40% { color: rgba(255, 255, 255, .28); text-shadow: none; }
  60% { color: var(--accent); text-shadow: 0 0 34px rgba(255, 213, 0, .85); }
  100% { color: var(--accent); text-shadow: 0 0 0 rgba(255, 213, 0, 0); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero::before { animation: settle 1800ms var(--ease-out) backwards; }
  .hero-kicker { animation: hero-rise 620ms var(--ease-out) 60ms backwards; }
  .hero-spark { animation: spark 900ms linear 500ms backwards; }
  .line > span { animation: line-up 820ms var(--ease-out) backwards; }
  .line:nth-child(1) > span { animation-delay: 80ms; }
  .line:nth-child(2) > span { animation-delay: 150ms; }
  .line:nth-child(3) > span.ignite { animation: line-up 820ms var(--ease-out) 220ms backwards, ignite 1100ms linear 420ms backwards; }
  .hero-lede { animation: hero-rise 720ms var(--ease-out) 380ms backwards; }
  .hero-actions { animation: hero-rise 720ms var(--ease-out) 470ms backwards; }
  .hero-photo { animation: hero-rise 820ms var(--ease-out) 300ms backwards, sweep 1500ms var(--ease-soft) 420ms backwards; }
  .since { animation: pop 620ms var(--ease-out) 820ms backwards; }
  .rating { animation: pop 620ms var(--ease-out) 960ms backwards; }
  .stars .i { animation: star-in 460ms var(--ease-out) backwards; }
  .stars .i:nth-child(1) { animation-delay: 1060ms; }
  .stars .i:nth-child(2) { animation-delay: 1120ms; }
  .stars .i:nth-child(3) { animation-delay: 1180ms; }
  .stars .i:nth-child(4) { animation-delay: 1240ms; }
  .stars .i:nth-child(5) { animation-delay: 1300ms; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

@media print {
  .sticky-bar, .scroll-current, .menu-btn { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
