:root {
  color-scheme: dark;
  --bg: #070b14;
  --panel: rgba(18, 28, 48, .78);
  --panel-strong: #111c31;
  --text: #f7fbff;
  --muted: #aebbd0;
  --line: rgba(255, 255, 255, .14);
  --blue: #1478ff;
  --red: #ff4f66;
  --silver: #dfe8f4;
  --shadow: 0 22px 70px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  padding-bottom: calc(106px + env(safe-area-inset-bottom));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(20, 120, 255, .34), transparent 34rem),
    radial-gradient(circle at 90% 12%, rgba(255, 79, 102, .28), transparent 32rem),
    linear-gradient(135deg, #070b14 0%, #0b1323 48%, #05070c 100%);
  color: var(--text);
  text-align: center;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main,
section,
header,
footer,
.hero,
.section,
.gallery,
.cards,
.steps {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 20, .78);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; text-align: center; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand span { max-width: 210px; font-size: 14px; line-height: 1.1; }
nav { display: none; justify-content: center; gap: 22px; color: var(--muted); font-weight: 700; font-size: 14px; }
nav a:hover { color: var(--text); }

.hero, .section, footer {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
}

.hero {
  min-height: auto;
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 22px;
  padding: 34px 0 28px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: #8eb8ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  max-width: 100%;
  font-size: clamp(34px, 11vw, 58px);
  line-height: .96;
  overflow-wrap: anywhere;
}
h2 {
  max-width: 100%;
  margin-bottom: 18px;
  font-size: clamp(26px, 8vw, 42px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}
h3 { margin-bottom: 8px; font-size: 18px; }
p {
  max-width: 100%;
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.hero-copy {
  display: grid;
  justify-items: center;
}
.hero-copy > p:not(.eyebrow) { font-size: 16px; max-width: 680px; }
.hero-actions {
  display: grid;
  justify-content: stretch;
  gap: 12px;
  width: min(100%, 360px);
  margin-top: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  width: 100%;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 900;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.24);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255,255,255,.22) 45%, transparent 58% 100%);
  transform: translateX(-120%);
  transition: transform .55s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn.primary { background: linear-gradient(135deg, #ff4f66, #1478ff 72%, #7dc6ff); color: white; border-color: rgba(125,198,255,.42); }
.btn.ghost { background: rgba(255,255,255,.08); backdrop-filter: blur(16px); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 48px rgba(20,120,255,.25), inset 0 1px 0 rgba(255,255,255,.28); }
.btn::before,
.sticky-call::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: currentColor;
  mask: var(--icon) center / contain no-repeat;
}
.icon-call,
.sticky-call { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E"); }
.icon-gallery { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 11.5l2.5 3.01L14.5 10l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E"); }

.hero-logo,
.workshop-scene,
.hero-photo {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 620px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  transform: none;
}
.hero-logo > img:first-child {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
.hero-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,.55));
}
.hero-photo {
  overflow: hidden;
  padding: 0;
  min-height: 235px;
  transform: none;
}
.hero-photo > img:first-child {
  width: 100%;
  height: 100%;
  min-height: 235px;
  object-fit: cover;
  border-radius: 8px;
  transform: scale(1.04);
  animation: photoFloat 9s ease-in-out infinite;
}
.photo-beam,
.photo-shine {
  position: absolute;
  pointer-events: none;
}
.photo-beam {
  right: -8%;
  top: 48%;
  width: 62%;
  height: 22%;
  clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 62%);
  mix-blend-mode: screen;
}
.photo-beam.warm {
  background: linear-gradient(90deg, rgba(255,199,72,.85), transparent);
  animation: photoWarm 3.2s ease-in-out infinite;
}
.photo-beam.xenon {
  top: 34%;
  background: linear-gradient(90deg, rgba(125,198,255,.88), transparent);
  animation: photoXenon 3.2s ease-in-out infinite;
}
.photo-shine {
  inset: 0;
  background: linear-gradient(110deg, transparent 0 42%, rgba(255,255,255,.18) 48%, transparent 56% 100%);
  animation: photoSweep 4.8s ease-in-out infinite;
}
.hero-photo .hero-badge {
  width: 76px;
  height: 76px;
  right: 10px;
  bottom: 10px;
}
@keyframes photoFloat { 50% { transform: scale(1.08) translateY(-8px); } }
@keyframes photoWarm { 0%, 44%, 100% { opacity: .15; } 12%, 34% { opacity: .85; } }
@keyframes photoXenon { 0%, 44%, 100% { opacity: .78; } 12%, 34% { opacity: .14; } }
@keyframes photoSweep { 0%, 45% { transform: translateX(-120%); } 80%, 100% { transform: translateX(120%); } }

.workshop-scene {
  width: min(560px, 92vw);
  min-height: 420px;
  overflow: hidden;
  transform: perspective(900px) rotateX(2deg);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 201, 74, .18), transparent 22%),
    radial-gradient(circle at 84% 26%, rgba(125, 198, 255, .22), transparent 24%),
    linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
}

