/* ==========================================================================
   Toyota Bình Thuận — Design System
   Inspired by toyota.com redesign 2024
   Palette: Toyota red accent + clinical white + ink black
   Type: Inter (Display & Body), clear hierarchy
   Layout: Mobile-first, sticky bottom CTA, hero-centric
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Inter+Tight:wght@500;600;700;800&display=swap');

/* --- Tokens ------------------------------------------------------------- */
:root {
  /* Brand */
  --toyota-red: #EB0A1E;
  --toyota-red-hover: #C30819;
  --toyota-red-soft: #FEF2F3;

  /* Neutral */
  --ink: #111111;
  --ink-2: #4A4A4A;
  --ink-3: #6B6B6B;
  --line: #E5E5E5;
  --line-soft: #F0F0F0;
  --bg: #FFFFFF;
  --bg-soft: #F5F5F5;
  --bg-elevated: #FAFAFA;

  /* Type scale */
  --font-display: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --fs-hero: clamp(2rem, 7vw, 4.5rem);
  --fs-h1: clamp(1.75rem, 5vw, 3rem);
  --fs-h2: clamp(1.5rem, 4vw, 2.25rem);
  --fs-h3: clamp(1.125rem, 2.5vw, 1.375rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-tiny: 0.75rem;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;

  /* Radius */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container: 1240px;
  --header-h: 64px;
}

/* --- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 96px; /* room for sticky bottom CTA on mobile */
}
@media (min-width: 769px) { body { padding-bottom: 0; } }

img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* --- Utilities --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 769px) { .container { padding: 0 2rem; } }

.section {
  padding: var(--space-5) 0;
}
@media (min-width: 769px) { .section { padding: var(--space-7) 0; } }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h1);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 var(--space-3);
  line-height: 1.1;
}
.section-title .accent { color: var(--toyota-red); }

.section-eyebrow {
  display: inline-block;
  font-size: var(--fs-tiny);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--toyota-red);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.section-lede {
  font-size: 1.0625rem;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 0 var(--space-4);
  line-height: 1.7;
}

/* --- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--toyota-red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--toyota-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(235,10,30,0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding: 0.25rem 0;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-link:hover { color: var(--toyota-red); border-color: var(--toyota-red); }

/* --- Header ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.site-header__logo img { height: 36px; width: auto; }
@media (min-width: 769px) {
  .site-header__logo img { height: 44px; }
}

.site-header__nav {
  display: none;
}
@media (min-width: 769px) {
  .site-header__nav { display: block; flex: 1; }
}

.site-header__nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-header__nav-link {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.site-header__nav-link:hover,
.site-header__nav-link.is-active {
  background: var(--bg-soft);
  color: var(--toyota-red);
}

/* Dropdown desktop */
.has-dropdown { position: relative; }
.has-dropdown > .dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 0.4rem;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  display: none;
  z-index: 99;
}
.has-dropdown:hover .dropdown-menu { display: block; }
@media (min-width: 769px) {
  .has-dropdown:hover .dropdown-menu { animation: dropFade 0.18s var(--ease); }
}
@keyframes dropFade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s var(--ease);
}
.dropdown-menu a:hover { background: var(--bg-soft); color: var(--toyota-red); }
.dropdown-menu a .mark { font-size: 1.1rem; }

.site-header__cta {
  display: none;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 769px) { .site-header__cta { display: flex; } }
.site-header__phone {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-header__phone small {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.site-header__phone b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

/* Hamburger */
.site-header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
@media (min-width: 769px) { .site-header__toggle { display: none; } }

.site-header__toggle svg { width: 22px; height: 22px; }

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 200;
  display: none;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-snap);
}
.mobile-menu.is-open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 1rem;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__close {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.mobile-menu__close svg { width: 20px; height: 20px; }
.mobile-menu__list { list-style: none; padding: 1rem; margin: 0; flex: 1; overflow-y: auto; }
.mobile-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu__list a:hover, .mobile-menu__list a:active { color: var(--toyota-red); }
.mobile-menu__cta { padding: 1rem; border-top: 1px solid var(--line); background: var(--bg-soft); }
.mobile-menu__cta .btn { width: 100%; }

/* --- Footer ------------------------------------------------------------ */
.site-footer {
  background: #0a0a0a;
  color: #fff;
  padding: var(--space-6) 0 var(--space-3);
}
.site-footer a { color: #d4d4d4; transition: color 0.2s var(--ease); }
.site-footer a:hover { color: #fff; }

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 769px) {
  .site-footer__top {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-5);
  }
}

.site-footer h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 var(--space-2);
  color: #fff;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.site-footer p { color: #b3b3b3; font-size: 0.9375rem; line-height: 1.7; }

.site-footer__brand-logo { height: 40px; margin-bottom: 1rem; }
.site-footer__hotline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-top: 0.5rem;
  display: inline-block;
  letter-spacing: 0.02em;
}

