:root {
  --red: #e1122f;
  --red-dark: #a60d23;
  --black: #0d0d12;
  --ink: #15151b;
  --text: #262631;
  --muted: #6f7280;
  --line: #e7e8ee;
  --panel: #ffffff;
  --soft: #f5f6f9;
  --soft-red: #fff0f2;
  --gold: #9a7236;
  --shadow: 0 18px 50px rgba(16, 18, 28, .1);
  --radius: 8px;
  --motion: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: #fff; }
body {
  min-height: 100vh;
  background: #fff;
  color: var(--text);
  font-family: Mulish, Arial, sans-serif;
}
body.dialog-lock { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.mobile-test-drive, .mobile-dock, .mobile-model-drawer, .subtab-scroll, .scroll-top-gallery { display: none; }

.top-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 28px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(16,18,28,.05);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  text-decoration: none;
}
.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 10px 20px rgba(16,18,28,.14));
}
.brand span {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
}
.brand strong {
  display: inline;
  color: var(--black);
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1.05;
  text-transform: uppercase;
}
.brand small {
  display: inline;
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.05;
  text-transform: uppercase;
}
.nav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-tabs::-webkit-scrollbar, .sub-tabs::-webkit-scrollbar { display: none; }
.nav-tab, .sub-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .22s, border-color .22s, background .22s, transform .22s var(--motion);
}
.nav-tab {
  height: 64px;
  padding: 0 14px;
  border-bottom: 2px solid transparent;
}
.nav-tab:hover, .nav-tab.is-active {
  color: var(--black);
  border-bottom-color: var(--red);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-hotline {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--black);
}
.phone-dot {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-red);
  color: var(--red);
  animation: phoneRing 1.7s ease-in-out infinite;
}
.nav-hotline small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.nav-hotline strong { font-size: 14px; }
.nav-cta, .btn-primary, .contact-button, .modal-submit {
  border: 0;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .22s var(--motion), background .22s, box-shadow .22s;
}
.nav-cta:hover, .btn-primary:hover, .contact-button:hover, .modal-submit:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(225,18,47,.24);
}
.btn-ghost, .sidebar-call, .sidebar-zalo {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: transform .22s var(--motion), background .22s, color .22s, border-color .22s;
}
.btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--black);
  padding: 11px 18px;
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 302px;
  min-height: calc(100vh - 64px);
  background: #fff;
}
.showcase {
  min-width: 0;
  border-right: 1px solid var(--line);
  background: #fff;
}
.sub-tabs {
  position: sticky;
  top: 64px;
  z-index: 30;
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0 28px;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(16,18,28,.05);
  scrollbar-width: none;
}
.sub-tab {
  height: 54px;
  padding: 0 16px;
  border-bottom: 2px solid transparent;
}
.sub-tab:hover, .sub-tab.is-active {
  color: var(--black);
  border-bottom-color: var(--red);
}
.panel { display: none; min-height: calc(100vh - 118px); }
.panel.is-active { display: block; animation: panelEnter .38s var(--motion) both; }