.shop-back,
.animated-car,
.car-body,
.car-glass,
.headlight,
.beam,
.worker,
.worker i,
.polisher,
.polisher i,
.spark,
.lamp,
.shelf,
.wheel {
  position: absolute;
  display: block;
}

.shop-back {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: workshopGrid 18s linear infinite;
}

.lamp {
  top: 28px;
  width: 90px;
  height: 8px;
  border-radius: 99px;
  background: #dfe8f4;
  box-shadow: 0 0 34px rgba(255,255,255,.65);
  animation: lampPulse 3.2s ease-in-out infinite;
}
.l1 { left: 70px; }
.l2 { right: 78px; animation-delay: 1.4s; }
.shelf {
  left: 40px;
  right: 40px;
  bottom: 72px;
  height: 12px;
  border-radius: 99px;
  background: rgba(255,255,255,.12);
}

.worker {
  bottom: 106px;
  width: 42px;
  height: 102px;
  border-radius: 26px 26px 12px 12px;
  background: linear-gradient(#1d314f, #0b1220);
  opacity: .88;
  transform-origin: bottom center;
  animation: workerMove 2.7s ease-in-out infinite;
}
.worker::before {
  content: "";
  position: absolute;
  left: 8px;
  top: -30px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #cfd9e8;
}
.worker i {
  top: 36px;
  width: 70px;
  height: 10px;
  border-radius: 99px;
  background: #7dc6ff;
  transform-origin: left center;
}
.worker-left { left: 78px; }
.worker-left i { left: 28px; transform: rotate(22deg); }
.worker-right { right: 88px; animation-delay: .8s; }
.worker-right i { right: 28px; transform-origin: right center; transform: rotate(-22deg); }

.animated-car {
  left: 50%;
  bottom: 88px;
  width: 430px;
  height: 170px;
  transform: translateX(-50%);
}
.car-body {
  left: 16px;
  right: 16px;
  bottom: 28px;
  height: 74px;
  border-radius: 46px 72px 28px 28px;
  background: linear-gradient(180deg, #dfe8f4, #7890ac 46%, #142238 48%, #070b14);
  box-shadow: inset 0 5px 16px rgba(255,255,255,.55), 0 24px 42px rgba(0,0,0,.45);
}
.car-glass {
  left: 132px;
  top: 18px;
  width: 160px;
  height: 72px;
  border-radius: 76px 76px 16px 16px;
  background: linear-gradient(135deg, #183764, #7dc6ff);
  border: 8px solid #dfe8f4;
}
.wheel {
  bottom: 10px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #05070c;
  border: 10px solid #5d718b;
}
.w1 { left: 82px; }
.w2 { right: 82px; }
.headlight {
  right: 24px;
  bottom: 70px;
  width: 34px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  z-index: 2;
}
.headlight.yellow {
  box-shadow: 0 0 26px #ffc94a;
  animation: yellowLight 2.6s ease-in-out infinite;
}
.headlight.xenon {
  right: 54px;
  box-shadow: 0 0 28px #7dc6ff;
  animation: xenonLight 2.6s ease-in-out infinite;
}
.beam {
  right: -150px;
  bottom: 44px;
  width: 210px;
  height: 70px;
  clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 62%);
  opacity: .35;
  transform-origin: left center;
}
.beam-yellow {
  background: linear-gradient(90deg, rgba(255,201,74,.7), transparent);
  animation: yellowLight 2.6s ease-in-out infinite;
}
.beam-xenon {
  bottom: 82px;
  background: linear-gradient(90deg, rgba(125,198,255,.8), transparent);
  animation: xenonLight 2.6s ease-in-out infinite;
}
.polisher {
  right: 94px;
  top: 30px;
  width: 92px;
  height: 26px;
  border-radius: 99px;
  background: #dfe8f4;
  transform: rotate(-32deg);
  animation: polishArm 2.2s ease-in-out infinite;
}
.polisher i {
  right: -12px;
  top: 10px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #fff, #7dc6ff, #ff4f66, #fff);
  box-shadow: 0 0 34px rgba(125,198,255,.75);
  animation: spinPad .7s linear infinite;
}
.spark {
  right: 58px;
  top: 92px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 20px #fff, 0 0 34px #7dc6ff;
  animation: sparkFly 1.2s ease-out infinite;
}
.s2 { right: 96px; top: 116px; animation-delay: .35s; }
.s3 { right: 132px; top: 86px; animation-delay: .7s; }

@keyframes workshopGrid { to { background-position: 96px 48px; } }
@keyframes lampPulse { 50% { opacity: .55; box-shadow: 0 0 16px rgba(255,255,255,.35); } }
@keyframes workerMove { 50% { transform: rotate(-4deg) translateY(4px); } }
@keyframes polishArm { 50% { transform: rotate(-24deg) translate(-10px, 8px); } }
@keyframes spinPad { to { transform: rotate(360deg); } }
@keyframes sparkFly {
  0% { opacity: 0; transform: translate(0,0) scale(.4); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(-46px, 28px) scale(1.2); }
}
@keyframes yellowLight {
  0%, 44%, 100% { opacity: .15; filter: saturate(.7); }
  12%, 32% { opacity: 1; filter: saturate(1.35); }
}
@keyframes xenonLight {
  0%, 48%, 100% { opacity: 1; filter: saturate(1.3); }
  14%, 34% { opacity: .16; filter: saturate(.6); }
}

.section {
  display: grid;
  justify-items: center;
  padding: 42px 0;
  text-align: center;
}
.section > p,
.section > h2,
.split > p {
  max-width: 820px;
}
.split { display: grid; justify-items: center; gap: 16px; }
.grid, .steps {
  display: grid;
  justify-content: center;
  gap: 14px;
  width: 100%;
}
.cards { grid-template-columns: minmax(0, 1fr); }
.cards article, .steps article, details, .price, .contact {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 48px rgba(0,0,0,.24);
}
.cards article, .steps article {
  overflow: hidden;
  padding: 0 18px 20px;
  text-align: center;
}
.cards article { min-height: 286px; }
.card-photo {
  width: calc(100% + 36px);
  height: 132px;
  margin: 0 -18px 16px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.cards article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--silver);
  background: rgba(255,255,255,.08);
  font-size: 22px;
}
.steps { grid-template-columns: minmax(0, 1fr); }
.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 36px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: var(--red);
  font-weight: 1000;
}

