:root {
  --bg: #07080c;
  --bg-soft: #101217;
  --card: rgba(18, 20, 27, .78);
  --card-strong: rgba(24, 27, 36, .94);
  --text: #f4f5f7;
  --muted: #a7adba;
  --line: rgba(255, 255, 255, .11);
  --accent: #d7b76d;
  --accent-2: #6de7ff;
  --accent-dark: #17120a;
  --danger: #ff6978;
  --success: #6df4a2;
  --shadow: 0 24px 90px rgba(0,0,0,.55);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 5%, rgba(109,231,255,.13), transparent 28rem),
    radial-gradient(circle at 15% 15%, rgba(215,183,109,.12), transparent 24rem),
    linear-gradient(180deg, #08090d 0%, #0b0c10 45%, #08090d 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .07;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  filter: blur(76px);
  opacity: .22;
  pointer-events: none;
  z-index: -1;
}
.orb-one { background: var(--accent); top: 10%; left: -12rem; }
.orb-two { background: var(--accent-2); right: -14rem; bottom: 14%; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9,10,14,.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 44px rgba(0,0,0,.26);
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #090a0d;
  background: linear-gradient(135deg, var(--accent), #fff0b7 50%, var(--accent-2));
  box-shadow: 0 0 32px rgba(215,183,109,.28);
}
.brand-text { white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 30px; color: rgba(244,245,247,.86); font-size: 14px; }
.nav a { transition: color .2s ease; }
.nav a:hover { color: var(--accent); }

.whatsapp-link {
  border: 1px solid rgba(215,183,109,.55);
  border-radius: 999px;
  padding: 12px 26px;
  color: var(--text);
  background: rgba(255,255,255,.02);
}
.menu-btn { display: none; border: 0; background: transparent; color: var(--text); width: 42px; height: 42px; }
.menu-btn span { display: block; height: 2px; background: currentColor; margin: 7px; }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: 1fr 520px;
  min-height: calc(100vh - 110px);
  align-items: center;
  gap: 42px;
  padding: 70px 0 80px;
}

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.eyebrow span { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 22px 0 18px;
  font-size: clamp(56px, 7.8vw, 116px);
  line-height: .9;
  letter-spacing: -.075em;
  max-width: 780px;
}
h1 em { display: block; font-style: normal; color: var(--accent); text-shadow: 0 0 42px rgba(215,183,109,.18); }

.hero-subtitle { color: var(--muted); font-size: clamp(18px, 2vw, 24px); line-height: 1.5; max-width: 710px; }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 720px; margin: 34px 0; }
.hero-points div, .stat, .step-card, .phone-card, .map-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
}
.hero-points div { padding: 18px; border-radius: 22px; }
.hero-points b { display: block; color: var(--accent); font-size: 25px; }
.hero-points span { color: var(--muted); font-size: 13px; }