.hero-panel {
  position: relative;
  min-height: calc(100vh - 118px);
  display: grid;
  grid-template-columns: minmax(340px, 42%) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 38px 42px 22px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.92) 48%, rgba(255,255,255,.62) 100%),
    radial-gradient(ellipse at 78% 32%, rgba(225,18,47,.1), transparent 42%),
    linear-gradient(135deg, #fff, #f7f8fb 58%, #fff);
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12,12,18,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,12,18,.045) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse 58% 72% at 72% 42%, black 24%, transparent 80%);
  pointer-events: none;
}
.hero-copy, .hero-media { position: relative; z-index: 1; }
.eyebrow {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-copy h1 {
  color: var(--black);
  font-size: clamp(46px, 6vw, 86px);
  line-height: .92;
  letter-spacing: 0;
  margin-bottom: 14px;
}
.hero-copy h1.is-compact-title {
  font-size: clamp(44px, 5.2vw, 74px);
  line-height: .96;
}
.hero-copy h1 span { color: var(--red); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(225,18,47,.18);
  border-radius: 4px;
  background: rgba(255,240,242,.72);
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.subtitle {
  color: var(--black);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 8px;
}
.desc {
  color: var(--muted);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 22px;
}
.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 18px;
}
.price {
  color: var(--red);
  font-size: 26px;
  font-weight: 900;
}
.note { color: var(--muted); font-size: 13px; }
.hero-actions, .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(104px, 1fr));
  gap: 8px;
  max-width: 740px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 10px 26px rgba(16,18,28,.05);
}
.stat strong {
  display: block;
  color: var(--black);
  font-size: 22px;
}
.stat small { color: var(--muted); font-weight: 800; }
.hero-media {
  align-self: stretch;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-media img {
  position: relative;
  z-index: 2;
  max-height: 74vh;
  object-fit: contain;
  filter: var(--car-filter, saturate(1)) drop-shadow(0 26px 46px rgba(16,18,28,.18));
  transform: translateY(0) scale(1);
  transition: opacity .24s, filter .28s, transform .38s var(--motion);
}
.hero-media img.is-changing {
  opacity: 0;
  transform: translateX(22px) scale(.97);
}
.model-floor-label {
  position: absolute;
  left: 60%;
  top: 18%;
  z-index: 1;
  color: rgba(22, 42, 78, .065);
  font-family: Arial, sans-serif;
  font-size: clamp(120px, 15vw, 230px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: .76;
  transform: translate(-50%, -50%);
  opacity: 1;
  text-shadow:
    0 1px 0 rgba(255,255,255,.78),
    0 28px 78px rgba(22,42,78,.08);
  pointer-events: none;
  user-select: none;
}
.model-floor-label.is-entering { animation: floorEnter .58s var(--motion) both; }
.model-floor-label.is-changing { opacity: 0; transform: translate(-50%, -42%) scale(.98); }

.swatches { margin: 2px 0 20px; }
.mobile-swatches { display: none; }
.swatch-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(16,18,28,.18), inset 0 0 0 1px rgba(0,0,0,.08);
  transition: transform .2s var(--motion), box-shadow .2s;
}
.swatch:hover { transform: translateY(-2px) scale(1.06); }
.swatch.is-active {
  box-shadow: 0 0 0 2px var(--red), inset 0 0 0 1px rgba(0,0,0,.08);
}
.selected-color {
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
  margin-top: 8px;
}

.sidebar {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  background: #fff;
}
.sidebar-title {
  padding: 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.model-list { flex: 1; overflow-y: auto; }
.model-item {
  width: 100%;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  background: transparent;
  color: var(--black);
  padding: 13px 12px;
  text-align: left;
  transition: background .22s, border-color .22s, transform .22s var(--motion);
}
.model-item:hover, .model-item.is-active {
  background: var(--soft-red);
  border-left-color: var(--red);
}
.model-item img {
  width: 86px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(16,18,28,.12));
}
.model-item strong { display: block; font-size: 13px; }
.model-item small { color: var(--muted); font-size: 11px; }
.sidebar-actions {
  padding: 12px;
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
}
.sidebar-call { background: var(--red); color: #fff; }
.sidebar-zalo { background: #0866ff; color: #fff; }
.sidebar-call:hover, .sidebar-zalo:hover { transform: translateY(-2px); }

.section-pad { padding: 34px 42px 42px; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}
.section-head h2, .contact-band h2 {
  color: var(--black);
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.04;
}
.section-head p { color: var(--muted); line-height: 1.7; max-width: 560px; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.info-card, .price-card, .faq-item, .color-card, .contact-card, .onroad-card, .loan-card, .news-card, .article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(16,18,28,.05);
  transition: transform .28s var(--motion), box-shadow .28s, border-color .28s;
}
.info-card:hover, .price-card:hover, .color-card:hover, .contact-card:hover, .onroad-card:hover, .loan-card:hover, .news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225,18,47,.28);
  box-shadow: var(--shadow);
}
.info-card { overflow: hidden; }
.info-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .5s var(--motion), filter .4s;
}
.info-card:hover img { transform: scale(1.035); filter: saturate(1.08); }
.info-card .body, .price-card, .contact-card { padding: 20px; }
.info-card h3, .price-card h3, .color-card h3 { color: var(--black); font-size: 20px; margin-bottom: 8px; }
.info-card p, .price-card p, .faq-answer, .color-card p { color: var(--muted); line-height: 1.7; }
.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fafbfe);
  padding: 22px;
  transition: transform .28s var(--motion), border-color .28s, box-shadow .28s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225,18,47,.3);
  box-shadow: var(--shadow);
}
.feature-card .num {
  color: var(--red);
  font-weight: 900;
  margin-bottom: 20px;
}
.feature-card h3 { color: var(--black); margin-bottom: 9px; font-size: 18px; }
.feature-card p { color: var(--muted); line-height: 1.65; }
.color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.color-card { padding: 20px; }
.color-preview {
  height: 72px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,.36), rgba(0,0,0,.1)),
    var(--color);
  margin: 14px 0;
}
.price-card.featured {
  border-color: rgba(225,18,47,.45);
  box-shadow: 0 0 0 1px rgba(225,18,47,.08), 0 18px 50px rgba(225,18,47,.08);
}
.price-badge {
  display: inline-block;
  background: var(--soft-red);
  color: var(--red);
  border: 1px solid rgba(225,18,47,.2);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.price-card .money {
  display: block;
  color: var(--black);
  font-size: 28px;
  font-weight: 900;
  margin: 10px 0;
}
.price-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.8;
}
.spec-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.spec-wrap.compare {
  grid-template-columns: 1fr;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16,18,28,.05);
}
.spec-table caption {
  text-align: left;
  padding: 16px;
  color: var(--black);
  font-weight: 900;
  background: var(--soft);
}
.spec-table th {
  padding: 13px 16px;
  color: var(--black);
  background: var(--soft);
  border-top: 1px solid var(--line);
  text-align: left;
}
.spec-table th.hl {
  color: var(--red);
  text-align: center;
}
.spec-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.spec-table td:first-child { color: var(--muted); width: 44%; }
.spec-table td:last-child { color: var(--black); font-weight: 900; }
.spec-table td.center {
  text-align: center;
  color: var(--black);
  font-weight: 900;
}
.spec-table .dot { color: var(--red); font-weight: 900; }
.spec-table .dash2 { color: var(--muted); }
.cost-alert {
  border-left: 3px solid var(--red);
  background: var(--soft-red);
  color: #7c111d;
  padding: 16px 18px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.65;
}
.onroad-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.onroad-card { overflow: hidden; }
.onroad-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.onroad-title span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.onroad-title strong { color: var(--black); font-size: 18px; }
.cost-rows { padding: 18px; }
.cost-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.cost-row strong {
  color: var(--black);
  text-align: right;
  white-space: nowrap;
}
.cost-row.total {
  margin-top: 8px;
  padding: 15px 12px;
  border-bottom: 0;
  background: var(--soft-red);
  color: var(--red);
  font-weight: 900;
}
.cost-row.total strong {
  color: var(--red);
  font-size: 20px;
}
.loan-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  padding: 22px;
}
.loan-card h3 { color: var(--black); font-size: 24px; margin-bottom: 8px; }
.loan-card p { color: var(--muted); line-height: 1.65; }
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid var(--line);
  border-top: 0;
  border-radius: 0;
  box-shadow: none;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  color: var(--black);
  padding: 20px 0;
  text-align: left;
  font-weight: 900;
}
.faq-answer {
  display: none;
  padding: 0 0 18px;
}
.faq-item.is-open .faq-answer { display: block; }
.faq-item.is-open .faq-plus { transform: rotate(45deg); color: var(--red); }
.faq-plus { transition: transform .2s; }

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}
.contact-card .lead-form { margin-top: 0; }
.news-section { background: linear-gradient(180deg, #fff, #fafbfe); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.news-card {
  display: grid;
  grid-template-columns: minmax(260px, 42%) 1fr;
  overflow: hidden;
}
.news-media { min-height: 100%; background: var(--soft); }
.news-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform .5s var(--motion), filter .4s;
}
.news-card:hover .news-media img { transform: scale(1.035); filter: saturate(1.06); }
.news-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}
.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.news-body h3 {
  color: var(--black);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.12;
  margin-bottom: 12px;
}
.news-body p { color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
.news-link {
  color: var(--red);
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.news-more { margin-top: 18px; }
.plain-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.plain-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.plain-nav a:hover { color: var(--red); }
.article-page { background: #fff; min-height: 100vh; }
.article-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 24px 56px;
}
.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .78fr);
  gap: 28px;
  align-items: center;
  padding: 28px 0 34px;
}
.article-hero h1 {
  color: var(--black);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.03;
  margin: 10px 0 14px;
}
.article-hero p { color: var(--muted); font-size: 17px; line-height: 1.8; }
.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.article-card { padding: 30px; }
.article-content { max-width: 860px; margin: 0 auto; }
.article-content h2 {
  color: var(--black);
  font-size: clamp(24px, 3vw, 34px);
  margin: 30px 0 12px;
}
.article-content h3 { color: var(--black); font-size: 22px; margin: 24px 0 10px; }
.article-content p, .article-content li { color: var(--text); font-size: 16px; line-height: 1.85; }
.article-content p + p { margin-top: 12px; }
.article-content ul { padding-left: 22px; margin: 10px 0 16px; }
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.article-table th, .article-table td {
  padding: 13px 14px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.article-table th {
  border-top: 0;
  background: var(--soft-red);
  color: var(--red);
  font-weight: 900;
}
.related-news { margin-top: 28px; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
}
.site-footer strong { color: var(--black); }
.site-footer p { margin-top: 6px; font-size: 13px; }

.quick-cta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.float-btn {
  width: 100%;
  min-height: 48px;
  display: grid;
  place-items: center;
  gap: 2px;
  border: 0;
  background: transparent;
  color: var(--black);
  text-decoration: none;
  font-size: 10px;
  font-weight: 900;
}
.float-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
}
.float-btn.phone .float-icon { background: #20a943; animation: phoneRing 1.7s ease-in-out infinite; }
.float-btn.zalo .float-icon { background: #0866ff; font-size: 11px; }
.float-btn.quote .float-icon { background: var(--red); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(8,8,12,.56);
  backdrop-filter: blur(8px);
}
.modal.is-open { display: flex; animation: fadeIn .22s ease both; }
.modal-card {
  width: min(480px, 100%);
  position: relative;
  border: 1px solid rgba(225,18,47,.22);
  border-radius: var(--radius);
  background: #fff;
  padding: 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
  animation: modalIn .34s var(--motion) both;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--black);
  font-size: 22px;
}
.lead-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.lead-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--black);
  padding: 12px;
  outline: none;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(225,18,47,.08); }