.site-footer__bottom {
  margin-top: var(--space-5);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #999;
}
@media (min-width: 769px) {
  .site-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* --- Hero (cinematic showroom) ---------------------------------------- */
.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}
@media (min-width: 769px) {
  .hero__grid { grid-template-columns: 1fr 1fr; min-height: 560px; }
}

.hero__copy {
  padding: var(--space-5) 1rem var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 769px) {
  .hero__copy { padding: var(--space-6) var(--space-5); }
}

.hero__eyebrow {
  font-size: var(--fs-tiny);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--toyota-red);
  margin-bottom: var(--space-2);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-hero);
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 var(--space-3);
}
.hero__title .ink { color: var(--ink); }
.hero__title .muted { color: var(--ink-3); }
.hero__lede {
  font-size: 1.0625rem;
  color: var(--ink-2);
  max-width: 480px;
  margin: 0 0 var(--space-4);
  line-height: 1.6;
}
.hero__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: var(--space-3);
}
.hero__price-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--toyota-red);
  letter-spacing: -0.01em;
}
.hero__price-label {
  font-size: 0.8125rem;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero__ctas .btn { flex: 1 1 200px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero__stat span {
  font-size: 0.75rem;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__media {
  position: relative;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  min-height: 280px;
}
@media (min-width: 769px) {
  .hero__media { min-height: 560px; padding: var(--space-5); }
}
.hero__media img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.18));
}
.hero__corner-tape {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  box-shadow: var(--shadow-sm);
}

/* --- Models: car card grid -------------------------------------------- */
.models-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 600px) { .models-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .models-grid { grid-template-columns: repeat(3, 1fr); } }

.car-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  cursor: pointer;
}
.car-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.car-card__media {
  background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
}
.car-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.car-card:hover .car-card__media img { transform: scale(1.04); }
.car-card__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.car-card__tag.is-new { background: var(--toyota-red); }
.car-card__tag.is-hot { background: #FF6B35; }

.car-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.car-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin: 0;
}
.car-card__tagline {
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin: 0;
  min-height: 2.5em;
}
.car-card__price {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.car-card__price b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--toyota-red);
  letter-spacing: -0.01em;
  margin-top: 0.15rem;
}
.car-card__cta {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.car-card__cta::after {
  content: '→';
  font-size: 1.25rem;
  transition: transform 0.2s var(--ease);
}
.car-card:hover .car-card__cta::after { transform: translateX(4px); }

/* --- Section: Why Toyota --------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 600px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-card {
  padding: var(--space-3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.why-card__icon {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--toyota-red-soft);
  color: var(--toyota-red);
  border-radius: 12px;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: var(--space-2);
}
.why-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}
.why-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.6;
}

/* --- Showroom banner (big banner) -------------------------------------- */
.showroom {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  margin: var(--space-3) auto;
  max-width: var(--container);
}
.showroom__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 769px) { .showroom__inner { grid-template-columns: 1.1fr 1fr; } }
.showroom__copy {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
}
@media (min-width: 769px) { .showroom__copy { padding: var(--space-6); } }
.showroom__copy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
.showroom__copy p { color: #cfcfcf; margin: 0; font-size: 1rem; max-width: 420px; }
.showroom__copy .btn-primary { background: var(--toyota-red); color: #fff; align-self: flex-start; margin-top: var(--space-2); }
.showroom__media {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 220px;
}
.showroom__media img { max-height: 260px; width: 100%; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5)); }

/* --- Quote Form -------------------------------------------------------- */
.quote {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 1024px) { .quote__wrap { grid-template-columns: 1fr 1.2fr; gap: var(--space-5); } }

.quote__intro h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h1);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 var(--space-2);
}
.quote__intro p { color: var(--ink-2); max-width: 420px; }
.quote__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
.quote__proof b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}
.quote__proof span { font-size: 0.75rem; text-transform: uppercase; color: var(--ink-3); letter-spacing: 0.08em; }

.quote__form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
@media (min-width: 769px) { .quote__form { padding: 2rem; } }

.quote__form h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 1rem;
}
.quote__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) { .quote__row { grid-template-columns: 1fr 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17,17,17,0.08);
}
.field .submit { margin-top: 0.5rem; }
.field .submit .btn { width: 100%; }

/* --- Page hero (model detail) ---------------------------------------- */
.model-hero {
  background: #0a0a0a;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.model-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at 80% 20%, rgba(235,10,30,0.12) 0%, transparent 60%);
}
.model-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-5) 0 var(--space-6);
  position: relative;
  z-index: 1;
}
@media (min-width: 769px) {
  .model-hero__inner { grid-template-columns: 1.1fr 1fr; padding: var(--space-7) 0 var(--space-7); align-items: center; }
}

