:root {
  --red: #e10600;
  --ink: #161616;
  --paper: #f3efe8;
  --white: #ffffff;
  --surface: #ffffff;
  --line: #e4ddd3;
  --muted: #5c574f;
  --faint: #8a837a;
  --soft: #fbf9f6;
  --soft-2: #f7f4ef;
  --soft-3: #f6f1ea;
  --track: #ece4da;
  --pick: #fcfaf7;
  --footer: #ebe6de;
  --header-h: 88px;
  --font: "Outfit", Arial, sans-serif;
  --shadow: 0 18px 50px rgba(22, 22, 22, 0.05);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f3eee6;
  --paper: #171513;
  --surface: #221f1c;
  --line: #3c3732;
  --muted: #b8b0a6;
  --faint: #9a9288;
  --soft: #2b2723;
  --soft-2: #1b1916;
  --soft-3: #2e2a26;
  --track: #403b35;
  --pick: #2b2723;
  --footer: #12100e;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-tap-highlight-color: transparent;
}

body.nav-open {
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  padding: max(12px, env(safe-area-inset-top)) 20px 0;
}

.header__bar {
  position: relative;
  isolation: isolate;
  max-width: 1120px;
  margin: 0 auto;
  min-height: 64px;
  padding: 0 10px 0 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: border-color 220ms ease;
}

.header__bar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: none;
  transition: background 220ms ease, box-shadow 220ms ease;
}

.header.is-solid .header__bar {
  border-color: var(--line);
}

.header.is-solid .header__bar::before {
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(22, 22, 22, 0.08);
}

.header__bar > * {
  position: relative;
  z-index: 1;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
  flex-shrink: 0;
  position: relative;
  z-index: 41;
  color: var(--white);
}

.header.is-solid .logo {
  color: var(--ink);
}

.logo__name {
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.04em;
}

.logo__hard {
  color: var(--red);
}

.logo__city {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.nav__top,
.nav__bottom,
.nav-backdrop {
  display: none;
}

.nav__links {
  display: contents;
}

.nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
}

.header.is-solid .nav__links a {
  color: var(--ink);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 200ms ease;
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: transform 180ms ease, background 180ms ease;
}

