:root {
  --ink: #101014;
  --muted: #666874;
  --paper: #f7f3ed;
  --soft: #ebe3d7;
  --gold: #c8a45d;
  --gold-dark: #9a742a;
  --night: #0c1018;
  --white: #ffffff;
  --line: rgba(16, 16, 20, 0.12);
  --shadow: 0 20px 60px rgba(13, 16, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(10, 11, 16, 0.82), rgba(10, 11, 16, 0));
}

.topbar .nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 154px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.nav a,
.top-phone,
.social-links a {
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav a:hover,
.top-phone:hover,
.social-links a:hover {
  color: var(--white);
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-phone {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-weight: 700;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 7px;
}

.social-links a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

.social-links img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.social-links a[aria-label="Telegram"] img {
  filter: invert(1);
}

.social-links a[aria-label="Max"] img {
  width: 20px;
  height: 20px;
}

.hero {
  position: relative;
  min-height: 96vh;
  overflow: hidden;
  color: var(--white);
}

.hero picture,
.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background: rgba(8, 9, 14, 0.74);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 96vh;
  width: min(760px, 100%);
  flex-direction: column;
  justify-content: center;
  padding: 124px clamp(18px, 7vw, 96px) 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 span {
  display: block;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  padding: 15px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #17110a;
  background: linear-gradient(135deg, #f1d99a, var(--gold));
  box-shadow: 0 14px 34px rgba(200, 164, 93, 0.32);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-dark {
  color: var(--white);
  background: var(--night);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(620px, 100%);
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.hero-stats div {
  padding: 17px 16px;
  background: rgba(10, 12, 18, 0.28);
}

.hero-stats dt {
  color: var(--gold);
  font-size: clamp(23px, 2vw, 27px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.contact-strip,
.section,
.car-section,
.process,
.order,
.footer {
  padding-right: clamp(18px, 6vw, 72px);
  padding-left: clamp(18px, 6vw, 72px);
}

.contact-strip {
  display: grid;
  grid-template-columns: minmax(250px, 330px) 1fr auto;
  align-items: center;
  gap: 24px;
  background: var(--white);
  padding-top: 24px;
  padding-bottom: 24px;
  box-shadow: var(--shadow);
}

.contact-strip span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.contact-strip strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  white-space: nowrap;
}

.contact-strip p {
  margin: 0;
  color: var(--muted);
}

.section,
.process {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.event-grid article {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.event-grid span {
  color: var(--gold-dark);
  font-weight: 800;
}

.event-grid p,
.car-copy p,
.process p,
.order p,
.footer p {
  color: var(--muted);
}

.car-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
  color: var(--white);
  background: var(--night);
}

.hummer-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.car-copy {
  max-width: 600px;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.82);
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 2px;
  background: var(--gold);
  content: "";
}

.car-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.carousel-frame {
  display: block;
  width: 100%;
  border: 0;
  background: var(--night);
  cursor: zoom-in;
  padding: 0;
}

.carousel-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center bottom;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.carousel-frame:hover img {
  opacity: 0.86;
  transform: scale(1.04);
}

.carousel-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: var(--white);
  background: rgba(8, 9, 14, 0.58);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(8, 9, 14, 0.82);
  transform: translateY(-50%) scale(1.04);
}

.carousel-prev {
  left: 16px;
}

.carousel-next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 16px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.54);
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--gold);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 30px;
  border-top: 2px solid var(--gold);
  background: var(--white);
}

.steps span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--night);
  font-weight: 800;
}

.steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.order {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding-top: 92px;
  padding-bottom: 92px;
  background: var(--white);
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.order-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfaf8;
  padding: 15px 14px;
  outline: none;
}

.order-form textarea {
  resize: vertical;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(200, 164, 93, 0.18);
}

.wide {
  grid-column: 1 / -1;
}

.form-result {
  min-height: 0;
  color: var(--muted);
  white-space: pre-wrap;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
  color: var(--white);
  background: #08090d;
}

.footer p {
  margin: 4px 0 0;
}

.footer a {
  color: var(--gold);
  font-weight: 800;
}

.mobile-call {
  position: fixed;
  z-index: 19;
  right: 16px;
  bottom: 16px;
  display: none;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #17110a;
  background: linear-gradient(135deg, #f1d99a, var(--gold));
  box-shadow: 0 16px 40px rgba(10, 10, 14, 0.32);
  font-weight: 900;
  padding: 14px 22px;
}

.lightbox {
  width: min(1100px, calc(100vw - 32px));
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0;
}

.lightbox::backdrop {
  background: rgba(3, 4, 7, 0.84);
}

.lightbox img {
  width: 100%;
  max-height: 84vh;
  border-radius: 8px;
  object-fit: contain;
  background: #050507;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  color: var(--white);
  background: rgba(5, 5, 7, 0.56);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.call-dialog {
  width: min(560px, calc(100vw - 32px));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: #0b0d12;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.48);
  padding: 34px 28px 30px;
  text-align: center;
}

.call-dialog::backdrop {
  background: rgba(3, 4, 7, 0.72);
}

.call-dialog p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.call-dialog a {
  display: inline-block;
  color: var(--gold);
  font-size: clamp(26px, 7vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.call-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

@media (max-width: 900px) {
  .topbar {
    align-items: center;
    padding-top: 14px;
  }

  .nav {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 92vh;
  }

  .hero-shade {
    background: rgba(8, 9, 14, 0.78);
  }

  .hero-content {
    justify-content: flex-end;
    padding-top: 112px;
  }

  .contact-strip,
  .car-section,
  .order {
    grid-template-columns: 1fr;
  }

  .event-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-call {
    display: inline-flex;
  }
}

@media (max-width: 620px) {
  .topbar {
    justify-content: space-between;
    gap: 8px;
    padding: 16px 12px;
  }

  .brand {
    display: inline-flex;
    min-width: auto;
    flex: 0 0 auto;
  }

  .brand-mark {
    display: none;
  }

  .brand strong {
    font-size: 18px;
  }

  .top-contacts {
    flex: 0 1 auto;
    gap: 6px;
  }

  .social-links {
    gap: 5px;
  }

  .social-links a {
    width: 30px;
    height: 30px;
  }

  .social-links img {
    width: 16px;
    height: 16px;
  }

  .social-links a[aria-label="Max"] img {
    width: 18px;
    height: 18px;
  }

  .top-phone {
    padding: 10px 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  h1 {
    font-size: 40px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-stats,
  .event-grid,
  .steps,
  .order-form {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    width: 100%;
  }

  .hero-stats div {
    padding: 14px 16px;
  }

  .contact-strip strong {
    font-size: 24px;
  }

  .call-dialog a {
    font-size: clamp(24px, 7.5vw, 32px);
  }

  .section,
  .process,
  .order,
  .car-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 86px;
  }
}
