/* ============================================================
   Vinfast Dealer Theme — Main Stylesheet
   1. Reset & base
   2. Typography
   3. Layout (container, grid)
   4. Buttons
   5. Header & nav
   6. Forms
   7. Utilities
   ============================================================ */

/* 1. Reset & base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--vf-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--vf-text);
  background: var(--vf-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--vf-blue); text-decoration: none; transition: color 0.2s var(--vf-ease); }
a:hover { color: var(--vf-blue-dark); }
button { font-family: inherit; cursor: pointer; }

/* 2. Typography ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--vf-font);
  color: var(--vf-text-dark);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 var(--vf-space-3);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }
p  { margin: 0 0 var(--vf-space-3); }

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vf-blue);
  margin-bottom: var(--vf-space-2);
}
.section-title {
  text-align: center;
  margin-bottom: var(--vf-space-6);
  font-weight: 700;
}
.section-title h2 { margin-bottom: var(--vf-space-2); }
.section-title p { color: var(--vf-text-grey); max-width: 640px; margin: 0 auto; }

/* 3. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--vf-container);
  margin: 0 auto;
  padding-left: var(--vf-space-4);
  padding-right: var(--vf-space-4);
}
.container--narrow { max-width: var(--vf-container-narrow); }

/* Also support vf-container class used by templates 10-26 */
.vf-container {
  width: 100%;
  max-width: var(--vf-container);
  margin: 0 auto;
  padding-left: var(--vf-space-4);
  padding-right: var(--vf-space-4);
}

.section {
  padding: var(--vf-space-6) 0;
}
.section--dark { background: var(--vf-dark-bg); color: var(--vf-white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--vf-white); }
.section--dark p { color: rgba(255, 255, 255, 0.85); }
.section--dark .section-title p {
  color: rgba(255, 255, 255, 0.85);
}

/* vf-section alias used by templates 12-26 */
.vf-section { padding: 72px 0; }

.grid { display: grid; gap: var(--vf-space-4); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 991px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* 4. Buttons --------------------------------------------------------------- */
/* Shared .btn base + modifiers (replicating vinfastauto.com) */
.btn, .vf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--vf-space-2);
  padding: 16px 28px;
  font-family: var(--vf-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  border: 0.75px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.2s var(--vf-ease), box-shadow 0.2s var(--vf-ease), background 0.2s var(--vf-ease), color 0.2s var(--vf-ease);
  text-decoration: none;
  user-select: none;
}
.btn:hover, .vf-btn:hover { transform: translateY(-1px); }
.btn:active, .vf-btn:active { transform: translateY(0); }

.btn--primary, .vf-btn--primary {
  background: var(--vf-blue);
  color: var(--vf-white);
  border-color: var(--vf-blue);
}
.btn--primary:hover, .vf-btn--primary:hover {
  background: var(--vf-blue-dark);
  color: var(--vf-white);
  box-shadow: 0 6px 20px rgba(20, 100, 244, 0.35);
}

.btn--secondary, .vf-btn--secondary {
  background: var(--vf-white);
  color: var(--vf-blue);
  border-color: var(--vf-blue);
}
.btn--secondary:hover, .vf-btn--secondary:hover {
  background: var(--vf-blue);
  color: var(--vf-white);
  box-shadow: 0 6px 20px rgba(20, 100, 244, 0.25);
}

.btn--ghost, .vf-btn--ghost {
  background: transparent;
  color: var(--vf-white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--ghost:hover, .vf-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--vf-white);
}

.btn--outline,
.vf-btn--outline {
  background: transparent;
  color: var(--vf-blue);
  border: 1px solid var(--vf-blue);
}
.btn--outline:hover,
.vf-btn--outline:hover {
  background: var(--vf-blue);
  color: var(--vf-white);
}

.btn--sm, .vf-btn--sm { padding: 12px 20px; font-size: 11px; letter-spacing: 1.2px; }
.btn--lg, .vf-btn--lg { padding: 20px 36px; font-size: 13px; }
.btn--block, .vf-btn--block { width: 100%; }