.header__cta:hover {
  transform: translateY(-1px);
  background: #c50500;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  position: relative;
  z-index: 40;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.header.is-solid .theme-toggle {
  border-color: var(--line);
  color: var(--ink);
  background: var(--soft);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

html[data-theme="dark"] .theme-toggle__moon,
html:not([data-theme="dark"]) .theme-toggle__sun {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 40;
  margin-right: 6px;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  background: var(--white);
  content: "";
  transition: transform 180ms ease, top 180ms ease, background 180ms ease;
}

.header.is-solid .menu-toggle span,
.header.is-solid .menu-toggle span::before,
.header.is-solid .menu-toggle span::after {
  background: var(--ink);
}

.menu-toggle span {
  top: 21px;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.banner,
.stats,
.services-showcase,
.estimator,
.process,
.results,
.contact {
  scroll-margin-top: 96px;
}

.banner {
  position: relative;
  height: 100dvh;
  min-height: 100vh;
  overflow: hidden;
  background: #2a2a2a;
}

.banner__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner__mute {
  position: absolute;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 2;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stats {
  padding: 88px 24px 100px;
  background: var(--paper);
}

.stats__head {
  max-width: 1120px;
  margin: 0 auto 40px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.stats__head h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.stats__intro {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.stats__grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  perspective: 900px;
}

.stat-card {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  transform-style: preserve-3d;
  transition: transform 160ms ease, border-color 160ms ease;
}

.stat-card.is-in {
  animation: rise 700ms ease both;
}

.stat-card:nth-child(2).is-in { animation-delay: 80ms; }
.stat-card:nth-child(3).is-in { animation-delay: 160ms; }
.stat-card:nth-child(4).is-in { animation-delay: 240ms; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.stat-card__index {
  display: block;
  margin-bottom: 28px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.stat-card__value {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.stats__source {
  max-width: 1120px;
  margin: 18px auto 0;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.5;
}

.services-showcase {
  padding: 104px 24px 112px;
  background:
    radial-gradient(circle at 50% 0%, rgba(231, 43, 32, 0.045), transparent 34%),
    var(--soft-2);
}

.services-showcase__head {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.services-showcase__head h2 {
  margin: 0 0 16px;
  font-size: clamp(2.45rem, 5.6vw, 4.65rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.88;
  text-transform: uppercase;
}

.services-showcase__head h2 span {
  display: block;
  margin-top: 10px;
  color: var(--red);
  font-style: italic;
}

.services-showcase__head > p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.services-list {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 250px;
  padding: 52px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  box-shadow: 0 10px 30px rgba(30, 26, 21, 0.045);
  transition:
    opacity 550ms ease,
    transform 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease;
}

.service-card::before {
  display: none;
}

.service-card::after {
  display: none;
}

.service-card.is-visible {
  opacity: 1;
  transform: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 18px 42px rgba(30, 26, 21, 0.1);
}

.service-card > img {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 102px;
  margin: 5px 0 17px;
  object-fit: contain;
  transition: transform 350ms ease;
}

.service-card:hover > img {
  transform: scale(1.07);
}

.service-card__number {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 17px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-card__number::after {
  content: "ECUHARD";
  color: var(--faint);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-align: center;
  text-transform: uppercase;
}

.service-card__link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.services-cta {
  max-width: 1120px;
  margin: 24px auto 0;
  padding: 25px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 25px rgba(30, 26, 21, 0.035);
}

.services-cta div {
  display: grid;
  gap: 5px;
}

.services-cta strong {
  font-size: 18px;
}

.services-cta div span {
  color: var(--muted);
  font-size: 13px;
}

.services-cta > a {
  flex: 0 0 auto;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.page h1 {
  margin: 0 0 16px;
  font-size: 42px;
  letter-spacing: -0.03em;
}

.page p {
  margin: 0;
  max-width: 52ch;
  line-height: 1.6;
  color: var(--muted);
}

.page a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1100px) {
  .theme-toggle {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
    margin-left: 0;
    z-index: 40;
  }

  .header__cta {
    display: none;
  }

  .header__bar {
    z-index: 33;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 28;
    border: 0;
    padding: 0;
    background: rgba(22, 22, 22, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 320ms ease, visibility 320ms ease;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav {
    --nav-shift: calc(100% + 28px);
    position: fixed;
    top: calc(max(12px, env(safe-area-inset-top)) + 72px);
    right: 12px;
    bottom: auto;
    left: auto;
    width: min(82vw, 348px);
    height: auto;
    max-height: calc(100dvh - max(12px, env(safe-area-inset-top)) - 88px);
    z-index: 32;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 26px 22px 20px;
    overflow: auto;
    overscroll-behavior: contain;
    border-radius: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: -20px 18px 60px rgba(22, 22, 22, 0.16);
    transform: translateX(var(--nav-shift));
    visibility: hidden;
    pointer-events: none;
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 420ms;
  }

  body.nav-open .nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
  }

  .nav__top,
  .nav__bottom {
    display: block;
  }

  .nav__top {
    margin-bottom: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .nav__eyebrow {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--faint);
  }

  .nav__mark {
    font-size: 22px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.04em;
    color: var(--ink);
  }

  .nav__mark span {
    color: var(--red);
  }

  .nav__links {
    display: flex;
    flex-direction: column;
    counter-reset: item;
  }

  .nav__links a {
    color: var(--ink);
    counter-increment: item;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 0 2px;
    border-bottom: 1px solid var(--line);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: none;
  }

  .nav__links a:last-child {
    border-bottom: 0;
  }

  .nav__links a::before {
    content: counter(item, decimal-leading-zero);
    flex-shrink: 0;
    width: 1.7em;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--faint);
  }

  .nav__links a::after {
    content: "";
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 7px;
    height: 7px;
    margin-left: auto;
    background: none;
    border-right: 1.6px solid var(--faint);
    border-bottom: 1.6px solid var(--faint);
    transform: rotate(-45deg);
    opacity: 0.55;
    transition: transform 200ms ease, opacity 200ms ease, border-color 200ms ease;
  }

  .nav__links a:hover::after,
  .nav__links a.is-active::after {
    transform: rotate(-45deg) translate(2px, 2px);
    opacity: 1;
    border-color: var(--red);
  }

  .header.is-solid .nav__links a.is-active,
  .header.is-solid .nav__links a:hover,
  .header.is-solid .nav__links a:focus-visible,
  .nav__links a.is-active,
  .nav__links a:hover,
  .nav__links a:focus-visible {
    color: var(--red);
  }

  .nav__links a.is-active::before,
  .nav__links a:hover::before {
    color: var(--red);
  }

  .nav__bottom {
    margin-top: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .nav a.nav__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .nav a.nav__phone {
    display: block;
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--muted);
  }

  .nav a.nav__cta::after,
  .nav a.nav__phone::after {
    display: none;
  }

  body.nav-open .wa-dock {
    opacity: 0 !important;
    pointer-events: none;
  }

  body.nav-open .menu-toggle span {
    background: transparent;
  }

  body.nav-open .menu-toggle span::before {
    top: 0;
    transform: rotate(45deg);
  }

  body.nav-open .menu-toggle span::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

@media (max-width: 1100px) and (prefers-reduced-motion: reduce) {
  .nav,
  body.nav-open .nav,
  .nav-backdrop {
    transition: none;
  }
}

@media (max-width: 1100px) {
  html[data-theme="dark"] .nav-backdrop {
    background: rgba(0, 0, 0, 0.55);
  }

  html[data-theme="dark"] .nav {
    box-shadow: -20px 18px 70px rgba(0, 0, 0, 0.48);
  }
}

@media (max-width: 900px) {

  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-showcase__head {
    max-width: 680px;
  }

  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }

  .services-showcase {
    padding-inline: 16px;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .services-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

.estimator {
  padding: 72px 24px 120px;
  background: var(--paper);
}

.estimator__head {
  max-width: 1120px;
  margin: 0 auto 36px;
}

.estimator__head h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.estimator__head > p {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.estimator__board {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(22, 22, 22, 0.05);
}

.estimator__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.estimator__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.estimator__cat svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.estimator__cat.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.estimator__picks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  position: relative;
  z-index: 4;
}

.pick {
  position: relative;
}

.pick__btn {
  width: 100%;
  min-height: 54px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--pick);
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.pick.is-open .pick__btn,
.pick__btn:focus-visible {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.12);
}

.pick.is-disabled .pick__btn {
  opacity: 0.48;
  cursor: not-allowed;
}

.pick__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.pick__icon svg {
  width: 22px;
  height: 22px;
}

.pick__logo,
.pick__mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.pick__logo svg,
.pick__logo img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: cover;
  border-radius: 6px;
}

.pick__mark {
  border-radius: 8px;
  color: var(--white);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.pick__text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pick__text.is-placeholder {
  color: var(--faint);
  font-weight: 500;
}

.pick__caret {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 160ms ease;
}

.pick.is-open .pick__caret {
  transform: rotate(225deg) translate(-1px, -1px);
}

.pick__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 260px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(22, 22, 22, 0.12);
}

.pick__option {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}

.pick__option:hover,
.pick__option.is-active {
  background: var(--soft-3);
}

.estimator__empty {
  margin-top: 22px;
  padding: 42px 20px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--soft-2) 70%, transparent), var(--surface) 60%);
}

.estimator__empty[hidden],
.estimator__result[hidden],
.stage-panel[hidden] {
  display: none;
}

.estimator__empty-art {
  width: min(420px, 100%);
  margin-bottom: 8px;
}

.estimator__empty-art svg {
  width: 100%;
  height: auto;
  display: block;
}

.estimator__empty strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.estimator__empty span {
  max-width: 46ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.estimator__result {
  margin-top: 22px;
  animation: rise 500ms ease both;
}

.estimator__result-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.estimator__vehicle {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.estimator__fuel {
  display: inline-flex;
  margin-top: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--soft-3);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.estimator__reset {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.estimator__reset:hover {
  border-color: var(--ink);
}

.estimator__result-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

.stage-panel {
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.stage-panel:hover {
  transform: translateY(-2px);
}

.stage-panel.is-active {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(22, 22, 22, 0.06);
}

.stage-panel header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 14px;
}

.stage-panel header span {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.stage-panel h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.stage-panel header p {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.stage-panel dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.stage-panel dt {
  margin-bottom: 4px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stage-panel dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.stage-panel dd b {
  color: var(--faint);
  font-weight: 600;
}

.stage-panel dd i {
  color: var(--faint);
  font-style: normal;
}

.stage-panel dd em {
  color: var(--red);
  font-style: normal;
}

.stage-panel[data-stage="2"] dd em {
  color: var(--ink);
}

.stage-panel[data-stage="3"] dd em {
  color: #c45c12;
}

.stage-panel[data-stage="4"] dd em { color: #1d6a8a; }
.stage-panel[data-stage="5"] dd em { color: #7a4ea3; }
.stage-panel[data-stage="6"] dd em { color: #1f7a52; }
.stage-panel[data-stage="7"] dd em { color: #a34747; }
.stage-panel[data-stage="8"] dd em { color: #3e4d96; }

.stage-panel dd small {
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
}

.stage-panel__delta {
  margin-left: auto;
  color: #2f7a45;
  font-size: 13px;
  font-weight: 800;
}

.dyno {
  grid-column: 2;
  grid-row: 1 / -1;
  padding: 16px 16px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, var(--surface), var(--soft-2));
}

.dyno__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.dyno__modes {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: var(--track);
}

.dyno__modes button {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.dyno__modes button.is-active {
  background: #fff;
  color: #161616;
  box-shadow: 0 4px 12px rgba(22, 22, 22, 0.08);
}

.dyno__readout {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

.dyno__svg {
  width: 100%;
  height: auto;
  display: block;
}

.dyno__svg .grid {
  stroke: var(--line);
  stroke-width: 1;
}

.dyno__svg .axis {
  fill: var(--faint);
  font-family: var(--font);
  font-size: 11px;
}

.dyno__svg .line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.dyno__svg .line.is-stock {
  stroke: #b7aea3;
  stroke-dasharray: 6 6;
}

.dyno__svg .line.is-s1 {
  stroke: var(--red);
}

.dyno__svg .line.is-s2 {
  stroke: var(--ink);
}

.dyno__svg .line.is-s3 {
  stroke: #c45c12;
}

.dyno__svg .line.is-s4 { stroke: #1d6a8a; }
.dyno__svg .line.is-s5 { stroke: #7a4ea3; }
.dyno__svg .line.is-s6 { stroke: #1f7a52; }
.dyno__svg .line.is-s7 { stroke: #a34747; }
.dyno__svg .line.is-s8 { stroke: #3e4d96; }

.dyno__svg .line.is-dim {
  opacity: 0.22;
}

.dyno__legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 6px 0 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.dyno__legend i {
  display: inline-block;
  width: 18px;
  height: 3px;
  margin-right: 6px;
  border-radius: 99px;
  vertical-align: middle;
}

.dyno__legend .is-stock {
  background: #b7aea3;
}

.dyno__legend .is-s1 {
  background: var(--red);
}

.dyno__legend .is-s2 {
  background: var(--ink);
}

.dyno__legend .is-s3 {
  background: #c45c12;
}

.dyno__legend .is-s4 { background: #1d6a8a; }
.dyno__legend .is-s5 { background: #7a4ea3; }
.dyno__legend .is-s6 { background: #1f7a52; }
.dyno__legend .is-s7 { background: #a34747; }
.dyno__legend .is-s8 { background: #3e4d96; }

.estimator__note {
  margin-top: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 16px;
  background: var(--soft-3);
}

.estimator__note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.estimator__note a {
  flex: 0 0 auto;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .estimator__picks {
    grid-template-columns: 1fr 1fr;
  }

  .estimator__result-grid {
    grid-template-columns: 1fr;
  }

  .dyno {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .estimator {
    padding-inline: 16px;
  }

  .estimator__board {
    padding: 16px;
  }

  .estimator__picks {
    grid-template-columns: 1fr;
  }

  .estimator__result-top,
  .dyno__bar,
  .estimator__note {
    flex-direction: column;
    align-items: flex-start;
  }

  .dyno__readout {
    text-align: left;
  }
}

.process {
  padding: 32px 24px 48px;
  background: var(--soft-2);
}

.process__head {
  max-width: 1120px;
  margin: 0 auto 36px;
}

.process__head h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.process__head > p {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.process__board {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 26px 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(22, 22, 22, 0.05);
}

.process__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.process__line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 21px;
  height: 2px;
  background: var(--track);
  pointer-events: none;
}

.process__line i {
  display: block;
  height: 100%;
  width: 12%;
  background: var(--red);
  border-radius: 99px;
  transition: width 420ms ease;
}

.process__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 6px 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.process__step span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-3);
  border: 2px solid var(--track);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0;
}

.process__step.is-active {
  color: var(--ink);
}

.process__step.is-active span {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(225, 6, 0, 0.22);
}

.process__stage {
  min-height: 280px;
}

.process__panel {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
  border-radius: 20px;
  background: var(--soft);
  animation: rise 420ms ease;
}

.process__panel[hidden] {
  display: none;
}

.process__art {
  display: grid;
  place-items: center;
  min-height: 200px;
  border-radius: 18px;
  background: var(--surface);
}

.process__art svg {
  width: min(220px, 100%);
  height: auto;
}

.process__meta {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.process__meta b {
  font-weight: 800;
}

.process__panel h3 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.process__panel p {
  margin: 0 0 16px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.process__panel ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.process__panel li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.process__panel li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.process__foot {
  margin-top: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 16px;
  background: var(--soft-3);
}

.process__foot p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.process__foot a {
  flex: 0 0 auto;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .estimator__picks {
    grid-template-columns: 1fr 1fr;
  }

  .estimator__result-grid {
    grid-template-columns: 1fr;
  }

  .dyno {
    grid-column: 1;
    grid-row: auto;
  }

  .process__panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process__art {
    min-height: 160px;
  }
}

@media (max-width: 640px) {
  .estimator {
    padding-inline: 16px;
  }

  .estimator__board {
    padding: 16px;
  }

  .estimator__picks {
    grid-template-columns: 1fr;
  }

  .estimator__result-top,
  .dyno__bar,
  .estimator__note {
    flex-direction: column;
    align-items: flex-start;
  }

  .dyno__readout {
    text-align: left;
  }

  .process {
    padding-inline: 16px;
  }

  .process__board {
    padding: 16px;
  }

  .process__rail {
    grid-template-columns: 1fr 1fr;
    gap: 14px 8px;
  }

  .process__line {
    display: none;
  }

  .process__foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

.results {
  padding: 48px 24px 48px;
  background: var(--paper);
}

.results__head {
  max-width: 1120px;
  margin: 0 auto 36px;
}

.results__head h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.results__head > p {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.results__board {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(22, 22, 22, 0.05);
}

.results__types,
.results__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.results__type,
.results__brand {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.results__type.is-active,
.results__brand.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.results__brands {
  margin-bottom: 16px;
}

.results__workspace {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 14px;
  align-items: stretch;
}

.results__list {
  max-height: 360px;
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}

.results__empty {
  margin: 18px 12px;
  color: var(--faint);
  font-size: 13px;
}

.results__item {
  width: 100%;
  padding: 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
}

.results__item strong {
  display: block;
  font-size: 13px;
  letter-spacing: -0.02em;
}

.results__item small {
  display: block;
  margin-top: 3px;
  color: var(--faint);
  font-size: 11px;
}

.results__item span {
  flex: 0 0 auto;
  color: #2f7a45;
  font-size: 12px;
  font-weight: 800;
}

.results__item:hover,
.results__item.is-active {
  background: var(--surface);
}

.results__item.is-active {
  box-shadow: 0 6px 16px rgba(22, 22, 22, 0.05);
}

.results__hero {
  padding: 26px 28px 22px;
  border-radius: 20px;
  background: var(--soft);
  min-height: 360px;
}

.results__hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.results__car {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.results__spec {
  display: inline-block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.results__stage {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.results__meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.result-meter span {
  display: block;
  margin-bottom: 6px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.result-meter strong {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.result-meter em {
  font-style: normal;
  color: var(--red);
}

.result-meter small {
  color: var(--faint);
  font-size: 14px;
  font-weight: 700;
}

.result-meter__track {
  position: relative;
  height: 10px;
  margin-bottom: 10px;
  border-radius: 99px;
  background: var(--track);
}

.result-meter__track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: var(--red);
  transition: width 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.result-meter__track b {
  position: absolute;
  top: -3px;
  width: 3px;
  height: 16px;
  border-radius: 99px;
  background: var(--ink);
  transform: translateX(-50%);
  left: 0;
  transition: left 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.result-meter p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.result-meter p b {
  color: #2f7a45;
  font-weight: 800;
}

.results__trust {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
}

.results__trust li {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}

.results__trust strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.results__trust span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.results__foot {
  margin-top: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 16px;
  background: var(--soft-3);
}

.results__foot p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.results__foot a {
  flex: 0 0 auto;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .results__workspace {
    grid-template-columns: 1fr;
  }

  .results__list {
    max-height: 220px;
  }

  .results__trust,
  .results__meters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .results {
    padding-inline: 16px;
  }

  .results__board {
    padding: 16px;
  }

  .results__trust,
  .results__meters {
    grid-template-columns: 1fr;
  }

  .results__hero-top,
  .results__foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stat-card.is-in {
    animation: none;
  }

  .service-card {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .estimator__result,
  .process__panel {
    animation: none;
  }

  .result-meter__track i,
  .result-meter__track b {
    transition: none;
  }
}

.contact {
  padding: 48px 24px 40px;
  background: var(--soft-2);
}

.contact__head {
  max-width: 1120px;
  margin: 0 auto 36px;
}

.contact__head h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.contact__head > p {
  max-width: 580px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.contact__board {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(22, 22, 22, 0.05);
}

.contact__owners {
  grid-column: 1 / -1;
  padding: 4px 4px 16px;
  border-bottom: 1px solid var(--line);
}

.contact__owners span {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact__owners p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.contact__owners strong {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contact__owners i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
}

.contact__channels {
  display: grid;
  gap: 10px;
}

.contact__card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}

.contact__card.is-whatsapp {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.contact__card.is-whatsapp small {
  color: rgba(255, 255, 255, 0.78);
}

.contact__card.is-static {
  cursor: default;
}

.contact__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
}

.contact__card.is-whatsapp .contact__icon {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.contact__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.contact__card strong {
  display: block;
  font-size: 15px;
}

.contact__card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.contact__form {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 8px 4px 0;
}

.contact__form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}

.contact__form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.12);
}

.contact__form button {
  margin-top: 6px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.footer {
  background: var(--footer);
  border-top: 1px solid var(--line);
}

.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px 28px;
}

.footer .logo {
  color: var(--ink);
}

.footer__brand p {
  max-width: 32ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer__col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer__col strong {
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__col a,
.footer__col span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.footer__col a:hover {
  color: var(--ink);
}

.footer__bar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.footer__bar p {
  margin: 0;
  color: var(--faint);
  font-size: 13px;
}

.footer__bar a {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .contact__board {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .contact {
    padding-inline: 16px;
  }

  .contact__board {
    padding: 16px;
  }

  .footer__inner,
  .footer__bar {
    padding-inline: 16px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .header {
    padding-inline: 10px;
  }

  .header__bar {
    min-height: 56px;
    padding: 0 6px 0 16px;
    gap: 10px;
  }

  .nav {
    top: calc(max(12px, env(safe-area-inset-top)) + 64px);
    right: 10px;
    bottom: auto;
    width: min(86vw, 348px);
    padding: 22px 18px 16px;
    border-radius: 24px;
  }

  .logo__name {
    font-size: 16px;
  }

  .theme-toggle,
  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .banner,
  .stats,
  .services-showcase,
  .estimator,
  .process,
  .results,
  .contact {
    scroll-margin-top: 80px;
  }

  .stats,
  .services-showcase,
  .estimator,
  .process,
  .results,
  .contact {
    padding-top: 48px;
  }

  .services-showcase__head h2 {
    font-size: clamp(2rem, 12vw, 2.8rem);
    line-height: 0.95;
  }

  .service-card {
    min-height: 220px;
    padding: 44px 14px 20px;
  }

  .service-card > img {
    width: 108px;
    height: 84px;
  }

  .services-cta > a,
  .process__foot a,
  .contact__form button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .pick__text {
    font-size: 15px;
  }

  .pick.is-open .pick__menu {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 60;
    max-height: min(52vh, 340px);
  }

  .process__step {
    font-size: 11px;
    text-align: center;
    letter-spacing: 0.04em;
  }

  .process__panel h3,
  .results__car,
  .estimator__vehicle {
    overflow-wrap: break-word;
  }

  .contact__form input,
  .contact__form textarea {
    font-size: 16px;
  }

  .contact__owners p {
    gap: 10px 12px;
  }

  .contact__owners strong {
    font-size: 1.05rem;
  }
}

html[data-theme="dark"] .service-card,
html[data-theme="dark"] .process__art,
html[data-theme="dark"] .estimator__empty-art {
  background: #efe8de;
}

html[data-theme="dark"] .service-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .service-card h3,
html[data-theme="dark"] .service-card__number {
  color: #161616;
}

html[data-theme="dark"] .service-card__number::after {
  color: #6a645c;
}

html[data-theme="dark"] .header:not(.is-solid) .theme-toggle {
  background: rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .dyno__svg .line.is-s2 {
  stroke: #f3eee6;
}

html[data-theme="dark"] .stage-panel[data-stage="2"] dd em {
  color: #f3eee6;
}

html[data-theme="dark"] .results__stage {
  background: #f3eee6;
  color: #161616;
}

.wa-dock {
  position: fixed;
  right: 22px;
  left: auto;
  bottom: 28px;
  z-index: 36;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: #161616;
  color: #f3eee6;
  box-shadow: 0 16px 40px rgba(22, 22, 22, 0.22);
  transform: translateX(18px);
  opacity: 0;
  pointer-events: none;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 420ms ease, background 180ms ease;
}

.wa-dock.is-on {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.wa-dock__icon {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  flex: 0 0 auto;
}

.wa-dock__icon svg {
  width: 28px;
  height: 28px;
}

.wa-dock__ring {
  position: absolute;
  left: 6px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

.wa-dock__text {
  display: grid;
  line-height: 1.15;
  padding-right: 6px;
}

.wa-dock__text small {
  color: #8dce9f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wa-dock__text strong {
  font-size: 15px;
  letter-spacing: -0.03em;
}

.wa-dock:hover {
  background: #111;
}

.wa-dock:hover .wa-dock__icon {
  transform: scale(1.06);
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

html[data-theme="dark"] .wa-dock {
  background: #221f1c;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

@media (max-width: 720px) {
  .wa-dock {
    right: 14px;
    left: auto;
    bottom: 16px;
    padding-right: 6px;
  }

  .wa-dock__text {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-dock,
  .wa-dock__icon {
    transition: none;
  }

  .wa-dock__ring {
    animation: none;
    display: none;
  }
}