.btn {
  border: 0;
  border-radius: 999px;
  padding: 18px 28px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, opacity .2s ease;
  user-select: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #0a0b0f;
  background: linear-gradient(135deg, var(--accent), #ffe9a6 55%, var(--accent-2));
  box-shadow: 0 18px 50px rgba(215,183,109,.22), inset 0 1px 0 rgba(255,255,255,.58);
}
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}
.btn-dark { color: var(--text); background: #07080c; }
.btn-muted { color: var(--text); background: rgba(255,255,255,.1); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.hidden { display: none !important; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.platform {
  position: absolute;
  bottom: 42px;
  width: 390px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.7) 0 10%, rgba(109,231,255,.25) 11% 18%, rgba(215,183,109,.2) 20%, rgba(255,255,255,.03) 56%, transparent 70%);
  filter: blur(.2px);
}
.tire {
  position: relative;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center, #1d1f24 0 7px, #0e0f13 8px 13px),
    radial-gradient(circle at 44% 36%, #4a4e58, #07080a 68%);
  border: 28px solid #15171c;
  box-shadow:
    inset 18px 24px 48px rgba(255,255,255,.08),
    inset -28px -34px 56px rgba(0,0,0,.82),
    0 40px 130px rgba(0,0,0,.7),
    0 0 70px rgba(109,231,255,.11);
  transform: rotate(-8deg);
  animation: float 5s ease-in-out infinite;
}
.tire:before {
  content: '';
  position: absolute;
  inset: -38px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.1) 0 2deg, transparent 2deg 7deg);
  -webkit-mask: radial-gradient(circle, transparent 0 72%, #000 73% 100%);
  mask: radial-gradient(circle, transparent 0 72%, #000 73% 100%);
}
.rim {
  position: absolute;
  inset: 54px;
  border-radius: 50%;
  background: radial-gradient(circle, #0b0c10 0 18%, #8b919d 19% 22%, #161820 23% 100%);
  box-shadow: inset 8px 10px 22px rgba(255,255,255,.14), inset -16px -22px 32px rgba(0,0,0,.72);
}
.rim i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 114px;
  margin-left: -7px;
  margin-top: -112px;
  transform-origin: 50% 112px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d5dae1, #222631 45%, #07080a);
  box-shadow: 0 0 10px rgba(255,255,255,.08);
}
.rim i:nth-child(1) { transform: rotate(0deg); }
.rim i:nth-child(2) { transform: rotate(30deg); }
.rim i:nth-child(3) { transform: rotate(60deg); }
.rim i:nth-child(4) { transform: rotate(90deg); }
.rim i:nth-child(5) { transform: rotate(120deg); }
.rim i:nth-child(6) { transform: rotate(150deg); }
.rim i:nth-child(7) { transform: rotate(180deg); }
.rim i:nth-child(8) { transform: rotate(210deg); }
.rim i:nth-child(9) { transform: rotate(240deg); }
.rim i:nth-child(10) { transform: rotate(270deg); }
.rim i:nth-child(11) { transform: rotate(300deg); }
.rim i:nth-child(12) { transform: rotate(330deg); }
.hub { position: absolute; inset: 78px; border-radius: 50%; background: radial-gradient(circle, #b9c0ca, #1c2028 45%, #07080a 72%); border: 6px solid rgba(255,255,255,.12); }
.tire-shadow { position: absolute; bottom: 25px; width: 360px; height: 70px; border-radius: 50%; background: rgba(0,0,0,.48); filter: blur(22px); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-14px) rotate(-6deg); } }

.trust-bar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 80px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.54);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.trust-bar span { padding: 6px 18px; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: end; padding: 60px 0; }
h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.03; letter-spacing: -.055em; margin: 18px 0; }
.section p { color: var(--muted); line-height: 1.7; font-size: 17px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat { border-radius: 24px; padding: 30px; }
.stat strong { color: var(--accent); font-size: clamp(38px, 5vw, 58px); letter-spacing: -.05em; display: block; }
.stat span { color: var(--muted); }

.cards-section { padding: 70px 0; }
.section-title { margin-bottom: 30px; }
.section-title.center { text-align: center; }
.section-title.center .eyebrow { justify-content: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { position: relative; min-height: 260px; border-radius: 28px; padding: 34px; overflow: hidden; }
.step-card:after { content: ''; position: absolute; inset: auto -30% -35% -30%; height: 140px; background: radial-gradient(ellipse, rgba(215,183,109,.18), transparent 70%); }
.step-card small { color: rgba(255,255,255,.22); font-size: 52px; font-weight: 800; }
.step-card h3 { font-size: 26px; margin: 44px 0 8px; }
.step-card p { margin-bottom: 0; }

.cta-section { padding: 40px 0 80px; }
.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-radius: 34px;
  padding: clamp(28px, 5vw, 58px);
  color: #08090d;
  background:
    radial-gradient(circle at 90% 20%, rgba(255,255,255,.65), transparent 20rem),
    linear-gradient(135deg, var(--accent), #ffe8a2 45%, var(--accent-2));
  box-shadow: 0 34px 100px rgba(215,183,109,.16);
}
.cta-box h2 { margin: 0 0 10px; color: #08090d; }
.cta-box p { color: rgba(8,9,13,.72); max-width: 650px; margin-bottom: 0; font-weight: 600; }

.reviews { padding: 60px 0 90px; }
.review-slider { position: relative; display: flex; align-items: center; justify-content: center; gap: 28px; }
.slider-btn {
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--text);
  cursor: pointer;
  font-size: 32px;
  transition: .2s ease;
}
.slider-btn:hover { border-color: rgba(215,183,109,.65); background: rgba(215,183,109,.13); transform: translateY(-2px); }
.phone-card {
  width: min(560px, calc(100vw - 150px));
  min-height: auto;
  border-radius: 34px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 16px);
  box-shadow: 0 28px 90px rgba(0,0,0,.38), 0 0 60px rgba(215,183,109,.08);
}
.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 10px 14px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 800;
}
.review-meta em { color: var(--accent); font-style: normal; }
.review-meta b { color: var(--accent); font-size: 13px; white-space: nowrap; }
.review-shot-wrap {
  overflow: hidden;
  border-radius: 26px;
  background: rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.review-shot {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(720px, 72vh);
  object-fit: contain;
  object-position: top center;
}
.review-caption {
  margin: 14px 8px 2px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.55;
}
.phone-top { width: 90px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.16); margin: 0 auto 50px; }
.chat-bubble { padding: 18px; border-radius: 22px 22px 22px 6px; background: rgba(255,255,255,.08); margin-bottom: 18px; }
.chat-bubble.answer { border-radius: 22px 22px 6px 22px; background: rgba(215,183,109,.18); margin-left: 28px; }
.chat-bubble strong { display: block; margin-bottom: 6px; }
.chat-bubble p { margin: 0; font-size: 14px; }

