/* ═══════════════════════════════════════
   XV-Detailing · styles.css
   ═══════════════════════════════════════ */

/* ── RESET ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── VARIABLES ─────────────────────── */
:root {
  --accent:      #e32636;
  --accent-dim:  #b01e2c;
  --bg:          #0d0d0d;
  --bg2:         #111111;
  --card:        #161616;
  --card2:       #1c1c1c;
  --border:      #282828;
  --border2:     #333333;
  --muted:       #888;
  --dim:         #555;
  --w:           1240px;
  --pad:         96px;
}

/* ── CONTAINER ─────────────────────── */
.container {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION HELPERS ───────────────── */
.section { padding: var(--pad) 0; }

.section-head { margin-bottom: 64px; }
.section-head--center { text-align: center; }
.section-head--center .s-desc { margin-inline: auto; }
.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.s-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  border: none;
  padding: 5px 0;
  border-radius: 2px;
  margin-bottom: 18px;
}
.s-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.s-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 18px;
}
.s-title em { font-style: italic; color: var(--accent); }

.s-desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.75;
}

/* ── BUTTONS ───────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 50px;
  border: none;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .18s, box-shadow .18s;
  cursor: pointer;
}
.btn:active { transform: scale(.98); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.btn-accent::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: btn-shine 5s ease-in-out infinite;
}
@keyframes btn-shine {
  0%, 60%  { left: -75%; opacity: 0; }
  65%      { opacity: 1; }
  80%, 100%{ left: 130%; opacity: 0; }
}
.btn-accent:hover {
  background: var(--accent-dim);
  box-shadow: 0 0 24px rgba(227,38,54,.25);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border2);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-full { width: 100%; }

/* ─────────────────────────────────────
   HEADER
───────────────────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  padding: 14px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, padding .3s;
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: -1;
}
.header.scrolled {
  border-bottom-color: var(--border);
  padding: 10px 0;
}

.header__wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__mark {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -.06em;
  line-height: 1;
  text-shadow: 0 0 20px rgba(227,38,54,.4);
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo__name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.logo__sub {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 2px;
}
.nav__item {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 4px;
  transition: color .18s;
}
.nav__item:hover { color: #fff; }

.s-tag__num {
  color: var(--muted);
  font-weight: 400;
}

/* Header CTA */
.header__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header__tel {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: color .18s;
}
.header__tel:hover { color: var(--accent); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .28s, opacity .2s;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.overlay.active { opacity: 1; pointer-events: all; }

/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 65% at 72% 48%, rgba(227,38,54,.055) 0%, transparent 60%),
    radial-gradient(ellipse 35% 35% at 15% 85%, rgba(227,38,54,.03) 0%, transparent 50%),
    var(--bg);
}

.hero__glow {
  position: absolute;
  top: 50%; right: 8%;
  transform: translateY(-50%);
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(227,38,54,.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 0;
  padding: 64px 0 32px;
}

.hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.035em;
  margin-bottom: 22px;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.72;
  max-width: 400px;
  margin-bottom: 36px;
}

.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Car image */
.hero__right {
  position: relative;
  margin-left: -24px;
  animation: car-enter 1.1s cubic-bezier(.22,1,.36,1) both;
  animation-delay: .3s;
}

@keyframes car-enter {
  0% {
    opacity: 0;
    transform: translateX(60px) scale(.96);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

.hero__car-wrap { position: relative; }
.hero__car-mobile { display: none; position: relative; }


.car-img {
  width: 105%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 64px rgba(227,38,54,.18));
}


/* ── Hotspots ───────────────────────── */
.hotspot {
  position: absolute;
  width: 22px;
  height: 22px;
  cursor: pointer;
  z-index: 10;
  animation: hotspot-enter .5s cubic-bezier(.34,1.56,.64,1) both;
}
.hotspot:hover,
.hotspot.active { z-index: 100; }

.hotspot__dot {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  transition: transform .2s ease;
  z-index: 1;
}

.hotspot:hover .hotspot__dot {
  transform: translate(-50%, -50%) scale(1.3);
}

.hotspot__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(227,38,54,.35);
  animation: hotspot-pulse 2s ease-out infinite;
}

