@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

body { font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
.site-header { background: rgba(255,255,255,.96); }
.header-inner { min-height: 80px; }
.main-nav > a, .nav-dropdown > button { padding-top: 29px; padding-bottom: 27px; letter-spacing: -.01em; }
.header-phone { letter-spacing: -.02em; }
.btn { border-radius: 10px; letter-spacing: -.01em; }
.card, .car-card, .city-card, .lead-form, .sidebar-card { border-radius: 14px; }
.card, .car-card, .city-card { border-color: #dedcd6; }
.card-link:hover, .car-card:hover, .city-card:hover { box-shadow: 0 14px 32px rgba(21,23,26,.09); }
.section { padding-block: 86px; }
.section-subtitle { line-height: 1.5; }
.page-hero { background: #f5f4f0; }
.breadcrumbs { color: #6d7278; }

.hero-dynamic { padding: 64px 0 58px; background: #f5f4f0; }
.hero-dynamic::before, .hero-dynamic::after, .hero-dynamic .hero-copy::before { display: none; }
.hero-dynamic-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); grid-template-areas: "copy media" "actions media"; align-items: center; gap: 28px 54px; }
.hero-dynamic .hero-copy { grid-area: copy; max-width: 600px; }
.hero-dynamic h1 { margin-bottom: 24px; font-size: clamp(48px,5.8vw,76px); font-weight: 800; line-height: .98; letter-spacing: -.045em; }
.hero-dynamic h1 .hero-title-line { display: block; color: var(--ink); }
.hero-dynamic h1 .hero-title-line.accent { color: var(--red); }
.hero-dynamic .hero-lead { max-width: 590px; margin-bottom: 0; color: #535960; font-size: 17px; line-height: 1.55; }
.hero-dynamic-actions { grid-area: actions; }
.hero-dynamic-actions .action-row { gap: 12px; }
.hero-dynamic-actions .btn { min-height: 54px; padding-inline: 24px; }
.hero-dynamic .hero-media { grid-area: media; position: relative; width: 100%; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.hero-dynamic-photo { position: relative; z-index: 1; display: block; overflow: hidden; border-radius: 20px; box-shadow: 0 20px 45px rgba(21,23,26,.1); }
.hero-dynamic-photo picture { display: block; }
.hero-dynamic .hero-image { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; }
.hero-dynamic-band { position: absolute; z-index: 0; top: -22px; right: -42px; bottom: 58px; width: 40%; background: var(--red); clip-path: polygon(28% 0,100% 0,72% 100%,0 100%); pointer-events: none; }
.hero-dynamic .hero-offer { position: relative; z-index: 2; margin-top: 14px; padding: 16px 20px; background: var(--ink); border-radius: 12px; }
.hero-offer-status { display: block; margin-bottom: 3px; color: #aeb5bd !important; font-size: 11px !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hero-dynamic .hero-offer strong { line-height: 1.25; }
.hero-dynamic .hero-offer-price { display: inline-flex; align-items: center; font-size: 18px !important; }
.hero-dynamic .hero-offer-price:hover { color: #ffadb6 !important; }

.stock-section { padding: 82px 0; color: var(--ink); background: var(--white); }
.stock-section .section-head h2 { color: var(--ink); }
.stock-section .section-subtitle { color: var(--muted); }
.stock-section .eyebrow { color: var(--red); }
.stock-section .btn-outline-light { color: var(--ink); border-color: var(--line); }
.stock-section .btn-outline-light:hover { color: var(--red); border-color: var(--red); }
.stock-card { background: var(--white); border-color: #dedcd6; border-radius: 14px; }
.stock-card:hover { background: var(--white); border-color: #c7c3bb; box-shadow: 0 14px 30px rgba(21,23,26,.1); }
.stock-photo { background: #ecebe6; }
.stock-info { padding: 16px; }
.stock-info h3 { color: var(--ink); font-size: 17px; }
.stock-info p { color: var(--muted); font-size: 12px; }
.stock-cta { color: var(--red); border-top-color: var(--line); }
.stock-cta:hover { color: var(--red-dark); }
.stock-footer { color: var(--muted); }
.stock-footer a { color: var(--red); }
.stock-footer a:hover { color: var(--red-dark); }
.car-card { border-radius: 14px; }
.car-content { padding: 20px; }
.car-source { color: #777d84; }
.car-status { border-radius: 6px; }
.country-card { border-radius: 14px; }
.review-card blockquote { line-height: 1.55; }
.lead-wrap { border-radius: 20px; }

.vehicle-price-card { border-radius: 16px; box-shadow: 0 8px 28px rgba(21,23,26,.07); }
.vehicle-price-card > .eyebrow { margin-bottom: 14px; padding: 6px 10px; color: var(--green); background: #e8f4ed; border-radius: 7px; font-size: 11px; letter-spacing: 0; text-transform: none; }
.vehicle-price-card > .eyebrow::before { display: none; }
.vehicle-highlights { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; }
.vehicle-highlights span { padding: 6px 10px; color: #4f555c; background: var(--surface); border-radius: 6px; font-size: 12px; font-weight: 600; }
.vehicle-price-card h1 { letter-spacing: -.035em; }
.vehicle-gallery-open { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; min-height: 40px; align-items: center; gap: 8px; padding: 9px 13px; color: var(--white); background: rgba(21,23,26,.82); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; backdrop-filter: blur(8px); cursor: pointer; font-size: 12px; font-weight: 650; transition: background .18s, transform .18s; }
.vehicle-gallery-open:hover { background: var(--red); transform: translateY(-2px); }
.vehicle-gallery-open svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vehicle-lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 60px 24px 24px; overflow: hidden; color: var(--white); background: #101214; border: 0; }
.vehicle-lightbox::backdrop { background: #101214; }
.vehicle-lightbox-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.vehicle-lightbox-track::-webkit-scrollbar { display: none; }
.vehicle-lightbox-slide { display: flex; min-width: 0; flex: 0 0 100%; align-items: center; justify-content: center; scroll-snap-align: start; }
.vehicle-lightbox-slide img { width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 110px); object-fit: contain; }
.vehicle-lightbox-counter { position: absolute; top: 18px; left: 50%; color: #e5e7e9; font-size: 14px; font-weight: 650; transform: translateX(-50%); }
.vehicle-lightbox-close, .vehicle-lightbox-arrow { position: absolute; z-index: 2; display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; color: var(--white); background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); border-radius: 50%; cursor: pointer; }
.vehicle-lightbox-close { top: 14px; right: 16px; font-size: 26px; line-height: 1; }
.vehicle-lightbox-arrow { top: 50%; transform: translateY(-50%); }
.vehicle-lightbox-prev { left: 16px; }
.vehicle-lightbox-next { right: 16px; }
.vehicle-lightbox-close:hover, .vehicle-lightbox-arrow:hover:not(:disabled) { background: var(--red); }
.vehicle-lightbox-arrow:disabled { opacity: .3; cursor: default; }
.vehicle-lightbox-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.lightbox-open { overflow: hidden; }

@media (max-width: 1120px) {
  .hero-dynamic-grid { gap: 26px 36px; }
  .hero-dynamic h1 { font-size: clamp(45px,5.6vw,64px); }
}

@media (max-width: 900px) {
  .header-inner { min-height: 74px; }
  .section { padding-block: 70px; }
  .hero-dynamic { padding: 44px 0 42px; }
  .hero-dynamic-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "media" "actions"; gap: 28px; }
  .hero-dynamic .hero-copy { max-width: 760px; }
  .hero-dynamic h1 { font-size: clamp(48px,8.5vw,68px); }
  .hero-dynamic .hero-lead { max-width: 690px; }
  .hero-dynamic .hero-media { max-width: 760px; }
  .hero-dynamic-band { right: -24px; }
  .stock-section { padding-block: 68px; }
}

@media (max-width: 640px) {
  .section { padding-block: 54px; }
  .hero-dynamic { padding: 32px 0 30px; }
  .hero-dynamic-grid { gap: 24px; }
  .hero-dynamic h1 { margin-bottom: 18px; font-size: clamp(40px,11vw,52px); line-height: 1; }
  .hero-dynamic .hero-lead { font-size: 16px; line-height: 1.5; }
  .hero-dynamic .eyebrow { margin-bottom: 15px; }
  .hero-dynamic-photo { border-radius: 16px; }
  .hero-dynamic-band { top: -10px; right: -14px; bottom: 52px; width: 42%; }
  .hero-dynamic .hero-offer { padding: 14px 15px; }
  .hero-dynamic .hero-offer strong { font-size: 16px; }
  .hero-dynamic .hero-offer-price { font-size: 16px !important; }
  .hero-dynamic-actions .btn { width: 100%; }
  .hero-dynamic .hero-note { align-items: flex-start; font-size: 12px; }
  .stock-section { padding-block: 50px; }
  .stock-info { padding: 15px; }
  .vehicle-gallery-open { right: 12px; bottom: 12px; min-height: 42px; padding: 9px 11px; }
  .vehicle-gallery-open span { display: none; }
  .vehicle-lightbox { padding: 58px 10px 18px; }
  .vehicle-lightbox-slide img { max-height: calc(100vh - 100px); }
  .vehicle-lightbox-prev { left: 10px; }
  .vehicle-lightbox-next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dynamic-photo, .vehicle-gallery-open { scroll-behavior: auto; }
}

.vehicle-gallery.ratio-3-2 .vehicle-gallery-slide img { aspect-ratio: 3 / 2; }
.vehicle-gallery.ratio-3-2 .vehicle-thumb { aspect-ratio: 3 / 2; }

@media (min-width: 901px) {
  body:has(.vehicle-hero) .chat-widget { right: auto; left: 22px; }
}

.vehicle-hero .vehicle-gallery-slide img { aspect-ratio: 3 / 2; }

@media (max-width: 640px) {
  .chat-widget { display: none !important; }
  .stock-section .stock-grid { display: grid; grid-template-columns: 1fr; gap: 16px; overflow: visible; scroll-snap-type: none; }
  .stock-section .stock-card { width: 100%; flex: none; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .header-inner .logo { order: 1; }
  .header-inner .header-actions { order: 2; margin-left: auto; }
  .header-inner .menu-toggle { order: 3; flex: 0 0 44px; margin-left: 0; }
}

.telegram-car-grid .car-content { padding: 15px; }
.telegram-car-grid .car-content h3 { font-size: 17px; }
.telegram-car-grid .car-specs { gap: 5px 9px; font-size: 11px; }
.telegram-car-grid .car-price { font-size: 17px; }
.telegram-car-grid .car-bottom { align-items: flex-start; flex-direction: column; }
.telegram-car-grid .car-link { font-size: 12px; }

.video-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 18px; }
.video-review-card { min-width: 0; overflow: hidden; background: var(--white); border: 1px solid #dedcd6; border-radius: 14px; }
.video-shell { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #111315; }
.video-shell video { width: 100%; height: 100%; object-fit: contain; background: #111315; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; padding: 20px; color: var(--white); background: linear-gradient(180deg, transparent 48%, rgba(0,0,0,.62)); border: 0; cursor: pointer; font-size: 13px; font-weight: 700; transition: background .18s; }
.video-play:hover { background: rgba(0,0,0,.25); }
.video-play-icon { display: flex; width: 62px; height: 62px; align-items: center; justify-content: center; background: var(--red); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: transform .18s, background .18s; }
.video-play:hover .video-play-icon { background: var(--red-dark); transform: scale(1.06); }
.video-play-icon svg { width: 28px; height: 28px; fill: currentColor; }
.video-caption { display: grid; gap: 6px; padding: 15px; }
.video-caption > span { color: var(--red); font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.video-caption strong { font-size: 15px; line-height: 1.25; }
.video-caption small { color: var(--muted); font-size: 11px; line-height: 1.45; }

@media (max-width: 1120px) {
  .video-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-shell { aspect-ratio: 4 / 5; }
  .video-shell video { object-fit: contain; }
  .telegram-offers .stock-grid { display: grid; grid-template-columns: 1fr; gap: 16px; overflow: visible; scroll-snap-type: none; }
  .telegram-offers .car-card { width: 100%; }
  .telegram-car-grid .car-bottom { align-items: center; flex-direction: row; }
}