.model-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.model-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 var(--space-3);
}
.model-hero__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  margin: 0 0 var(--space-3);
}
.model-hero__price b { color: var(--toyota-red); font-weight: 800; }
.model-hero__lede { color: #cfcfcf; max-width: 480px; font-size: 1rem; }
.model-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-3);
}
.model-hero__chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
}
.model-hero__media {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.model-hero__media img {
  width: 100%;
  max-width: 720px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
}
.model-hero__cta-row {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-4);
  flex-wrap: wrap;
}
.model-hero__cta-row .btn { flex: 1 1 180px; }

/* --- Pricing list / variants ------------------------------------------ */
.variants {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  min-width: 0; /* prevent grid blowout when variant names are long */
}
@media (min-width: 769px) { .variants { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .variants { grid-template-columns: repeat(3, 1fr); } }
.variant {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  min-width: 0; /* allow grid item to shrink below min-content */
}
.variant__name,
.variant__price {
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.variant__price { font-variant-numeric: tabular-nums; }
.variant:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
.variant.is-featured {
  border-color: var(--toyota-red);
  border-width: 2px;
}
.variant.is-featured::before {
  content: 'Phổ biến nhất';
  position: absolute;
  top: -10px;
  left: 1rem;
  background: var(--toyota-red);
  color: #fff;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.variant__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  margin: 0;
}
.variant__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--toyota-red);
  letter-spacing: -0.01em;
}
.variant__price small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.variant__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-2);
  border-top: 1px solid var(--line-soft);
  padding-top: 0.75rem;
}
.variant__list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}
.variant__list li > span { flex: 0 0 auto; }
.variant__list b { color: var(--ink); font-weight: 600; text-align: right; word-break: break-word; }
@media (max-width: 768px) {
  .variant__list { padding-right: 1rem; }
}
.variant .btn { margin-top: auto; }

/* --- Specs summary highlight ------------------------------------------ */
.spec-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
@media (min-width: 769px) { .spec-highlights { grid-template-columns: repeat(4, 1fr); } }
.spec-highlight {
  background: #fff;
  padding: 1.5rem 1rem;
  text-align: center;
}
.spec-highlight b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}
.spec-highlight span {
  font-size: 0.75rem;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Specs detailed table --------------------------------------------- */
.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.specs thead th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}
.specs tbody td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.specs tbody td:first-child { color: var(--ink-2); font-weight: 500; width: 40%; }
.specs tbody td:last-child { font-weight: 600; color: var(--ink); }
.specs tbody tr:hover { background: var(--bg-soft); }

/* --- Color picker ------------------------------------------------------ */
.colors {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  align-items: center;
}
@media (min-width: 769px) { .colors { grid-template-columns: 1.4fr 1fr; } }
.colors__stage {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.colors__stage img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  transition: opacity 0.25s var(--ease);
}
.colors__stage img.is-loading { opacity: 0.4; }
.colors__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 0.75rem;
}
.colors__swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
  font: inherit;
}
.colors__swatch:hover { transform: translateY(-2px); }
.colors__swatch.is-active {
  border-color: var(--toyota-red);
}
.colors__chip {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
  border: 1px solid var(--line);
}
.colors__chip img { width: 100%; height: 100%; object-fit: cover; }
.colors__swatch-name {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}

/* --- Per-model promotion cards (2026) ------------------------------- */
.promos-2026 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 720px) { .promos-2026 { grid-template-columns: repeat(2, 1fr); } }
.promo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  overflow: hidden;
}
.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--toyota-red);
}
.promo-card.is-featured {
  border-color: var(--toyota-red);
  border-width: 2px;
}
.promo-card.is-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--toyota-red) 0%, #C30819 100%);
}
.promo-card__head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--line);
}
.promo-card__model {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.promo-card__price {
  font-size: 0.875rem;
  color: var(--ink-3);
}
.promo-card__price b {
  color: var(--toyota-red);
  font-weight: 700;
  font-size: 1rem;
}
.promo-card__ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--toyota-red);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.promo-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.promo-card__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.promo-card__list .dot {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--toyota-red-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.promo-card__list b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.promo-card__list small {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.promo-card__cta {
  margin-top: auto;
  width: 100%;
}

/* --- Promotions ------------------------------------------------------- */
.promos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 600px) { .promos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .promos { grid-template-columns: repeat(3, 1fr); } }
.promo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.promo__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--toyota-red-soft);
  color: var(--toyota-red);
  font-weight: 800;
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.promo h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
}
.promo p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-2);
  line-height: 1.5;
}