@keyframes hotspot-enter {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.hotspot[data-delay="0"] { animation-delay: 1.4s; }
.hotspot[data-delay="1"] { animation-delay: 3.4s; }
.hotspot[data-delay="2"] { animation-delay: 5.4s; }
.hotspot[data-delay="3"] { animation-delay: 7.4s; }
.hotspot[data-delay="4"] { animation-delay: 9.4s; }
.hotspot[data-delay="5"] { animation-delay: 11.4s; }

/* Pulse starts after tip hides */
.hotspot[data-delay="0"] .hotspot__pulse { animation-delay: 3.4s; }
.hotspot[data-delay="1"] .hotspot__pulse { animation-delay: 5.4s; }
.hotspot[data-delay="2"] .hotspot__pulse { animation-delay: 7.4s; }
.hotspot[data-delay="3"] .hotspot__pulse { animation-delay: 9.4s; }
.hotspot[data-delay="4"] .hotspot__pulse { animation-delay: 11.4s; }
.hotspot[data-delay="5"] .hotspot__pulse { animation-delay: 13.4s; }

@keyframes hotspot-pulse {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(3.2); opacity: 0; }
}

.hotspot__tip {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  background: rgba(10,10,10,.92);
  border: 1px solid rgba(227,38,54,.4);
  border-radius: 10px;
  padding: 10px 14px;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  transition: opacity .22s ease, transform .22s ease;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hotspot__tip strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.hotspot__tip span {
  font-size: 11px;
  color: rgba(255,255,255,.7);
  line-height: 1.4;
}

.hotspot__tip--left {
  right: calc(100% + 14px);
  transform: translateY(-50%) translateX(6px);
}

.hotspot__tip--right {
  left: calc(100% + 14px);
  transform: translateY(-50%) translateX(-6px);
}

.hotspot:hover .hotspot__tip--left,
.hotspot.active .hotspot__tip--left {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.hotspot:hover .hotspot__tip--right,
.hotspot.active .hotspot__tip--right {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Intro: tip appears with dot, stays 1.5s, then hides */
@keyframes tip-intro-left {
  0%         { opacity: 0; transform: translateY(-50%) translateX(6px); }
  15%, 75%   { opacity: 1; transform: translateY(-50%) translateX(0); }
  100%       { opacity: 0; transform: translateY(-50%) translateX(0); }
}
@keyframes tip-intro-right {
  0%         { opacity: 0; transform: translateY(-50%) translateX(-6px); }
  15%, 75%   { opacity: 1; transform: translateY(-50%) translateX(0); }
  100%       { opacity: 0; transform: translateY(-50%) translateX(0); }
}

.hotspot[data-delay="0"] .hotspot__tip--left  { animation: tip-intro-left  2s ease; animation-delay: 1.4s; }
.hotspot[data-delay="0"] .hotspot__tip--right { animation: tip-intro-right 2s ease; animation-delay: 1.4s; }
.hotspot[data-delay="1"] .hotspot__tip--left  { animation: tip-intro-left  2s ease; animation-delay: 3.4s; }
.hotspot[data-delay="1"] .hotspot__tip--right { animation: tip-intro-right 2s ease; animation-delay: 3.4s; }
.hotspot[data-delay="2"] .hotspot__tip--left  { animation: tip-intro-left  2s ease; animation-delay: 5.4s; }
.hotspot[data-delay="2"] .hotspot__tip--right { animation: tip-intro-right 2s ease; animation-delay: 5.4s; }
.hotspot[data-delay="3"] .hotspot__tip--left  { animation: tip-intro-left  2s ease; animation-delay: 7.4s; }
.hotspot[data-delay="3"] .hotspot__tip--right { animation: tip-intro-right 2s ease; animation-delay: 7.4s; }
.hotspot[data-delay="4"] .hotspot__tip--left  { animation: tip-intro-left  2s ease; animation-delay: 9.4s; }
.hotspot[data-delay="4"] .hotspot__tip--right { animation: tip-intro-right 2s ease; animation-delay: 9.4s; }
.hotspot[data-delay="5"] .hotspot__tip--left  { animation: tip-intro-left  2s ease; animation-delay: 11.4s; }
.hotspot[data-delay="5"] .hotspot__tip--right { animation: tip-intro-right 2s ease; animation-delay: 11.4s; }

.hotspot:hover .hotspot__dot,
.hotspot.active .hotspot__dot {
  transform: translate(-50%, -50%) scale(1.3);
}

.car-glow-bottom {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 32px;
  background: radial-gradient(ellipse, rgba(227,38,54,.28) 0%, transparent 70%);
  filter: blur(12px);
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 36px;
  margin-top: 48px;
  gap: 0;
}

.stat {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.stat__numwrap {
  display: flex;
  align-items: flex-start;
  line-height: 1;
}

.stat__num {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--accent);
  line-height: 1;
}
.stat__pct {
  font-size: 42px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.stat__unit {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.stat__label {
  font-size: 12px;
  color: var(--muted);
}

.stat-sep {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 0 4px;
}

/* ─────────────────────────────────────
   SERVICES
───────────────────────────────────── */
.services { background: var(--bg2); }

.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  border-radius: 10px;
  overflow: hidden;
}

.srv-card {
  background: var(--card);
  overflow: hidden;
  transition: transform .3s ease;
  cursor: default;
}
.srv-card:hover { transform: scale(1.012); z-index: 1; }

/* Card image area */
.srv-card__img {
  position: relative;
  height: 210px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.srv-card__bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .5s ease;
}
.srv-card:hover .srv-card__bg { transform: scale(1.06); }


.srv-icon-svg {
  width: 240px;
  height: 180px;
  position: relative;
  z-index: 1;
}


.srv-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform .5s ease;
}
.srv-card:hover .srv-card__video,
.srv-card.is-playing .srv-card__video { transform: scale(1.06); }

.srv-card--video .srv-card__img {
  height: 520px;
}
.srv-card--video .srv-card__overlay {
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(10,10,10,.6) 45%, rgba(10,10,10,.98) 100%);
  transition: background .4s ease;
}
.srv-card--video:hover .srv-card__overlay,
.srv-card--video.is-playing .srv-card__overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10,10,10,.25) 45%, rgba(10,10,10,.92) 100%);
}
.srv-card--video .srv-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 24px 28px 28px;
}