.modal-note { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .62s var(--motion), transform .62s var(--motion);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.is-changing { opacity: 0; transform: translateY(8px); transition: opacity .22s, transform .22s var(--motion); }

@keyframes panelEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floorEnter {
  from { opacity: 0; transform: translate(-50%, -42%) scale(.98); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes phoneRing {
  0%, 100% { transform: rotate(0); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-10deg); }
  30% { transform: rotate(14deg); }
  42% { transform: rotate(-8deg); }
  54% { transform: rotate(4deg); }
  66% { transform: rotate(0); }
}

@media (max-width: 1100px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    height: auto;
    border-top: 1px solid var(--line);
  }
  .model-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-panel { grid-template-columns: 1fr; }
  .hero-media { order: -1; min-height: 300px; }
  .model-floor-label {
    left: 50%;
    top: 19%;
    font-size: clamp(96px, 32vw, 164px);
  }
}
@media (max-width: 820px) {
  body {
    padding-top: 118px;
    padding-bottom: 128px;
  }
  .top-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 118px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 58px 60px;
    align-items: center;
    gap: 0 10px;
    padding: 0 12px;
  }
  .mobile-test-drive {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(225,18,47,.18);
    border-radius: 5px;
    background: var(--red);
    color: #fff;
    padding: 0 10px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .6px;
    text-transform: uppercase;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    box-shadow: 0 10px 24px rgba(225,18,47,.18);
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    justify-self: start;
    align-self: center;
  }
  .brand-logo { width: 38px; height: 38px; }
  .brand span { gap: 5px; }
  .brand strong, .brand small { font-size: 13px; letter-spacing: 1.35px; }
  .nav-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: center;
  }
  .nav-tab { height: 60px; }
  .nav-actions { display: none; }
  .nav-cta { display: none; }
  .nav-hotline { display: none; }
  .sub-tabs {
    position: fixed;
    top: 118px;
    left: 0;
    right: 0;
    z-index: 55;
    height: 54px;
    padding: 0 12px;
  }
  .subtab-scroll {
    position: fixed;
    top: 126px;
    right: 8px;
    z-index: 56;
    width: 34px;
    height: 38px;
    display: none;
    place-items: center;
    border: 1px solid rgba(225,18,47,.18);
    border-radius: 50%;
    background: #fff;
    color: var(--red);
    opacity: .5;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 12px 26px rgba(16,18,28,.13);
  }
  .subtab-scroll.is-visible {
    display: grid;
    animation: nudgeRight 1.15s ease-in-out infinite;
  }
  .subtab-scroll:hover {
    opacity: .82;
  }
  .subtab-scroll::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(225,18,47,.16);
    animation: softPulse 1.8s ease-out infinite;
  }
  .showcase { padding-top: 54px; }
  .sidebar { display: none; }
  .hero-panel, .section-pad, .site-footer { padding-left: 18px; padding-right: 18px; }
  .hero-panel {
    gap: 8px;
  }
  .hero-media {
    margin-bottom: 0;
  }
  .desktop-swatches {
    display: none;
  }
  .mobile-swatches {
    position: relative;
    z-index: 3;
    order: -1;
    display: grid;
    justify-items: center;
    margin: -10px 0 18px;
    padding: 0 18px;
  }
  .mobile-swatches .swatch-label {
    margin-bottom: 7px;
    text-align: center;
  }
  .mobile-swatches .swatch-row {
    justify-content: center;
  }
  .mobile-swatches .selected-color {
    text-align: center;
  }
  .stat-grid, .feature-grid, .card-grid, .color-grid, .spec-wrap, .contact-card, .onroad-grid, .news-grid, .news-card, .article-hero { grid-template-columns: 1fr; }
  .news-body, .article-card { padding: 20px; }
  .plain-header { padding: 0 18px; }
  .plain-nav { display: none; }
  .loan-card { align-items: flex-start; flex-direction: column; }
  .section-head, .site-footer { align-items: flex-start; flex-direction: column; }
  .model-list { grid-template-columns: 1fr; }
  .mobile-dock {
    position: fixed;
    z-index: 90;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.96);
    box-shadow: 0 -16px 36px rgba(16,18,28,.12);
    backdrop-filter: blur(14px);
  }
  .mobile-cta-strip {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, .72fr));
    gap: 6px;
  }
  .mobile-cta, .mobile-model-toggle {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--black);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
    text-decoration: none;
  }
  .mobile-cta.primary, .mobile-cta.quote {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
  }
  .mobile-cta.call { border-color: #18a64a; color: #12833a; }
  .mobile-cta.zalo {
    border-color: #0866ff;
    background: #0866ff;
    color: #fff;
  }
  .mobile-model-toggle {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    padding: 0 14px;
    border: 0;
    background: linear-gradient(135deg, #0b0b0f, #202027);
    color: #fff;
    box-shadow: 0 14px 30px rgba(8,8,12,.26);
  }
  .mobile-model-toggle span {
    color: rgba(255,255,255,.82);
    font-size: 9px;
    letter-spacing: 1.6px;
  }
  .mobile-model-toggle strong {
    color: #fff;
    font-size: 12px;
  }
  .mobile-model-toggle::after {
    content: "MENU";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 26px;
    margin-left: 10px;
    border-radius: 4px;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
  }
  .mobile-model-drawer {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: block;
    pointer-events: none;
  }
  .mobile-model-drawer.is-open { pointer-events: auto; }
  .mobile-drawer-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(8,8,12,.44);
    opacity: 0;
    transition: opacity .24s ease;
  }
  .mobile-model-drawer.is-open .mobile-drawer-backdrop { opacity: 1; }
  .mobile-model-sheet {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 112px;
    max-height: min(66vh, 460px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(225,18,47,.18);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0,0,0,.22);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .26s var(--motion), transform .26s var(--motion);
  }
  .mobile-model-drawer.is-open .mobile-model-sheet {
    opacity: 1;
    transform: translateY(0);
  }
  .mobile-sheet-head {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border-bottom: 1px solid var(--line);
    color: var(--black);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
  }
  .mobile-sheet-head button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: var(--soft);
    color: var(--black);
    font-size: 22px;
  }
  .mobile-model-list {
    display: grid;
    overflow-y: auto;
  }
  .mobile-model-list .model-item {
    min-height: 82px;
    grid-template-columns: 94px 1fr;
    padding: 12px 14px;
  }
  .scroll-top-gallery {
    position: fixed;
    z-index: 91;
    right: 12px;
    bottom: calc(132px + env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #111116;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 18px 38px rgba(8,8,12,.26);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .22s var(--motion), transform .22s var(--motion);
  }
  .scroll-top-gallery.is-visible {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
@media (max-width: 600px) {
  body { padding-bottom: 132px; }
  .quick-cta { display: none; }
  .float-btn { width: 100%; min-height: 54px; }
}
@media (max-width: 520px) {
  .mobile-test-drive { max-width: 126px; }
  .hero-copy h1 { font-size: 42px; }
  .hero-copy h1.is-compact-title {
    font-size: 40px;
    line-height: 1;
  }
  .hero-badge {
    min-height: 24px;
    margin-bottom: 8px;
    padding: 5px 8px;
    font-size: 10px;
    letter-spacing: 1px;
  }
  .price { font-size: 22px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 390px) {
  .brand span { display: flex; }
  .brand strong, .brand small { font-size: 11px; letter-spacing: .85px; }
  .mobile-cta-strip { grid-template-columns: 1.1fr repeat(3, .68fr); }
  .mobile-cta, .mobile-model-toggle { font-size: 9px; letter-spacing: .45px; }
}

@keyframes nudgeRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@keyframes softPulse {
  0% { opacity: .7; transform: scale(.92); }
  100% { opacity: 0; transform: scale(1.25); }
}
