:root {
  --ink: #171a1e;
  --muted: #6d7277;
  --paper: #fff;
  --soft: #f6f6f4;
  --line: #d9dcde;
  --radius: 12px;
  --page: min(1380px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.site-header { height: 76px; padding: 0 max(32px, calc((100vw - 1380px) / 2)); display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(20,20,20,.06); }
.brand img { width: 152px; height: 48px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: clamp(30px, 4vw, 70px); margin-left: 80px; }
.desktop-nav a, .site-footer nav a { text-transform: uppercase; letter-spacing: .09em; font-size: 12px; color: #31363a; transition: opacity .2s; }
.desktop-nav a:hover, .site-footer nav a:hover { opacity: .55; }
.header-actions { display: flex; align-items: center; gap: 17px; }
.icon-button, .menu-button { border: 0; background: transparent; padding: 8px; cursor: pointer; }
.icon-button svg { width: 23px; fill: none; stroke: #14171a; stroke-width: 1.5; }
.outline-button { white-space: nowrap; padding: 13px 24px; border: 1px solid #202326; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 650; transition: .2s; }
.outline-button:hover { color: white; background: #22272b; }
.menu-button, .mobile-nav { display: none; }

.hero { min-height: 650px; position: relative; overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0 0 0 18%; width: 82%; height: 100%; object-fit: cover; object-position: 55% 6%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background: #f1efea; }
.hero-wash { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #f2f0ec 0%, rgba(242,240,236,.98) 23%, rgba(242,240,236,.73) 40%, rgba(242,240,236,0) 67%); }
.hero-content { width: var(--page); margin: auto; padding-top: 120px; }
.eyebrow { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .2em; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.82); }
.eyebrow.dark { color: #555b60; }
.hero h1 { max-width: 710px; margin: 0; font-size: clamp(45px, 5vw, 76px); line-height: .98; letter-spacing: -.045em; font-weight: 300; text-transform: uppercase; }
.hero-content > p:not(.eyebrow) { margin: 28px 0 38px; font-size: 20px; color: #41464a; }
.primary-button, .light-button { display: inline-flex; align-items: center; gap: 23px; padding: 15px 27px; border-radius: 999px; background: white; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; box-shadow: 0 8px 30px rgba(0,0,0,.08); transition: transform .2s, box-shadow .2s; }
.primary-button:hover, .light-button:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(0,0,0,.15); }
.scroll-cue { position: absolute; bottom: 25px; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.scroll-cue span { width: 1px; height: 36px; background: currentColor; }

.section { width: var(--page); margin: auto; padding: 70px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-weight: 300; font-size: clamp(30px, 3vw, 48px); line-height: 1.08; text-transform: uppercase; letter-spacing: -.035em; }
.text-link { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; padding-bottom: 8px; border-bottom: 1px solid #8d9296; }
.text-link span { margin-left: 18px; }

.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.model-card { position: relative; min-width: 0; background: #f7f7f7; border: 1px solid transparent; border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform .25s, box-shadow .25s, border .25s; outline: none; }
.model-card:hover, .model-card:focus-visible, .model-card.active { transform: translateY(-5px); border-color: #cfd2d4; box-shadow: 0 16px 40px rgba(18,24,28,.10); }
.model-image { height: 220px; padding: 16px; display: grid; place-items: center; background: linear-gradient(#fafafa,#f1f1f1); overflow: hidden; }
.model-image img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.13); }
.model-copy { min-height: 116px; position: relative; padding: 18px 58px 20px 23px; background: white; }
.model-copy h3 { margin: 0; font-size: 23px; font-weight: 400; letter-spacing: .06em; }
.model-copy p { margin: 8px 0 0; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; color: #777c80; }
.round-arrow { width: 34px; height: 34px; border: 1px solid #90959a; border-radius: 50%; position: absolute; right: 20px; top: 31px; display: grid; place-items: center; font-size: 21px; transition: .2s; }
.model-card:hover .round-arrow, .model-card.active .round-arrow { color: white; background: #202428; border-color: #202428; }

.journey { padding-top: 30px; }
.journey-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 14px; }
.journey-stack { display: grid; grid-template-rows: minmax(270px, 1fr) auto; gap: 14px; }
.media-card { position: relative; min-height: 355px; overflow: hidden; border-radius: var(--radius); background: #ddd; }
.media-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.media-card:hover img { transform: scale(1.035); }
.person-card img { object-position: center 35%; }
.road-card { min-height: 270px; }
.media-caption { position: absolute; inset: auto 0 0; padding: 62px 28px 25px; color: white; background: linear-gradient(transparent,rgba(5,9,12,.78)); }
.media-caption strong, .media-caption span { display: block; }
.media-caption strong { font-size: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.media-caption span { margin-top: 5px; font-size: 12px; opacity: .88; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.benefit { min-height: 74px; background: #f6f6f5; border-radius: 9px; display: flex; align-items: center; gap: 16px; padding: 12px 18px; }
.benefit-icon { width: 34px; height: 34px; border: 1.5px solid #333; border-radius: 50%; display: grid; place-items: center; flex: none; }
.benefit strong, .benefit small { display: block; }
.benefit strong { font-size: 12px; font-weight: 500; text-transform: uppercase; }
.benefit small { margin-top: 5px; color: #888; }

.vf9-feature { min-height: 470px; position: relative; overflow: hidden; color: white; isolation: isolate; }
.vf9-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; z-index: -2; }
.vf9-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,27,39,.84), rgba(15,27,39,.26) 52%, rgba(15,27,39,.12)); }
.vf9-copy { width: var(--page); margin: auto; padding-top: 75px; }
.vf9-copy h2 { margin: 0; font-size: 76px; line-height: .9; font-weight: 600; letter-spacing: .04em; }
.vf9-copy > p:not(.eyebrow) { text-transform: uppercase; line-height: 1.45; letter-spacing: .04em; }
.light-button { margin-top: 15px; color: #202428; }
.vf9-specs { position: absolute; right: max(32px, calc((100vw - 1380px) / 2)); bottom: 68px; display: flex; align-items: center; gap: 22px; text-align: center; }
.vf9-specs > div { display: grid; }
.vf9-specs strong { font-size: 32px; font-weight: 300; }
.vf9-specs strong small { font-size: 16px; }
.vf9-specs span { text-transform: uppercase; letter-spacing: .08em; font-size: 9px; }
.seat-icon { font-size: 42px; padding: 0 18px; border-left: 1px solid rgba(255,255,255,.55); border-right: 1px solid rgba(255,255,255,.55); }

.test-drive { display: grid; grid-template-columns: 1fr 1fr; min-height: 470px; background: #f8f7f5; }
.portrait-panel { min-height: 470px; overflow: hidden; }
.portrait-panel img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
.form-panel { align-self: center; padding: 45px clamp(35px, 6vw, 100px); }
.form-panel h2 { margin: 0 0 25px; font-size: clamp(34px, 3.4vw, 58px); line-height: 1.02; font-weight: 300; text-transform: uppercase; letter-spacing: -.035em; }
.form-panel label { display: block; }
.form-panel label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input, select { width: 100%; height: 48px; padding: 0 16px; border: 1px solid #cdd0d2; border-radius: 8px; background: white; color: #23272b; outline: none; }
select { margin-top: 12px; }
input:focus, select:focus { border-color: #555d64; box-shadow: 0 0 0 3px rgba(31,40,48,.07); }
.submit-button { width: 100%; height: 50px; margin-top: 12px; border: 0; border-radius: 999px; color: white; background: #25292c; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 700; cursor: pointer; transition: .2s; }
.submit-button:hover { background: #050708; transform: translateY(-1px); }
.submit-button span { margin-left: 18px; }
.form-status { min-height: 20px; margin: 10px 0 0; color: #44554c; font-size: 12px; }

.site-footer { min-height: 120px; padding: 28px max(32px, calc((100vw - 1380px) / 2)); display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 40px; background: white; }
.site-footer > img { width: 150px; }
.site-footer nav { display: flex; justify-content: center; gap: 42px; }
.footer-meta { display: flex; gap: 20px; color: #888d91; font-size: 10px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Desktop: 12-column container, 24px gutters, max-width 1280px. */
@media (min-width: 981px) {
  :root {
    --page: min(1280px, calc(100vw - 96px));
    --grid-gap: 24px;
  }

  .site-header {
    padding-inline: max(48px, calc((100vw - 1280px) / 2));
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
  }
  .brand { grid-column: 1 / span 2; }
  .desktop-nav { grid-column: 4 / span 6; margin-left: 0; justify-content: center; gap: clamp(28px, 3vw, 54px); }
  .header-actions { grid-column: 10 / span 3; justify-self: end; }

  .hero-content {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
  }
  .hero-content > * { grid-column: 1 / span 8; justify-self: start; }
  .hero h1 { max-width: none; font-size: clamp(44px, 4vw, 60px); line-height: 1.04; }
  .hero-content > p:not(.eyebrow) { grid-column: 1 / span 6; }

  .section-heading {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
  }
  .section-heading > :first-child, .section-heading > h2 { grid-column: 1 / span 8; }
  .section-heading .text-link { grid-column: 10 / span 3; justify-self: end; align-self: end; }

  .model-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); }
  .model-card { grid-column: span 3; }

  .journey-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); }
  .person-card { grid-column: 1 / span 6; }
  .journey-stack { grid-column: 7 / span 6; }

  .vf9-copy {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
  }
  .vf9-copy > * { grid-column: 1 / span 4; justify-self: start; }
  .vf9-specs { right: max(48px, calc((100vw - 1280px) / 2)); }

  .test-drive { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .portrait-panel { grid-column: 1 / span 6; }
  .form-panel { grid-column: 7 / span 6; }

  .site-footer {
    padding-inline: max(48px, calc((100vw - 1280px) / 2));
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
  }
  .site-footer > img { grid-column: 1 / span 2; }
  .site-footer nav { grid-column: 3 / span 6; }
  .footer-meta { grid-column: 9 / span 4; justify-self: end; }
}

@media (max-width: 980px) {
  :root { --page: calc(100vw - 40px); }
  .site-header { display: flex; }
  .desktop-nav, .outline-button, .icon-button { display: none; }
  .menu-button { display: grid; gap: 6px; }
  .menu-button span { display: block; width: 24px; height: 1px; background: #171a1e; }
  .mobile-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 24px; background: white; box-shadow: 0 15px 30px rgba(0,0,0,.08); }
  .mobile-nav.open { display: grid; gap: 20px; }
  .mobile-nav a { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
  .hero-photo { left: 0; width: 100%; }
  .model-grid { grid-template-columns: 1fr 1fr; }
  .model-card { grid-column: auto; }
  .journey-grid { grid-template-columns: 1fr; }
  .person-card, .journey-stack { grid-column: auto; }
  .vf9-specs { display: none; }
  .test-drive { grid-template-columns: .85fr 1.15fr; }
  .portrait-panel, .form-panel { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .site-footer > img, .site-footer nav, .footer-meta { grid-column: auto; }
}

@media (max-width: 680px) {
  :root { --page: calc(100vw - 28px); }
  .site-header { height: 66px; padding: 0 14px; }
  .brand img { width: 128px; }
  .mobile-nav { top: 66px; }
  .hero { min-height: 700px; }
  .hero-photo { inset: auto 0 0; width: 100%; height: 61%; object-position: 44% 50%; }
  .hero-wash { background: linear-gradient(180deg,#f2f0ec 0%,rgba(242,240,236,.96) 35%,rgba(242,240,236,.15) 72%,transparent); }
  .hero-content { padding-top: 96px; }
  .hero h1 { font-size: 40px; }
  .hero-content > p:not(.eyebrow) { font-size: 16px; margin: 20px 0 26px; }
  .scroll-cue { display: none; }
  .section { padding: 54px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .model-grid { grid-template-columns: 1fr; }
  .model-image { height: 240px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .vf9-feature { min-height: 560px; }
  .vf9-copy { padding-top: 65px; }
  .vf9-copy h2 { font-size: 64px; }
  .test-drive { grid-template-columns: 1fr; }
  .portrait-panel { min-height: 420px; }
  .form-panel { padding: 45px 20px 55px; }
  .form-row { grid-template-columns: 1fr; }
  .form-row label + label { margin-top: 12px; }
  .site-footer nav { flex-wrap: wrap; gap: 20px; }
  .footer-meta { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Trang chủ — header trong suốt trên hero (đồng bộ trang chi tiết)
   ========================================================================== */
.site-header.overlay {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, .16);
  color: #fff;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.overlay::before {
  content: "";
  position: absolute;
  inset: 0 0 -52px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 12, 18, .55), rgba(8, 12, 18, 0));
  transition: opacity .3s ease;
}
.site-header.overlay .brand .logo-dark { display: none; }
.site-header.overlay .brand .logo-light { display: block; }
.site-header.overlay .desktop-nav a { color: rgba(255, 255, 255, .9); }
.site-header.overlay .icon-button svg { stroke: #fff; }
.site-header.overlay .outline-button { border-color: rgba(255, 255, 255, .62); color: #fff; }
.site-header.overlay .outline-button:hover { background: #fff; color: #171a1e; }
.site-header.overlay .menu-button span { background: #fff; }

.site-header.overlay.is-solid {
  background: rgba(255, 255, 255, .97);
  border-bottom-color: rgba(20, 20, 20, .08);
  box-shadow: 0 8px 30px rgba(12, 18, 22, .05);
}
.site-header.overlay.is-solid::before { opacity: 0; }
.site-header.overlay.is-solid .brand .logo-dark { display: block; }
.site-header.overlay.is-solid .brand .logo-light { display: none; }
.site-header.overlay.is-solid .desktop-nav a { color: #31363a; }
.site-header.overlay.is-solid .icon-button svg { stroke: #14171a; }
.site-header.overlay.is-solid .outline-button { border-color: #202326; color: #202326; }
.site-header.overlay.is-solid .outline-button:hover { background: #22272b; color: #fff; }
.site-header.overlay.is-solid .menu-button span { background: #171a1e; }

button.text-link { background: none; border: 0; cursor: pointer; font: inherit; }

.model-copy h3 small { display: block; margin-top: 2px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8a8f94; }
.model-grid:not(.show-all) .model-card.is-extra { display: none; }

@media (max-width: 680px) {
  .hero-content { padding-top: 112px; }
  .model-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .model-image { height: 150px; padding: 10px; }
  .model-copy { min-height: 0; padding: 12px 42px 14px 14px; }
  .model-copy h3 { font-size: 18px; }
  .model-copy p { font-size: 8px; }
  .round-arrow { width: 26px; height: 26px; right: 12px; top: 12px; font-size: 16px; }
}

/* Trang chủ — tinh chỉnh hiển thị */
.hero .eyebrow { color: #5c6165; }
.section { scroll-margin-top: 76px; }
.site-header.overlay .desktop-nav a { text-shadow: 0 1px 14px rgba(0, 0, 0, .38); }
.site-header.overlay.is-solid .desktop-nav a { text-shadow: none; }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.model-card.is-appearing { animation: cardIn .55s cubic-bezier(.2, .7, .2, 1) both; }

.site-header.overlay .mobile-nav,
.site-header.overlay.is-solid .mobile-nav { background: #fff; color: #171a1e; }
.site-header.overlay .mobile-nav a { color: #171a1e; }

/* ==========================================================================
   Footer tối dùng chung toàn site
   ========================================================================== */
.site-footer.dark {
  display: block;
  min-height: 0;
  padding: 26px 0 20px;
  background: #0d0d0d;
  color: #fff;
  text-align: left;
}
.site-footer.dark .footer-inner { width: var(--page); margin: 0 auto; display: flex; align-items: center; gap: 40px; }
.site-footer.dark .brand img { width: 132px; }
.site-footer.dark nav { display: flex; justify-content: flex-start; gap: 34px; }
.site-footer.dark nav a { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .72); transition: color .2s; }
.site-footer.dark nav a:hover { color: #fff; }
.site-footer.dark .footer-social { margin-left: auto; display: flex; gap: 10px; }
.site-footer.dark .footer-social a { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; color: #fff; transition: background .2s, border-color .2s; }
.site-footer.dark .footer-social a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.site-footer.dark .footer-social svg { width: 15px; height: 15px; fill: currentColor; }
.site-footer.dark .footer-bottom { width: var(--page); margin: 22px auto 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 20px; font-size: 10px; color: rgba(255, 255, 255, .42); }
.site-footer.dark .footer-bottom div { display: flex; gap: 22px; }

@media (max-width: 980px) {
  .site-footer.dark { padding: 22px 0 18px; }
  .site-footer.dark .footer-inner { flex-wrap: wrap; gap: 22px; }
  .site-footer.dark nav { order: 3; width: 100%; gap: 22px; }
  .site-footer.dark .footer-social { margin-left: 0; }
  .site-footer.dark .footer-bottom { flex-direction: column; }
}

@media (min-width: 981px) and (max-width: 1200px) {
  .hero-photo { inset: 0 0 0 24%; width: 76%; }
  .hero h1 { font-size: clamp(40px, 4.4vw, 54px); }
}

/* ==========================================================================
   Hero trang chủ — đồng bộ banner trang chi tiết
   ========================================================================== */
.hero {
  background: #0b0f13;
  min-height: 640px;
  height: min(86vh, 800px);
  display: flex;
  align-items: center;
  color: #fff;
}
.hero::before {
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 12, 18, .9) 0%, rgba(8, 12, 18, .72) 38%, rgba(8, 12, 18, .28) 66%, rgba(8, 12, 18, .08) 100%);
}
.hero-photo {
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: 58% 22%;
  transform-origin: left top;
  transform: scale(1.12);
}
.hero-wash { display: none; }
.hero-content { padding-top: 76px; }
.hero.eyebrow, .hero .eyebrow { color: rgba(255, 255, 255, .72); letter-spacing: .26em; }
.hero h1 {
  margin: 18px 0 0;
  max-width: 760px;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1;
  letter-spacing: -.04em;
  color: #fff;
}
.hero-content > p:not(.eyebrow) {
  margin: 24px 0 0;
  max-width: 470px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
}
.hero .primary-button { margin-top: 30px; color: #171a1e; }
.scroll-cue { display: none; }

@media (max-width: 980px) {
  .hero { min-height: 600px; height: auto; padding: 130px 0 64px; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 12, 18, .8) 0%, rgba(8, 12, 18, .55) 45%, rgba(8, 12, 18, .92) 100%); }
  .hero-photo { object-position: 64% 26%; }
  .hero-content { padding-top: 0; }
}

@media (max-width: 680px) {
  .hero { padding: 300px 0 56px; }
  .hero h1 { font-size: 38px; }
  .hero-content > p:not(.eyebrow) { font-size: 14px; }
  .hero-photo { object-position: 60% 18%; }
}

/* ==========================================================================
   Ô tìm kiếm toàn site
   ========================================================================== */
body.search-open { overflow: hidden; }
.site-search { position: fixed; inset: 0; z-index: 120; display: flex; justify-content: center; align-items: flex-start; padding: 96px 20px 40px; background: rgba(8, 12, 18, .62); backdrop-filter: blur(4px); }
.site-search[hidden] { display: none; }
.site-search-panel { width: min(720px, 100%); background: #fff; border-radius: 14px; padding: 18px 18px 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.site-search-form { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #e6e7e7; padding-bottom: 14px; }
.site-search-form svg { width: 20px; height: 20px; fill: none; stroke: #8a8f94; stroke-width: 1.6; flex: none; }
.site-search-form input { flex: 1; min-width: 0; height: 40px; border: 0; outline: none; font-size: 18px; color: #171a1e; }
.site-search-close { width: 34px; height: 34px; flex: none; border: 0; border-radius: 50%; background: #f3f3f1; color: #3c4145; font-size: 18px; cursor: pointer; }
.site-search-close:hover { background: #e9e9e6; }
.site-search-results { list-style: none; margin: 10px 0 0; padding: 0; max-height: min(60vh, 520px); overflow: auto; }
.site-search-results li a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 10px; transition: background .15s; }
.site-search-results li a:hover { background: #f6f5f3; }
.site-search-results img { width: 88px; height: 56px; flex: none; object-fit: contain; background: #f4f4f2; border-radius: 6px; }
.site-search-text { display: grid; gap: 3px; }
.site-search-text strong { font-weight: 500; font-size: 15px; }
.site-search-text span { font-size: 11px; color: #8a8f94; }
.site-search-go { margin-left: auto; color: #8a8f94; }
.site-search-empty { padding: 20px 10px; color: #8a8f94; font-size: 14px; }

@media (max-width: 680px) {
  .site-search { padding: 76px 12px 20px; }
  .site-search-panel { padding: 14px 14px 6px; }
  .site-search-form input { font-size: 16px; }
  .site-search-results img { width: 64px; height: 44px; }
}

/* ==========================================================================
   Tin tức & Giới thiệu (trang chủ)
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.news-card { display: flex; flex-direction: column; border: 1px solid #ececec; border-radius: 12px; overflow: hidden; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.news-card:hover { transform: translateY(-4px); border-color: #d7d9da; box-shadow: 0 16px 36px rgba(18, 24, 28, .08); }
.news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.news-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.news-date { margin: 0; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #8a8f94; }
.news-card h3 { margin: 9px 0 0; font-size: 19px; font-weight: 400; line-height: 1.32; letter-spacing: -.01em; }
.news-card p:not(.news-date) { margin: 10px 0 0; font-size: 13px; line-height: 1.6; color: #6d7277; }
.news-card .text-link { margin-top: auto; padding-top: 16px; align-self: flex-start; font-size: 9px; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 52px; align-items: center; }
.about-copy h2 { margin: 12px 0 0; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; font-weight: 300; letter-spacing: -.035em; text-transform: uppercase; }
.about-copy p:not(.eyebrow) { margin: 18px 0 0; max-width: 520px; font-size: 15px; line-height: 1.8; color: #6d7277; }
.about-stats { display: flex; gap: 40px; margin-top: 30px; }
.about-stats strong { display: block; font-size: 30px; font-weight: 300; letter-spacing: -.02em; }
.about-stats span { display: block; margin-top: 6px; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #8a8f94; }
.about-media img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; object-position: center 30%; border-radius: 14px; }

@media (max-width: 980px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-media { order: -1; }
  .about-media img { aspect-ratio: 4 / 3; }
}

@media (max-width: 680px) {
  .news-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 26px; }
  .about-stats strong { font-size: 24px; }
}

.site-search-form input[type="search"]::-webkit-search-cancel-button,
.site-search-form input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }

/* Chế độ chỉnh sửa trực tiếp + toast (Laravel) */
.vf-toast { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 200; padding: 12px 20px; border-radius: 999px; background: #171a1e; color: #fff; font-size: 13px; box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: opacity .4s, transform .4s; }
.vf-toast.is-hidden { opacity: 0; transform: translate(-50%, -12px); pointer-events: none; }
.vf-edit-btn { position: static; z-index: 20; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; margin-bottom: 10px; border: 1px solid #d7d9da; border-radius: 999px; background: #fff; color: #171a1e; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.vf-edit-btn:hover { background: #f2f2f0; }
.hero .vf-edit-btn { position: absolute; top: 120px; right: 24px; margin: 0; border-color: rgba(255,255,255,.5); background: rgba(23,26,30,.78); color: #fff; }
.vf-edit-note { margin: 0 0 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.vf-dialog { position: fixed; inset: 0; z-index: 140; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(8,12,18,.62); backdrop-filter: blur(4px); }
.vf-dialog[hidden] { display: none; }
.vf-dialog-panel { position: relative; width: min(560px, 100%); max-height: 88vh; overflow: auto; background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.vf-dialog-panel h3 { margin: 10px 0 18px; font-size: 24px; font-weight: 400; letter-spacing: -.02em; text-transform: uppercase; }
.vf-dialog-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f3f3f1; font-size: 18px; cursor: pointer; }
.vf-field { display: block; margin-bottom: 14px; }
.vf-field > span { display: block; margin-bottom: 6px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #8a8f94; }
.vf-field input[type="text"], .vf-field textarea, .vf-field input[type="file"] { width: 100%; padding: 10px 12px; border: 1px solid #cdd0d2; border-radius: 8px; font: inherit; font-size: 14px; box-sizing: border-box; }
.vf-field textarea { resize: vertical; }
.vf-thumb { display: block; width: 100%; max-width: 240px; height: auto; border-radius: 8px; margin-bottom: 8px; }
.vf-save { width: 100%; height: 46px; border: 0; border-radius: 999px; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.site-search-noimg { width: 88px; height: 56px; border-radius: 6px; background: #f4f4f2; flex: none; }
body.modal-open { overflow: hidden; }
body.admin-bar .site-header.overlay { top: 32px; }

/* Trang tin tức / trang tĩnh */
.vf-page { width: var(--page); margin: 0 auto; padding: 150px 0 90px; }
.vf-article { max-width: 860px; margin: 0 auto; }
.vf-article h1 { margin: 12px 0 0; font-size: clamp(30px, 3.6vw, 46px); font-weight: 300; line-height: 1.1; letter-spacing: -.03em; text-transform: uppercase; }
.vf-article-cover { width: 100%; height: auto; border-radius: 12px; margin: 26px 0 8px; }
.vf-article-body { margin-top: 24px; font-size: 16px; line-height: 1.9; color: #4a4f53; }
.vf-article-body p { margin: 0 0 18px; }
.vf-article-body h2, .vf-article-body h3 { margin: 30px 0 12px; font-weight: 500; text-transform: none; letter-spacing: -.01em; }
.vf-article-body img { max-width: 100%; height: auto; border-radius: 10px; }
.vf-article-body ul, .vf-article-body ol { padding-left: 22px; margin: 0 0 18px; }
.vf-article-body blockquote { margin: 0 0 18px; padding-left: 18px; border-left: 3px solid #d7d9da; color: #5a6168; }

/* Toàn bộ card tin tức bấm được */
.news-card { position: relative; }
.news-card .text-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.news-card:hover h3 { color: #000; }
.news-card:hover img { transform: scale(1.02); }
.news-card img { transition: transform .35s ease; }

.model-copy .model-price { margin: 4px 0 0; font-size: 12px; color: #3c4145; letter-spacing: .01em; text-transform: none; }

/* Card: phủ trắng toàn bộ chiều cao + icon mũi tên căn giữa */
.model-card { display: flex; flex-direction: column; height: 100%; }
.model-copy { flex: 1; }
.model-copy .model-price { margin: 6px 0 0; font-size: 12px; letter-spacing: .01em; text-transform: none; }
.round-arrow svg { width: 14px; height: 14px; display: block; }
.round-arrow { padding: 0; }

/* Trang chủ: 3 cột, chỉ hiện 6 xe đầu */
.model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.model-grid .model-card { grid-column: auto; }
.model-grid:not(.show-all) .model-card.is-extra { display: none; }
@media (max-width: 980px) { .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .model-grid { grid-template-columns: 1fr; } }

/* Ảnh slide: luôn 1 dòng */
.car-thumbs { display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.car-thumbs::-webkit-scrollbar { display: none; }
.car-thumbs .car-thumb { flex: 0 0 calc((100% - 30px) / 4); }

/* Tin tức: tải thêm 3 tin mỗi lần */
.news-card.is-hidden { display: none; }

/* ==========================================================================
   Footer thiết kế mới (ChatGPTFooter)
   ========================================================================== */
.vf-footer { position: relative; overflow: hidden; background: #07080a; color: #e7eaec; isolation: isolate; }
.vf-footer::before {
    content: ""; position: absolute; left: -15%; right: -15%; bottom: -120px; height: 320px; z-index: -1;
    background:
        radial-gradient(62% 130% at 50% 100%, rgba(255,255,255,.55) 0%, rgba(255,255,255,.18) 34%, rgba(255,255,255,0) 66%);
    filter: blur(2px);
}


.vf-footer-main { width: var(--page); margin: 0 auto; padding: 64px 0 58px; display: grid; grid-template-columns: 1.05fr 1.15fr 1.25fr; gap: 46px; align-items: stretch; }
.vf-footer-brand { display: flex; flex-direction: column; gap: 30px; }
.vf-footer-logo { width: 250px; height: auto; display: block; }
.vf-footer-nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 9px; }
.vf-footer-nav a { font-size: 9.5px; font-weight: 600; letter-spacing: .13em; white-space: nowrap; text-transform: uppercase; color: #d7dbde; text-decoration: none; }
.vf-footer-nav a:hover { color: #fff; }
.vf-footer-nav span { color: #565d63; font-size: 11px; }

.vf-footer-copy { font-size: 15px; line-height: 1.95; color: #c6ccd1; max-width: 470px; padding-left: 44px; border-left: 1px solid rgba(255,255,255,.14); height: 100%; }

.vf-footer-contact { display: flex; flex-direction: column; gap: 20px; padding-left: 44px; border-left: 1px solid rgba(255,255,255,.14); height: 100%; }
.vf-contact-item { display: flex; gap: 16px; align-items: flex-start; }
.vf-contact-icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.vf-contact-icon svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.vf-contact-label { display: block; font-size: 13px; color: #b9c0c6; margin-bottom: 3px; }
.vf-contact-value { display: block; font-size: 14px; line-height: 1.55; color: #f2f4f5; text-decoration: none; }
.vf-contact-hotline { display: block; font-size: 26px; font-weight: 700; letter-spacing: .01em; color: #fff; text-decoration: none; line-height: 1.2; }
a.vf-contact-value:hover, .vf-contact-hotline:hover { color: #fff; text-decoration: underline; }

.vf-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.vf-footer-bottom { width: var(--page); margin: 0 auto; padding: 20px 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 11px; color: #9aa1a8; }
.vf-footer-legal { display: flex; align-items: center; gap: 12px; }
.vf-footer-legal a { color: #9aa1a8; text-decoration: none; }
.vf-footer-legal a:hover { color: #fff; }
.vf-footer-legal span { color: #4e555b; }
.vf-footer-social { display: flex; gap: 18px; align-items: center; }
.vf-footer-social a { color: #fff; opacity: .9; }
.vf-footer-social a:hover { opacity: 1; }
.vf-footer-social svg { width: 17px; height: 17px; fill: currentColor; }

@media (max-width: 1100px) {
    .vf-footer-main { grid-template-columns: 1fr 1fr; gap: 34px; }
    .vf-footer-copy { padding-left: 0; border-left: 0; max-width: none; }
    .vf-footer-contact { padding-left: 0; border-left: 0; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 34px; }
}
@media (max-width: 680px) {
    .vf-footer-main { grid-template-columns: 1fr; padding: 44px 0 40px; gap: 28px; }
    .vf-footer-logo { width: 190px; }
    .vf-footer-contact { grid-template-columns: 1fr; }
    .vf-footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
    .vf-footer-legal { flex-wrap: wrap; gap: 8px; }
    .vf-contact-hotline { font-size: 22px; }
}

.vf-footer-name { margin: 0; font-size: 17px; letter-spacing: .18em; font-weight: 400; color: #fff; text-transform: uppercase; }

/* Ảnh card sản phẩm phủ kín khung, không còn vệt xám */
.model-image { padding: 0; background: #f4f4f2; }
.model-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: none; }

/* Mô tả ngắn trên trang sản phẩm: văn bản có định dạng, không in hoa */
.car-sub { margin: 12px 0 0; font-size: 13.5px; line-height: 1.75; letter-spacing: 0; text-transform: none; color: #5a6168; max-width: 470px; }
.car-sub p { margin: 0 0 8px; }
.car-sub p:last-child { margin-bottom: 0; }
.car-sub strong, .car-sub b { color: #23272b; font-weight: 600; }
.car-sub ul, .car-sub ol { margin: 0 0 8px; padding-left: 18px; }
.car-sub a { color: inherit; text-decoration: underline; }

/* Thư viện ảnh trong hộp thoại chỉnh sửa trực tiếp */
.vf-media-btn { margin-top: 6px; padding: 7px 12px; border: 1px solid #cfd4d8; border-radius: 7px; background: #fff; font-size: 12px; cursor: pointer; }
.vf-media-btn:hover { border-color: #1f2830; }
.vf-pick-preview { margin-top: 8px; max-height: 120px; }
.vf-media-modal { position: fixed; inset: 0; z-index: 9999; background: rgba(8,12,18,.65); display: flex; align-items: center; justify-content: center; }
.vf-media-modal[hidden] { display: none; }
.vf-media-box { width: min(900px, 94vw); max-height: 84vh; background: #fff; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.vf-media-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #e6e8ea; font-size: 15px; }
.vf-media-head button { border: 0; background: none; font-size: 22px; cursor: pointer; color: #5a6168; }
.vf-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; padding: 16px; overflow: auto; }
.vf-media-item { border: 1px solid #e3e5e7; border-radius: 8px; padding: 0; overflow: hidden; background: #f4f4f2; cursor: pointer; }
.vf-media-item span { display: block; height: 110px; background-position: center; background-size: cover; }
.vf-media-item:hover { border-color: #1f2830; }

/* fix chiều cao thumbnail thư viện trong chỉnh sửa trực tiếp */
.vf-media-grid { grid-auto-rows: auto !important; align-content: start; }
.vf-media-item { height: auto !important; }
.vf-media-item span { height: 110px !important; min-height: 110px; display: block; }

.vf-media-grid { grid-auto-rows: 110px !important; }
.vf-media-item { height: 110px !important; }
.vf-media-item span { height: 110px !important; }
