@font-face {
  font-family: GothamPro;
  src: url("../fonts/GothamPro.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: GothamPro;
  src: url("../fonts/GothamPro-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("../fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("../fonts/Poppins-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("../fonts/Poppins-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --gold: #ffde00;
  --gold-dark: #eacd0c;
  --ink: #111;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --paper: #f7f7f5;
  --dark: #161718;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: GothamPro, Poppins, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select { font: inherit; }

.wrap {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.logo img { width: 152px; height: auto; }
.top-contacts { display: flex; align-items: center; gap: 22px; }
.top-contacts a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
}
.top-contacts img { width: 28px; height: 28px; }

.nav {
  background: var(--dark);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 16px;
}
.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-links a {
  color: #fff;
  font-size: 15px;
  padding: 8px 14px;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  border: 0;
  border-radius: 4px;
  padding: 14px 22px;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--gold-dark); }
.btn img { width: 14px; height: 14px; }
.btn-dark { background: #111; color: #fff; }
.btn-dark:hover { background: #000; }
.btn-wa { background: #1bd741; color: #fff; }
.btn-wa:hover { background: #18c33a; }

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  background: #111;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s;
}
.hero-slide.is-on { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 0 64px;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0,0,0,.45);
}
.hero-copy h1 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  max-width: 720px;
  text-transform: uppercase;
}
.hero-copy p {
  margin: 16px 0 28px;
  font-size: 20px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  background: #fff;
  border-radius: 2px;
  cursor: pointer;
}
.hero-dots button.is-on { background: var(--gold); }

/* Sections */
.section { padding: 88px 0; }
.section.gray { background: var(--paper); }
.section.dark {
  background: var(--dark) url("../images/popular-auto.jpg") center/cover;
  color: #fff;
}
.kicker {
  color: #999;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
}
h2 {
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 32px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.card-img {
  height: 170px;
  background: #f3f3f3 url("../images/dotted-bg.png");
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.card-img::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
  background: #f3f3f3;
  pointer-events: none;
}
.card-img img {
  max-height: 150px;
  width: auto;
  object-fit: contain;
}
.card-body { padding: 16px 16px 18px; }
.card-brand { font-size: 12px; color: #888; text-transform: uppercase; }
.card-body h3 { font-size: 17px; margin: 4px 0 10px; }
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.price { font-weight: 700; }
.price span { color: #888; font-weight: 400; font-size: 13px; }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.brand-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 128px;
}
.brand-tile img {
  width: 100%;
  height: 58px;
  object-fit: contain;
}
.brand-tile span { font-size: 13px; color: #555; }

.about-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.about-photo {
  min-height: 380px;
  background: url("../images/about-bg.jpg") center/cover;
  border-radius: 12px;
}
.about-copy p { color: var(--muted); margin-bottom: 16px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.why-item img { height: 120px; margin: 0 auto 16px; object-fit: contain; }
.why-item h3 {
  background: var(--gold);
  padding: 10px;
  text-align: center;
  text-transform: uppercase;
  font-size: 15px;
  margin-bottom: 12px;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.insta-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 8px;
}

.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.toolbar input,
.toolbar select {
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 14px;
  border-radius: 4px;
  min-width: 220px;
}

.car-page {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  align-items: start;
}
.car-photo {
  background: var(--paper) url("../images/dotted-bg.png");
  border-radius: 12px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.car-photo::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 22px;
  background: var(--paper);
  pointer-events: none;
}
.car-photo img {
  width: 100%;
  height: 420px;
  object-fit: contain;
}
.car-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}
.car-side .logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.car-side .logo-row img { height: 28px; width: auto; }
.car-side h1 { font-size: 34px; text-transform: none; margin-bottom: 8px; }
.car-side .big-price { font-size: 32px; margin: 18px 0; }
.car-actions { display: grid; gap: 10px; }
.car-note { color: var(--muted); font-size: 14px; margin-top: 16px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.contact-card img { width: 36px; height: 36px; }

.form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.form input,
.form textarea {
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: 4px;
  width: 100%;
}
.form textarea { min-height: 120px; resize: vertical; }

footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 48px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
footer h4 { color: #fff; margin-bottom: 12px; text-transform: uppercase; }
footer a { color: rgba(255,255,255,.7); }
footer a:hover { color: #fff; }
.legal {
  border-top: 1px solid #2a2b2c;
  padding-top: 16px;
  font-size: 12px;
  text-align: center;
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .grid, .brand-grid, .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split, .car-page, .contact-grid, .why-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .top-contacts span { display: none; }
  .menu-btn { display: block; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-bottom: 12px;
  }
  .nav-links.is-open { display: flex; }
  .nav-inner { flex-wrap: wrap; }
  .car-photo img { height: 260px; }
}
@media (max-width: 560px) {
  .grid, .brand-grid, .insta-grid { grid-template-columns: 1fr; }
  .hero-copy { min-height: 58vh; padding: 48px 0 56px; }
}

/* Reserve form */
.field {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  background: #fff;
}
.crypto-banner {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #fff;
  border-radius: .75rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 600;
  margin: 24px 0 8px;
}
.crypto-banner .cb-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.crypto-banner .cb-sub {
  display: block;
  font-weight: 400;
  opacity: .9;
  font-size: .875rem;
  margin-top: .125rem;
}
.reserve-field-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #737373;
  margin-bottom: .4rem;
}
.reserve-hint { font-size: .75rem; color: #737373; margin-top: .3rem; }
.reserve-radio-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.reserve-radio {
  flex: 1 1 0;
  min-width: 9rem;
  cursor: pointer;
  border: 1px solid #d4d4d4;
  border-radius: .6rem;
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
}
.reserve-radio.is-active {
  border-color: #171717;
  background: #fafafa;
  box-shadow: 0 0 0 1px #171717 inset;
}
.reserve-radio-title { font-weight: 700; font-size: .9rem; display: block; }
.reserve-radio-sub { font-size: .75rem; color: #737373; display: block; }
.reserve-total-box {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: .6rem;
  padding: 1rem 1.1rem;
  margin-top: 1rem;
}
.reserve-total-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .9rem;
  padding: .25rem 0;
}
.reserve-total-row.is-strong {
  font-weight: 700;
  font-size: 1.05rem;
  border-top: 1px solid #e5e5e5;
  margin-top: .4rem;
  padding-top: .6rem;
}
.reserve-crypto-note {
  margin-top: .75rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: .5rem;
  padding: .6rem .8rem;
  font-size: .825rem;
  font-weight: 600;
}
.reserve-crypto-note.hidden,
.reserve-delivery-field.hidden,
#reserve-confirm { display: none; }
#reserve-confirm.is-visible { display: block; }
.reserve-section {
  border: 1px solid #e5e5e5;
  border-radius: .75rem;
  background: #fff;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.reserve-section h2 {
  font-size: 1.05rem;
  text-transform: none;
  margin-bottom: 1rem;
}
.reserve-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .reserve-grid-2 { grid-template-columns: 1fr 1fr; }
}
.crypto-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 9999px;
  padding: .3rem .7rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