.gallery {
  position: relative;
  display: grid;
  gap: 14px;
  align-items: center;
  width: min(980px, 100%);
}
.gallery-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  width: 100%;
}
.gallery-frame {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}
.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
}
.gallery-frame img.is-visible { opacity: 1; transform: scale(1.08); }
.gallery-frame p {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 24px;
  text-align: center;
}
.gallery-frame p[hidden],
.gallery-frame p.is-hidden {
  display: none !important;
}
.gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.09);
  color: var(--text);
  font-size: 34px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.18);
  transform: translateY(-50%);
}
.gallery-btn.prev { left: 8px; }
.gallery-btn.next { right: 8px; }
.gallery-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  width: 100%;
  max-width: calc(100vw - 24px);
  margin-inline: auto;
  padding: 4px 2px 12px;
  scrollbar-color: rgba(125,198,255,.7) rgba(255,255,255,.08);
}
.gallery-thumb {
  flex: 0 0 104px;
  height: 72px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  opacity: .62;
  scroll-snap-align: center;
  transition: opacity .22s ease, transform .22s ease, border-color .22s ease;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb.is-active {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(125,198,255,.8);
  box-shadow: 0 16px 34px rgba(20,120,255,.2);
}

.price, .contact { padding: 26px; }
.faq { display: grid; gap: 10px; }
details { padding: 18px; }
summary { cursor: pointer; font-weight: 900; }
details p { margin: 12px 0 0; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 30px 0 44px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.sticky-call {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--blue));
  color: white;
  font-weight: 1000;
  box-shadow: 0 20px 50px rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.22);
  text-transform: none;
}
.sticky-call span,
.sticky-call strong {
  display: block;
  line-height: 1;
}
.sticky-call span {
  font-size: 13px;
  opacity: .88;
}
.sticky-call strong {
  font-size: 18px;
}

@media (max-width: 380px) {
  .brand span { max-width: 180px; font-size: 13px; }
  .eyebrow { letter-spacing: .1em; font-size: 11px; }
  h1 { font-size: clamp(31px, 10vw, 42px); }
  .hero, .section, footer { width: min(100% - 20px, 1120px); }
  .gallery-strip { max-width: calc(100vw - 20px); }
  .sticky-call strong { font-size: 16px; }
}

  @media (min-width: 760px) {
  body { padding-bottom: 104px; }
  .site-header { padding-inline: 34px; }
  .brand img { width: 50px; height: 50px; }
  .brand span { font-size: 18px; }
  nav { display: flex; }
  .hero { grid-template-columns: 1fr; padding-top: 54px; }
  .split { grid-template-columns: 1fr; align-items: center; }
  .sticky-call {
    left: 50%;
    right: auto;
    width: min(420px, calc(100% - 32px));
    transform: translateX(-50%);
  }
}