/* --- FAQ accordion ---------------------------------------------------- */
.faq { display: flex; flex-direction: column; gap: 0.5rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.faq details[open] { border-color: var(--ink); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ink-3);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { content: '−'; color: var(--toyota-red); }
.faq details > p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --- Model banner (Large Banner Section from data files) --------------- */
.model-banner {
  background: var(--bg-soft);
  padding: 0;
  overflow: hidden;
  max-height: 320px;
}
.model-banner img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

/* --- Trust signal band (Bảo hành 10 năm / 185.000 km) ------------------ */
.trust-band {
  background: linear-gradient(135deg, #111 0%, #1f1f1f 100%);
  color: #fff;
  padding: var(--space-5) 0;
  position: relative;
  overflow: hidden;
}
.trust-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(235,10,30,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.trust-band__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  position: relative;
}
@media (min-width: 768px) {
  .trust-band__inner { grid-template-columns: 1.4fr 1fr; align-items: center; }
}
.trust-band__pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(235,10,30,0.18);
  border: 1px solid rgba(235,10,30,0.4);
  border-radius: 999px;
  color: #ffb3bb;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}
.trust-band__lead h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin: 0 0 0.75rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.trust-band__lead h2 b {
  color: var(--toyota-red);
}
.trust-band__lead p {
  color: #c4c4c4;
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.6;
  max-width: 520px;
}
.trust-band__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.trust-band__stats > div {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(8px);
}
.trust-band__stats b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--toyota-red);
  letter-spacing: -0.01em;
}
.trust-band__stats span {
  display: block;
  color: #aaa;
  font-size: 0.8125rem;
  margin-top: 0.15rem;
}

/* --- Accessories (Phụ kiện chính hãng) -------------------------------- */
.accessories {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 600px) { .accessories { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .accessories { grid-template-columns: repeat(3, 1fr); } }
.accessory {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.accessory:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--toyota-red);
}
.accessory__icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe9e9 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}
.accessory h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  margin: 0;
}
.accessory p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.5;
}

/* --- Content feature blocks (nội thất, ngoại thất, ...) -------------- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.feature__media {
  background: var(--bg-soft);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.feature__media img { max-height: 100%; object-fit: contain; }
.feature__body { padding: 1.25rem; }
.feature__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  margin: 0 0 0.4rem;
}
.feature__body p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.feature-alt { background: var(--bg-soft); }
.feature-alt .feature__body { padding: 1.25rem 1.25rem 1.5rem; }

/* --- Marquee scroll (model strip) ------------------------------------- */
.marquee {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.marquee::-webkit-scrollbar { display: none; }
.marquee > * { scroll-snap-align: start; flex-shrink: 0; }

/* --- Spec categories (grouped) ---------------------------------------- */
.spec-cats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 768px) { .spec-cats { grid-template-columns: repeat(2, 1fr); } }
.spec-cat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.spec-cat h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.spec-cat__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.spec-cat__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--line);
}
.spec-cat__list li:last-child { border-bottom: none; }
.spec-cat__list b { font-weight: 600; color: var(--ink); text-align: right; }

/* --- Quote banner (inline) -------------------------------------------- */
.cta-strip {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 769px) {
  .cta-strip {
    flex-direction: row;
    text-align: left;
    align-items: center;
    justify-content: space-between;
    padding: 2.25rem 2.5rem;
  }
}
.cta-strip h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0;
  letter-spacing: -0.01em;
}
.cta-strip p { color: #cfcfcf; margin: 0.25rem 0 0; }

/* --- Sticky bottom CTA (mobile) -------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 0.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.06);
}
@media (min-width: 769px) { .sticky-cta { display: none; } }
.sticky-cta .btn { padding: 0.7rem 1rem; font-size: 0.875rem; }

/* --- Reposition chatbot on mobile (handled in chatbot-popup.html) --- */

/* --- Floating actions --------------------------------------------- */
.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 5.25rem;
  z-index: 80;
  display: none;
  flex-direction: column;
  gap: 0.6rem;
}
@media (min-width: 769px) {
  .floating-actions { display: flex; right: 1.5rem; bottom: 1.5rem; }
}
.floating-actions a, .floating-actions button {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  background: var(--toyota-red);
  box-shadow: 0 6px 16px rgba(235,10,30,0.4);
  transition: transform 0.2s var(--ease);
}
.floating-actions a:hover, .floating-actions button:hover { transform: scale(1.06); }
.floating-actions svg { width: 22px; height: 22px; }
.floating-actions .floating-call { background: var(--ink); }
.floating-actions .floating-call:hover { background: var(--toyota-red); }

/* --- Misc utilities --------------------------------------------------- */
.muted { color: var(--ink-3); }
.center { text-align: center; }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --- Reveal animation ------------------------------------------------- */
[data-reveal] {
  /* No initial hide — only animate when JS marks is-revealed after IO.
     This keeps content visible if JS is disabled or slow. */
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* --- Chatbot placeholder styles (basic) ----------------------------- */
#chatbot-placeholder { display: contents; }
</content>
</invoke>