.srv-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(22,22,22,.95) 100%);
  z-index: 2;
}

/* Card body */
.srv-card__body { padding: 24px 28px 28px; }

.srv-card__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: 9px;
}

.srv-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.68;
  margin-bottom: 16px;
  max-height: 120px;
  overflow: hidden;
  opacity: 1;
  transition: max-height .4s ease, opacity .3s ease, margin-bottom .4s ease;
}
.srv-card:hover .srv-card__desc,
.srv-card.is-playing .srv-card__desc {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
}

.srv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.srv-tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(227,38,54,.07);
  border: 1px solid rgba(227,38,54,.18);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: .03em;
}

.srv-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.srv-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.price-from { font-size: 12px; color: var(--muted); }
.price-val  { font-size: 24px; font-weight: 900; letter-spacing: -.02em; }
.price-cur  { font-size: 16px; font-weight: 600; color: var(--muted); }

/* ─────────────────────────────────────
   WHY US
───────────────────────────────────── */
.why { background: var(--bg); }

/* ── PAYMENT STRIP ─────────────────── */
.payment-strip {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.payment-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.payment-strip__item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: center;
  padding: 0 20px;
}
.payment-strip__item svg {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}
.payment-strip__divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}
.payment-strip__title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.payment-strip__sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

/* Ticker (mobile only) */
.payment-strip__ticker {
  display: none;
  overflow: hidden;
  padding: 14px 0;
}
.payment-strip__track {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 22s linear infinite;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.payment-strip__tick-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  vertical-align: middle;
}
.payment-strip__tick-texts {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}
.payment-strip__tick-label {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.payment-strip__tick-sub {
  font-size: 11px;
  color: rgba(255,255,255,.55);
  line-height: 1.2;
}
.payment-strip__tick-sep {
  color: var(--accent);
  padding: 0 18px;
  vertical-align: middle;
}

@media (max-width: 560px) {
  .payment-strip { padding: 14px 0; }
  .payment-strip__ticker { display: block; }
  .payment-strip .container { display: none; }
  .payment-strip__inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 0;
  }
  .payment-strip__item {
    flex: 0 0 50%;
    justify-content: center;
    padding: 12px 8px;
  }
  .payment-strip__divider { display: none; }
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.why-card {
  background: var(--card);
  padding: 32px 28px;
  transition: background .2s;
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 16px;
  row-gap: 12px;
  align-items: start;
}
.why-card:hover { background: var(--card2); }

.why-card__icon {
  grid-column: 1;
  grid-row: 1;
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(227,38,54,.07);
  border: 1px solid rgba(227,38,54,.16);
  border-radius: 10px;
  align-self: center;
}

.why-card__title {
  grid-column: 2;
  grid-row: 1;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  align-self: center;
  margin-bottom: 0;
}

.why-card__desc {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────
   PROCESS
───────────────────────────────────── */
.process { background: var(--bg2); }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}

.step {
  background: var(--card);
  padding: 32px 22px;
  position: relative;
  transition: background .2s;
}
.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 32px;
  right: -14px;
  width: 28px; height: 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--accent);
  z-index: 1;
  display: grid;
  place-items: center;
}
.step:hover { background: var(--card2); }