/* 5. Header & nav ---------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--vf-header-h);
  background: transparent;
  z-index: 1000;
  transition: background 0.3s var(--vf-ease), box-shadow 0.3s var(--vf-ease);
}
.site-header.is-scrolled,
.site-header.is-inner {
  background: var(--vf-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-header__logo img { height: 36px; width: auto; }

.primary-menu {
  display: flex;
  gap: var(--vf-space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-menu a {
  color: var(--vf-text-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s var(--vf-ease);
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a { color: var(--vf-blue); }
.primary-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--vf-blue);
  transition: width 0.2s var(--vf-ease);
}
.primary-menu a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--vf-text-dark);
  margin: 6px auto;
  transition: transform 0.2s var(--vf-ease), opacity 0.2s var(--vf-ease);
}

@media (max-width: 991px) {
  .menu-toggle { display: block; }
  .primary-menu {
    position: fixed;
    top: var(--vf-header-h);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--vf-white);
    padding: var(--vf-space-4);
    gap: var(--vf-space-2);
    transform: translateX(100%);
    transition: transform 0.3s var(--vf-ease);
    height: calc(100vh - var(--vf-header-h));
    overflow-y: auto;
  }
  .primary-menu.is-open { transform: translateX(0); }
  body.menu-open { overflow: hidden; }
}

body:not(.home) { padding-top: var(--vf-header-h); }

/* 6. Forms ----------------------------------------------------------------- */
.form-group { margin-bottom: var(--vf-space-3); }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--vf-space-2);
  color: var(--vf-text-dark);
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--vf-font);
  font-size: 15px;
  color: var(--vf-text-dark);
  background: var(--vf-white);
  border: 1px solid var(--vf-border);
  border-radius: 3px;
  transition: border-color 0.2s var(--vf-ease), box-shadow 0.2s var(--vf-ease);
}
input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--vf-blue);
  box-shadow: 0 0 0 3px rgba(20, 100, 244, 0.15);
}

/* 7. Utilities ------------------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; } .mt-3 { margin-top: var(--vf-space-3); } .mt-5 { margin-top: var(--vf-space-5); }
.mb-0 { margin-bottom: 0; } .mb-3 { margin-bottom: var(--vf-space-3); } .mb-5 { margin-bottom: var(--vf-space-5); }

/* === Top bar === */
.vf-topbar { background: var(--vf-bg-dark); color: rgba(255,255,255,.7); font-size: 12px; padding: 6px 0; }
.vf-topbar__inner { display: flex; gap: 24px; justify-content: flex-end; flex-wrap: wrap; }
.vf-topbar__item { color: inherit; text-decoration: none; }
.vf-topbar__item:hover { color: #fff; }

/* === Header === */
.vf-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--vf-border); transition: box-shadow .2s ease; }
.vf-header.is-scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.vf-header__inner { display: flex; align-items: center; gap: 32px; height: 78px; }
.vf-logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.vf-logo__img { max-height: 40px; width: auto; }
.vf-logo__text { font-weight: 800; font-size: 20px; color: var(--vf-primary); }

/* === Nav === */
.vf-nav { flex: 1 1 auto; }
.vf-nav__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.vf-nav__item { position: relative; }
.vf-nav__link { color: var(--vf-text); font-weight: 600; font-size: 14px; padding: 8px 0; text-decoration: none; transition: color .2s; }
.vf-nav__link:hover, .current-menu-item > .vf-nav__link { color: var(--vf-primary); }
.vf-nav__list .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--vf-border); border-radius: var(--vf-radius); box-shadow: var(--vf-shadow-md); padding: 8px 0; list-style: none; margin: 0; }
.vf-nav__list .menu-item-has-children:hover > .sub-menu { display: block; }
.vf-nav__list .sub-menu a { display: block; padding: 8px 16px; color: var(--vf-text); font-size: 14px; text-decoration: none; }
.vf-nav__list .sub-menu a:hover { background: var(--vf-bg-soft); color: var(--vf-primary); }

/* === Header CTA === */
.vf-header__cta { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.vf-header__hotline { display: inline-flex; align-items: center; gap: 6px; color: var(--vf-text); font-weight: 700; font-size: 14px; text-decoration: none; }
.vf-header__hotline:hover { color: var(--vf-primary); }
.vf-header__account { color: var(--vf-primary); font-weight: 700; font-size: 14px; text-decoration: none; text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.vf-header__account:hover { text-decoration: underline; }
.vf-nav-toggle { display: none; background: transparent; border: 0; width: 32px; height: 32px; padding: 6px; cursor: pointer; }
.vf-nav-toggle span { display: block; height: 2px; background: var(--vf-text); margin: 4px 0; transition: all .2s; }

/* === Mobile === */
@media (max-width: 1024px) {
  .vf-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--vf-border); padding: 16px; }
  .vf-nav.is-open { display: block; }
  .vf-nav__list { flex-direction: column; gap: 0; }
  .vf-nav__link { display: block; padding: 12px 0; border-bottom: 1px solid var(--vf-border); }
  .vf-nav-toggle { display: inline-block; }
  .vf-header__hotline, .vf-header__account { display: none; }
}

