*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #0A0E14; color: #fff; font-family: 'Montserrat', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0A0E14; }
::-webkit-scrollbar-thumb { background: #1C2A3A; border-radius: 2px; }

/* ── HEADER ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}
header.scrolled {
  background: rgba(10,14,20,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  max-width: 1240px; margin: 0 auto;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px; background: #D4A030;
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 700; color: #0A0E14;
}
.logo-text { font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 700; color: #fff; letter-spacing: 0.04em; text-transform: uppercase; }
.logo-sub { font-size: 9px; color: #D4A030; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; display: block; margin-top: 1px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: #8A9BB0; font-size: 13px; font-weight: 500; text-decoration: none; letter-spacing: 0.02em; transition: color 0.2s; }
nav a:hover { color: #fff; }
.nav-cta {
  background: #D4A030; color: #0A0E14 !important; font-weight: 700 !important;
  padding: 9px 20px; border-radius: 6px; transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: #F0B830 !important; transform: scale(1.03); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(10,14,20,0.96) 0%, rgba(10,14,20,0.78) 45%, rgba(10,14,20,0.25) 100%);
}
.hero-content {
  position: relative; max-width: 1240px; margin: 0 auto;
  padding: 140px 40px 100px; width: 100%;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(212,160,48,0.35); border-radius: 3px;
  padding: 5px 14px; margin-bottom: 28px;
  font-size: 10px; font-weight: 700; color: #D4A030; letter-spacing: 0.14em; text-transform: uppercase;
}
.hero-eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: #D4A030; }
h1.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em;
  line-height: 0.95; color: #fff; margin-bottom: 28px; max-width: 680px;
}
h1.hero-title span { color: #D4A030; display: block; }
.hero-desc {
  font-size: 17px; color: #8A9BB0; line-height: 1.75;
  max-width: 460px; margin-bottom: 44px; font-weight: 400;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 64px; }
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: #D4A030; color: #0A0E14;
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  padding: 15px 32px; border-radius: 6px; border: none; cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 0 32px rgba(212,160,48,0.25);
}
.btn-gold:hover { background: #F0B830; box-shadow: 0 0 40px rgba(212,160,48,0.4); transform: scale(1.03); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #C8D4E0;
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  padding: 15px 32px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.12); cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(212,160,48,0.5); color: #D4A030; }
.hero-stats { display: flex; gap: 48px; }
.stat-num { font-family: 'Oswald', sans-serif; font-size: 36px; font-weight: 700; color: #D4A030; line-height: 1; }
.stat-label { font-size: 12px; color: #4E6070; margin-top: 5px; font-weight: 500; }

/* ── SECTION SHARED ── */
section { padding: 100px 40px; }
.section-inner { max-width: 1240px; margin: 0 auto; }
.section-eyebrow { font-size: 10px; font-weight: 700; color: #D4A030; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
h2.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em;
  line-height: 1.05; color: #fff; margin-bottom: 56px;
}
h2.section-title span { color: #D4A030; }

/* ── WHY US ── */
.why-bg { background: #0A0E14; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card {
  background: #101620; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 32px 28px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.why-card:hover { background: #141D2A; border-color: rgba(212,160,48,0.25); transform: translateY(-3px); }
.why-icon { font-size: 28px; margin-bottom: 18px; }
.why-title { font-family: 'Oswald', sans-serif; font-size: 19px; font-weight: 600; color: #fff; text-transform: uppercase; margin-bottom: 10px; letter-spacing: -0.01em; }
.why-desc { font-size: 14px; color: #5A7080; line-height: 1.7; }

/* ── STEPS ── */
.steps-bg { background: #07090D; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.05); border-radius: 12px; overflow: hidden; }
.step-cell { background: #07090D; padding: 36px 28px; transition: background 0.2s; }
.step-cell:hover { background: #0F1520; }
.step-num { font-family: 'Oswald', sans-serif; font-size: 48px; font-weight: 700; color: #D4A030; opacity: 0.3; line-height: 1; margin-bottom: 12px; }
.step-title { font-family: 'Oswald', sans-serif; font-size: 17px; font-weight: 600; color: #fff; text-transform: uppercase; margin-bottom: 10px; letter-spacing: -0.01em; }
.step-desc { font-size: 13px; color: #4E6070; line-height: 1.7; }

/* ── CATALOG ── */
.catalog-bg { background: #0A0E14; }
.cars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.car-card {
  background: #101620; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
  cursor: default;
}
.car-card:hover { border-color: rgba(212,160,48,0.3); transform: translateY(-2px); }
.car-img { height: 130px; background: #141D2A; position: relative; }
.car-img img { width: 100%; height: 100%; object-fit: cover; }
.car-badge {
  position: absolute; top: 8px; left: 8px;
  background: #D4A030; color: #0A0E14;
  font-size: 9px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 3px;
}
.car-body { padding: 14px 14px 16px; }
.car-name { font-family: 'Oswald', sans-serif; font-size: 17px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: -0.01em; }
.car-meta { font-size: 11px; color: #4E6070; margin-top: 3px; }
.car-price { font-size: 16px; font-weight: 700; color: #D4A030; margin-top: 10px; }

/* ── REVIEWS ── */
.reviews-bg { background: #07090D; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review-card {
  background: #0F1520; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 24px;
  transition: border-color 0.25s;
}
.review-card:hover { border-color: rgba(212,160,48,0.2); }
.review-stars { color: #D4A030; font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { font-size: 13px; color: #5A7080; line-height: 1.75; margin-bottom: 18px; font-style: italic; }
.review-author { font-size: 12px; font-weight: 600; color: #C8D4E0; }
.review-city { font-size: 11px; color: #3A5060; margin-top: 2px; }

/* ── PHOTO REVIEWS ── */
.photo-reviews-bg { background: #0A0E14; }
.photo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.photo-item { border-radius: 8px; overflow: hidden; aspect-ratio: 3/4; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.9); transition: filter 0.25s, transform 0.3s; }
.photo-item:hover img { filter: brightness(1); transform: scale(1.03); }

/* ── VIDEO REVIEWS ── */
.video-reviews-bg { background: #07090D; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.video-card {
  position: relative; aspect-ratio: 9/16; border-radius: 12px; overflow: hidden;
  background: #101620; border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer; transition: border-color 0.25s, transform 0.25s;
}
.video-card:hover { border-color: rgba(212,160,48,0.3); transform: translateY(-2px); }
.video-card img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.82); transition: filter 0.25s, transform 0.3s; }
.video-card:hover img { filter: brightness(0.95); transform: scale(1.03); }
.video-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,9,13,0) 55%, rgba(7,9,13,0.8) 100%);
}
.video-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%; z-index: 2;
  background: rgba(212,160,48,0.92); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 24px rgba(212,160,48,0.45);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.video-play-btn svg { width: 18px; height: 18px; margin-left: 3px; fill: #0A0E14; }
.video-card:hover .video-play-btn { background: #F0B830; transform: translate(-50%,-50%) scale(1.08); box-shadow: 0 0 32px rgba(212,160,48,0.6); }
.video-label {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-size: 12px; font-weight: 600; color: #E8EDF2; letter-spacing: 0.02em;
}
.video-card.is-playing { cursor: default; }
.video-card.is-playing:hover { transform: none; border-color: rgba(255,255,255,0.06); }
.video-card.is-playing::after,
.video-card.is-playing .video-play-btn,
.video-card.is-playing .video-label { display: none; }
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }

/* ── CTA BANNER ── */
.cta-banner { position: relative; overflow: hidden; padding: 0; }
.cta-banner-img { position: absolute; inset: 0; }
.cta-banner-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cta-banner-img::after { content: ''; position: absolute; inset: 0; background: rgba(7,9,13,0.87); }
.cta-content { position: relative; max-width: 1240px; margin: 0 auto; padding: 100px 40px; text-align: center; }
.cta-content h2 { font-family: 'Oswald', sans-serif; font-size: clamp(32px,5vw,68px); font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 20px; }
.cta-content h2 span { color: #D4A030; }
.cta-content p { font-size: 17px; color: #5A7080; margin-bottom: 40px; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #2D62FF; color: #fff;
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none;
  padding: 18px 44px; border-radius: 8px;
  box-shadow: 0 0 40px rgba(45,98,255,0.3);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.wa-btn:hover { background: #1F4CD1; box-shadow: 0 0 56px rgba(45,98,255,0.45); transform: scale(1.04); }
.wa-icon { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }

.manager-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 20, 0.8);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}
.manager-modal.open { display: flex; }
.manager-modal-card {
  width: 100%;
  max-width: 520px;
  background: #101620;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 24px;
}
.manager-modal-title {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.manager-modal-desc { color: #5A7080; font-size: 14px; margin-bottom: 18px; line-height: 1.6; }
.manager-modal-grid { display: grid; gap: 10px; }
.manager-modal-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 10px;
  background: #0A0E14;
  border: 1px solid rgba(255,255,255,0.08);
  color: #E8EDF2;
  transition: border-color 0.2s, transform 0.15s;
}
.manager-modal-link:hover {
  border-color: rgba(212,160,48,0.4);
  transform: translateY(-1px);
}
.manager-modal-close {
  margin-top: 14px;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: #C8D4E0;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
}

/* ── CONTACTS ── */
.contacts-bg { background: #07090D; padding-bottom: 0; }
.contacts-inner { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; padding-bottom: 80px; }
.contact-info h3 { font-family: 'Oswald', sans-serif; font-size: 32px; font-weight: 700; color: #fff; text-transform: uppercase; margin-bottom: 20px; }
.contact-info p { font-size: 15px; color: #4E6070; line-height: 1.75; margin-bottom: 32px; }
.contact-item { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.contact-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(212,160,48,0.1); border: 1px solid rgba(212,160,48,0.2); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-label { font-size: 11px; color: #3A5060; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-value { font-size: 15px; color: #C8D4E0; font-weight: 500; margin-top: 2px; }

/* ── FOOTER ── */
footer { background: #07090D; border-top: 1px solid rgba(255,255,255,0.04); padding: 28px 40px; }
.footer-inner { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo-mark { width: 28px; height: 28px; background: #D4A030; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 700; color: #0A0E14; }
.footer-brand-name { font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 700; color: #fff; text-transform: uppercase; }
.footer-copy { font-size: 12px; color: #2A3A48; }

/* ── BURGER ── */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
  background: rgba(10,14,20,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-direction: column;
  padding: 16px 0 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #C8D4E0; font-size: 15px; font-weight: 500; text-decoration: none;
  padding: 13px 24px; border-bottom: 1px solid rgba(255,255,255,0.04);
  letter-spacing: 0.02em;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .nav-cta {
  margin: 16px 24px 0;
  display: block; text-align: center;
  background: #D4A030; color: #0A0E14 !important;
  font-weight: 700 !important; border-radius: 6px; padding: 13px 20px !important;
  border-bottom: none !important;
}

/* ── TABLET ── */
@media (max-width: 1024px) {
  .header-inner { padding: 0 24px; }
  nav { gap: 18px; }
  .hero-content { padding: 120px 24px 80px; }
  section { padding: 72px 24px; }
  .contacts-inner { padding: 0 24px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .cars-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(4, 1fr); }
  .video-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .contacts-grid { gap: 36px; }
  footer { padding: 24px; }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  /* header */
  .header-inner { height: 60px; padding: 0 16px; }
  nav { display: none; }
  .burger { display: flex; }

  /* hero */
  .hero-content { padding: 100px 16px 64px; }
  .hero-desc { font-size: 15px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .btn-gold, .btn-ghost { width: 100%; justify-content: center; padding: 14px 20px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .stat-num { font-size: 28px; }

  /* sections */
  section { padding: 56px 16px; }
  h2.section-title { margin-bottom: 32px; }

  /* why */
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-card { padding: 22px 18px; }

  /* steps */
  .steps-grid { grid-template-columns: 1fr; }
  .step-cell { padding: 24px 18px; }

  /* catalog */
  .cars-grid { grid-template-columns: 1fr; gap: 10px; }
  .car-img { height: 180px; }

  /* reviews */
  .reviews-grid { grid-template-columns: 1fr; gap: 10px; }

  /* photo grid */
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }

  /* video grid */
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .video-play-btn { width: 46px; height: 46px; }
  .video-play-btn svg { width: 15px; height: 15px; }
  .video-label { font-size: 11px; left: 9px; bottom: 9px; }

  /* cta */
  .cta-content { padding: 64px 16px; }
  .cta-content h2 { font-size: clamp(26px, 8vw, 44px); }
  .cta-content p { font-size: 14px; }
  .wa-btn { padding: 16px 28px; font-size: 13px; width: 100%; justify-content: center; }

  /* contacts */
  .contacts-inner { padding: 0 16px; }
  .contacts-grid { grid-template-columns: 1fr; gap: 24px; }

  /* manager cards */
  .contact-info > div[style*="flex-direction:column"] { gap: 10px; }
  /* manager card row: stack buttons below name on narrow */
  div[style*="justify-content:space-between"][style*="border-radius:10px"] {
    flex-wrap: wrap;
  }
  div[style*="justify-content:space-between"][style*="border-radius:10px"] > div:last-child {
    width: 100%; justify-content: flex-start;
  }

  /* vk + tg row */
  div[style*="justify-content:space-between"][style*="border-radius:8px"] {
    flex-direction: column; align-items: flex-start; gap: 10px;
  }

  /* modal */
  .manager-modal-card { padding: 20px 16px; }
  .manager-modal-title { font-size: 22px; }

  /* footer */
  footer { padding: 20px 16px; }
  .footer-inner { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 400px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 24px; }
  .stat-label { font-size: 11px; }
}

/* круглый логотип без белых углов */
.km-logo{display:inline-block;border-radius:50%;background-image:url("/assets/logo-krutashiy-moment.jpg");background-position:center;background-repeat:no-repeat;background-size:113%;flex-shrink:0;}