.step__num {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -.06em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 18px;
}

.step__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ─────────────────────────────────────
   CASES
───────────────────────────────────── */
.cases { background: var(--bg); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  margin-bottom: 36px;
}

.case-card {
  background: var(--card);
  overflow: hidden;
  border-radius: 4px;
}

.case-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
}

/* AFTER — base layer, full size */
.case-after {
  position: absolute;
  inset: 0;
  z-index: 1;
  filter: saturate(1.1) brightness(1);
}

/* BEFORE — clipped overlay on top, starts at left 50% */
.case-before {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  filter: none;
  transition: clip-path 0s;
}

/* Placeholder backgrounds */
.case-c1b { background: url('../assets/images/before_1.jpg') center/cover no-repeat; }
.case-c1a { background: url('../assets/images/after_1.jpg') center/cover no-repeat; }
.case-c2b { background: url('../assets/images/before_2.jpg') center/cover no-repeat; }
.case-c2a { background: url('../assets/images/after_2.jpg') center/cover no-repeat; }
.case-c3b { background: url('../assets/images/before_3.jpg') center/cover no-repeat; }
.case-c3a { background: url('../assets/images/after_3.jpg') center/cover no-repeat; }
.case-c4b { background: url('../assets/images/before_4.jpg') center/cover no-repeat; }
.case-c4a { background: url('../assets/images/after_4.jpg') center/cover no-repeat; }
.case-c5b { background: linear-gradient(145deg, #201428 0%, #180e1e 100%); }
.case-c5a { background: linear-gradient(145deg, #0c1820 0%, #081218 100%); }

/* Draggable handle */
.case-handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: col-resize;
}
.case-handle__line {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(227,38,54,.5);
}
.case-handle__grip {
  position: relative;
  z-index: 11;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px rgba(227,38,54,.55);
  transition: transform .15s;
}
.case-handle:active .case-handle__grip { transform: scale(1.15); }

.case-lbl {
  position: absolute;
  bottom: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 3;
  pointer-events: none;
}
.case-lbl--b {
  left: 10px;
  background: rgba(0,0,0,.5);
  color: var(--muted);
  backdrop-filter: blur(4px);
}
.case-lbl--a {
  right: 10px;
  background: rgba(227,38,54,.15);
  color: var(--accent);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(227,38,54,.25);
}

.case-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
}
.case-car  { font-size: 14px; font-weight: 700; }
.case-svc  { font-size: 12px; color: var(--muted); }

.cases-more { text-align: center; }

/* ─────────────────────────────────────
   REVIEWS
───────────────────────────────────── */
.reviews { background: var(--bg2); }

.reviews__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.rating-badges { display: flex; gap: 12px; }

.r-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: default;
  gap: 2px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 20px;
  min-width: 110px;
}
.r-badge__platform {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.r-badge__score {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -.04em;
  line-height: 1;
}
.r-badge__stars { font-size: 13px; color: #ffd700; letter-spacing: 2px; }
.r-badge__count { font-size: 11px; color: var(--dim); }
a.r-badge { cursor: pointer; transition: background .2s, border-color .2s; }
a.r-badge:hover { background: var(--card2); border-color: rgba(255,255,255,.15); }

.rev-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.rev-card {
  background: var(--card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .2s;
}
.rev-card:hover { background: var(--card2); }

.rev-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rev-ava {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--accent) 0%, #b01e2c 100%);
  color: #000;
  font-weight: 900;
  font-size: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.rev-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rev-name { font-size: 14px; font-weight: 700; }
.rev-date { font-size: 12px; color: var(--muted); }
.rev-stars { font-size: 13px; color: #ffd700; letter-spacing: 2px; }

.rev-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.72;
  flex: 1;
}

.rev-svc {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(227,38,54,.07);
  border: 1px solid rgba(227,38,54,.16);
  padding: 3px 10px;
  border-radius: 2px;
}

/* ─────────────────────────────────────
   CONTACT
───────────────────────────────────── */
.contact {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(227,38,54,.4) 50%, transparent 100%);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.contact__left {
  display: flex;
  flex-direction: column;
}

.contact__title {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.04em;
  margin: 16px 0 18px;
}

.contact__desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 32px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.contact__phone {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--accent);
  transition: opacity .2s;
}
.contact__phone:hover { opacity: .8; }

.contact__meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.contact__meta span {
  font-size: 14px;
  color: var(--muted);
}

.contact__socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.social-btn {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 4px;
  letter-spacing: .04em;
  transition: border-color .18s, color .18s;
}
.social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Map column */
.contact__map-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

/* Map */
.contact__map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex: 1;
  min-height: 320px;
}

.ymap-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: none;
  /* GTA 4 noir: desaturate → invert → warm sepia tint */
  filter: grayscale(1) invert(1) sepia(0.25) brightness(0.8) contrast(1.15);
}

/* Price Modal */
.price-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s, visibility .3s;
}
.price-modal.open { visibility: visible; opacity: 1; }