.contacts { display: grid; grid-template-columns: 420px 1fr; gap: 60px; align-items: center; padding: 50px 0 100px; }
.map-card { position: relative; height: 390px; border-radius: 30px; overflow: hidden; background: #e9edf0; }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(20,20,20,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(20,20,20,.08) 1px, transparent 1px); background-size: 26px 26px; opacity: .6; }
.map-pin { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; color: var(--accent); font-size: 80px; text-shadow: 0 8px 28px rgba(0,0,0,.2); }
.contact-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 30px; }
.contact-list div { border-top: 1px solid var(--line); padding-top: 18px; }
.contact-list span { color: var(--muted); display: block; margin-bottom: 8px; }
.contact-list b, .contact-list a { font-size: 19px; }
.contact-list a { color: var(--accent); }
.requisites-card {
  margin-top: 28px;
  padding: 26px;
  border: 1px solid rgba(215,183,109,.28);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(215,183,109,.08), rgba(109,231,255,.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.requisites-card > span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}
.requisites-card strong {
  display: block;
  font-size: 22px;
  margin-bottom: 14px;
  letter-spacing: -.02em;
}
.requisites-card p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
}
.requisites-card b { color: rgba(255,255,255,.55); font-weight: 600; }
.requisites-card em { font-style: normal; color: var(--text); }
.requisites-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 10px;
}

.footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto 26px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.42); font-size: 14px; }
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.85);
  color: #08090d;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: .25s ease;
  font-size: 28px;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }

.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }
.modal-window {
  position: relative;
  width: min(980px, calc(100% - 34px));
  min-height: min(680px, calc(100vh - 34px));
  margin: 17px auto;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 32px;
  background: #f5f5f2;
  color: #0b0c10;
  overflow: hidden;
  box-shadow: 0 34px 120px rgba(0,0,0,.65);
}
.modal-close {
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.08);
  cursor: pointer;
  font-size: 26px;
}
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 34px 58px; border-bottom: 1px solid rgba(0,0,0,.08); }
.modal-head span { font-weight: 700; }
.progress { height: 5px; background: rgba(0,0,0,.12); }
.progress i { display: block; width: 33.333%; height: 100%; background: linear-gradient(90deg, #0b0c10, var(--accent)); transition: width .25s ease; }
#leadForm { padding: 54px 58px 38px; }
.form-step { display: none; min-height: 350px; }
.form-step.active { display: block; }
.form-step h3 { font-size: clamp(34px, 5vw, 56px); line-height: 1; letter-spacing: -.055em; margin-bottom: 14px; }
.form-step p { color: rgba(10,11,15,.58); font-weight: 600; }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.type-grid input { position: absolute; opacity: 0; }
.type-grid span {
  display: grid;
  min-height: 130px;
  place-items: center;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 24px;
  background: white;
  cursor: pointer;
  font-weight: 800;
  transition: .2s ease;
}
.type-grid input:checked + span { border-color: transparent; background: #0b0c10; color: white; box-shadow: inset 0 0 0 2px var(--accent); }
.input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,.14);
  background: transparent;
  color: #0b0c10;
  padding: 18px 0;
  outline: none;
  font-size: 24px;
  font-weight: 600;
}
.input::placeholder { color: rgba(0,0,0,.32); }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; }
.textarea { min-height: 90px; resize: vertical; grid-column: 1 / -1; font-size: 18px; }
.form-actions { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.form-result { min-height: 28px; font-weight: 700; margin-bottom: 16px; }
.form-result.error { color: #c62838; }
.form-result.success { color: #0a7c3f; }

body.modal-locked { overflow: hidden; }

@media (max-width: 980px) {
  .header { width: calc(100% - 24px); margin-top: 12px; border-radius: 28px; }
  .nav, .whatsapp-link { display: none; }
  .menu-btn { display: block; }
  .header.menu-open { align-items: flex-start; border-radius: 28px; }
  .header.menu-open .nav { display: flex; position: absolute; left: 12px; right: 12px; top: 70px; flex-direction: column; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: rgba(9,10,14,.98); }
  .hero { grid-template-columns: 1fr; padding-top: 42px; }
  .hero-visual { min-height: 420px; order: -1; }
  .tire { width: 310px; height: 310px; }
  .rim { inset: 42px; }
  .platform { width: 300px; }
  .hero-points, .steps, .split, .contacts { grid-template-columns: 1fr; }
  .stats-grid, .contact-list { grid-template-columns: repeat(2, 1fr); }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .review-slider { gap: 12px; }
}

@media (max-width: 640px) {
  .section, .trust-bar, .footer { width: calc(100% - 24px); }
  .hero { min-height: auto; }
  .hero-points, .stats-grid, .contact-list, .type-grid, .field-grid, .requisites-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .contacts { gap: 28px; }
  .map-card { height: 280px; }
  .footer { flex-direction: column; }
  .modal-window { width: 100%; min-height: 100vh; margin: 0; border-radius: 0; }
  .modal-head { padding: 24px 22px; }
  #leadForm { padding: 32px 22px 26px; }
  .form-step { min-height: 410px; }
  .form-actions { position: sticky; bottom: 0; background: #f5f5f2; padding-top: 14px; }
  .form-actions .btn { padding-inline: 18px; }
  .input { font-size: 20px; }
  .review-slider { gap: 0; }
  .phone-card { width: min(560px, calc(100vw - 24px)); padding: 12px; border-radius: 28px; }
  .review-shot { max-height: min(660px, 68vh); }
  .slider-btn { width: 44px; height: 44px; flex: 0 0 auto; position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; backdrop-filter: blur(10px); }
  #prevReview { left: 4px; }
  #nextReview { right: 4px; }
}