/* === Footer === */
.vf-footer { background: var(--vf-bg-dark); color: rgba(255,255,255,.75); padding: 64px 0 32px; }
.vf-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.vf-footer__heading { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 16px; }
.vf-footer__col ul { list-style: none; padding: 0; margin: 0; }
.vf-footer__col li { margin-bottom: 8px; }
.vf-footer__col a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 14px; transition: color .2s; }
.vf-footer__col a:hover { color: var(--vf-primary); }
.vf-footer__logo { max-height: 48px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.vf-footer__brand { color: #fff; font-weight: 800; font-size: 18px; margin: 0 0 12px; }
.vf-footer__tagline { font-size: 13px; line-height: 1.7; margin: 0 0 16px; max-width: 320px; }
.vf-footer__social { display: flex; gap: 10px; margin-top: 16px; }
.vf-footer__social li { list-style: none; }
.vf-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,.08); border-radius: 50%; color: rgba(255,255,255,.75); transition: background .2s, color .2s; text-decoration: none; }
.vf-footer__social a:hover { background: var(--vf-primary); color: #fff; }
.vf-footer__social svg { display: block; }
.vf-footer__addr { font-style: normal; font-size: 14px; line-height: 1.7; }
.vf-footer__addr a { color: rgba(255,255,255,.85); }

.vf-footer-bottom { background: #0c0f15; color: rgba(255,255,255,.5); padding: 16px 0; font-size: 12px; }
.vf-footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.vf-copyright { margin: 0; }
.vf-footer-bottom__nav { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.vf-footer-bottom__nav a { color: inherit; text-decoration: none; }
.vf-footer-bottom__nav a:hover { color: #fff; }

@media (max-width: 768px) {
  .vf-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .vf-footer__grid { grid-template-columns: 1fr; }
  .vf-footer-bottom__inner { flex-direction: column; align-items: flex-start; }
}

/* === Hero === */
.vf-hero { position: relative; background: var(--vf-bg-dark); }
.vf-hero__swiper { width: 100%; aspect-ratio: 16/7; max-height: 720px; min-height: 360px; overflow: hidden; }
.vf-hero__slide { position: relative; overflow: hidden; }
.vf-hero__slide picture, .vf-hero__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vf-hero__content { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); color: #fff; text-align: center; max-width: 800px; z-index: 2; width: 100%; }
.vf-hero__content--left { text-align: left; left: 0; transform: none; padding-left: var(--vf-space-4); }
.vf-hero__content--right { text-align: right; left: auto; right: 0; transform: none; padding-right: var(--vf-space-4); }
.vf-hero__title { font-size: clamp(1.75rem, 4vw, 3.5rem); font-weight: 800; line-height: 1.1; margin: 0 0 12px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.vf-hero__subtitle { font-size: clamp(0.875rem, 1.4vw, 1.25rem); margin: 0 0 24px; opacity: .92; }

/* Fallback hero khi chưa có ảnh */
.vf-hero__slide--fallback {
  background: linear-gradient(160deg, #0049a8 0%, #0063c3 40%, #0080f5 70%, #00aaff 100%);
  min-height: 480px;
}
.vf-hero__slide--fallback .vf-hero__content {
  bottom: 50%; transform: translate(-50%, 50%);
}
.vf-hero__slide--fallback .eyebrow {
  display: inline-block; letter-spacing: .15em; font-size: .875rem;
  text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 16px;
}
.vf-hero__slide--fallback .vf-hero__title { color: #fff; }
.vf-hero__slide--fallback .vf-hero__subtitle { color: rgba(255,255,255,.9); }
.vf-hero__slide--fallback .vf-btn--primary { background:#fff; color:#0063c3; font-weight:700; }
.vf-hero__slide--fallback .vf-btn--primary:hover { background:#e6f0ff; }

.vf-hero__pagination { bottom: 24px !important; }
.vf-hero__pagination .swiper-pagination-bullet { background: #fff; opacity: .55; width: 10px; height: 10px; }
.vf-hero__pagination .swiper-pagination-bullet-active { opacity: 1; background: var(--vf-primary); width: 28px; border-radius: 5px; transition: width .3s; }

.vf-hero__nav { color: #fff; width: 44px; height: 44px; background: rgba(0,0,0,.35); border-radius: 50%; border: 0; transition: background .2s; }
.vf-hero__nav::after { font-size: 18px; }
.vf-hero__nav:hover { background: var(--vf-primary); }
@media (max-width: 768px) { .vf-hero__nav { display: none; } }

/* Hero promo badges (VinFast style) */
.vf-hero__badges { position: absolute; bottom: 60px; right: max(24px, calc((100vw - var(--vf-container)) / 2 + 24px)); z-index: 10; display: flex; gap: 2px; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); border-radius: 6px; overflow: hidden; }
.vf-hero__badge { display: flex; flex-direction: column; align-items: center; padding: 14px 22px; border-right: 1px solid rgba(255,255,255,.15); min-width: 84px; text-align: center; }
.vf-hero__badge:last-child { border-right: 0; }
.vf-hero__badge-num  { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 900; line-height: 1; color: #f0b429; }
.vf-hero__badge-unit { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #fff; margin-bottom: 4px; text-transform: uppercase; }
.vf-hero__badge-label { font-size: 10px; color: rgba(255,255,255,.75); line-height: 1.3; text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 1024px) { .vf-hero__badges { bottom: 52px; right: 16px; } }
@media (max-width: 768px) { .vf-hero__badges { display: none; } }

/* Header transparent on hero */
.vf-header.is-transparent { background: transparent !important; border-bottom-color: transparent; box-shadow: none; }
.vf-header.is-transparent .vf-logo__text { color: #fff; }
.vf-header.is-transparent .vf-nav__link,
.vf-header.is-transparent .vf-nav__list > li > a { color: rgba(255,255,255,.9); }
.vf-header.is-transparent .vf-nav__link:hover,
.vf-header.is-transparent .vf-nav__list > li > a:hover { color: #fff; }
.vf-header.is-transparent .vf-header__hotline { color: rgba(255,255,255,.9); }
.vf-header.is-transparent .vf-nav-toggle span { background: #fff; }

/* === Section base === */
.vf-section { padding: 72px 0; }
.vf-section__head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.vf-section__title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; margin: 0 0 12px; color: var(--vf-text-strong); }
.vf-section__subtitle { color: var(--vf-text-soft); font-size: 16px; margin: 0; }
.vf-section__foot { text-align: center; margin-top: 40px; }

/* === Tabs === */
.vf-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.vf-tabs__btn { background: transparent; border: 1px solid var(--vf-border); color: var(--vf-text); padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .2s; }
.vf-tabs__btn:hover { border-color: var(--vf-primary); color: var(--vf-primary); }
.vf-tabs__btn.is-active { background: var(--vf-primary); border-color: var(--vf-primary); color: #fff; }

/* === Car grid === */
.vf-grid { display: grid; gap: 24px; }
.vf-grid--cars { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .vf-grid--cars { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .vf-grid--cars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .vf-grid--cars { grid-template-columns: 1fr; } }

/* === Car card === */
.vf-car-card { background: #fff; border: 1px solid var(--vf-border); border-radius: var(--vf-radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.vf-car-card:hover { transform: translateY(-4px); box-shadow: var(--vf-shadow-md); }
.vf-car-card__media { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--vf-bg-soft); }
.vf-car-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.vf-car-card:hover .vf-car-card__media img { transform: scale(1.04); }
.vf-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.vf-badge--bestseller { background: #f59e0b; }
.vf-badge--new { background: var(--vf-primary); }
.vf-badge--sale { background: #dc2626; }

.vf-car-card__body { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.vf-car-card__title { font-size: 18px; font-weight: 700; margin: 0 0 12px; line-height: 1.3; }
.vf-car-card__title a { color: var(--vf-text-strong); text-decoration: none; }
.vf-car-card__title a:hover { color: var(--vf-primary); }
.vf-car-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--vf-border); }
.vf-car-card__price { margin: 0; font-size: 12px; color: var(--vf-text-soft); display: flex; flex-direction: column; }
.vf-car-card__price strong { color: var(--vf-primary); font-size: 16px; font-weight: 800; }
/* Car card — type label + specs list (VinFast style) */
.vf-car-card__type { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--vf-primary); margin: 0 0 4px; }
.vf-car-card__specs { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.vf-car-card__spec { display: flex; justify-content: space-between; font-size: 13px; border-bottom: 1px solid var(--vf-border); padding-bottom: 6px; }
.vf-car-card__spec:last-child { border-bottom: 0; padding-bottom: 0; }
.vf-car-card__spec-label { color: var(--vf-text-soft); }
.vf-car-card__spec-val { font-weight: 700; color: var(--vf-text-strong); }
.vf-car-card__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.vf-car-card__foot { flex-direction: column; align-items: flex-start; gap: 12px; }

/* === Models carousel (Swiper) === */
.vf-models-carousel { position: relative; padding: 0 0 48px; }
.vf-models__swiper { padding: 0 24px 40px !important; overflow: visible !important; }
.vf-models__swiper .swiper-wrapper { align-items: stretch; }
.vf-models__swiper .swiper-slide { height: auto; }
.vf-models__swiper .vf-car-card { height: 100%; }
.vf-models__pagination { bottom: 0 !important; }
.vf-models__pagination .swiper-pagination-bullet { background: var(--vf-border); opacity: 1; width: 8px; height: 8px; }
.vf-models__pagination .swiper-pagination-bullet-active { background: var(--vf-primary); width: 24px; border-radius: 4px; }
.vf-models__nav { position: absolute; top: 40%; transform: translateY(-50%); z-index: 10; width: 44px; height: 44px; background: #fff; border-radius: 50%; border: 1px solid var(--vf-border); box-shadow: var(--vf-shadow-md); color: var(--vf-text-dark); cursor: pointer; }
.vf-models__nav::after { font-size: 16px; font-weight: 700; color: var(--vf-text-dark); }
.vf-models__nav--prev { left: 4px; }
.vf-models__nav--next { right: 4px; }
.vf-models__nav:hover { background: var(--vf-primary); border-color: var(--vf-primary); }
.vf-models__nav:hover::after { color: #fff; }
.vf-models__nav.swiper-button-disabled { opacity: 0.35; pointer-events: none; }
@media (max-width: 768px) { .vf-models__nav { display: none; } }

/* === USP / Service cards === */
.vf-usp { background: var(--vf-bg-soft); }
.vf-usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.vf-usp__item { background: #fff; border-radius: var(--vf-radius); padding: 32px 24px; text-align: center; border: 1px solid var(--vf-border); transition: transform .25s, box-shadow .25s; }
.vf-usp__item:hover { transform: translateY(-4px); box-shadow: var(--vf-shadow-md); }
.vf-usp__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; background: rgba(20,100,244,.08); border-radius: 50%; margin: 0 auto 16px; color: var(--vf-primary); }
.vf-usp__icon svg { width: 32px; height: 32px; }
.vf-usp__title { font-size: 18px; font-weight: 700; margin: 0 0 8px; color: var(--vf-text-strong); }
.vf-usp__desc { color: var(--vf-text-soft); font-size: 14px; margin: 0; line-height: 1.6; }
@media (max-width: 1024px) { .vf-usp__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .vf-usp__grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .vf-usp__grid { grid-template-columns: repeat(2, 1fr); } }

/* === Promos === */
.vf-grid--promos { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) { .vf-grid--promos { grid-template-columns: 1fr; } }

.vf-promo-card { background: #fff; border: 1px solid var(--vf-border); border-radius: var(--vf-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.vf-promo-card:hover { transform: translateY(-4px); box-shadow: var(--vf-shadow-md); }
.vf-promo-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; }
.vf-promo-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vf-promo-card:hover .vf-promo-card__media img { transform: scale(1.04); }
.vf-promo-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.vf-promo-card__title { font-size: 18px; font-weight: 700; margin: 0; line-height: 1.3; }
.vf-promo-card__title a { color: var(--vf-text-strong); text-decoration: none; }
.vf-promo-card__title a:hover { color: var(--vf-primary); }
.vf-promo-card__excerpt { color: var(--vf-text-soft); font-size: 14px; margin: 0; line-height: 1.6; }
.vf-promo-card__end { font-size: 13px; color: var(--vf-text-soft); margin: 0; }
.vf-promo-card__end strong { color: var(--vf-text-strong); }
.vf-promo-card .vf-btn { align-self: flex-start; }

/* === CTA === */
.vf-cta { position: relative; background: var(--vf-bg-dark); background-size: cover; background-position: center; color: #fff; }
.vf-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,23,33,.92) 0%, rgba(18,23,33,.65) 100%); }
.vf-cta__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.vf-cta__title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; margin: 0 0 12px; }
.vf-cta__subtitle { font-size: 16px; opacity: .85; margin: 0; max-width: 480px; line-height: 1.7; }
.vf-cta__form { background: #fff; color: var(--vf-text); padding: 32px; border-radius: var(--vf-radius); box-shadow: var(--vf-shadow-md); }
.vf-form { display: grid; gap: 12px; }
.vf-form input, .vf-form select, .vf-form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--vf-border); border-radius: var(--vf-radius-sm); font-size: 14px; font-family: inherit; }
.vf-form input:focus, .vf-form select:focus, .vf-form textarea:focus { outline: none; border-color: var(--vf-primary); box-shadow: 0 0 0 3px rgba(20,100,244,.15); }
.vf-form .vf-btn { width: 100%; padding: 14px 24px; }
@media (max-width: 768px) { .vf-cta__inner { grid-template-columns: 1fr; } }

/* === Showroom === */
.vf-showroom { background: var(--vf-bg-soft); }
.vf-showroom__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.vf-showroom__list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; font-size: 15px; line-height: 1.6; }
.vf-showroom__list strong { color: var(--vf-text-strong); }
.vf-showroom__map { aspect-ratio: 4/3; border-radius: var(--vf-radius); overflow: hidden; box-shadow: var(--vf-shadow-md); }
.vf-showroom__map iframe { width: 100% !important; height: 100% !important; border: 0; }
@media (max-width: 768px) { .vf-showroom__grid { grid-template-columns: 1fr; } }

/* === News === */
.vf-grid--news { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) { .vf-grid--news { grid-template-columns: 1fr; } }

.vf-post-card { background: #fff; border: 1px solid var(--vf-border); border-radius: var(--vf-radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.vf-post-card:hover { transform: translateY(-4px); box-shadow: var(--vf-shadow-md); }
.vf-post-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; }
.vf-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vf-post-card:hover .vf-post-card__media img { transform: scale(1.04); }
.vf-post-card__body { padding: 20px; }
.vf-post-card__meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--vf-text-soft); margin: 0 0 8px; }
.vf-post-card__cat { background: var(--vf-bg-soft); color: var(--vf-primary); padding: 2px 10px; border-radius: 4px; font-weight: 600; }
.vf-post-card__title { font-size: 16px; font-weight: 700; margin: 0 0 8px; line-height: 1.4; }
.vf-post-card__title a { color: var(--vf-text-strong); text-decoration: none; }
.vf-post-card__title a:hover { color: var(--vf-primary); }
.vf-post-card__excerpt { color: var(--vf-text-soft); font-size: 14px; line-height: 1.6; margin: 0; }

/* === Page hero === */
.vf-page-hero { background: var(--vf-bg-dark); color: #fff; padding: 64px 0; text-align: center; }
.vf-page-hero__title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; margin: 0 0 12px; }
.vf-page-hero__subtitle { opacity: .85; margin: 0; }

/* === Archive layout === */
.vf-archive__layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.vf-archive__count { color: var(--vf-text-soft); font-size: 14px; margin: 0 0 16px; }
.vf-empty { color: var(--vf-text-soft); padding: 48px 0; text-align: center; }
@media (max-width: 1024px) { .vf-archive__layout { grid-template-columns: 1fr; } }

/* === Filter === */
.vf-filter { background: #fff; border: 1px solid var(--vf-border); border-radius: var(--vf-radius); padding: 20px; position: sticky; top: 88px; }
.vf-filter__title { font-size: 16px; font-weight: 700; margin: 0 0 16px; }
.vf-filter__group { border: 0; padding: 0 0 16px; margin: 0 0 16px; border-bottom: 1px solid var(--vf-border); }
.vf-filter__group:last-of-type { border-bottom: 0; }
.vf-filter__group legend { font-size: 13px; font-weight: 700; color: var(--vf-text-strong); margin-bottom: 8px; padding: 0; }
.vf-filter__opt { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.vf-filter__actions { display: flex; gap: 8px; }

/* === Pagination === */
.vf-pagination { margin-top: 32px; display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.vf-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--vf-border); border-radius: var(--vf-radius-sm); color: var(--vf-text); text-decoration: none; font-size: 14px; transition: all .2s; }
.vf-pagination .page-numbers:hover, .vf-pagination .page-numbers.current { background: var(--vf-primary); border-color: var(--vf-primary); color: #fff; }

/* === Single xe gallery === */
.vf-xe-gallery { background: var(--vf-bg-soft); padding: 24px 0; }
.vf-xe-gallery__main { aspect-ratio: 16/9; max-height: 640px; margin: 0 auto 16px; max-width: 1200px; overflow: hidden; }
.vf-xe-gallery__main img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--vf-radius); }
.vf-xe-gallery__thumbs { max-width: 720px; margin: 0 auto; }
.vf-xe-gallery__thumbs .swiper-slide { aspect-ratio: 16/10; cursor: pointer; opacity: .55; transition: opacity .2s; border-radius: var(--vf-radius-sm); overflow: hidden; }
.vf-xe-gallery__thumbs .swiper-slide-thumb-active { opacity: 1; outline: 2px solid var(--vf-primary); }
.vf-xe-gallery__thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }

/* === Overview === */
.vf-xe-overview__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: flex-start; }
.vf-xe-overview__title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; margin: 0 0 16px; }
.vf-xe-overview__price { background: var(--vf-bg-soft); padding: 16px 24px; border-radius: var(--vf-radius); margin-bottom: 24px; display: flex; flex-direction: column; gap: 4px; }
.vf-xe-overview__price span { color: var(--vf-text-soft); font-size: 13px; }
.vf-xe-overview__price strong { color: var(--vf-primary); font-size: 28px; font-weight: 800; }
.vf-xe-overview__desc { color: var(--vf-text); line-height: 1.8; }

/* === Sticky CTA === */
.vf-xe-cta { background: #fff; border: 1px solid var(--vf-border); border-radius: var(--vf-radius); padding: 24px; position: sticky; top: 88px; display: grid; gap: 12px; box-shadow: var(--vf-shadow-md); }
.vf-xe-cta__title { font-size: 18px; font-weight: 700; margin: 0; }
.vf-xe-cta p { color: var(--vf-text-soft); font-size: 14px; margin: 0; }
@media (max-width: 1024px) { .vf-xe-overview__grid { grid-template-columns: 1fr; } .vf-xe-cta { position: static; } }

/* === Colors === */
.vf-xe-colors__viewer { text-align: center; }
.vf-xe-colors__image { display: block; max-width: 900px; margin: 0 auto 24px; width: 100%; height: auto; border-radius: var(--vf-radius); }
.vf-xe-colors__swatches { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.vf-xe-colors__swatch { background: transparent; border: 0; padding: 4px; border-radius: 50%; cursor: pointer; transition: all .2s; }
.vf-xe-colors__swatch:hover { transform: scale(1.1); }
.vf-xe-colors__swatch.is-active { box-shadow: 0 0 0 2px var(--vf-primary); }
.vf-xe-colors__dot { display: block; width: 32px; height: 32px; border-radius: 50%; background: var(--swatch); border: 1px solid var(--vf-border); }
.vf-xe-colors__name { color: var(--vf-text-strong); font-weight: 600; margin: 0; }

/* === Specs single === */
.vf-xe-specs { background: var(--vf-bg-soft); }
.vf-xe-specs__table--single { width: 100%; max-width: 800px; margin: 0 auto; border-collapse: collapse; }
.vf-xe-specs__table--single tr { border-bottom: 1px solid var(--vf-border); }
.vf-xe-specs__table--single th { text-align: left; padding: 12px 0; font-weight: 500; color: var(--vf-text-soft); font-size: 14px; width: 50%; }
.vf-xe-specs__table--single td { padding: 12px 0; font-weight: 600; color: var(--vf-text-strong); font-size: 14px; }

/* === Single promo === */
.vf-single-promo__hero { aspect-ratio: 21/9; overflow: hidden; max-height: 520px; }
.vf-single-promo__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vf-single-promo__layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.vf-single-promo__head { margin-bottom: 24px; }
.vf-single-promo__title { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin: 0 0 8px; }
.vf-single-promo__subtitle { color: var(--vf-text-soft); font-size: 18px; margin: 0 0 12px; }
.vf-single-promo__end { color: var(--vf-text-soft); margin: 0 0 16px; }
.vf-single-promo__end strong { color: var(--vf-primary); }
.vf-single-promo__body { line-height: 1.8; color: var(--vf-text); }
.vf-single-promo__models { margin-top: 48px; }
.vf-single-promo__models-title { font-size: 20px; font-weight: 700; margin: 0 0 24px; }
.vf-single-promo__cta { background: #fff; border: 1px solid var(--vf-border); border-radius: var(--vf-radius); padding: 24px; position: sticky; top: 88px; display: grid; gap: 12px; box-shadow: var(--vf-shadow-md); }
.vf-single-promo__cta h3 { font-size: 18px; font-weight: 700; margin: 0; }
.vf-single-promo__cta p { color: var(--vf-text-soft); font-size: 14px; margin: 0; }
@media (max-width: 1024px) { .vf-single-promo__layout { grid-template-columns: 1fr; } .vf-single-promo__cta { position: static; } }

/* === Compare === */
.vf-compare__pickers { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; margin-bottom: 32px; align-items: end; }
.vf-compare__picker select { width: 100%; padding: 12px 16px; border: 1px solid var(--vf-border); border-radius: var(--vf-radius-sm); font-size: 14px; background: #fff; font-family: inherit; }
.vf-compare__table-wrap { overflow-x: auto; border: 1px solid var(--vf-border); border-radius: var(--vf-radius); }
.vf-compare__table { width: 100%; border-collapse: collapse; min-width: 600px; }
.vf-compare__table th, .vf-compare__table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--vf-border); font-size: 14px; }
.vf-compare__table thead th { background: var(--vf-bg-soft); vertical-align: bottom; }
.vf-compare__table tbody th { font-weight: 500; color: var(--vf-text-soft); width: 180px; }
.vf-compare__table tbody tr:hover { background: var(--vf-bg-soft); }
.vf-compare__car { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-decoration: none; color: inherit; }
.vf-compare__car img { width: 160px; height: 100px; object-fit: cover; border-radius: var(--vf-radius-sm); }
.vf-compare__car strong { color: var(--vf-text-strong); font-size: 15px; }
.vf-compare__car span { color: var(--vf-primary); font-weight: 700; font-size: 13px; }
@media (max-width: 768px) { .vf-compare__pickers { grid-template-columns: 1fr; } }

/* === Newsletter === */
.vf-newsletter { background: var(--vf-bg-dark); color: #fff; }
.vf-newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.vf-newsletter__title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 0 0 8px; color: #fff; }
.vf-newsletter__subtitle { color: rgba(255,255,255,.75); margin: 0; font-size: 16px; }
.vf-newsletter__row { display: flex; gap: 12px; }
.vf-newsletter__input { flex: 1; padding: 14px 18px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; border-radius: var(--vf-radius-sm); font-size: 15px; font-family: inherit; }
.vf-newsletter__input::placeholder { color: rgba(255,255,255,.45); }
.vf-newsletter__input:focus { outline: none; border-color: var(--vf-primary); background: rgba(255,255,255,.12); }
.vf-newsletter__disclaimer { font-size: 12px; color: rgba(255,255,255,.4); margin: 10px 0 0; line-height: 1.5; }
@media (max-width: 768px) { .vf-newsletter__inner { grid-template-columns: 1fr; gap: 24px; } .vf-newsletter__row { flex-direction: column; } }

/* === Contact === */
.vf-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.vf-contact__info h2, .vf-contact__form-card h2 { font-size: 22px; font-weight: 700; margin: 0 0 16px; }
.vf-contact__form-card { background: #fff; border: 1px solid var(--vf-border); border-radius: var(--vf-radius); padding: 32px; box-shadow: var(--vf-shadow-md); }
@media (max-width: 768px) { .vf-contact__grid { grid-template-columns: 1fr; } }

/* === Prose === */
.vf-prose { max-width: 760px; margin: 0 auto; line-height: 1.8; color: var(--vf-text); }
.vf-prose h2 { font-size: 24px; font-weight: 700; margin: 32px 0 16px; color: var(--vf-text-strong); }
.vf-prose h3 { font-size: 20px; font-weight: 700; margin: 24px 0 12px; color: var(--vf-text-strong); }
.vf-prose p { margin: 0 0 16px; }
.vf-prose img { max-width: 100%; height: auto; border-radius: var(--vf-radius); margin: 16px 0; }
.vf-prose ul, .vf-prose ol { margin: 0 0 16px 1.5em; }
.vf-prose__hero { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 24px; border-radius: var(--vf-radius); }
.vf-prose blockquote { border-left: 4px solid var(--vf-primary); margin: 24px 0; padding: 8px 16px; color: var(--vf-text-soft); font-style: italic; }
.vf-prose a { color: var(--vf-primary); }