.price-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(6px);
}

.price-modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  overflow-y: auto;
  margin: 0 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transform: translateY(24px);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.price-modal.open .price-modal__box { transform: translateY(0); }

.price-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--card2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .18s, border-color .18s;
}
.price-modal__close:hover { color: #fff; border-color: var(--accent); }

.price-modal__head { margin-bottom: 24px; }

.price-modal__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(227,38,54,.1);
  border: 1px solid rgba(227,38,54,.2);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.price-modal__title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 6px;
}

.price-modal__sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.price-modal__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background .18s;
}
.price-row:hover { background: var(--card2); }
.price-row__name {
  font-size: 14px;
  color: #fff;
  flex: 1;
}
.price-row__desc {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.price-row__left { display: flex; flex-direction: column; }
.price-row__val {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: -.02em;
}

.price-modal__sep {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.price-modal__note {
  font-size: 11px;
  color: var(--dim);
  margin-bottom: 20px;
}

/* Form Modal */
.form-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s, visibility .3s;
}
.form-modal.open {
  visibility: visible;
  opacity: 1;
}
.form-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
}
.form-modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  margin: 0 24px;
  transform: translateY(24px);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.form-modal.open .form-modal__box {
  transform: translateY(0);
}
.form-modal__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.form-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .18s, border-color .18s;
}
.form-modal__close:hover {
  color: #fff;
  border-color: var(--accent);
}

/* Form */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row { display: flex; gap: 16px; }
.form-row--2 > * { flex: 1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.form-inp {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 6px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.form-inp:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(227,38,54,.08);
}
.form-inp::placeholder { color: var(--dim); }

.form-sel {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-sel option { background: var(--card); }

.form-note {
  font-size: 11px;
  color: var(--dim);
  text-align: center;
  line-height: 1.5;
}

/* Consent checkbox */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.form-consent__cb {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-consent__text {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.5;
}
.form-consent__link {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-consent__link:hover { opacity: .8; }

/* Privacy modal */
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.privacy-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.privacy-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
}
.privacy-modal__box {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 4px;
  width: min(640px, 92vw);
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  z-index: 1;
}
.privacy-modal__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}
.privacy-modal__body p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}
.privacy-modal__body a {
  color: var(--accent);
}
.privacy-modal__date {
  font-size: 11px;
  color: var(--dim);
  margin-top: 8px;
}

/* Footer policy button */
.footer__policy {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: var(--dim);
  cursor: pointer;
  text-align: center;
}
.footer__policy:hover { color: var(--muted); }

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 52px 0 24px;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav a {
  font-size: 14px;
  color: var(--muted);
  transition: color .18s;
}
.footer__nav a:hover { color: var(--accent); }

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}
.footer__phone {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  transition: color .18s;
}
.footer__phone:hover { color: var(--accent); }
.footer__addr,
.footer__hours {
  font-size: 13px;
  color: var(--muted);
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.footer__bottom span,
.footer__bottom a {
  font-size: 13px;
  color: var(--dim);
}
.footer__bottom a:hover { color: var(--muted); }
.footer__dev-wrap { text-align: center; }
.footer__policy { text-align: right; }

.footer__dev-link {
  color: var(--dim);
  font-weight: 700;
  transition: color .18s;
}
.footer__dev-link:hover { color: var(--accent) !important; }


/* ─────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
[data-reveal].visible {
  opacity: 1;
  transform: none;
}

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
[data-reveal-stagger].visible > *:nth-child(1)  { transition-delay: .05s; }
[data-reveal-stagger].visible > *:nth-child(2)  { transition-delay: .22s; }
[data-reveal-stagger].visible > *:nth-child(3)  { transition-delay: .39s; }
[data-reveal-stagger].visible > *:nth-child(4)  { transition-delay: .56s; }
[data-reveal-stagger].visible > *:nth-child(5)  { transition-delay: .73s; }
[data-reveal-stagger].visible > *:nth-child(6)  { transition-delay: .90s; }
[data-reveal-stagger].visible > * { opacity: 1; transform: none; }

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --pad: 72px; }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .step:nth-child(3)::after,
  .step:last-child::after { display: none; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --pad: 56px; }

  /* Mobile nav */
  .nav {
    position: fixed;
    top: 0; right: -300px;
    bottom: 0;
    width: 280px;
    background: #1a1a1a;
    border-left: 1px solid var(--border2);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 28px 32px;
    gap: 0;
    z-index: 210;
    transition: right .3s cubic-bezier(.22,1,.36,1);
  }
  .nav.open { right: 0; }
  .nav__item {
    font-size: 15px;
    padding: 13px 0;
    color: #fff;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav__item:last-child { border-bottom: none; }
  .burger { z-index: 215; }

  .header__cta .header__tel { display: none; }
  .burger { display: flex; }

  /* Hero */
  .hero__inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 24px; }
  .hero__right { display: none; }
  .hero__car-mobile { display: block; margin: 24px 0 8px; }
  .car-img { width: 100%; }
  .hero__stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px 16px;
    padding: 20px 24px;
    width: 100%;
    box-sizing: border-box;
  }
  .stat-sep { display: none; }
  .stat__num { font-size: 28px; }
  .stat__pct { font-size: 28px; }
  .stat__info { gap: 0; }
  .stat__unit { font-size: 13px; }
  .stat__label { font-size: 11px; }

  /* Services */
  .srv-grid { grid-template-columns: 1fr; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }

  /* Process */
  .steps { grid-template-columns: 1fr; gap: 3px; }
  .step::after { display: none !important; }

  /* Cases */
  .cases-grid { grid-template-columns: repeat(2, 1fr); }

  /* Reviews */
  .rev-grid { grid-template-columns: 1fr; }
  .reviews__head { flex-direction: column; align-items: flex-start; }

  /* Contact */
  .contact__inner { grid-template-columns: 1fr; gap: 32px; }
  .contact__map { min-height: 300px; }
  .ymap-frame { min-height: 300px; }

  /* Footer */
  .footer__top { flex-direction: column; gap: 32px; }
  .footer__info { text-align: left; }
  .footer__bottom { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
}

@media (max-width: 560px) {
  :root { --pad: 48px; }

  .hero__btns { flex-direction: column; }
  .hero__btns .btn { width: 100%; }

  .cases-grid { grid-template-columns: 1fr; }

  .contact-form { padding: 24px 18px; }
  .form-row--2 { flex-direction: column; }

  .rating-badges { flex-direction: row; flex-wrap: wrap; }

  .section-head--split { flex-direction: column; align-items: flex-start; }
}

/* ─────────────────────────────────────
   FORM SUCCESS STATE
───────────────────────────────────── */
@keyframes successPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
  50%       { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}
.btn-success {
  background: #22c55e !important;
  color: #fff !important;
  animation: successPulse .6s ease;
}
