:root {
  --red: #e60012;
  --red-hover: #c90010;
  --ink: #111111;
  --ink-soft: #1b1c1f;
  --text: #5f6368;
  --muted: #7a7f87;
  --bg: #f5f6f7;
  --line: #e4e6e8;
  --white: #ffffff;
  --container: 1280px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 8px 30px rgba(17, 17, 17, .08);
  --shadow-md: 0 24px 70px rgba(17, 17, 17, .14);
  --header-height: 82px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: Inter, Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.modal-open,
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(230, 0, 18, .22);
  outline-offset: 3px;
}
[hidden] { display: none !important; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.section { padding: 110px 0; }
.section--gray { background: var(--bg); }
.section--dark { color: var(--white); background: #0d0e10; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading--center { text-align: center; margin-inline: auto; }
.section-heading h2,
.vehicle-story h2,
.vehicle-offer h2,
.calculator__header h2 {
  margin: 8px 0 16px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.section-heading p { margin: 0; color: var(--text); font-size: 1.08rem; }
.section--dark .section-heading p { color: rgba(255,255,255,.68); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.section--dark .eyebrow { color: #ff4d5a; }

.icon { width: 22px; height: 22px; flex: none; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 750;
  transition: color .25s ease, gap .25s ease;
}
.text-link:hover { color: var(--red); gap: 10px; }
.text-link .icon { width: 18px; height: 18px; }
.text-link--button { border: 0; padding: 0; background: transparent; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  letter-spacing: -.01em;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--white); background: var(--red); box-shadow: 0 12px 30px rgba(230, 0, 18, .24); }
.button--primary:hover { background: var(--red-hover); }
.button--dark { color: var(--white); background: var(--ink); }
.button--dark:hover { background: #26272b; }
.button--light { color: var(--ink); background: var(--white); }
.button--light:hover { background: #f0f0f0; }
.button--outline { color: var(--ink); border-color: var(--line); background: var(--white); }
.button--outline:hover { border-color: var(--ink); }
.button--ghost { color: var(--red); background: rgba(230, 0, 18, .06); }
.button--ghost:hover { background: rgba(230, 0, 18, .12); }
.button--small { min-height: 44px; padding-inline: 17px; font-size: .92rem; }
.button--block { width: 100%; }
.button:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.button.is-loading span::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 8px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Topbar */
.topbar { position: relative; z-index: 101; color: var(--white); background: #0a0a0b; font-size: .78rem; }
.topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__group { display: flex; align-items: center; gap: 18px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.76); white-space: nowrap; }
a.topbar__item:hover { color: var(--white); }
.topbar__item .icon { width: 15px; height: 15px; }
.topbar__icon { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: var(--white); background: rgba(255,255,255,.1); }
.topbar__icon .icon { width: 14px; height: 14px; }
.topbar__zalo { font-weight: 900; font-size: .75rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(228,230,232,.9);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 35px rgba(17,17,17,.08); }
.header__inner { height: var(--header-height); display: grid; grid-template-columns: 245px 1fr auto; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 182px; height: auto; }
.main-nav { display: flex; justify-content: center; align-items: stretch; height: 100%; gap: 4px; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  padding: 0 13px;
  color: #292a2d;
  font-size: .91rem;
  font-weight: 680;
  white-space: nowrap;
}
.nav-link::after { content: ""; position: absolute; right: 14px; bottom: 18px; left: 14px; height: 2px; transform: scaleX(0); transform-origin: right; background: var(--red); transition: transform .25s var(--ease); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-link--button { border: 0; background: transparent; }
.nav-link--button .icon { width: 15px; height: 15px; transition: transform .25s ease; }
.nav-item--mega { position: static; }
.nav-item--mega.is-open .nav-link--button .icon { transform: rotate(180deg); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.button--header { min-height: 46px; padding-inline: 20px; font-size: .88rem; }
.menu-toggle { display: none; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }

.mega-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  width: min(calc(100vw - 40px), 1180px);
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  border: 1px solid var(--line);
  border-radius: 0 0 24px 24px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: opacity .22s ease, visibility .22s ease, transform .22s var(--ease);
}
.nav-item--mega.is-open .mega-menu,
.nav-item--mega:hover .mega-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-menu__head { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.mega-menu__head strong { display: block; margin-top: 4px; font-size: 1.35rem; }
.mega-menu__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-top: 18px; }
.mega-menu__vehicle { display: flex; align-items: center; gap: 12px; min-height: 96px; padding: 12px; border-radius: 14px; transition: background .22s ease, transform .22s var(--ease); }
.mega-menu__vehicle:hover { background: var(--bg); transform: translateY(-2px); }
.mega-menu__image { width: 95px; height: 62px; object-fit: contain; }
.mega-menu__vehicle strong { display: block; line-height: 1.2; }
.mega-menu__vehicle small { color: var(--muted); }

.mobile-menu { display: none; position: fixed; inset: 0 0 0 auto; z-index: 300; width: min(88vw, 420px); padding: 18px 20px 36px; overflow-y: auto; transform: translateX(105%); background: var(--white); box-shadow: -20px 0 60px rgba(17,17,17,.22); transition: transform .3s var(--ease); }
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-weight: 800; }
.mobile-menu__close { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
.mobile-menu > a,
.mobile-menu > details > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--line); font-weight: 700; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary .icon { width: 18px; height: 18px; }
.mobile-menu details[open] summary .icon { transform: rotate(180deg); }
.mobile-menu__vehicles { padding: 8px 0 12px 16px; }
.mobile-menu__vehicles a { display: block; padding: 10px 0; color: var(--text); }
.mobile-menu .button { margin-top: 22px; border-bottom: 0; }

/* Hero */
.hero { position: relative; min-height: 700px; overflow: hidden; color: var(--white); background: #141517; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.03); transition: opacity .8s ease, visibility .8s ease, transform 1.2s var(--ease); }
.hero-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.hero-slide__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,11,.82) 0%, rgba(8,9,11,.52) 43%, rgba(8,9,11,.1) 74%, rgba(8,9,11,.18) 100%), linear-gradient(0deg, rgba(8,9,11,.35), transparent 45%); }
.hero-slide--light .hero-slide__overlay { background: linear-gradient(90deg, rgba(8,9,11,.78) 0%, rgba(8,9,11,.46) 44%, rgba(8,9,11,.05) 72%), linear-gradient(0deg, rgba(8,9,11,.2), transparent); }
.hero__content { position: relative; z-index: 2; min-height: 700px; display: flex; align-items: center; }
.hero__copy { max-width: 680px; padding: 80px 0 105px; }
.hero__copy .eyebrow { color: #ff4d5a; }
.hero__copy h1 { max-width: 720px; margin: 16px 0 22px; font-size: clamp(3.15rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -.055em; }
.hero__copy p { max-width: 620px; margin: 0 0 34px; color: rgba(255,255,255,.8); font-size: 1.15rem; line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; gap: 28px; margin-top: 42px; }
.hero__meta div { padding-left: 15px; border-left: 2px solid rgba(255,255,255,.24); }
.hero__meta strong { display: block; font-size: 1rem; }
.hero__meta span { color: rgba(255,255,255,.58); font-size: .84rem; }
.hero__controls { position: absolute; z-index: 5; right: 0; bottom: 36px; left: 0; }
.hero__controls-inner { display: flex; align-items: center; justify-content: space-between; }
.hero__dots { display: flex; align-items: center; gap: 10px; }
.hero-dot { width: 28px; height: 4px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.35); transition: width .25s ease, background .25s ease; }
.hero-dot.is-active { width: 56px; background: var(--white); }
.hero__arrows { display: flex; gap: 10px; }
.hero-arrow { display: grid; width: 50px; height: 50px; place-items: center; color: var(--white); border: 1px solid rgba(255,255,255,.38); border-radius: 50%; background: rgba(8,9,11,.22); backdrop-filter: blur(10px); transition: background .22s ease; }
.hero-arrow:hover { background: rgba(255,255,255,.17); }
.hero-arrow--prev .icon { transform: rotate(180deg); }

/* Quick services */
.quick-services { position: relative; z-index: 10; margin-top: -42px; }
.quick-services__grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: var(--shadow-md); }
.quick-service { display: flex; min-height: 124px; align-items: center; gap: 16px; padding: 24px 26px; border: 0; border-right: 1px solid var(--line); background: var(--white); text-align: left; transition: background .22s ease, transform .22s var(--ease); }
.quick-service:last-child { border-right: 0; }
.quick-service:hover { background: var(--bg); }
.quick-service__icon { display: grid; width: 52px; height: 52px; flex: none; place-items: center; color: var(--red); border-radius: 16px; background: rgba(230,0,18,.08); }
.quick-service__icon .icon { width: 25px; height: 25px; }
.quick-service strong { display: block; margin-bottom: 2px; font-size: 1rem; }
.quick-service span { color: var(--text); font-size: .86rem; }

/* Vehicle list */
.vehicle-section { padding-top: 130px; }
.vehicle-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.vehicle-section__head .section-heading { margin-bottom: 0; }
.vehicle-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.vehicle-filter { min-height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--white); font-weight: 700; font-size: .9rem; transition: all .22s ease; }
.vehicle-filter:hover,
.vehicle-filter.is-active { color: var(--white); border-color: var(--ink); background: var(--ink); }
.vehicle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vehicle-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--white); transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; }
.vehicle-card:hover { transform: translateY(-6px); border-color: #d5d7da; box-shadow: var(--shadow-sm); }
.vehicle-card__visual { position: relative; display: grid; min-height: 270px; place-items: center; overflow: hidden; background: linear-gradient(145deg, #f7f8f9, #ffffff); }
.vehicle-card__visual::after { content: ""; position: absolute; right: 16%; bottom: 40px; left: 16%; height: 18px; border-radius: 50%; background: rgba(17,17,17,.13); filter: blur(12px); }
.vehicle-card__visual a { position: relative; z-index: 2; display: grid; width: 100%; height: 100%; place-items: center; padding: 46px 28px 34px; }
.vehicle-card__image { width: 88%; max-width: 380px; height: 190px; object-fit: contain; transition: transform .45s var(--ease); }
.vehicle-card:hover .vehicle-card__image { transform: scale(1.035); }
.vehicle-card__badges { position: absolute; z-index: 3; top: 18px; left: 18px; display: flex; gap: 6px; }
.vehicle-card__badges span { padding: 6px 10px; border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.88); box-shadow: 0 4px 16px rgba(17,17,17,.07); font-size: .72rem; font-weight: 800; }
.vehicle-card__body { padding: 24px; }
.vehicle-card__type { margin: 0 0 5px; color: var(--muted); font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.vehicle-card h3 { margin: 0; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.03em; }
.vehicle-card h3 a:hover { color: var(--red); }
.vehicle-card__price { margin: 8px 0 18px; color: var(--red); font-weight: 800; }
.vehicle-card__specs { display: grid; margin: 0 0 22px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.vehicle-card__specs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .84rem; }
.vehicle-card__specs span { color: var(--muted); }
.vehicle-card__specs strong { text-align: right; }
.vehicle-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

/* Offer */
.offer-section { position: relative; overflow: hidden; background: #17181b; }
.offer-section::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(230,0,18,.28), transparent 68%); }
.offer-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr); overflow: hidden; border-radius: 28px; background: var(--white); }
.offer-visual { position: relative; min-height: 620px; color: var(--white); background: #111; }
.offer-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,11,.82), rgba(10,10,11,.05) 65%), linear-gradient(90deg, rgba(10,10,11,.28), transparent); }
.offer-visual__content { position: absolute; z-index: 2; right: 46px; bottom: 44px; left: 46px; }
.offer-visual__content .eyebrow { color: #ff6974; }
.offer-visual__content h2 { max-width: 590px; margin: 12px 0 14px; font-size: clamp(2.3rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; }
.offer-visual__content p { max-width: 560px; margin: 0; color: rgba(255,255,255,.76); }
.offer-form-wrap { padding: 52px 48px; }
.offer-form-wrap h3 { margin: 0 0 8px; font-size: 1.8rem; letter-spacing: -.03em; }
.offer-form-wrap > p { margin: 0 0 28px; color: var(--text); }

/* Forms */
.lead-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: #303236; font-size: .84rem; font-weight: 750; }
.form-field input,
.form-field select {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus,
.form-field select:focus { border-color: #999da3; box-shadow: 0 0 0 4px rgba(17,17,17,.05); }
.form-field input.is-invalid,
.form-field select.is-invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(230,0,18,.07); }
.form-error { min-height: 0; color: var(--red); font-size: .76rem; }
.form-error:empty { display: none; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: .8rem; }
.form-consent input { margin-top: 4px; accent-color: var(--red); }
.form-consent.is-invalid { color: var(--red); }
.form-status { min-height: 22px; font-size: .82rem; }
.form-status.is-success { color: #087a3f; }
.form-status.is-error { color: var(--red); }
.form-status.is-loading { color: var(--text); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 76px; }
.about-visual { position: relative; }
.about-visual__main { overflow: hidden; aspect-ratio: 1.2; border-radius: 26px; }
.about-visual__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about-visual:hover .about-visual__main img { transform: scale(1.03); }
.about-visual__badge { position: absolute; right: -24px; bottom: 34px; width: 180px; padding: 22px; border-radius: 18px; color: var(--white); background: var(--red); box-shadow: var(--shadow-md); }
.about-visual__badge strong { display: block; font-size: 1.4rem; }
.about-visual__badge span { font-size: .82rem; opacity: .82; }
.about-content h2 { margin: 10px 0 20px; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.045em; }
.about-content > p { margin: 0 0 24px; color: var(--text); font-size: 1.05rem; }
.commitments { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0; }
.commitment { display: flex; align-items: flex-start; gap: 11px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.commitment__icon { display: grid; width: 34px; height: 34px; flex: none; place-items: center; color: var(--red); border-radius: 50%; background: rgba(230,0,18,.08); }
.commitment__icon .icon { width: 18px; height: 18px; }
.commitment strong { display: block; font-size: .92rem; }
.commitment span { display: block; color: var(--muted); font-size: .78rem; }
.about-contact { display: flex; align-items: center; gap: 12px; }
.about-contact a { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.about-contact a .icon { color: var(--red); }

/* Technology */
.technology-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.technology-card { position: relative; min-height: 390px; overflow: hidden; padding: 30px; border: 1px solid rgba(255,255,255,.11); border-radius: 22px; background: linear-gradient(145deg, #1d1f23, #101113); transition: transform .3s var(--ease), border-color .3s ease; }
.technology-card::before { content: ""; position: absolute; width: 240px; height: 240px; right: -110px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(230,0,18,.32), transparent 70%); }
.technology-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.24); }
.technology-card__icon { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 64px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.05); }
.technology-card__icon .icon { width: 28px; height: 28px; }
.technology-card__eyebrow { color: #ff6671; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.technology-card h3 { margin: 8px 0 12px; font-size: 1.45rem; }
.technology-card p { margin: 0 0 20px; color: rgba(255,255,255,.66); }
.technology-card > strong { color: rgba(255,255,255,.94); font-size: .86rem; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 235px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #d4d6d9; box-shadow: var(--shadow-sm); }
.service-card__icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 28px; color: var(--red); border-radius: 15px; background: rgba(230,0,18,.08); }
.service-card h3 { margin: 0 0 10px; font-size: 1.17rem; }
.service-card p { margin: 0; color: var(--text); }

/* Showroom */
.showroom-grid { display: grid; grid-template-columns: 1.18fr .82fr; min-height: 620px; overflow: hidden; border-radius: 28px; background: #111; }
.showroom-visual { position: relative; min-height: 620px; }
.showroom-visual img { width: 100%; height: 100%; object-fit: cover; }
.showroom-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,8,9,.55), transparent 55%); }
.showroom-content { display: flex; flex-direction: column; justify-content: center; padding: 56px; color: var(--white); }
.showroom-content .eyebrow { color: #ff6671; }
.showroom-content h2 { margin: 12px 0 16px; font-size: clamp(2.3rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.045em; }
.showroom-content > p { margin: 0 0 30px; color: rgba(255,255,255,.68); }
.showroom-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 34px; }
.showroom-feature { padding: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.04); }
.showroom-feature strong { display: block; }
.showroom-feature span { color: rgba(255,255,255,.58); font-size: .8rem; }
.showroom-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* News */
.news-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.news-featured { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.news-featured__image { display: block; overflow: hidden; aspect-ratio: 1.45; }
.news-featured__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-featured:hover .news-featured__image img { transform: scale(1.03); }
.news-featured__body { padding: 28px; }
.news-featured__body > span,
.news-card span { color: var(--muted); font-size: .78rem; }
.news-featured h3 { margin: 8px 0 12px; font-size: 1.8rem; line-height: 1.25; letter-spacing: -.03em; }
.news-featured p { margin: 0 0 18px; color: var(--text); }
.news-list { display: grid; gap: 15px; }
.news-card { display: grid; grid-template-columns: 145px 1fr; gap: 18px; min-height: 156px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: transform .22s var(--ease), box-shadow .22s ease; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.news-card__image { overflow: hidden; border-radius: 12px; }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; }
.news-card h3 { margin: 5px 0 7px; font-size: 1rem; line-height: 1.3; }
.news-card p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--text); font-size: .82rem; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Contact & map */
.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--white); }
.contact-info { padding: 46px; }
.contact-info h2 { margin: 10px 0 15px; font-size: 2.5rem; letter-spacing: -.04em; }
.contact-info > p { margin: 0 0 28px; color: var(--text); }
.contact-list { display: grid; gap: 14px; margin-bottom: 30px; }
.contact-item { display: flex; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.contact-item .icon { color: var(--red); }
.contact-item small { display: block; color: var(--muted); }
.contact-item strong { display: block; }
.map-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.map-tab { min-height: 42px; padding: 0 17px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--white); font-weight: 700; }
.map-tab.is-active { color: var(--white); border-color: var(--ink); background: var(--ink); }
.map-panel { display: grid; gap: 8px; }
.map-panel strong { font-size: 1rem; }
.map-panel span { color: var(--text); font-size: .9rem; }
.map-panel a { margin-top: 8px; }
.map-frame-wrap { position: relative; min-height: 590px; background: #e9ebed; }
.map-frame-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .6fr 1.4fr; gap: 70px; }
.faq-layout .section-heading { position: sticky; top: 120px; align-self: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 23px 0; font-weight: 760; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 19px; height: 19px; transition: transform .2s ease; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { max-width: 820px; margin: -5px 0 24px; color: var(--text); }

/* Footer */
.footer { color: rgba(255,255,255,.78); background: #0d0e10; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .7fr .9fr 1.1fr; gap: 44px; padding: 76px 0 50px; }
.footer__brand img { width: 180px; height: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer__brand p { max-width: 390px; margin: 0; color: rgba(255,255,255,.58); }
.footer h3 { margin: 0 0 18px; color: var(--white); font-size: 1rem; }
.footer__social { display: flex; gap: 9px; margin-top: 24px; }
.footer__social a { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; transition: background .2s ease; }
.footer__social a:hover { background: rgba(255,255,255,.1); }
.footer__social .icon { width: 18px; height: 18px; }
.footer__zalo { font-weight: 900; }
.footer__links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer__links a,
.footer__links button { padding: 0; border: 0; color: rgba(255,255,255,.6); background: transparent; text-align: left; }
.footer__links a:hover,
.footer__links button:hover { color: var(--white); }
.footer__contact { display: grid; align-content: start; gap: 14px; }
.footer__contact > a { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { margin-top: 2px; color: #ff6671; }
.footer__contact small { display: block; color: rgba(255,255,255,.43); }
.footer__contact strong { display: block; color: rgba(255,255,255,.88); font-size: .9rem; word-break: break-word; }
.footer__showrooms { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer__showrooms div { display: flex; align-items: flex-start; gap: 14px; }
.footer__showrooms strong { flex: none; color: var(--white); }
.footer__showrooms span { color: rgba(255,255,255,.52); font-size: .88rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer__bottom-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer__bottom p { margin: 0; color: rgba(255,255,255,.42); font-size: .78rem; }
.footer__bottom-inner div { display: flex; gap: 20px; font-size: .78rem; }

/* Floating contact */
.floating-contact { position: fixed; z-index: 80; right: 18px; bottom: 24px; display: grid; gap: 9px; }
.floating-contact__button { display: flex; width: 54px; height: 54px; align-items: center; justify-content: center; overflow: hidden; border: 0; border-radius: 999px; color: var(--white); box-shadow: 0 10px 28px rgba(17,17,17,.18); transition: width .25s var(--ease), transform .25s var(--ease); }
.floating-contact__button span { width: 0; opacity: 0; overflow: hidden; white-space: nowrap; font-size: .78rem; font-weight: 750; transition: width .25s ease, opacity .2s ease, margin .25s ease; }
.floating-contact__button:hover { width: 124px; transform: translateX(-2px); }
.floating-contact__button:hover span { width: auto; opacity: 1; margin-left: 8px; }
.floating-contact__button--phone { background: #1b9a59; }
.floating-contact__button--zalo { background: #0878f9; }
.floating-contact__button--zalo strong { font-size: 1.05rem; }
.floating-contact__button--messenger { background: #2867f0; }
.floating-contact__button--top { background: var(--ink); }
.mobile-cta { display: none; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5,6,7,.74); backdrop-filter: blur(7px); }
.modal__dialog { position: relative; z-index: 2; width: min(100%, 1020px); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 26px; background: var(--white); box-shadow: 0 30px 90px rgba(0,0,0,.35); transform: translateY(14px) scale(.985); transition: transform .25s var(--ease); }
.modal.is-open .modal__dialog { transform: translateY(0) scale(1); }
.modal__close { position: absolute; z-index: 3; top: 16px; right: 16px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
.modal__dialog--form { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; }
.modal__intro { padding: 52px 40px; color: var(--white); background: linear-gradient(150deg, #121316 0%, #1f2024 100%); }
.modal__intro .eyebrow { color: #ff6671; }
.modal__intro h2 { margin: 12px 0 16px; font-size: 2.35rem; line-height: 1.08; letter-spacing: -.04em; }
.modal__intro > p { color: rgba(255,255,255,.68); }
.modal__trust { display: grid; gap: 12px; margin-top: 36px; }
.modal__trust span { display: flex; gap: 9px; color: rgba(255,255,255,.8); font-size: .85rem; }
.modal__trust .icon { width: 18px; height: 18px; color: #ff6671; }
.modal__dialog--form .lead-form { padding: 52px 42px 40px; }
.modal__dialog--calculator { width: min(100%, 1120px); padding: 46px; }
.calculator__header { max-width: 760px; margin-bottom: 30px; }
.calculator__header p { margin: 0; color: var(--text); }
.calculator-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; }
.calculator-form { display: grid; align-content: start; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.calculator-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calculator-details summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; font-weight: 750; list-style: none; }
.calculator-details summary::-webkit-details-marker { display: none; }
.calculator-details summary .icon { width: 18px; height: 18px; }
.calculator-details[open] summary .icon { transform: rotate(180deg); }
.calculator-details .form-row { padding-bottom: 16px; }
.calculator-result { min-height: 470px; padding: 30px; border-radius: 18px; color: var(--white); background: linear-gradient(145deg, #151619, #24262b); }
.calculator-result__placeholder { height: 100%; display: grid; place-items: center; align-content: center; gap: 16px; color: rgba(255,255,255,.62); text-align: center; }
.calculator-result__placeholder .icon { width: 48px; height: 48px; color: rgba(255,255,255,.8); }
.calculator-result__eyebrow { color: rgba(255,255,255,.55); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.calculator-result__total { display: block; margin: 8px 0 25px; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; letter-spacing: -.04em; }
.calculator-result ul { margin: 0 0 22px; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.12); }
.calculator-result li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .86rem; }
.calculator-result li span { color: rgba(255,255,255,.56); }
.calculator-result li strong { text-align: right; }
.calculator-result__note { margin: 0 0 22px; color: rgba(255,255,255,.48); font-size: .78rem; }

/* Vehicle detail */
.vehicle-breadcrumb { display: flex; align-items: center; gap: 10px; min-height: 58px; color: var(--muted); font-size: .82rem; }
.vehicle-breadcrumb a:hover { color: var(--red); }
.vehicle-breadcrumb strong { color: var(--ink); }
.vehicle-hero-section { padding: 30px 0 74px; background: linear-gradient(180deg, #fff, #f7f8f9); }
.vehicle-hero-grid { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(370px, .86fr); gap: 54px; align-items: center; }
.vehicle-gallery__main { display: grid; min-height: 480px; place-items: center; overflow: hidden; border-radius: 26px; background: var(--white); box-shadow: 0 20px 60px rgba(17,17,17,.07); }
.vehicle-gallery__main img { width: 88%; max-height: 440px; object-fit: contain; }
.vehicle-gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.vehicle-gallery__thumb { height: 92px; padding: 7px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.vehicle-gallery__thumb.is-active { border-color: var(--red); box-shadow: 0 0 0 2px rgba(230,0,18,.12); }
.vehicle-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.vehicle-summary h1 { margin: 10px 0 6px; font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.055em; }
.vehicle-summary__price { margin: 0 0 16px; color: var(--red); font-size: 1.3rem; font-weight: 850; }
.vehicle-summary__description { margin: 0 0 23px; color: var(--text); font-size: 1.05rem; }
.vehicle-summary__colors > span { display: block; margin-bottom: 8px; font-size: .84rem; font-weight: 750; }
.vehicle-summary__colors > div { display: flex; gap: 9px; }
.vehicle-summary__colors small { display: block; margin-top: 8px; color: var(--muted); }
.color-swatch { width: 30px; height: 30px; border: 3px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.color-swatch--1 { background: #dbe0e4; }
.color-swatch--2 { background: #1a1c21; }
.color-swatch--3 { background: #6d747c; }
.color-swatch--4 { background: #395c7e; }
.vehicle-summary__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 24px 0; }
.vehicle-summary__spec { padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.vehicle-summary__spec span { display: block; color: var(--muted); font-size: .72rem; }
.vehicle-summary__spec strong { display: block; margin-top: 3px; font-size: .86rem; }
.vehicle-summary__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vehicle-summary__hotline { display: inline-flex; align-items: center; gap: 12px; margin-top: 19px; }
.vehicle-summary__hotline .icon { color: var(--red); }
.vehicle-summary__hotline small { display: block; color: var(--muted); }
.vehicle-summary__hotline strong { display: block; font-size: 1.05rem; }
.vehicle-tabs { position: sticky; top: var(--header-height); z-index: 70; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(14px); }
.vehicle-tabs__inner { display: flex; overflow-x: auto; scrollbar-width: none; }
.vehicle-tabs__inner::-webkit-scrollbar { display: none; }
.vehicle-tab { position: relative; flex: none; min-height: 60px; padding: 0 18px; border: 0; color: var(--text); background: transparent; font-weight: 700; }
.vehicle-tab::after { content: ""; position: absolute; right: 18px; bottom: -1px; left: 18px; height: 2px; transform: scaleX(0); background: var(--red); transition: transform .2s ease; }
.vehicle-tab.is-active { color: var(--ink); }
.vehicle-tab.is-active::after { transform: scaleX(1); }
.vehicle-content { padding-top: 90px; padding-bottom: 110px; }
.vehicle-story { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; margin-bottom: 110px; }
.vehicle-story--reverse { grid-template-columns: .85fr 1.15fr; }
.vehicle-story--reverse .vehicle-story__image { order: 2; }
.vehicle-story__image { overflow: hidden; aspect-ratio: 1.35; border-radius: 24px; background: var(--bg); }
.vehicle-story__image img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-story__content p { margin: 0 0 22px; color: var(--text); font-size: 1.05rem; }
.vehicle-specifications { margin-bottom: 100px; padding: 64px; border-radius: 28px; background: var(--bg); text-align: center; }
.vehicle-specifications__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin: 36px 0 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--line); text-align: left; }
.vehicle-specifications__grid div { padding: 22px; background: var(--white); }
.vehicle-specifications__grid span { display: block; color: var(--muted); font-size: .8rem; }
.vehicle-specifications__grid strong { display: block; margin-top: 5px; }
.vehicle-offer { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 105px; padding: 54px; border-radius: 26px; color: var(--white); background: linear-gradient(120deg, #151619, #24262b); }
.vehicle-offer .eyebrow { color: #ff6671; }
.vehicle-offer h2 { max-width: 720px; }
.vehicle-offer p { max-width: 690px; margin: 0; color: rgba(255,255,255,.65); }
.vehicle-offer__actions { display: flex; flex: none; gap: 10px; }
.related-vehicles .section-heading { margin-bottom: 32px; }
.vehicle-grid--related { grid-template-columns: repeat(3, 1fr); }

/* Reveal */
[data-reveal] { opacity: 1; transform: none; }
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s var(--ease); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1180px) {
  .header__inner { grid-template-columns: 190px 1fr auto; gap: 12px; }
  .brand img { width: 165px; }
  .nav-link { padding-inline: 9px; font-size: .84rem; }
  .button--header { padding-inline: 15px; }
  .technology-grid { grid-template-columns: repeat(2, 1fr); }
  .technology-card { min-height: 340px; }
  .footer__grid { grid-template-columns: 1.2fr .8fr .8fr; }
  .footer__contact { grid-column: 2 / 4; }
}

@media (max-width: 1024px) {
  :root { --header-height: 72px; }
  .topbar__group--left .topbar__item:first-child { display: none; }
  .main-nav { display: none; }
  .header__inner { grid-template-columns: 1fr auto; }
  .header__actions { justify-self: end; }
  .menu-toggle { display: grid; }
  .mobile-menu { display: block; }
  .hero,
  .hero__content { min-height: 620px; }
  .hero__copy h1 { font-size: clamp(2.9rem, 7vw, 3.7rem); }
  .quick-services__grid { grid-template-columns: repeat(2, 1fr); }
  .quick-service:nth-child(2) { border-right: 0; }
  .quick-service:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .vehicle-section__head { align-items: flex-start; flex-direction: column; }
  .vehicle-filters { justify-content: flex-start; }
  .vehicle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-visual { min-height: 520px; }
  .about-grid { gap: 48px; }
  .about-visual__badge { right: 18px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .showroom-grid { grid-template-columns: 1fr; }
  .showroom-visual { min-height: 500px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-list { grid-template-columns: repeat(3, 1fr); }
  .news-card { grid-template-columns: 1fr; }
  .news-card__image { aspect-ratio: 1.5; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-frame-wrap { min-height: 480px; }
  .faq-layout { grid-template-columns: 1fr; gap: 20px; }
  .faq-layout .section-heading { position: static; }
  .vehicle-hero-grid { grid-template-columns: 1fr; }
  .vehicle-summary { max-width: 760px; }
  .vehicle-story,
  .vehicle-story--reverse { grid-template-columns: 1fr; gap: 34px; }
  .vehicle-story--reverse .vehicle-story__image { order: 0; }
  .vehicle-offer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 90px; }
  body { padding-bottom: 68px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 32px; }
  .topbar { display: none; }
  .header__inner { height: 68px; }
  .brand img { width: 150px; }
  .button--header { display: none; }
  .hero,
  .hero__content { min-height: 610px; }
  .hero-slide__overlay { background: linear-gradient(0deg, rgba(8,9,11,.88), rgba(8,9,11,.28) 70%), linear-gradient(90deg, rgba(8,9,11,.45), rgba(8,9,11,.1)); }
  .hero-slide__image { object-position: 62% center; }
  .hero__copy { align-self: end; padding: 170px 0 90px; }
  .hero__copy h1 { font-size: clamp(2.55rem, 11vw, 3.3rem); }
  .hero__copy p { font-size: 1rem; }
  .hero__actions { display: grid; grid-template-columns: 1fr; }
  .hero__meta { display: none; }
  .hero__controls { bottom: 20px; }
  .hero__arrows { display: none; }
  .quick-services { margin-top: 0; padding-top: 14px; background: var(--white); }
  .quick-services__grid { border-radius: 18px; box-shadow: var(--shadow-sm); }
  .quick-service { min-height: 112px; padding: 18px 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .quick-service__icon { width: 44px; height: 44px; border-radius: 13px; }
  .quick-service span { display: none; }
  .vehicle-section { padding-top: 84px; }
  .vehicle-filters { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .vehicle-filters::-webkit-scrollbar { display: none; }
  .vehicle-filter { flex: none; }
  .vehicle-grid { grid-template-columns: 1fr; }
  .vehicle-card__visual { min-height: 250px; }
  .vehicle-card__image { height: 175px; }
  .offer-visual { min-height: 470px; }
  .offer-visual__content { right: 24px; bottom: 28px; left: 24px; }
  .offer-form-wrap { padding: 34px 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual__badge { right: 12px; bottom: 16px; width: 160px; }
  .commitments { grid-template-columns: 1fr; }
  .technology-grid { grid-template-columns: 1fr; }
  .technology-card { min-height: auto; }
  .technology-card__icon { margin-bottom: 46px; }
  .service-grid { grid-template-columns: 1fr; }
  .showroom-visual { min-height: 390px; }
  .showroom-content { padding: 34px 24px; }
  .showroom-features { grid-template-columns: 1fr 1fr; }
  .news-list { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 120px 1fr; }
  .news-card__image { aspect-ratio: auto; }
  .contact-info { padding: 32px 24px; }
  .map-frame-wrap { min-height: 380px; }
  .charging-banner { grid-template-columns: 1fr; padding: 34px 26px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 58px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contact { grid-column: 1 / -1; }
  .footer__showrooms { grid-template-columns: 1fr; }
  .footer__showrooms div { display: grid; gap: 4px; }
  .footer__bottom-inner { min-height: 92px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; }
  .floating-contact { display: none; }
  .mobile-cta { position: fixed; z-index: 200; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); min-height: 64px; color: var(--white); background: #111; box-shadow: 0 -8px 25px rgba(17,17,17,.15); }
  .mobile-cta > * { display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-right: 1px solid rgba(255,255,255,.12); color: var(--white); background: transparent; font-size: .78rem; font-weight: 750; }
  .mobile-cta > *:nth-child(2) { background: #0878f9; }
  .mobile-cta > *:nth-child(3) { background: var(--red); }
  .mobile-cta .icon { width: 19px; height: 19px; }
  .modal { padding: 0; align-items: end; }
  .modal__dialog { width: 100%; max-height: 92vh; border-radius: 24px 24px 0 0; }
  .modal__dialog--form { grid-template-columns: 1fr; }
  .modal__intro { display: none; }
  .modal__dialog--form .lead-form { padding: 58px 22px 28px; }
  .modal__dialog--calculator { padding: 58px 20px 24px; }
  .calculator-grid { grid-template-columns: 1fr; }
  .calculator-result { min-height: 380px; }
  .form-row { grid-template-columns: 1fr; }
  .vehicle-breadcrumb { min-height: 48px; overflow-x: auto; white-space: nowrap; }
  .vehicle-hero-section { padding-top: 12px; }
  .vehicle-hero-grid { gap: 32px; }
  .vehicle-gallery__main { min-height: 330px; border-radius: 20px; }
  .vehicle-gallery__main img { max-height: 290px; }
  .vehicle-summary h1 { font-size: clamp(2.7rem, 12vw, 3.4rem); }
  .vehicle-summary__specs { grid-template-columns: 1fr; }
  .vehicle-summary__actions { grid-template-columns: 1fr; }
  .vehicle-tabs { top: 68px; }
  .vehicle-tab { min-height: 52px; padding-inline: 14px; }
  .vehicle-content { padding-top: 68px; padding-bottom: 78px; }
  .vehicle-story { margin-bottom: 75px; }
  .vehicle-story__image { border-radius: 18px; }
  .vehicle-specifications { margin-bottom: 72px; padding: 36px 20px; border-radius: 20px; }
  .vehicle-specifications__grid { grid-template-columns: 1fr 1fr; }
  .vehicle-offer { margin-bottom: 75px; padding: 34px 24px; }
  .vehicle-offer__actions { width: 100%; display: grid; grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__copy h1 { font-size: 2.65rem; }
  .hero__copy { padding-bottom: 82px; }
  .quick-service strong { font-size: .88rem; }
  .vehicle-card__actions { grid-template-columns: 1fr; }
  .showroom-features { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 100px 1fr; gap: 12px; }
  .news-card p { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand,
  .footer__contact { grid-column: auto; }
  .footer__bottom-inner div { flex-wrap: wrap; }
  .mobile-cta > * { flex-direction: column; gap: 2px; font-size: .68rem; }
  .vehicle-gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
  .vehicle-specifications__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Accessibility and static-page helpers */
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 15px;
  transform: translateY(-160%);
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  font-weight: 750;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.quick-service__icon { color: var(--red) !important; }
.quick-service__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* News detail */
.article-breadcrumb {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  color: var(--muted);
  font-size: .82rem;
  white-space: nowrap;
}
.article-breadcrumb strong { overflow: hidden; color: var(--ink); text-overflow: ellipsis; }
.article-hero { padding: 86px 0 150px; color: var(--white); background: radial-gradient(circle at 80% 20%, rgba(230,0,18,.3), transparent 32%), #111214; }
.article-hero__inner { max-width: 990px; text-align: center; }
.article-hero .eyebrow { color: #ff6671; }
.article-hero h1 { margin: 18px auto 22px; font-size: clamp(2.7rem, 6vw, 4.8rem); line-height: 1.04; letter-spacing: -.055em; }
.article-meta { display: flex; justify-content: center; gap: 18px; color: rgba(255,255,255,.62); font-size: .86rem; }
.article-cover { position: relative; margin-top: -96px; }
.article-cover img { width: 100%; max-height: 720px; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-md); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 70px; padding-top: 76px; padding-bottom: 110px; }
.article-body { max-width: 800px; font-size: 1.08rem; }
.article-body p { margin: 0 0 25px; color: #3f4247; }
.article-body h2 { margin: 50px 0 18px; font-size: 2rem; letter-spacing: -.035em; }
.article-lead { color: var(--ink) !important; font-size: 1.35rem; font-weight: 650; line-height: 1.55; }
.article-note { margin-top: 42px; padding: 24px; border-left: 4px solid var(--red); border-radius: 0 16px 16px 0; background: var(--bg); }
.article-note strong { display: block; margin-bottom: 8px; }
.article-note p { margin: 0; font-size: .93rem; }
.article-sidebar { position: relative; }
.article-contact-card { position: sticky; top: 120px; display: grid; gap: 15px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: var(--shadow-sm); }
.article-contact-card h2 { margin: 0; font-size: 1.7rem; line-height: 1.15; letter-spacing: -.035em; }
.article-contact-card p { margin: 0 0 5px; color: var(--text); }
.article-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-related__card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.article-related__image { display: block; aspect-ratio: 1.5; overflow: hidden; }
.article-related__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.article-related__card:hover img { transform: scale(1.03); }
.article-related__card > div { padding: 22px; }
.article-related__card time { color: var(--muted); font-size: .78rem; }
.article-related__card h3 { margin: 7px 0 10px; font-size: 1.15rem; line-height: 1.3; }
.article-related__card p { margin: 0; color: var(--text); font-size: .86rem; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 42px; }
  .article-sidebar { order: -1; }
  .article-contact-card { position: static; }
  .article-related__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .article-hero { padding: 64px 0 112px; }
  .article-hero h1 { font-size: 2.65rem; }
  .article-cover { margin-top: -68px; }
  .article-cover img { min-height: 310px; border-radius: 20px; }
  .article-layout { padding-top: 52px; padding-bottom: 78px; }
  .article-lead { font-size: 1.15rem; }
  .article-related__grid { grid-template-columns: 1fr; }
}
.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* =========================================================
   2026 responsive UI refinement: header, news and contact CTA
   ========================================================= */

/* Pill navigation inspired by the supplied desktop reference. */
.header__inner {
  grid-template-columns: 210px minmax(0, 1fr) auto;
  gap: 22px;
}
.main-nav {
  align-items: center;
  justify-self: center;
  height: auto;
  min-width: 0;
  padding: 5px;
  border: 1px solid #dde2e8;
  border-radius: 999px;
  background: rgba(248, 250, 252, .94);
  box-shadow: 0 8px 24px rgba(17, 17, 17, .045);
}
.nav-link {
  height: 44px;
  padding: 0 15px;
  border-radius: 999px;
  color: #4d596b;
  font-size: .86rem;
  font-weight: 720;
  transition: color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s var(--ease);
}
.nav-link::after { display: none; }
.nav-link:hover {
  color: var(--ink);
  background: var(--white);
  transform: translateY(-1px);
}
.nav-link.is-active {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 8px 18px rgba(230, 0, 18, .22);
}
.nav-link.is-active:hover { color: var(--white); background: var(--red-hover); }
.nav-link--button.is-active .icon { color: currentColor; }
.button--header {
  min-height: 48px;
  padding-inline: 19px;
  white-space: nowrap;
}
.button--header .icon { width: 18px; height: 18px; }
.mega-menu { top: calc(100% + 10px); border-radius: 24px; }
.footer__showrooms--single { grid-template-columns: 1fr; }

/* News: editorial layout with a large visual story and compact supporting cards. */
.news-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, .82fr);
  gap: 20px;
  align-items: stretch;
}
.news-featured {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  color: var(--white);
  background: #111316;
  box-shadow: 0 24px 64px rgba(17, 17, 17, .16);
}
.news-featured__image { position: absolute; inset: 0; aspect-ratio: auto; }
.news-featured__image img { width: 100%; height: 100%; object-fit: cover; }
.news-featured__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 9, 11, .04) 22%, rgba(8, 9, 11, .9) 100%),
    linear-gradient(90deg, rgba(8, 9, 11, .46), transparent 62%);
}
.news-featured__body {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 760px;
  padding: 38px;
}
.news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; }
.news-meta time { color: var(--muted); font-size: .76rem; font-weight: 650; }
.news-featured .news-meta time { color: rgba(255, 255, 255, .72); }
.news-category {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--red);
  background: rgba(230, 0, 18, .08);
  font-size: .69rem;
  font-weight: 820;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.news-featured .news-category { color: var(--white); background: rgba(230, 0, 18, .92); }
.news-featured h3 {
  max-width: 690px;
  margin: 13px 0 12px;
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.news-featured p {
  display: -webkit-box;
  max-width: 660px;
  margin: 0 0 22px;
  overflow: hidden;
  color: rgba(255, 255, 255, .76);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  font-size: .82rem;
  font-weight: 760;
  transition: background .22s ease, transform .22s var(--ease);
}
.news-read-more:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.news-read-more .icon { width: 17px; height: 17px; }
.news-list {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.news-card {
  position: relative;
  grid-template-columns: 164px minmax(0, 1fr);
  gap: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e7e9ec;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 32px rgba(17, 17, 17, .045);
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(17, 17, 17, .09); }
.news-card__image { min-height: 100%; border-radius: 0; }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.news-card:hover .news-card__image img { transform: scale(1.045); }
.news-card__body { position: relative; min-width: 0; padding: 20px 48px 18px 20px; }
.news-card h3 {
  display: -webkit-box;
  margin: 9px 0 8px;
  overflow: hidden;
  font-size: 1.05rem;
  line-height: 1.28;
  letter-spacing: -.018em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: .78rem;
  line-height: 1.48;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-card__arrow {
  position: absolute;
  right: 15px;
  bottom: 15px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--bg);
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.news-card__arrow .icon { width: 15px; height: 15px; }
.news-card:hover .news-card__arrow { color: var(--white); background: var(--red); transform: translateX(2px); }

/* Supplied phone, Zalo and Messenger icon treatment. */
.floating-contact {
  position: fixed;
  z-index: 220;
  right: 20px;
  bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
}
.contact-fab {
  position: relative;
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  flex: none;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.contact-fab::before,
.contact-fab::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.contact-fab::before {
  inset: 4px;
  border: 2px solid currentColor;
  opacity: 0;
  animation: contactRipple 2.5s ease-out infinite;
}
.contact-fab::after { inset: -6px; background: currentColor; opacity: .07; }
.contact-fab__core {
  position: relative;
  z-index: 2;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  flex: none;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(18, 29, 49, .2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-fab__core img { display: block; width: 100%; height: 100%; object-fit: contain; }
.contact-fab:hover .contact-fab__core,
.contact-fab:focus-visible .contact-fab__core { transform: scale(1.07); box-shadow: 0 14px 32px rgba(18, 29, 49, .26); }
.contact-fab--phone {
  width: 124px;
  padding: 0 16px 0 4px;
  gap: 9px;
  color: #20b967;
  background: #18a75e;
  box-shadow: 0 12px 28px rgba(20, 156, 86, .24);
}
.contact-fab--phone::after { inset: -5px; }
.contact-fab--phone .contact-fab__core { width: 46px; height: 46px; background: linear-gradient(145deg, #2fce78, #13a958); }
.contact-fab--phone .contact-fab__core img { width: 25px; height: 25px; animation: contactShake 5.2s ease-in-out infinite; }
.contact-fab__desktop-label { position: relative; z-index: 2; color: var(--white); font-size: .78rem; font-weight: 780; white-space: nowrap; }
.contact-fab--zalo { color: #0878ff; }
.contact-fab--zalo .contact-fab__core { border: 2px solid #0878ff; background: var(--white); }
.contact-fab--zalo .contact-fab__core img { width: 36px; height: 36px; animation: contactShake 5.2s ease-in-out .65s infinite; }
.contact-fab--messenger { color: #7055ff; }
.contact-fab--messenger .contact-fab__core { border: 2px solid #6c63ff; background: var(--white); }
.contact-fab--messenger .contact-fab__core img { width: 34px; height: 34px; animation: contactShake 5.2s ease-in-out 1.3s infinite; }
.contact-fab__tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  min-width: max-content;
  padding: 7px 10px;
  opacity: 0;
  visibility: hidden;
  transform: translate(7px, -50%);
  border-radius: 8px;
  color: var(--white);
  background: #111827;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  font-size: .7rem;
  font-weight: 760;
  transition: .2s ease;
  pointer-events: none;
}
.contact-fab__tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -4px;
  width: 8px;
  height: 8px;
  transform: translateY(-50%) rotate(45deg);
  background: #111827;
}
.contact-fab:not(.contact-fab--phone):hover .contact-fab__tooltip,
.contact-fab:not(.contact-fab--phone):focus-visible .contact-fab__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}
.contact-fab--top {
  display: none;
  width: 54px;
  height: 54px;
  color: var(--white);
  background: #11151d;
  box-shadow: 0 12px 28px rgba(17, 21, 29, .25);
}
.contact-fab--top::before,
.contact-fab--top::after { display: none; }
.contact-fab--top.is-visible { display: grid; }
.contact-fab--top .icon { width: 20px; height: 20px; }
.mobile-register-cta { display: none; }
body.modal-open .floating-contact,
body.modal-open .mobile-register-cta,
body.menu-open .floating-contact,
body.menu-open .mobile-register-cta { opacity: 0; visibility: hidden; pointer-events: none; }

@keyframes contactRipple {
  0% { transform: scale(.78); opacity: .5; }
  75%, 100% { transform: scale(1.42); opacity: 0; }
}
@keyframes contactShake {
  0%, 74%, 100% { transform: rotate(0deg) scale(1); }
  78% { transform: rotate(-10deg) scale(1.07); }
  81% { transform: rotate(10deg) scale(1.07); }
  84% { transform: rotate(-7deg) scale(1.05); }
  87% { transform: rotate(7deg) scale(1.05); }
  90% { transform: rotate(0deg) scale(1); }
}

@media (max-width: 1180px) {
  .header__inner { grid-template-columns: 172px minmax(0, 1fr) auto; gap: 12px; }
  .main-nav { padding: 4px; }
  .nav-link { height: 42px; padding-inline: 10px; font-size: .79rem; }
  .button--header { padding-inline: 15px; font-size: .8rem; }
}

@media (max-width: 1024px) {
  .header__inner { grid-template-columns: 1fr auto; }
  .news-grid { grid-template-columns: 1fr; }
  .news-featured { min-height: 500px; }
  .news-list { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; }
  .news-card { grid-template-columns: 1fr; }
  .news-card__image { min-height: auto; aspect-ratio: 1.5; }
  .news-card__body { padding: 18px 42px 18px 18px; }
  .news-card p { -webkit-line-clamp: 3; }
}

@media (max-width: 768px) {
  body { padding-bottom: 92px; }
  .mobile-menu { padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
  .news-featured { min-height: 450px; border-radius: 22px; }
  .news-featured__body { padding: 28px; }
  .news-featured h3 { font-size: clamp(1.85rem, 8vw, 2.45rem); }
  .news-list { grid-template-columns: 1fr; gap: 13px; }
  .news-card { grid-template-columns: 126px minmax(0, 1fr); min-height: 142px; border-radius: 17px; }
  .news-card__image { min-height: 100%; aspect-ratio: auto; }
  .news-card__body { padding: 16px 40px 14px 16px; }
  .news-card h3 { margin-top: 7px; font-size: .96rem; }
  .news-card p { font-size: .74rem; -webkit-line-clamp: 2; }
  .news-category { min-height: 24px; padding-inline: 8px; font-size: .61rem; }
  .news-meta time { font-size: .68rem; }
  .news-card__arrow { right: 11px; bottom: 11px; width: 28px; height: 28px; }

  .floating-contact {
    right: 12px;
    bottom: max(16px, env(safe-area-inset-bottom));
    gap: 10px;
  }
  .contact-fab,
  .contact-fab--phone {
    width: 54px;
    height: 54px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
  .contact-fab__core,
  .contact-fab--phone .contact-fab__core { width: 48px; height: 48px; }
  .contact-fab--phone .contact-fab__core { border: 2px solid #0c9348; }
  .contact-fab__desktop-label,
  .contact-fab__tooltip { display: none; }
  .contact-fab--top { width: 52px; height: 52px; background: #111827; box-shadow: 0 10px 25px rgba(17, 24, 39, .24); }
  .mobile-register-cta {
    position: fixed;
    z-index: 221;
    left: 14px;
    bottom: max(16px, env(safe-area-inset-bottom));
    display: grid;
    width: min(300px, calc(100vw - 88px));
    min-height: 60px;
    grid-template-columns: 42px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 9px;
    padding: 5px 6px 5px 8px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, #ff563e, #e60012);
    box-shadow: 0 14px 34px rgba(230, 0, 18, .3);
    text-align: left;
  }
  .mobile-register-cta__icon,
  .mobile-register-cta__arrow {
    display: grid;
    place-items: center;
    border-radius: 50%;
  }
  .mobile-register-cta__icon { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.42); background: rgba(255,255,255,.12); }
  .mobile-register-cta__icon .icon { width: 21px; height: 21px; }
  .mobile-register-cta__copy { display: grid; min-width: 0; line-height: 1.15; }
  .mobile-register-cta__copy strong { overflow: hidden; font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-register-cta__copy small { margin-top: 4px; color: rgba(255,255,255,.84); font-size: .68rem; }
  .mobile-register-cta__arrow { width: 40px; height: 40px; color: var(--red); background: var(--white); }
  .mobile-register-cta__arrow .icon { width: 18px; height: 18px; }
}

@media (max-width: 480px) {
  .news-featured { min-height: 420px; }
  .news-featured__body { padding: 22px; }
  .news-featured h3 { font-size: 1.72rem; }
  .news-featured p { font-size: .82rem; -webkit-line-clamp: 2; }
  .news-card { grid-template-columns: 106px minmax(0, 1fr); min-height: 126px; }
  .news-card__body { padding: 13px 38px 12px 13px; }
  .news-card h3 { font-size: .9rem; }
  .news-card p { display: none; }
  .mobile-register-cta { width: min(284px, calc(100vw - 82px)); grid-template-columns: 40px minmax(0, 1fr) 38px; gap: 7px; }
  .mobile-register-cta__icon { width: 40px; height: 40px; }
  .mobile-register-cta__arrow { width: 38px; height: 38px; }
}

@media (max-width: 350px) {
  .mobile-register-cta { width: calc(100vw - 78px); }
  .mobile-register-cta__copy small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-fab::before,
  .contact-fab__core img { animation: none !important; }
}

/* Final responsive safeguards */
.news-card .news-category { color: var(--red); }

@media (max-width: 1024px) {
  .hero { overflow: clip; contain: paint; }
  .hero-slide { transform: none; }
  .hero-slide.is-active { transform: none; }
  .mobile-menu {
    right: 0;
    width: 0;
    padding-right: 0;
    padding-left: 0;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    transform: none;
    pointer-events: none;
  }
  .mobile-menu.is-open {
    width: min(88vw, 420px);
    padding-right: 20px;
    padding-left: 20px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  .quick-service > .quick-service__icon { display: grid; }
  .quick-service > span:last-child { display: block; }
  .quick-service > span:last-child small { display: block; }
}

@media (max-width: 480px) {
  .quick-service > span:last-child small { display: none; }
}
@media (max-width: 1024px) {
  .mobile-menu { transition: width .3s var(--ease), opacity .2s ease, visibility .2s ease; }
}


/* =========================================================
   HOTFIX 2026-07-30: sticky menu, compact mobile sections,
   corrected dealership cards and hover-expand contact buttons
   ========================================================= */

/* Keep the complete header block fixed in the document flow while scrolling. */
[data-site-header] {
  position: sticky;
  top: 0;
  z-index: 300;
}
.site-header {
  position: relative;
  top: auto;
}

/* Mobile navigation overlay prevents the underlying logo/content from showing. */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 490;
  display: block;
  opacity: 0;
  visibility: hidden;
  background: rgba(7, 9, 12, .55);
  backdrop-filter: blur(3px);
  transition: opacity .25s ease, visibility .25s ease;
  pointer-events: none;
}
body.menu-open .mobile-menu-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu {
  z-index: 500;
  width: min(92vw, 430px);
  padding: 18px 22px calc(34px + env(safe-area-inset-bottom));
  opacity: 1;
  visibility: visible;
  overflow-x: hidden;
  transform: translateX(105%);
  border-radius: 24px 0 0 24px;
  box-shadow: -24px 0 70px rgba(8, 10, 14, .24);
  pointer-events: none;
  transition: transform .3s var(--ease);
}
.mobile-menu.is-open {
  width: min(92vw, 430px);
  padding-right: 22px;
  padding-left: 22px;
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu__head {
  min-height: 64px;
  margin-bottom: 10px;
  padding-bottom: 14px;
}
.mobile-menu__brand {
  display: inline-flex;
  width: 158px;
  align-items: center;
  border: 0 !important;
}
.mobile-menu__brand img { width: 100%; height: auto; }
.mobile-menu > a,
.mobile-menu > details > summary {
  min-height: 54px;
  padding: 0 4px;
  color: #20242a;
  font-size: .98rem;
}
.mobile-menu > a:hover,
.mobile-menu > details > summary:hover { color: var(--red); }
.mobile-menu__vehicles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 10px 0 16px;
}
.mobile-menu__vehicles a {
  min-width: 0;
  padding: 10px 11px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #4c535c;
  background: #f8f9fa;
  font-size: .82rem;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mobile-menu .button { margin-top: 18px; }

/* Correct the check icon selector and compact the dealership section. */
.about-visual__badge {
  right: auto;
  bottom: 18px;
  left: 18px;
  width: min(210px, calc(100% - 36px));
  padding: 18px 20px;
  border-radius: 16px;
}
.commitment {
  align-items: center;
  min-width: 0;
  padding: 15px 16px;
}
.commitment__icon {
  display: grid !important;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--red) !important;
  background: rgba(230, 0, 18, .08);
  font-size: .88rem !important;
  font-weight: 900;
  line-height: 1;
}
.commitment > div { min-width: 0; }
.commitment > div > span {
  display: block;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.45;
}

/* All three contact buttons are circular at rest and expand only on hover/focus. */
.floating-contact {
  right: 18px;
  align-items: flex-end;
}
.contact-fab,
.contact-fab--phone,
.contact-fab--zalo,
.contact-fab--messenger {
  width: 56px;
  height: 56px;
  justify-content: flex-start;
  gap: 8px;
  padding: 3px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  transition: width .25s var(--ease), transform .2s var(--ease), background .2s ease, box-shadow .2s ease;
}
.contact-fab__core,
.contact-fab--phone .contact-fab__core {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
}
.contact-fab--phone .contact-fab__core { border: 2px solid #0b9448; }
.contact-fab__label {
  position: relative;
  z-index: 3;
  display: block;
  width: 0;
  overflow: hidden;
  opacity: 0;
  color: var(--white);
  font-size: .76rem;
  font-weight: 780;
  line-height: 1;
  white-space: nowrap;
  transition: width .22s ease, opacity .18s ease;
}
.contact-fab__tooltip,
.contact-fab__desktop-label { display: none !important; }
.contact-fab--phone:hover,
.contact-fab--phone:focus-visible {
  width: 126px;
  background: #18a75e;
  box-shadow: 0 12px 28px rgba(20, 156, 86, .24);
}
.contact-fab--zalo:hover,
.contact-fab--zalo:focus-visible {
  width: 112px;
  background: #0878f9;
  box-shadow: 0 12px 28px rgba(8, 120, 249, .22);
}
.contact-fab--messenger:hover,
.contact-fab--messenger:focus-visible {
  width: 142px;
  background: #6656f5;
  box-shadow: 0 12px 28px rgba(102, 86, 245, .22);
}
.contact-fab:hover .contact-fab__label,
.contact-fab:focus-visible .contact-fab__label {
  width: auto;
  opacity: 1;
  padding-right: 10px;
}
.contact-fab--top,
.contact-fab--top:hover,
.contact-fab--top:focus-visible {
  width: 54px;
  height: 54px;
  padding: 0;
  justify-content: center;
  overflow: visible;
  background: #11151d;
  box-shadow: 0 12px 28px rgba(17, 21, 29, .25);
}

@media (max-width: 1024px) {
  /* Override the older width-zero drawer safeguard. */
  .mobile-menu {
    right: 0;
    width: min(92vw, 430px);
    padding-right: 22px;
    padding-left: 22px;
    opacity: 1;
    visibility: visible;
    transform: translateX(105%);
    pointer-events: none;
    transition: transform .3s var(--ease);
  }
  .mobile-menu.is-open {
    width: min(92vw, 430px);
    transform: translateX(0);
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  /* Product filters become a complete two-row grid instead of a clipped strip. */
  .vehicle-section__head { gap: 22px; }
  .vehicle-filters {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    overflow: visible;
  }
  .vehicle-filter {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0 8px;
    font-size: .78rem;
    white-space: nowrap;
  }

  /* Dealership block: smaller typography and compact two-column commitments. */
  #gioi-thieu.section { padding: 60px 0; }
  .about-grid { gap: 30px; }
  .about-visual__main { aspect-ratio: 1.35; border-radius: 20px; }
  .about-visual__badge {
    right: auto;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-width: calc(100% - 24px);
    padding: 12px 14px;
    border-radius: 13px;
  }
  .about-visual__badge strong { font-size: 1.02rem; }
  .about-visual__badge span { font-size: .7rem; }
  .about-content h2 { margin: 8px 0 14px; font-size: clamp(1.85rem, 8vw, 2.35rem); }
  .about-content > p { margin-bottom: 18px; font-size: .92rem; line-height: 1.65; }
  .commitments { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 20px 0 22px; }
  .commitment { align-items: flex-start; gap: 8px; padding: 12px 10px; border-radius: 13px; }
  .commitment__icon { width: 28px; height: 28px; flex-basis: 28px; font-size: .72rem !important; }
  .commitment strong { font-size: .8rem; line-height: 1.3; }
  .commitment > div > span { margin-top: 3px; font-size: .66rem; }
  .about-contact a { font-size: .9rem; }

  /* Technology cards become compact horizontal rows. */
  #technology.section,
  #services.section { padding: 58px 0; }
  #technology .section-heading,
  #services .section-heading { margin-bottom: 24px; }
  #technology .section-heading h2,
  #services .section-heading h2 { font-size: clamp(1.8rem, 7.6vw, 2.2rem); }
  #technology .section-heading p,
  #services .section-heading p { font-size: .9rem; line-height: 1.55; }
  .technology-grid { gap: 10px; }
  .technology-card {
    display: grid;
    min-height: 0;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 13px;
    padding: 17px;
    border-radius: 16px;
  }
  .technology-card::before { width: 150px; height: 150px; right: -85px; top: -85px; }
  .technology-card__icon {
    grid-column: 1;
    grid-row: 1 / span 4;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 13px;
  }
  .technology-card__icon .icon { width: 22px; height: 22px; }
  .technology-card__eyebrow { grid-column: 2; font-size: .64rem; }
  .technology-card h3 { grid-column: 2; margin: 2px 0 5px; font-size: 1.02rem; line-height: 1.25; }
  .technology-card p { grid-column: 2; margin: 0 0 7px; font-size: .78rem; line-height: 1.5; }
  .technology-card > strong { grid-column: 2; font-size: .7rem; }

  /* Service commitments use the same compact list pattern. */
  .service-grid { gap: 10px; }
  .service-card {
    display: grid;
    min-height: 0;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 12px;
    padding: 16px;
    border-radius: 15px;
  }
  .service-card__icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 12px;
  }
  .service-card__icon .icon { width: 21px; height: 21px; }
  .service-card h3 { grid-column: 2; margin: 0 0 4px; font-size: .98rem; line-height: 1.3; }
  .service-card p { grid-column: 2; font-size: .78rem; line-height: 1.5; }

  /* Touch devices keep all contact buttons circular. */
  .floating-contact { right: 11px; gap: 9px; }
  .contact-fab,
  .contact-fab--phone,
  .contact-fab--zalo,
  .contact-fab--messenger,
  .contact-fab:hover,
  .contact-fab:focus-visible {
    width: 52px;
    height: 52px;
    padding: 2px;
    background: transparent;
    box-shadow: none;
  }
  .contact-fab__core,
  .contact-fab--phone .contact-fab__core { width: 48px; height: 48px; flex-basis: 48px; }
  .contact-fab__label { display: none; }
  .contact-fab--top,
  .contact-fab--top:hover,
  .contact-fab--top:focus-visible { width: 50px; height: 50px; background: #111827; box-shadow: 0 10px 25px rgba(17,24,39,.24); }
}

@media (max-width: 600px) {
  .mobile-menu {
    width: 100vw;
    max-width: none;
    border-radius: 0;
  }
  .mobile-menu.is-open { width: 100vw; }
}

@media (max-width: 420px) {
  .mobile-menu { padding-inline: 16px; }
  .mobile-menu.is-open { padding-inline: 16px; }
  .mobile-menu__vehicles { grid-template-columns: 1fr; }
  .commitments { grid-template-columns: 1fr; }
  .vehicle-filter { font-size: .73rem; }
}

/* Mobile drawer containment fix: no off-canvas overflow and full viewport height. */
@media (max-width: 1024px) {
  .site-header {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(92vw, 430px);
    height: 100vh;
    height: 100dvh;
    max-height: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: auto;
  }
  .mobile-menu.is-open {
    display: block;
    width: min(92vw, 430px);
    height: 100vh;
    height: 100dvh;
    transform: none;
  }
  .mobile-menu__head {
    position: sticky;
    top: -18px;
    z-index: 2;
    background: #fff;
  }
}

@media (max-width: 600px) {
  .mobile-menu,
  .mobile-menu.is-open { width: 100vw; }
}


/* =========================================================
   HOTFIX 2026-07-30 (lần 3): adaptive hero/article imagery,
   balanced mobile titles and KMTrend footer credit
   ========================================================= */

/* Prevent long Vietnamese headings from creating awkward one-word lines. */
.hero__copy h1,
.article-hero h1,
.vehicle-summary h1,
.vehicle-story__content h2,
.section-heading h2 {
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
}

/* Footer copyright + KMTrend attribution. */
.footer__copyright {
  display: grid;
  gap: 5px;
  max-width: 780px;
}
.footer__credit {
  color: rgba(255,255,255,.56);
}
.footer__credit a {
  color: rgba(255,255,255,.9);
  font-weight: 760;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.3);
  text-underline-offset: 3px;
}
.footer__credit a:hover { color: #fff; text-decoration-color: #fff; }
.footer__legal { flex: none; }
.footer__legal a { white-space: nowrap; }

@media (max-width: 768px) {
  /* Home hero follows the device width instead of using a fixed 610px block. */
  .hero,
  .hero__content {
    height: clamp(510px, 132vw, 575px);
    min-height: 0;
  }
  .hero-slide__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
  }
  .hero__copy {
    width: 100%;
    max-width: 100%;
    align-self: end;
    padding: 92px 0 70px;
  }
  .hero__copy h1 {
    max-width: 100%;
    margin: 12px 0 16px;
    font-size: clamp(1.95rem, 8.4vw, 2.28rem);
    line-height: 1.08;
    letter-spacing: -.038em;
  }
  .hero__copy p {
    margin-bottom: 22px;
    font-size: .94rem;
    line-height: 1.55;
  }
  .hero__actions { gap: 10px; }
  .hero__actions .button { min-height: 50px; }
  .hero__controls { bottom: 13px; }

  /* News detail cover uses a stable landscape ratio on phones/tablets. */
  .article-hero {
    padding: 48px 0 82px;
  }
  .article-hero__inner { max-width: 680px; }
  .article-hero h1 {
    max-width: 100%;
    margin: 12px auto 16px;
    font-size: clamp(1.85rem, 7.7vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -.035em;
  }
  .article-meta {
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: .76rem;
  }
  .article-cover {
    width: min(calc(100% - 28px), var(--container));
    aspect-ratio: 16 / 9;
    margin-top: -48px;
    overflow: hidden;
    border-radius: 18px;
    background: #eceef0;
    box-shadow: var(--shadow-md);
  }
  .article-cover img {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
  }
  .article-layout {
    padding-top: 38px;
    padding-bottom: 70px;
  }

  /* Vehicle detail gallery also scales with the viewport width. */
  .vehicle-gallery__main {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .vehicle-gallery__main img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }
  .vehicle-summary h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 1.04;
  }

  .footer__bottom-inner {
    min-height: auto;
    padding: 22px 0 calc(24px + env(safe-area-inset-bottom));
  }
  .footer__copyright { gap: 7px; line-height: 1.55; }
  .footer__bottom p { font-size: .76rem; }
  .footer__legal {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 18px !important;
  }
}

@media (max-width: 480px) {
  .hero,
  .hero__content {
    height: clamp(500px, 136vw, 555px);
  }
  .hero__copy { padding: 78px 0 66px; }
  .hero__copy h1 {
    font-size: clamp(1.82rem, 8.2vw, 2.12rem);
    line-height: 1.09;
  }
  .hero__copy p {
    display: -webkit-box;
    overflow: hidden;
    font-size: .88rem;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
  .article-breadcrumb { min-height: 46px; font-size: .74rem; }
  .article-hero { padding: 38px 0 72px; }
  .article-hero h1 {
    font-size: clamp(1.65rem, 7.8vw, 2rem);
    line-height: 1.14;
  }
  .article-cover {
    width: calc(100% - 24px);
    margin-top: -40px;
    border-radius: 15px;
  }
  .article-layout { padding-top: 30px; }
  .article-lead { font-size: 1.02rem; line-height: 1.55; }
  .article-body { font-size: .95rem; }
  .article-body h2 { margin-top: 34px; font-size: 1.55rem; }
  .vehicle-gallery__main { aspect-ratio: 1.28; }
  .footer__legal a { font-size: .74rem; }
}

@media (max-width: 360px) {
  .hero,
  .hero__content { height: 500px; }
  .hero__copy h1 { font-size: 1.78rem; }
  .hero__copy p { -webkit-line-clamp: 2; }
  .article-hero h1 { font-size: 1.58rem; }
}

/* Landscape phones: avoid a hero taller than the visible screen. */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 600px) {
  .hero,
  .hero__content { height: 500px; min-height: 0; }
  .hero__copy { padding: 72px 0 62px; }
  .hero__copy p { max-width: 560px; }
}

/* =========================================================
   HOTFIX 2026-07-30 (lần 4): compact article heading,
   all-device registration CTA, polished mobile lead modal
   ========================================================= */

/* Footer wording requested by KMTrend. */
.footer__copyright-link {
  color: rgba(255,255,255,.94);
  font-weight: 800;
  text-decoration: none;
}
.footer__copyright-link:hover { color: #fff; }
.footer__copyright b { color: rgba(255,255,255,.34); font-weight: 500; }

/* Article detail: smaller, cleaner desktop title block. */
@media (min-width: 769px) {
  .article-hero {
    padding: 64px 0 112px;
  }
  .article-hero__inner {
    max-width: 1220px;
  }
  .article-hero h1 {
    max-width: 1180px;
    margin: 14px auto 16px;
    font-size: clamp(2.35rem, 3.15vw, 3.45rem);
    line-height: 1.08;
    letter-spacing: -.042em;
  }
  .article-meta { font-size: .82rem; }
  .article-cover { margin-top: -72px; }
}

/* Keep the consultation CTA in the same fixed stack on every device. */
.floating-contact {
  bottom: max(18px, env(safe-area-inset-bottom));
}
.floating-contact__bottom-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}
.mobile-register-cta {
  position: static;
  z-index: auto;
  display: grid;
  width: 190px;
  min-height: 50px;
  grid-template-columns: 34px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 7px;
  padding: 4px 5px 4px 7px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, #ff563e, #e60012);
  box-shadow: 0 12px 28px rgba(230, 0, 18, .28);
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mobile-register-cta:hover,
.mobile-register-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(230, 0, 18, .34);
}
.mobile-register-cta__icon,
.mobile-register-cta__arrow {
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.mobile-register-cta__icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.12);
}
.mobile-register-cta__icon .icon { width: 17px; height: 17px; }
.mobile-register-cta__copy {
  display: grid;
  min-width: 0;
  line-height: 1.06;
}
.mobile-register-cta__copy strong {
  overflow: hidden;
  font-size: .78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mobile-register-cta__copy small {
  margin-top: 3px;
  color: rgba(255,255,255,.84);
  font-size: .6rem;
  white-space: nowrap;
}
.mobile-register-cta__arrow {
  width: 32px;
  height: 32px;
  color: var(--red);
  background: var(--white);
}
.mobile-register-cta__arrow .icon { width: 15px; height: 15px; }

/* The old mobile fixed positioning is overridden by the CTA's new stack layout. */
@media (max-width: 768px) {
  .floating-contact {
    right: 10px;
    bottom: max(12px, env(safe-area-inset-bottom));
    gap: 8px;
  }
  .floating-contact__bottom-row { gap: 7px; }
  .mobile-register-cta {
    position: static;
    left: auto;
    bottom: auto;
    width: min(178px, calc(100vw - 78px));
    min-height: 46px;
    grid-template-columns: 31px minmax(0, 1fr) 29px;
    gap: 6px;
    padding: 4px 4px 4px 6px;
  }
  .mobile-register-cta__icon { width: 31px; height: 31px; }
  .mobile-register-cta__arrow { width: 29px; height: 29px; }
  .mobile-register-cta__copy strong { font-size: .72rem; }
  .mobile-register-cta__copy small { font-size: .56rem; }
  .contact-fab--top,
  .contact-fab--top:hover,
  .contact-fab--top:focus-visible {
    width: 46px;
    height: 46px;
  }
}
@media (max-width: 380px) {
  .mobile-register-cta { width: min(164px, calc(100vw - 72px)); }
  .mobile-register-cta__copy small { display: none; }
}

/* Cleaner lead form on desktop and a true responsive card on phones. */
.modal__mobile-head { display: none; }
.modal__dialog--form {
  width: min(100%, 940px);
  grid-template-columns: .82fr 1.18fr;
}
.modal__intro { padding: 46px 36px; }
.modal__intro h2 { font-size: 2.05rem; }
.modal__dialog--form .lead-form { padding: 44px 38px 34px; }

@media (max-width: 768px) {
  .modal {
    padding: 12px;
    place-items: center;
    align-items: center;
  }
  .modal__backdrop { backdrop-filter: blur(5px); }
  .modal__dialog {
    width: min(100%, 520px);
    max-height: calc(100dvh - 24px);
    border-radius: 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .modal__dialog--form {
    display: block;
    grid-template-columns: 1fr;
  }
  .modal__intro { display: none; }
  .modal__dialog--form .lead-form {
    gap: 12px;
    padding: 22px 18px 18px;
  }
  .modal__mobile-head {
    display: block;
    padding: 1px 48px 8px 0;
  }
  .modal__mobile-head .eyebrow {
    color: var(--red);
    font-size: .67rem;
  }
  .modal__mobile-head h2 {
    margin: 8px 0 6px;
    font-size: clamp(1.55rem, 7vw, 1.9rem);
    line-height: 1.08;
    letter-spacing: -.035em;
  }
  .modal__mobile-head p {
    margin: 0;
    color: var(--text);
    font-size: .8rem;
    line-height: 1.5;
  }
  .modal__close {
    position: sticky;
    top: 12px;
    margin: 12px 12px -50px auto;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 7px 20px rgba(17,17,17,.1);
  }
  .modal__dialog--form .form-field { gap: 6px; }
  .modal__dialog--form .form-field label { font-size: .78rem; }
  .modal__dialog--form .form-field input,
  .modal__dialog--form .form-field select {
    height: 48px;
    padding-inline: 13px;
    border-radius: 11px;
    font-size: .92rem;
  }
  .modal__dialog--form .form-consent {
    gap: 9px;
    font-size: .72rem;
    line-height: 1.42;
  }
  .modal__dialog--form .form-consent input {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin-top: 2px;
  }
  .modal__dialog--form .button[type="submit"] {
    min-height: 49px;
    margin-top: 1px;
  }
  .modal__dialog--form .form-status {
    min-height: 0;
    font-size: .76rem;
  }
  .modal__dialog--form .form-status:empty { display: none; }
}

@media (max-width: 390px) {
  .modal { padding: 8px; }
  .modal__dialog { max-height: calc(100dvh - 16px); border-radius: 18px; }
  .modal__dialog--form .lead-form { padding: 18px 14px 14px; }
  .modal__mobile-head { padding-right: 44px; }
  .modal__mobile-head h2 { font-size: 1.48rem; }
  .modal__mobile-head p { font-size: .75rem; }
  .modal__close {
    top: 9px;
    margin: 9px 9px -47px auto;
    width: 36px;
    height: 36px;
  }
  .modal__dialog--form .form-field input,
  .modal__dialog--form .form-field select { height: 46px; }
}

/* =========================================================
   RELEASE 5 — refined consultation modal, charging and legal pages
   ========================================================= */

/* Lead modal: premium split-card design */
#lead-modal .modal__backdrop {
  background:
    radial-gradient(circle at 18% 18%, rgba(230,0,18,.18), transparent 28%),
    rgba(5,7,10,.78);
  backdrop-filter: blur(11px) saturate(.9);
}
#lead-modal .modal__dialog--form {
  width: min(100%, 1040px);
  grid-template-columns: .92fr 1.08fr;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 34px 100px rgba(0,0,0,.38);
}
#lead-modal .modal__close {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-color: #e5e7ea;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 22px rgba(17,17,17,.08);
}
#lead-modal .modal__close:hover { transform: rotate(4deg); border-color: #cfd2d6; }
#lead-modal .modal__intro {
  position: relative;
  display: flex;
  min-height: 620px;
  flex-direction: column;
  padding: 38px 38px 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 16%, rgba(230,0,18,.34), transparent 23%),
    radial-gradient(circle at 8% 84%, rgba(91,101,255,.16), transparent 30%),
    linear-gradient(145deg, #111319 0%, #171a20 56%, #0d0f13 100%);
}
#lead-modal .modal__intro::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent 74%);
  pointer-events: none;
}
#lead-modal .modal__intro > * { position: relative; z-index: 1; }
.lead-modal__brandline { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lead-modal__brandline .eyebrow { color: #ff7b86; font-size: .68rem; }
.lead-modal__status { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.68); font-size: .67rem; font-weight: 700; }
.lead-modal__status i { width: 7px; height: 7px; border-radius: 50%; background: #2fd477; box-shadow: 0 0 0 5px rgba(47,212,119,.12); }
.lead-modal__art { position: relative; height: 132px; margin: 23px 0 10px; }
.lead-modal__orbit { position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.lead-modal__orbit--one { width: 210px; height: 78px; top: 22px; left: 50%; transform: translateX(-50%) rotate(-8deg); }
.lead-modal__orbit--two { width: 150px; height: 150px; top: -10px; right: 12px; border-color: rgba(230,0,18,.35); }
.lead-modal__carline { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.96); font-size: 3.5rem; font-weight: 900; letter-spacing: .08em; text-shadow: 0 10px 36px rgba(230,0,18,.38); }
.lead-modal__kicker { margin: 0 0 8px; color: #ff6b78; font-size: .69rem; font-weight: 850; letter-spacing: .16em; }
#lead-modal .modal__intro h2 { max-width: 420px; margin: 0 0 14px; font-size: clamp(2.1rem, 3vw, 2.72rem); line-height: 1.03; letter-spacing: -.05em; }
.lead-modal__intro-copy { margin: 0; color: rgba(255,255,255,.66); font-size: .9rem; line-height: 1.65; }
#lead-modal .modal__trust { display: grid; gap: 10px; margin: 25px 0 22px; }
#lead-modal .modal__trust > span { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.09); border-radius: 13px; background: rgba(255,255,255,.035); }
#lead-modal .modal__trust b { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: #ff6b78; background: rgba(230,0,18,.12); }
#lead-modal .modal__trust b .icon { width: 17px; height: 17px; }
#lead-modal .modal__trust > span > span { display: grid; gap: 2px; }
#lead-modal .modal__trust strong { color: #fff; font-size: .77rem; }
#lead-modal .modal__trust small { color: rgba(255,255,255,.5); font-size: .66rem; line-height: 1.35; }
.lead-modal__hotline { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.lead-modal__hotline > span { color: rgba(255,255,255,.5); font-size: .72rem; }
.lead-modal__hotline a { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: .82rem; font-weight: 850; }
.lead-modal__hotline .icon { width: 17px; height: 17px; color: #ff6b78; }

#lead-modal .lead-form {
  align-content: center;
  gap: 14px;
  padding: 48px 38px 36px;
  background:
    radial-gradient(circle at 100% 0, rgba(230,0,18,.055), transparent 25%),
    #fff;
}
.lead-modal__form-head { padding-right: 42px; margin-bottom: 3px; }
.lead-modal__step { display: inline-flex; min-height: 27px; align-items: center; padding: 0 10px; border-radius: 999px; color: #a40a17; background: #fff0f2; font-size: .63rem; font-weight: 850; letter-spacing: .09em; }
.lead-modal__form-head h2 { margin: 12px 0 7px; font-size: clamp(1.8rem, 2.7vw, 2.35rem); line-height: 1.05; letter-spacing: -.045em; }
.lead-modal__form-head p { max-width: 540px; margin: 0; color: var(--text); font-size: .82rem; line-height: 1.55; }
.lead-modal__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 12px; }
#lead-modal .form-field { gap: 6px; }
#lead-modal .form-field label { font-size: .72rem; letter-spacing: .01em; }
#lead-modal .form-field label span { color: var(--red); }
.form-control-wrap { position: relative; }
.form-control-wrap > .icon { position: absolute; z-index: 1; top: 50%; left: 13px; width: 18px; height: 18px; color: #92969c; transform: translateY(-50%); pointer-events: none; }
#lead-modal .form-control-wrap input,
#lead-modal .form-control-wrap select {
  width: 100%;
  height: 52px;
  padding: 0 14px 0 42px;
  border: 1px solid #dde0e4;
  border-radius: 13px;
  color: #202328;
  background: #fbfbfc;
  font-size: .86rem;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
#lead-modal .form-control-wrap input:hover,
#lead-modal .form-control-wrap select:hover { background: #fff; border-color: #c9cdd2; }
#lead-modal .form-control-wrap input:focus,
#lead-modal .form-control-wrap select:focus { outline: none; border-color: #81868d; background: #fff; box-shadow: 0 0 0 4px rgba(17,17,17,.045); }
#lead-modal .form-error { min-height: 0; font-size: .63rem; }
#lead-modal .form-error:empty { display: none; }
#lead-modal .form-consent { gap: 9px; color: #555b63; font-size: .72rem; line-height: 1.45; }
#lead-modal .form-consent input { width: 16px; height: 16px; flex: 0 0 16px; }
.lead-modal__privacy-note { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 11px; color: #6a7078; background: #f4f5f7; font-size: .65rem; line-height: 1.45; }
.lead-modal__privacy-note > .icon { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 1px; color: #525862; }
.lead-modal__privacy-note a { color: #22262c; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
#lead-modal .lead-modal__submit { display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; margin-top: 1px; border-radius: 13px; box-shadow: 0 12px 28px rgba(230,0,18,.2); }
#lead-modal .lead-modal__submit .icon { width: 18px; height: 18px; }

/* Charging page */
.charging-page { overflow: hidden; }
.charging-page-hero { position: relative; padding: 88px 0 96px; color: #fff; background: radial-gradient(circle at 74% 34%, rgba(230,0,18,.22), transparent 27%), linear-gradient(130deg, #0c0f14, #181b22 58%, #0e1014); }
.charging-page-hero::after { content: ""; position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to right, #000, transparent 68%); }
.charging-page-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .92fr; gap: 70px; align-items: center; }
.charging-page-hero .eyebrow { color: #ff6671; }
.charging-page-hero h1 { max-width: 720px; margin: 14px 0 18px; font-size: clamp(3rem, 5.4vw, 5.6rem); line-height: .98; letter-spacing: -.065em; }
.charging-page-hero p { max-width: 680px; margin: 0; color: rgba(255,255,255,.66); font-size: 1.02rem; }
.charging-page-hero__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.charging-page-hero__note { display: flex; max-width: 670px; gap: 10px; margin-top: 24px; color: rgba(255,255,255,.46); font-size: .72rem; line-height: 1.5; }
.charging-page-hero__note span { display: grid; width: 21px; height: 21px; flex: 0 0 21px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: rgba(255,255,255,.8); font-weight: 850; }
.charging-page-hero__visual { display: grid; place-items: center; }
.charge-map-card { position: relative; width: min(100%, 520px); aspect-ratio: 1.13; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); box-shadow: 0 40px 90px rgba(0,0,0,.35); transform: perspective(900px) rotateY(-6deg) rotateX(3deg); }
.charge-map-card__top { display: flex; height: 56px; align-items: center; gap: 8px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.7); font-size: .68rem; font-weight: 850; letter-spacing: .1em; }
.charge-map-card__top span { margin-right: auto; }
.charge-map-card__top i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.28); }
.charge-map-card__grid { position: absolute; inset: 56px 0 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 36px 36px; }
.charge-pin { position: absolute; width: 22px; height: 22px; border: 5px solid #fff; border-radius: 50% 50% 50% 0; background: var(--red); box-shadow: 0 10px 26px rgba(230,0,18,.35); transform: rotate(-45deg); }
.charge-pin::after { content: ""; position: absolute; width: 6px; height: 6px; top: 3px; left: 3px; border-radius: 50%; background: #fff; }
.charge-pin--1 { top: 35%; left: 24%; }
.charge-pin--2 { top: 57%; left: 63%; transform: rotate(-45deg) scale(.8); }
.charge-pin--3 { top: 27%; right: 20%; transform: rotate(-45deg) scale(.68); }
.charge-route { position: absolute; width: 57%; height: 32%; top: 41%; left: 25%; border: 2px dashed rgba(255,255,255,.32); border-color: rgba(255,255,255,.32) transparent transparent rgba(255,255,255,.32); border-radius: 60% 0 0; transform: rotate(7deg); }
.charge-map-card__status { position: absolute; right: 20px; bottom: 20px; display: grid; min-width: 210px; gap: 3px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(9,11,15,.74); backdrop-filter: blur(10px); }
.charge-map-card__status b { font-size: .8rem; }
.charge-map-card__status small { color: rgba(255,255,255,.5); font-size: .67rem; }
.charging-overview { padding-top: 0; margin-top: -32px; position: relative; z-index: 2; }
.charging-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 22px 60px rgba(17,17,17,.1); }
.charging-feature-grid article { position: relative; min-height: 190px; padding: 30px; }
.charging-feature-grid article + article { border-left: 1px solid var(--line); }
.charging-feature-grid article > span { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 11px; color: var(--red); background: rgba(230,0,18,.08); font-size: .72rem; font-weight: 900; }
.charging-feature-grid h2 { margin: 23px 0 8px; font-size: 1.18rem; }
.charging-feature-grid p { margin: 0; color: var(--text); font-size: .84rem; }
.charging-map-layout { display: grid; grid-template-columns: .76fr 1.24fr; gap: 42px; align-items: stretch; }
.charging-map-layout .section-heading { align-self: center; }
.charging-checklist { display: grid; gap: 9px; margin: 24px 0 26px; }
.charging-checklist span { position: relative; padding-left: 25px; color: #3f444b; font-size: .82rem; }
.charging-checklist span::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.charging-map-embed { min-height: 580px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #dfe2e5; box-shadow: 0 20px 50px rgba(17,17,17,.08); }
.charging-map-embed iframe { width: 100%; height: 100%; min-height: 580px; border: 0; }
.home-charging-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 24px; }
.home-charging-card { position: relative; min-height: 560px; padding: 48px; overflow: hidden; border-radius: 28px; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(230,0,18,.28), transparent 28%), linear-gradient(145deg, #121419, #1d2026); }
.home-charging-card::after { content: ""; position: absolute; width: 320px; height: 320px; right: -110px; bottom: -110px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.025), 0 0 0 100px rgba(255,255,255,.015); }
.home-charging-card > * { position: relative; z-index: 1; }
.home-charging-card__badge { display: inline-flex; padding: 8px 11px; border-radius: 999px; color: #ff7883; background: rgba(230,0,18,.12); font-size: .66rem; font-weight: 850; letter-spacing: .1em; }
.home-charging-card__power { display: flex; align-items: center; gap: 13px; margin: 48px 0 28px; }
.home-charging-card__power strong { font-size: 7rem; line-height: .72; letter-spacing: -.08em; }
.home-charging-card__power span { color: rgba(255,255,255,.56); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.home-charging-card h2 { max-width: 660px; margin: 0 0 15px; font-size: clamp(2rem, 3.7vw, 3.15rem); line-height: 1.05; letter-spacing: -.05em; }
.home-charging-card p { max-width: 660px; margin: 0 0 26px; color: rgba(255,255,255,.62); }
.home-charging-steps { padding: 48px; border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.home-charging-steps h2 { margin: 12px 0 30px; font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1.08; letter-spacing: -.045em; }
.home-charging-steps ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.home-charging-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 19px 0; border-top: 1px solid var(--line); }
.home-charging-steps li b { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: var(--red); background: rgba(230,0,18,.075); font-size: .7rem; }
.home-charging-steps li span { display: grid; gap: 4px; }
.home-charging-steps li strong { font-size: .94rem; }
.home-charging-steps li small { color: var(--text); line-height: 1.5; }
.charging-app-section { padding-top: 10px; }
.charging-app-card { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; padding: 46px 50px; border: 1px solid #dfe2e6; border-radius: 26px; background: linear-gradient(120deg, #fff, #f5f6f8); }
.charging-app-card h2 { margin: 10px 0 12px; font-size: clamp(2rem, 3.7vw, 3rem); letter-spacing: -.045em; }
.charging-app-card p { max-width: 830px; margin: 0; color: var(--text); }
.charging-app-card__disclaimer { margin-top: 11px !important; font-size: .72rem; color: var(--muted) !important; }
.charging-app-card__actions { display: grid; min-width: 220px; gap: 10px; }
.charging-app-card__actions a { display: grid; padding: 13px 18px; border-radius: 13px; color: #fff; background: #101216; box-shadow: 0 10px 24px rgba(17,17,17,.14); }
.charging-app-card__actions small { color: rgba(255,255,255,.58); font-size: .62rem; }
.charging-app-card__actions strong { font-size: 1rem; }
.charging-support-card { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 46px 50px; border-radius: 27px; color: #fff; background: linear-gradient(120deg, #15171c, #2b1116); }
.charging-support-card .eyebrow { color: #ff7883; }
.charging-support-card h2 { margin: 10px 0 10px; font-size: clamp(2rem, 3.7vw, 3rem); letter-spacing: -.045em; }
.charging-support-card p { max-width: 780px; margin: 0; color: rgba(255,255,255,.62); }
.charging-support-card__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Legal pages */
.legal-hero { padding: 74px 0 70px; color: #fff; background: radial-gradient(circle at 80% 12%, rgba(230,0,18,.24), transparent 25%), linear-gradient(130deg, #0e1014, #1b1e24); }
.legal-hero__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.legal-hero .eyebrow { color: #ff6e79; }
.legal-hero h1 { margin: 12px 0 10px; font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1; letter-spacing: -.06em; }
.legal-hero p { margin: 0; color: rgba(255,255,255,.55); }
.language-switcher { display: inline-flex; padding: 5px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.055); }
.language-switcher button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; color: rgba(255,255,255,.6); background: transparent; font-weight: 780; }
.language-switcher button.is-active { color: #17191d; background: #fff; }
.legal-section { background: #f6f7f8; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 44px; align-items: start; }
.legal-toc { position: sticky; top: 118px; display: grid; gap: 5px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.legal-toc strong { margin-bottom: 9px; font-size: .85rem; }
.legal-toc a { padding: 8px 10px; border-radius: 9px; color: var(--text); font-size: .76rem; }
.legal-toc a:hover { color: var(--red); background: #fff2f3; }
.legal-content { max-width: 980px; }
.legal-content [data-language-panel] { display: grid; gap: 16px; }
.legal-content [data-language-panel][hidden] { display: none; }
.legal-notice { padding: 20px 22px; border-left: 4px solid var(--red); border-radius: 0 15px 15px 0; color: #3d4249; background: #fff; font-size: .86rem; line-height: 1.65; box-shadow: 0 8px 24px rgba(17,17,17,.04); }
.legal-content section { scroll-margin-top: 120px; padding: 32px 34px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.legal-content section h2 { margin: 0 0 15px; font-size: 1.45rem; letter-spacing: -.025em; }
.legal-content section p { margin: 0 0 13px; color: #4b5159; line-height: 1.78; }
.legal-content section p:last-child { margin-bottom: 0; }
.legal-content section ul { display: grid; gap: 9px; margin: 0 0 14px; padding-left: 22px; color: #4b5159; }
.legal-content section li { line-height: 1.7; }
.legal-contact { display: grid; gap: 6px; margin-top: 22px; padding: 18px; border-radius: 13px; background: #f5f6f8; font-size: .82rem; }
.legal-contact strong { margin-bottom: 4px; color: #202328; }
.legal-contact span { color: #555b63; }
.legal-contact a { color: #202328; font-weight: 800; }

@media (max-width: 980px) {
  #lead-modal .modal__dialog--form { grid-template-columns: .82fr 1.18fr; }
  #lead-modal .modal__intro { padding: 34px 28px 28px; }
  #lead-modal .lead-form { padding: 42px 28px 32px; }
  .charging-page-hero__grid { gap: 34px; }
  .charging-map-layout, .home-charging-grid { grid-template-columns: 1fr; }
  .charging-map-embed, .charging-map-embed iframe { min-height: 500px; }
  .charging-app-card, .charging-support-card { grid-template-columns: 1fr; }
  .charging-app-card__actions { grid-template-columns: 1fr 1fr; min-width: 0; }
  .charging-support-card__actions { justify-content: flex-start; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; grid-template-columns: repeat(4, 1fr); }
  .legal-toc strong { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  #lead-modal.modal { padding: 10px; align-items: center; }
  #lead-modal .modal__dialog--form { display: block; width: min(100%, 520px); max-height: calc(100dvh - 20px); border-radius: 24px; overflow-y: auto; }
  #lead-modal .modal__close { position: absolute; top: 12px; right: 12px; margin: 0; width: 38px; height: 38px; }
  #lead-modal .modal__intro { display: block; min-height: auto; padding: 23px 54px 19px 20px; border-radius: 0; }
  .lead-modal__brandline { display: block; }
  .lead-modal__status { display: none; }
  .lead-modal__art, .lead-modal__kicker, #lead-modal .modal__intro h2, .lead-modal__intro-copy, #lead-modal .modal__trust, .lead-modal__hotline { display: none; }
  #lead-modal .modal__intro .eyebrow { font-size: .64rem; }
  #lead-modal .lead-form { gap: 11px; padding: 20px 17px 17px; }
  .lead-modal__form-head { padding-right: 0; }
  .lead-modal__step { min-height: 24px; padding-inline: 9px; font-size: .58rem; }
  .lead-modal__form-head h2 { margin: 9px 0 6px; font-size: 1.72rem; }
  .lead-modal__form-head p { font-size: .75rem; }
  .lead-modal__fields { grid-template-columns: 1fr; gap: 10px; }
  #lead-modal .form-control-wrap input, #lead-modal .form-control-wrap select { height: 47px; border-radius: 11px; font-size: .84rem; }
  #lead-modal .lead-modal__privacy-note { padding: 8px 10px; font-size: .61rem; }
  #lead-modal .lead-modal__submit { min-height: 48px; }

  .charging-page-hero { padding: 64px 0 74px; }
  .charging-page-hero__grid { grid-template-columns: 1fr; }
  .charging-page-hero h1 { font-size: clamp(2.65rem, 12vw, 4.5rem); }
  .charging-page-hero p { font-size: .92rem; }
  .charging-page-hero__visual { order: -1; }
  .charge-map-card { width: min(100%, 460px); transform: none; }
  .charging-overview { margin-top: -20px; }
  .charging-feature-grid { grid-template-columns: 1fr; }
  .charging-feature-grid article { min-height: 0; padding: 23px; }
  .charging-feature-grid article + article { border-top: 1px solid var(--line); border-left: 0; }
  .charging-feature-grid h2 { margin-top: 15px; }
  .charging-map-embed, .charging-map-embed iframe { min-height: 420px; }
  .home-charging-card, .home-charging-steps { padding: 30px 24px; }
  .home-charging-card { min-height: auto; }
  .home-charging-card__power { margin: 36px 0 24px; }
  .home-charging-card__power strong { font-size: 5.5rem; }
  .charging-app-card, .charging-support-card { padding: 30px 24px; }
  .charging-app-card__actions { grid-template-columns: 1fr; }
  .charging-support-card__actions { display: grid; }

  .legal-hero { padding: 58px 0 52px; }
  .legal-hero__inner { display: grid; align-items: start; }
  .language-switcher { width: fit-content; }
  .legal-toc { grid-template-columns: 1fr 1fr; padding: 15px; }
  .legal-content section { padding: 24px 20px; }
}

@media (max-width: 430px) {
  #lead-modal.modal { padding: 6px; }
  #lead-modal .modal__dialog--form { max-height: calc(100dvh - 12px); border-radius: 20px; }
  #lead-modal .modal__intro { padding: 19px 50px 15px 15px; }
  #lead-modal .lead-form { padding: 16px 13px 13px; }
  .lead-modal__form-head h2 { font-size: 1.48rem; }
  .lead-modal__form-head p { font-size: .7rem; line-height: 1.45; }
  #lead-modal .form-field label { font-size: .68rem; }
  #lead-modal .form-control-wrap input, #lead-modal .form-control-wrap select { height: 44px; padding-left: 39px; }
  #lead-modal .form-control-wrap > .icon { left: 12px; width: 16px; height: 16px; }
  #lead-modal .form-consent { font-size: .67rem; }
  #lead-modal .lead-modal__privacy-note { display: none; }
  #lead-modal .lead-modal__submit { min-height: 45px; }

  .charging-page-hero__actions { display: grid; }
  .charge-map-card__status { right: 12px; bottom: 12px; min-width: 180px; }
  .charging-map-embed, .charging-map-embed iframe { min-height: 360px; }
  .home-charging-card h2, .home-charging-steps h2, .charging-app-card h2, .charging-support-card h2 { font-size: 1.75rem; }
  .legal-hero h1 { font-size: 2.65rem; }
  .legal-toc { grid-template-columns: 1fr 1fr; gap: 4px 8px; }
  .legal-toc a { padding: 7px 5px; font-size: .7rem; }
  .language-switcher { width: 100%; }
  .language-switcher button { flex: 1; }
}


/* Lan 6 refinements: compact legal/charging headings, branded social icons and product menu */
.topbar__icon.social-link,
.footer__social .social-link { overflow: hidden; background: rgba(255,255,255,.96); }
.topbar__icon.social-link { width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.18); }
.topbar__icon.social-link img { width: 18px; height: 18px; object-fit: contain; border-radius: 5px; }
.footer__social .social-link { width: 42px; height: 42px; border-color: rgba(255,255,255,.18); box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.footer__social .social-link img { width: 25px; height: 25px; object-fit: contain; border-radius: 7px; }
.footer__social .social-link:hover { background: #fff; transform: translateY(-2px); }
.mega-menu__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mega-menu__vehicle { min-width: 0; }
.mega-menu__vehicle strong { font-size: .92rem; }
.charging-support-card h2 { max-width: 720px; font-size: clamp(1.8rem, 3vw, 2.45rem); line-height: 1.12; font-weight: 760; }
.legal-hero { padding-block: 58px 54px; }
.legal-hero h1 { max-width: 920px; font-size: clamp(2.35rem, 4.1vw, 4rem); line-height: 1.03; font-weight: 720; letter-spacing: -.045em; }
.legal-content h2 { font-weight: 760; }
.language-switcher button { font-weight: 720; }
@media (max-width: 768px) {
  .charging-support-card h2 { font-size: 1.65rem; }
  .legal-hero { padding-block: 44px 40px; }
  .legal-hero h1 { font-size: clamp(2rem, 10vw, 2.7rem); }
  .vehicle-filters { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 430px) {
  .charging-support-card h2 { font-size: 1.5rem; }
  .legal-hero h1 { font-size: 2.2rem; }
}


/* ===== FIX LẦN 8: SOCIAL ICONS + GOOGLE FORM ===== */
.footer__brand > img {
  width: 180px;
  height: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.footer__social img,
.topbar__icon.social-link img {
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.topbar__icon.social-link,
.footer__social .social-link {
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
}
.topbar__icon.social-link {
  width: 28px !important;
  height: 28px !important;
}
.topbar__icon.social-link img {
  display: block;
  width: 26px !important;
  height: 26px !important;
  object-fit: contain;
  border-radius: 50% !important;
  box-shadow: 0 3px 12px rgba(0,0,0,.22);
}
.footer__social {
  align-items: center;
  gap: 12px;
}
.footer__social .social-link {
  display: grid;
  width: 42px !important;
  height: 42px !important;
  place-items: center;
  border-radius: 50%;
  box-shadow: none !important;
}
.footer__social .social-link img {
  display: block;
  width: 38px !important;
  height: 38px !important;
  object-fit: contain;
  border-radius: 50% !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
}
.footer__social .social-link:hover,
.topbar__icon.social-link:hover {
  background: transparent !important;
  transform: translateY(-2px) scale(1.04);
}
.contact-fab--zalo .contact-fab__core img {
  width: 38px !important;
  height: 38px !important;
  object-fit: contain;
  image-rendering: auto;
}
.form-status a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
}

/* ===== FIX LẦN 9: ICON MẠNG XÃ HỘI RÕ NÉT ===== */
.topbar__icon.social-link,
.footer__social .social-link {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  isolation: isolate;
}

.topbar__icon.social-link img,
.footer__social .social-link img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  object-fit: contain !important;
}

.topbar__icon.social-link {
  width: 30px !important;
  height: 30px !important;
  padding: 2px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28) !important;
}
.topbar__icon.social-link img {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
}

.footer__social {
  gap: 12px !important;
}
.footer__social .social-link {
  width: 46px !important;
  height: 46px !important;
  padding: 3px !important;
  border: 1px solid rgba(255, 255, 255, .34) !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .42) !important;
}
.footer__social .social-link img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
}
.footer__social .social-link--messenger img {
  width: 38px !important;
  height: 38px !important;
}
.footer__social .social-link:hover,
.topbar__icon.social-link:hover {
  opacity: 1 !important;
  transform: translateY(-2px) scale(1.07) !important;
}

/* Trả lại kiểu Zalo tròn xanh-trắng cũ ở cụm nút nổi. */
.contact-fab--zalo .contact-fab__core {
  background: #ffffff !important;
  border: 2px solid #0878ff !important;
  box-shadow: 0 7px 20px rgba(0, 104, 255, .28) !important;
}
.contact-fab--zalo .contact-fab__core img {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  filter: none !important;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .footer__social .social-link {
    width: 44px !important;
    height: 44px !important;
  }
  .footer__social .social-link img {
    width: 38px !important;
    height: 38px !important;
  }
}


/* =========================================================
   RELEASE 10 — reliable lead submit + success confirmation
   ========================================================= */
#lead-modal .lead-modal__submit {
  position: relative;
  z-index: 8;
  width: 100%;
  cursor: pointer;
  pointer-events: auto !important;
  touch-action: manipulation;
  user-select: none;
  isolation: isolate;
}
#lead-modal .lead-modal__submit[disabled] { cursor: wait; opacity: .78; }
#lead-modal .lead-modal__submit.is-loading span::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 9px;
  vertical-align: -2px;
  border: 2px solid rgba(255,255,255,.48);
  border-top-color: #fff;
  border-radius: 50%;
  animation: bydLeadSpin .7s linear infinite;
}
@keyframes bydLeadSpin { to { transform: rotate(360deg); } }

#lead-modal .modal__dialog--form.is-success {
  display: grid;
  width: min(100%, 760px);
  grid-template-columns: 1fr;
  min-height: 430px;
  overflow: hidden;
  background: #fff;
}
#lead-modal .modal__dialog--form.is-success .modal__close { display: grid; }
#lead-modal [hidden] { display: none !important; }
.lead-success {
  min-height: 430px;
  padding: 64px 34px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(22,163,74,.055), transparent 24%),
    #fff;
}
.lead-success__icon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  margin-bottom: 23px;
  border-radius: 50%;
  color: #079455;
  background: #eafaf1;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
}
.lead-success h2 {
  margin: 0;
  color: #10213a;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.lead-success p {
  max-width: 560px;
  margin: 12px auto 0;
  color: #667085;
  font-size: .98rem;
  line-height: 1.6;
}
.lead-success__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.lead-success__actions .button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 9px;
  font-size: .9rem;
  font-weight: 800;
}
.lead-success__call {
  color: #fff;
  border-color: #1463ff;
  background: #1463ff;
  box-shadow: 0 10px 24px rgba(20,99,255,.2);
}
.lead-success__call:hover { color: #fff; background: #0f54df; }
.lead-success__close {
  color: #24324a;
  border: 1px solid #d7dde8;
  background: #fff;
  box-shadow: none;
}
.lead-success__close:hover { border-color: #aeb8c7; background: #f8fafc; }

@media (max-width: 640px) {
  #lead-modal .modal__dialog--form.is-success {
    width: min(100%, 470px);
    min-height: 390px;
    border-radius: 22px;
  }
  .lead-success {
    min-height: 390px;
    padding: 58px 20px 32px;
  }
  .lead-success__icon { width: 68px; height: 68px; font-size: 2.7rem; }
  .lead-success h2 { font-size: 1.55rem; }
  .lead-success p { font-size: .9rem; }
  .lead-success__actions { width: 100%; }
  .lead-success__actions .button { flex: 1 1 180px; }
}

/* Restore the user's original Zalo speech-bubble icon. */
.contact-fab--zalo .contact-fab__core {
  border: 2px solid #0878ff;
  background: #fff;
}
.contact-fab--zalo .contact-fab__core img {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain;
}


/* FINAL HOTFIX: product section must be visible immediately on mobile and use compact type. */
#vehicles .vehicle-section__head,
#vehicles .vehicle-grid {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
#vehicles .section-heading h2 {
  max-width: 720px;
  font-size: clamp(1.85rem, 3.15vw, 2.4rem);
  line-height: 1.14;
  letter-spacing: -.03em;
}
#vehicles .section-heading p {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.65;
}
@media (max-width: 768px) {
  #vehicles.section { padding-top: 66px; }
  #vehicles .vehicle-section__head { gap: 18px; margin-bottom: 28px; }
  #vehicles .section-heading h2 {
    margin: 8px 0 12px;
    font-size: clamp(1.55rem, 6.7vw, 1.88rem);
    line-height: 1.16;
    letter-spacing: -.025em;
    text-wrap: balance;
  }
  #vehicles .section-heading p {
    font-size: .9rem;
    line-height: 1.58;
  }
  #vehicles [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* Product pagination and dedicated introduction page */
.vehicle-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}
.vehicle-pagination[hidden] { display: none; }
.vehicle-pagination__status {
  min-width: 92px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 750;
  text-align: center;
}
.vehicle-pagination .button:disabled {
  cursor: not-allowed;
  opacity: .42;
  transform: none;
}
.about-page-main > #gioi-thieu { padding-top: 92px; }

@media (max-width: 680px) {
  .vehicle-pagination {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 28px;
  }
  .vehicle-pagination__status {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
  }
  .vehicle-pagination .button { width: 100%; }
  .about-page-main > #gioi-thieu { padding-top: 68px; }
}

/* =========================================================
   PRODUCT CATALOG UPGRADE - 30/07/2026
   ========================================================= */
.vehicle-section__head--catalog {
  align-items: end;
  margin-bottom: 22px;
}

.vehicle-catalog-tools {
  display: flex;
  min-width: min(100%, 430px);
  align-items: end;
  justify-content: flex-end;
  gap: 14px;
}

.vehicle-search {
  display: grid;
  width: min(100%, 330px);
  gap: 7px;
}

.vehicle-search > span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vehicle-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  box-shadow: 0 8px 24px rgba(20, 25, 35, .04);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.vehicle-search input:focus {
  border-color: rgba(230, 0, 18, .55);
  box-shadow: 0 0 0 4px rgba(230, 0, 18, .08);
}

.vehicle-result-count {
  display: grid;
  min-width: 92px;
  min-height: 48px;
  place-items: center;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--ink);
  background: #f1f2f4;
  font-size: .86rem;
  font-weight: 800;
  white-space: nowrap;
}

.vehicle-filters--catalog {
  justify-content: flex-start;
  margin-bottom: 28px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.vehicle-card--catalog {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-radius: 24px;
  box-shadow: 0 10px 35px rgba(20, 25, 35, .045);
}

.vehicle-card--catalog .vehicle-card__visual {
  min-height: 245px;
  background:
    radial-gradient(circle at 70% 25%, rgba(230, 0, 18, .08), transparent 28%),
    linear-gradient(145deg, #f8f9fa 0%, #eff1f3 100%);
}

.vehicle-card--catalog .vehicle-card__image {
  width: 100%;
  height: 245px;
  padding: 28px 24px 18px;
  object-fit: contain;
  transition: transform .35s var(--ease);
}

.vehicle-card--catalog:hover .vehicle-card__image {
  transform: scale(1.035);
}

.vehicle-card__availability {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(17, 20, 25, .08);
  border-radius: 999px;
  color: #30343a;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  font-size: .69rem;
  font-weight: 800;
}

.vehicle-card__availability i,
.vehicle-gallery__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #20a05a;
  box-shadow: 0 0 0 4px rgba(32,160,90,.12);
}

.vehicle-card--catalog .vehicle-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 23px;
}

.vehicle-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vehicle-card__meta > span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 750;
}

.vehicle-card--catalog h3 {
  margin: 5px 0 6px;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
}

.vehicle-card__tagline {
  min-height: 42px;
  margin: 0 0 16px;
  color: var(--text);
  font-size: .9rem;
  line-height: 1.55;
}

.vehicle-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -4px 16px;
  padding: 13px 14px;
  border-radius: 16px;
  background: #f6f7f8;
}

.vehicle-card__price-row small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 750;
}

.vehicle-card--catalog .vehicle-card__price {
  margin: 0;
  color: var(--red);
  font-size: 1.06rem;
}

.vehicle-card__quick-lead {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  color: var(--white);
  background: var(--red);
  font-size: .75rem;
  font-weight: 800;
  white-space: nowrap;
}

.vehicle-card__highlights {
  display: flex;
  min-height: 28px;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 15px;
}

.vehicle-card__highlights span {
  padding: 6px 9px;
  border: 1px solid #e6e8eb;
  border-radius: 999px;
  color: #43484e;
  background: #fff;
  font-size: .68rem;
  font-weight: 750;
}

.vehicle-card--catalog .vehicle-card__specs {
  margin-bottom: 20px;
}

.vehicle-card--catalog .vehicle-card__actions {
  margin-top: auto;
}

.vehicle-card--catalog .vehicle-card__actions .button {
  flex: 1;
}

.vehicle-empty-state {
  grid-column: 1 / -1;
  padding: 68px 24px;
  border: 1px dashed #cfd3d8;
  border-radius: 24px;
  text-align: center;
  background: #fafbfc;
}

.vehicle-empty-state strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.vehicle-empty-state p {
  margin: 0 0 20px;
  color: var(--text);
}

/* Product detail */
.vehicle-hero-section--catalog {
  padding-bottom: 48px;
}

.vehicle-gallery--catalog {
  --active-vehicle-color: #e60012;
}

.vehicle-gallery__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: .73rem;
  font-weight: 750;
}

.vehicle-gallery__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #31363b;
}

.vehicle-gallery--catalog .vehicle-gallery__main {
  position: relative;
  isolation: isolate;
  min-height: 530px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 68% 30%, color-mix(in srgb, var(--active-vehicle-color) 19%, transparent), transparent 31%),
    linear-gradient(145deg, #f7f8f9, #eceff2);
  transition: background .3s ease;
}

.vehicle-gallery--catalog .vehicle-gallery__main img {
  width: 100%;
  height: 530px;
  padding: 42px 34px 62px;
  object-fit: contain;
}

.vehicle-gallery__caption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 16px;
  color: #24272c;
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(10px);
}

.vehicle-gallery__caption span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
}

.vehicle-summary--catalog {
  padding: 6px 0 0;
}

.vehicle-summary__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.vehicle-summary__availability {
  padding: 7px 10px;
  border-radius: 999px;
  color: #227448;
  background: #eaf7f0;
  font-size: .7rem;
  font-weight: 800;
}

.vehicle-summary--catalog h1 {
  margin: 10px 0 3px;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  letter-spacing: -.045em;
}

.vehicle-summary__tagline {
  margin: 0 0 18px;
  color: #4b5057;
  font-size: 1.04rem;
  font-weight: 650;
}

.vehicle-summary__price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
  padding: 15px 17px;
  border: 1px solid #eceef0;
  border-radius: 18px;
  background: #f8f9fa;
}

.vehicle-summary__price-box small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 750;
}

.vehicle-summary__price-box .vehicle-summary__price {
  margin: 0;
  color: var(--red);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.vehicle-summary__price-box > span {
  padding: 7px 10px;
  border-radius: 10px;
  color: #34383d;
  background: #fff;
  font-size: .75rem;
  font-weight: 800;
}

.vehicle-variant-picker,
.vehicle-summary__colors--catalog {
  margin-top: 19px;
  padding: 17px;
  border: 1px solid #e7e9ec;
  border-radius: 18px;
  background: #fff;
}

.vehicle-option-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.vehicle-option-heading > span {
  color: var(--ink);
  font-size: .82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.vehicle-option-heading small,
.vehicle-option-heading strong {
  color: var(--muted);
  font-size: .72rem;
}

.vehicle-variant-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.vehicle-variant-list:has(.vehicle-variant:only-child) {
  grid-template-columns: 1fr;
}

.vehicle-variant {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 13px;
  border: 1px solid #e2e5e8;
  border-radius: 14px;
  text-align: left;
  background: #fafbfc;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.vehicle-variant:hover,
.vehicle-variant.is-active {
  border-color: rgba(230,0,18,.58);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(230,0,18,.07);
}

.vehicle-variant > span {
  font-size: .83rem;
  font-weight: 850;
}

.vehicle-variant > strong {
  color: var(--red);
  font-size: .92rem;
}

.vehicle-variant > small {
  color: var(--muted);
  font-size: .65rem;
}

.vehicle-variant em {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
  font-style: normal;
}

.vehicle-variant em b {
  padding: 4px 6px;
  border-radius: 6px;
  color: #50555b;
  background: #eef0f2;
  font-size: .6rem;
  font-weight: 750;
}

.vehicle-color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.color-swatch-catalog {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 7px;
  border: 1px solid #e2e5e8;
  border-radius: 999px;
  color: #454a50;
  background: #fff;
  font-size: .7rem;
  font-weight: 750;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.color-swatch-catalog:hover,
.color-swatch-catalog.is-active {
  border-color: rgba(230,0,18,.55);
  box-shadow: 0 0 0 3px rgba(230,0,18,.07);
}

.color-swatch-catalog i {
  width: 23px;
  height: 23px;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.5);
}

.vehicle-summary__colors--catalog > small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: .67rem;
}

.vehicle-summary__actions--catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vehicle-summary__actions--catalog .vehicle-document-link {
  grid-column: 1 / -1;
}

.vehicle-summary__reference-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 13px 0 4px;
}

.vehicle-summary__reference-actions .button {
  min-height: 42px;
}

.vehicle-summary__reference-actions .icon,
.vehicle-document-link .icon {
  width: 17px;
  height: 17px;
}

.vehicle-highlight-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 34px;
  border: 1px solid #e4e7ea;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(20,25,35,.05);
}

.vehicle-highlight-strip > div {
  display: grid;
  min-height: 108px;
  align-content: center;
  gap: 5px;
  padding: 20px;
  border-right: 1px solid #e8eaed;
}

.vehicle-highlight-strip > div:last-child {
  border-right: 0;
}

.vehicle-highlight-strip span {
  color: var(--red);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.vehicle-highlight-strip strong {
  font-size: .9rem;
  line-height: 1.4;
}

.vehicle-specifications--catalog {
  padding: clamp(52px, 7vw, 84px) 0;
}

.vehicle-spec-groups {
  width: min(100%, 980px);
  margin: 34px auto 28px;
  border-top: 1px solid #dfe2e6;
}

.vehicle-spec-group {
  border-bottom: 1px solid #dfe2e6;
}

.vehicle-spec-group summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 850;
}

.vehicle-spec-group summary::-webkit-details-marker { display: none; }
.vehicle-spec-group summary .icon { transition: transform .2s ease; }
.vehicle-spec-group[open] summary .icon { transform: rotate(180deg); }

.vehicle-spec-group__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  padding: 0 0 22px;
}

.vehicle-spec-group__content > div {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px dashed #e5e7ea;
}

.vehicle-spec-group__content span {
  color: var(--muted);
  font-size: .82rem;
}

.vehicle-spec-group__content strong {
  text-align: right;
  font-size: .84rem;
}

.vehicle-specifications__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.vehicle-offer--catalog {
  border-radius: 26px;
}

@media (max-width: 1024px) {
  .vehicle-catalog-tools { min-width: 360px; }
  .vehicle-gallery--catalog .vehicle-gallery__main,
  .vehicle-gallery--catalog .vehicle-gallery__main img { min-height: 450px; height: 450px; }
  .vehicle-highlight-strip { grid-template-columns: repeat(2, 1fr); }
  .vehicle-highlight-strip > div:nth-child(2) { border-right: 0; }
  .vehicle-highlight-strip > div:nth-child(-n+2) { border-bottom: 1px solid #e8eaed; }
}

@media (max-width: 760px) {
  .vehicle-section__head--catalog {
    display: grid;
    align-items: stretch;
  }
  .vehicle-catalog-tools {
    width: 100%;
    min-width: 0;
    align-items: end;
    justify-content: stretch;
  }
  .vehicle-search { width: 100%; }
  .vehicle-result-count { min-width: 84px; }
  .vehicle-filters--catalog {
    flex-wrap: nowrap;
    margin-right: -20px;
    padding-right: 20px;
  }
  .vehicle-filter { flex: none; }
  .vehicle-card--catalog .vehicle-card__visual,
  .vehicle-card--catalog .vehicle-card__image { min-height: 220px; height: 220px; }
  .vehicle-card__availability { top: 14px; right: 14px; }
  .vehicle-gallery__topline { align-items: flex-start; }
  .vehicle-gallery--catalog .vehicle-gallery__main,
  .vehicle-gallery--catalog .vehicle-gallery__main img { min-height: 340px; height: 340px; }
  .vehicle-gallery--catalog .vehicle-gallery__main img { padding: 28px 15px 60px; }
  .vehicle-gallery__caption { right: 12px; bottom: 12px; left: 12px; }
  .vehicle-summary__topline { align-items: flex-start; }
  .vehicle-variant-list { grid-template-columns: 1fr; }
  .vehicle-summary__actions--catalog { grid-template-columns: 1fr; }
  .vehicle-summary__actions--catalog .vehicle-document-link { grid-column: auto; }
  .vehicle-highlight-strip { grid-template-columns: 1fr; }
  .vehicle-highlight-strip > div,
  .vehicle-highlight-strip > div:nth-child(2) {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid #e8eaed;
  }
  .vehicle-highlight-strip > div:last-child { border-bottom: 0; }
  .vehicle-spec-group__content { grid-template-columns: 1fr; }
  .vehicle-spec-group__content > div { align-items: flex-start; padding: 13px 0; }
}

@media (max-width: 420px) {
  .vehicle-catalog-tools { display: grid; grid-template-columns: 1fr auto; }
  .vehicle-card__price-row { align-items: flex-end; }
  .vehicle-card__quick-lead { padding-inline: 9px; }
  .vehicle-gallery__caption { align-items: flex-start; flex-direction: column; gap: 2px; }
  .vehicle-summary__price-box { align-items: flex-start; flex-direction: column; }
  .color-swatch-catalog span { display: none; }
  .color-swatch-catalog { padding-right: 7px; }
}

/* ===== PRODUCT MEDIA EXPERIENCE V17 ===== */
.vehicle-hero-section--source { padding-top: 26px; background: radial-gradient(circle at 18% 12%, rgba(230,0,18,.055), transparent 32%), linear-gradient(180deg,#fff,#f6f7f8); }
.vehicle-gallery--source { min-width: 0; }
.vehicle-gallery__main--source { position: relative; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: #eef0f2; }
.vehicle-gallery__main--source img { width: 100% !important; max-width: none !important; min-height: 520px; height: 520px; padding: 0 !important; object-fit: cover !important; }
.vehicle-gallery__main--source::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; pointer-events: none; background: linear-gradient(180deg,transparent,rgba(0,0,0,.54)); }
.vehicle-gallery__main--source .vehicle-gallery__caption { z-index: 2; color: #fff; background: transparent; border: 0; box-shadow: none; }
.vehicle-gallery__zoom { position: absolute; z-index: 3; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; color: #fff; background: rgba(17,17,17,.38); backdrop-filter: blur(10px); font-size: .76rem; font-weight: 800; }
.vehicle-gallery__zoom .icon { width: 15px; height: 15px; }
.vehicle-gallery__thumbs--scroll { display: flex; gap: 10px; overflow-x: auto; padding: 3px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.vehicle-gallery__thumbs--scroll .vehicle-gallery__thumb { flex: 0 0 112px; height: 78px; scroll-snap-align: start; }
.vehicle-gallery__thumbs--scroll .vehicle-gallery__thumb img { object-fit: cover; }
.vehicle-gallery__more { display: grid; flex: 0 0 112px; height: 78px; place-content: center; border: 1px dashed #bbbfc4; border-radius: 12px; color: var(--ink); background: #f4f5f6; font-size: 1.05rem; font-weight: 850; text-align: center; }
.vehicle-gallery__more span { display: block; margin-top: 2px; color: var(--muted); font-size: .7rem; font-weight: 700; }

.vehicle-metric-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; overflow: hidden; margin: -22px 0 0; border: 1px solid var(--line); border-radius: 22px; background: var(--line); box-shadow: 0 16px 45px rgba(17,17,17,.08); }
.vehicle-metric-strip > div { position: relative; min-height: 138px; padding: 25px 23px; background: #fff; }
.vehicle-metric-strip > div > span { position: absolute; top: 16px; right: 18px; color: #d9dcdf; font-size: .75rem; font-weight: 900; }
.vehicle-metric-strip strong { display: block; margin: 20px 0 8px; color: var(--ink); font-size: clamp(1.35rem,2vw,2rem); letter-spacing: -.04em; }
.vehicle-metric-strip small { display: block; color: var(--muted); line-height: 1.45; }

.source-story-section { padding: 100px 0 78px; }
.source-story-section > .section-heading { max-width: 800px; margin-inline: auto; }
.source-story-list { display: grid; gap: 32px; margin-top: 54px; }
.source-story { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(340px,.92fr); overflow: hidden; min-height: 510px; border: 1px solid var(--line); border-radius: 30px; background: #fff; box-shadow: 0 20px 64px rgba(17,17,17,.06); }
.source-story--reverse .source-story__media { order: 2; }
.source-story__media { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 0; cursor: zoom-in; background: #eef0f2; }
.source-story__media img { width: 100%; height: 100%; min-height: 510px; object-fit: cover; transition: transform .65s var(--ease); }
.source-story__media:hover img { transform: scale(1.025); }
.source-story__media > span { position: absolute; left: 20px; bottom: 20px; padding: 8px 12px; border-radius: 999px; color: #fff; background: rgba(17,17,17,.52); backdrop-filter: blur(10px); font-size: .75rem; font-weight: 800; }
.source-story__content { display: flex; justify-content: center; flex-direction: column; padding: clamp(35px,5vw,70px); }
.source-story__content h3 { margin: 12px 0 20px; font-size: clamp(1.75rem,3vw,3rem); line-height: 1.08; letter-spacing: -.045em; }
.source-story__content p { margin: 0 0 25px; color: var(--muted); font-size: 1rem; line-height: 1.78; }

.source-gallery-section { padding: 96px 0; border-top: 1px solid var(--line); }
.source-gallery-section > .section-heading { max-width: 820px; }
.source-gallery-group { margin-top: 58px; }
.source-gallery-group__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.source-gallery-group__head h3 { margin: 0; font-size: clamp(1.35rem,2vw,2rem); }
.source-gallery-group__head span { color: var(--muted); font-size: .82rem; font-weight: 800; }
.source-gallery-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 12px; }
.source-gallery-item { position: relative; grid-column: span 4; min-height: 250px; padding: 0; overflow: hidden; border: 0; border-radius: 18px; cursor: zoom-in; background: #e9ebed; }
.source-gallery-item:nth-child(7n+1), .source-gallery-item:nth-child(7n+5) { grid-column: span 8; min-height: 390px; }
.source-gallery-item img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform .45s var(--ease), filter .3s ease; }
.source-gallery-item:hover img { transform: scale(1.025); filter: brightness(.93); }
.source-gallery-item > span { position: absolute; top: 12px; right: 12px; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #fff; background: rgba(17,17,17,.52); backdrop-filter: blur(8px); font-size: .7rem; font-weight: 900; }
.source-gallery-item--color { min-height: 290px; background: #f1f2f3; }
.source-gallery-item--color img { object-fit: contain; }

.source-details-section { padding: 80px 0 100px; border-top: 1px solid var(--line); }
.source-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 38px; }
.source-detail-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.source-detail-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 70px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 820; }
.source-detail-item summary::-webkit-details-marker { display: none; }
.source-detail-item summary .icon { flex: 0 0 auto; transition: transform .22s ease; }
.source-detail-item[open] summary .icon { transform: rotate(180deg); }
.source-detail-item p { margin: 0; padding: 0 20px 22px; color: var(--muted); line-height: 1.72; }

.media-lightbox { position: fixed; z-index: 10000; inset: 0; display: none; place-items: center; padding: 24px; }
.media-lightbox.is-open { display: grid; }
.media-lightbox__backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.88); backdrop-filter: blur(14px); }
.media-lightbox__dialog { position: relative; z-index: 2; width: min(1500px,96vw); height: min(900px,92vh); overflow: hidden; border-radius: 20px; background: #0b0b0c; box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.media-lightbox__top { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 62px; padding: 0 18px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
.media-lightbox__top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-lightbox__top span { margin-left: auto; color: rgba(255,255,255,.7); font-size: .82rem; }
.media-lightbox__top button { display: grid; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); }
.media-lightbox__stage { position: relative; display: grid; height: calc(100% - 62px); place-items: center; }
.media-lightbox__stage img { width: 100%; height: 100%; object-fit: contain; }
.media-lightbox__nav { position: absolute; z-index: 3; top: 50%; display: grid; width: 48px; height: 68px; place-items: center; transform: translateY(-50%); border: 0; border-radius: 12px; color: #fff; background: rgba(0,0,0,.42); font-size: 2rem; }
.media-lightbox__nav--prev { left: 14px; }
.media-lightbox__nav--next { right: 14px; }
body.lightbox-open { overflow: hidden; }

@media (max-width: 1050px) {
  .vehicle-gallery__main--source img { min-height: 440px; height: 440px; }
  .vehicle-metric-strip { grid-template-columns: 1fr 1fr; }
  .source-story { grid-template-columns: 1fr; }
  .source-story--reverse .source-story__media { order: 0; }
  .source-story__media img { min-height: 440px; height: 440px; }
  .source-gallery-item { grid-column: span 6; }
  .source-gallery-item:nth-child(7n+1), .source-gallery-item:nth-child(7n+5) { grid-column: span 12; }
}

@media (max-width: 720px) {
  .vehicle-hero-section--source { padding-top: 8px; }
  .vehicle-gallery__main--source img { min-height: 300px !important; height: 300px !important; }
  .vehicle-gallery__zoom { top: 12px; right: 12px; padding: 7px 10px; font-size: .68rem; }
  .vehicle-gallery__thumbs--scroll .vehicle-gallery__thumb, .vehicle-gallery__more { flex-basis: 92px; height: 68px; }
  .vehicle-metric-strip { margin-top: 18px; border-radius: 18px; }
  .vehicle-metric-strip > div { min-height: 122px; padding: 18px; }
  .vehicle-metric-strip strong { margin-top: 18px; font-size: 1.35rem; }
  .source-story-section, .source-gallery-section, .source-details-section { padding-block: 68px; }
  .source-story-list { gap: 20px; margin-top: 34px; }
  .source-story { min-height: 0; border-radius: 20px; }
  .source-story__media img { min-height: 280px; height: 280px; }
  .source-story__content { padding: 28px 22px 32px; }
  .source-gallery-group { margin-top: 40px; }
  .source-gallery-grid { gap: 8px; }
  .source-gallery-item, .source-gallery-item:nth-child(7n+1), .source-gallery-item:nth-child(7n+5) { grid-column: span 6; min-height: 170px; border-radius: 12px; }
  .source-gallery-item:nth-child(5n+1) { grid-column: span 12; min-height: 250px; }
  .source-details-grid { grid-template-columns: 1fr; }
  .media-lightbox { padding: 0; }
  .media-lightbox__dialog { width: 100vw; height: 100dvh; border-radius: 0; }
  .media-lightbox__nav { width: 42px; height: 58px; }
}

.content-empty-state{padding:24px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;color:#5f6368;text-align:center}

/* ===== Vehicle detail mobile tabs hotfix v24 ===== */
@media (max-width: 640px) {
  .vehicle-tabs__inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: min(calc(100% - 20px), var(--container));
    overflow: visible;
  }
  .vehicle-tab {
    min-width: 0;
    min-height: 50px;
    padding: 0 2px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
    font-size: .72rem;
    font-weight: 760;
    letter-spacing: -.02em;
  }
  .vehicle-tab::after {
    right: 6px;
    left: 6px;
  }
}
@media (max-width: 370px) {
  .vehicle-tab {
    font-size: .66rem;
  }
}


@media (max-width: 768px) {
  :where(
    #vehicles .section-heading h2,
    #news .section-heading h2,
    #faq .section-heading h2,
    #technology .section-heading h2,
    #services .section-heading h2,
    #showroom .showroom-content h2,
    #khuyen-mai .offer-visual__content h2,
    .about-page-main .about-content h2,
    .charging-page-hero h1,
    .charging-map-layout .section-heading h2,
    .charging-support-card h2
  ) {
    max-width: 100%;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    -webkit-hyphens: none;
    hyphens: none;
    letter-spacing: -.03em;
  }

  #vehicles .section-heading h2 {
    max-width: 20ch;
    margin: 8px 0 12px;
    font-size: clamp(1.58rem, 6.6vw, 1.84rem);
    line-height: 1.16;
  }

  #news .section-heading h2,
  #faq .section-heading h2 {
    max-width: 20ch;
    margin: 8px 0 13px;
    font-size: clamp(1.62rem, 6.8vw, 1.9rem);
    line-height: 1.15;
  }

  #technology .section-heading h2,
  #services .section-heading h2 {
    max-width: 20ch;
    font-size: clamp(1.58rem, 6.5vw, 1.84rem);
    line-height: 1.15;
  }

  #showroom .showroom-content h2 {
    max-width: 20ch;
    margin: 10px 0 14px;
    font-size: clamp(1.62rem, 6.8vw, 1.9rem);
    line-height: 1.13;
  }

  #khuyen-mai .offer-visual__content {
    right: 24px;
    left: 24px;
  }

  #khuyen-mai .offer-visual__content h2 {
    max-width: 20ch;
    margin: 9px 0 12px;
    font-size: clamp(1.62rem, 6.8vw, 1.9rem);
    line-height: 1.12;
  }

  .about-page-main .about-content h2 {
    max-width: 21ch;
    margin: 8px 0 13px;
    font-size: clamp(1.62rem, 6.8vw, 1.9rem);
    line-height: 1.13;
  }

  .charging-page-hero h1 {
    max-width: 17ch;
    margin: 11px 0 16px;
    font-size: clamp(2rem, 8.6vw, 2.38rem);
    line-height: 1.06;
    letter-spacing: -.04em;
  }

  .charging-map-layout .section-heading h2 {
    max-width: 20ch;
    margin: 8px 0 13px;
    font-size: clamp(1.66rem, 7vw, 1.96rem);
    line-height: 1.13;
  }

  .charging-support-card h2 {
    max-width: 21ch;
    margin: 9px 0 13px;
    font-size: clamp(1.5rem, 6.4vw, 1.78rem);
    line-height: 1.16;
  }

  #vehicles .section-heading p,
  #news .section-heading p,
  #faq .section-heading p,
  .about-page-main .about-content > p,
  .charging-map-layout .section-heading > p {
    font-size: .9rem;
    line-height: 1.62;
  }
}

@media (max-width: 390px) {
  #vehicles .section-heading h2,
  #news .section-heading h2,
  #faq .section-heading h2,
  #showroom .showroom-content h2,
  #khuyen-mai .offer-visual__content h2,
  .about-page-main .about-content h2,
  .charging-map-layout .section-heading h2 {
    font-size: 1.65rem;
  }

  .charging-page-hero h1 {
    font-size: 2rem;
  }

  .charging-support-card h2 {
    font-size: 1.5rem;
  }
}

/* ===== MOBILE HEADING SYSTEM V27 START ===== */
@media (max-width: 768px) {
  :where(
    #vehicles .section-heading h2,
    #news .section-heading h2,
    #faq .section-heading h2,
    #technology .section-heading h2,
    #services .section-heading h2,
    #showroom .showroom-content h2,
    #khuyen-mai .offer-visual__content h2,
    .about-page-main .about-content h2,
    .charging-page-hero h1,
    .charging-map-layout .section-heading h2,
    .charging-support-card h2
  ) {
    max-width: 100%;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    -webkit-hyphens: none;
    hyphens: none;
    letter-spacing: -.03em;
  }

  #vehicles .section-heading h2 {
    max-width: 20ch;
    margin: 8px 0 12px;
    font-size: clamp(1.58rem, 6.6vw, 1.84rem);
    line-height: 1.16;
  }

  #news .section-heading h2,
  #faq .section-heading h2 {
    max-width: 20ch;
    margin: 8px 0 13px;
    font-size: clamp(1.62rem, 6.8vw, 1.9rem);
    line-height: 1.15;
  }

  #technology .section-heading h2,
  #services .section-heading h2 {
    max-width: 20ch;
    font-size: clamp(1.58rem, 6.5vw, 1.84rem);
    line-height: 1.15;
  }

  #showroom .showroom-content h2 {
    max-width: 20ch;
    margin: 10px 0 14px;
    font-size: clamp(1.62rem, 6.8vw, 1.9rem);
    line-height: 1.13;
  }

  #khuyen-mai .offer-visual__content {
    right: 24px;
    left: 24px;
  }

  #khuyen-mai .offer-visual__content h2 {
    max-width: 20ch;
    margin: 9px 0 12px;
    font-size: clamp(1.62rem, 6.8vw, 1.9rem);
    line-height: 1.12;
  }

  .about-page-main .about-content h2 {
    max-width: 21ch;
    margin: 8px 0 13px;
    font-size: clamp(1.62rem, 6.8vw, 1.9rem);
    line-height: 1.13;
  }

  .charging-page-hero h1 {
    max-width: 17ch;
    margin: 11px 0 16px;
    font-size: clamp(2rem, 8.6vw, 2.38rem);
    line-height: 1.06;
    letter-spacing: -.04em;
  }

  .charging-map-layout .section-heading h2 {
    max-width: 20ch;
    margin: 8px 0 13px;
    font-size: clamp(1.66rem, 7vw, 1.96rem);
    line-height: 1.13;
  }

  .charging-support-card h2 {
    max-width: 21ch;
    margin: 9px 0 13px;
    font-size: clamp(1.5rem, 6.4vw, 1.78rem);
    line-height: 1.16;
  }

  #vehicles .section-heading p,
  #news .section-heading p,
  #faq .section-heading p,
  .about-page-main .about-content > p,
  .charging-map-layout .section-heading > p {
    font-size: .9rem;
    line-height: 1.62;
  }
}

@media (max-width: 390px) {
  #vehicles .section-heading h2,
  #news .section-heading h2,
  #faq .section-heading h2,
  #showroom .showroom-content h2,
  #khuyen-mai .offer-visual__content h2,
  .about-page-main .about-content h2,
  .charging-map-layout .section-heading h2 {
    font-size: 1.65rem;
  }

  .charging-page-hero h1 {
    font-size: 2rem;
  }

  .charging-support-card h2 {
    font-size: 1.5rem;
  }
}
/* ===== MOBILE HEADING SYSTEM V27 END ===== */

/* ===== CORRECTIVE PRODUCT LAYOUT v29 START ===== */
/* =========================================================
   BYD CÀ MAU — CORRECTIVE PRODUCT LAYOUT v29
   Sửa lỗi v28: ảnh xe bị tụt/cắt, khoảng cách lớn, tiêu đề wrap xấu
   ========================================================= */

/* 1) Khôi phục ảnh xe về luồng bố cục bình thường, không absolute. */
.vehicle-card--catalog .vehicle-card__visual {
  position: relative;
  display: block;
  height: 216px;
  min-height: 216px;
  padding: 0;
  overflow: hidden;
}

.vehicle-card--catalog .vehicle-card__visual > a {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 46px 14px 8px;
  overflow: hidden;
}

.vehicle-card--catalog .vehicle-card__image {
  display: block;
  width: min(94%, 390px) !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  transform-origin: center !important;
}

/* 2) Thu gọn khoảng cách giữa các section lớn trên trang chủ. */
#services.section {
  padding-bottom: 38px;
}

#showroom.section {
  padding-top: 38px;
  padding-bottom: 38px;
}

#news.section {
  padding-top: 38px;
}

/* 3) Tiêu đề phải hiện đủ chữ rồi mới xuống dòng tự nhiên. */
.source-story__content h3,
.source-story-section .section-heading h2,
.source-details-section .section-heading h2,
.vehicle-story__content h2,
.vehicle-summary h1,
.vehicle-card--catalog h3,
.vehicle-card--catalog .vehicle-card__title {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
  text-wrap: wrap !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  hyphens: none !important;
}

/* 4) Thu gọn bố cục chi tiết xe trên tablet/mobile. */
@media (max-width: 720px) {
  .vehicle-card--catalog .vehicle-card__visual {
    height: 188px;
    min-height: 188px;
  }

  .vehicle-card--catalog .vehicle-card__visual > a {
    padding: 42px 8px 5px;
  }

  .vehicle-card--catalog .vehicle-card__image {
    width: 96% !important;
    height: 100% !important;
  }

  .vehicle-card--catalog .vehicle-card__body {
    padding: 16px 15px 18px;
  }

  .vehicle-card--catalog h3,
  .vehicle-card--catalog .vehicle-card__title {
    font-size: 1.16rem !important;
    line-height: 1.16 !important;
    letter-spacing: -.022em !important;
  }

  .vehicle-card--catalog .vehicle-card__description {
    margin-top: 7px;
    font-size: .82rem;
    line-height: 1.48;
  }

  /* Giảm tổng khoảng trống giữa các phần trên mobile. */
  #services.section {
    padding-bottom: 25px;
  }

  #showroom.section {
    padding-top: 25px;
    padding-bottom: 25px;
  }

  #news.section {
    padding-top: 25px;
  }

  .source-story-section,
  .source-gallery-section,
  .source-details-section {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .source-story-list {
    gap: 13px !important;
    margin-top: 22px !important;
  }

  .source-story {
    min-height: 0 !important;
  }

  .source-story__media {
    min-height: 0 !important;
  }

  .source-story__media img {
    width: 100% !important;
    height: clamp(205px, 58vw, 248px) !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .source-story__content {
    min-height: 0 !important;
    padding: 20px 18px 22px !important;
  }

  .source-story__content .eyebrow {
    margin-bottom: 0;
    font-size: .65rem !important;
    line-height: 1.35;
    letter-spacing: .12em;
  }

  /* Nhỏ hơn bản v28 khoảng 2 px. */
  .source-story__content h3 {
    margin: 8px 0 12px !important;
    font-size: clamp(1.34rem, 5.8vw, 1.62rem) !important;
    line-height: 1.14 !important;
    letter-spacing: -.03em !important;
  }

  .source-story__content p {
    margin: 0 0 15px !important;
    font-size: .88rem !important;
    line-height: 1.58 !important;
  }

  .source-story__content .text-link,
  .source-story__content a {
    font-size: .9rem !important;
  }

  .source-story-section .section-heading,
  .source-details-section .section-heading {
    width: calc(100% - 30px) !important;
  }

  .source-story-section .section-heading h2,
  .source-details-section .section-heading h2 {
    margin: 8px 0 11px !important;
    font-size: clamp(1.58rem, 6.7vw, 1.9rem) !important;
    line-height: 1.13 !important;
    letter-spacing: -.03em !important;
  }

  .source-story-section .section-heading p,
  .source-details-section .section-heading p {
    font-size: .87rem !important;
    line-height: 1.55 !important;
  }

  .source-details-grid {
    gap: 7px !important;
    margin-top: 21px !important;
  }

  .source-detail-item summary {
    min-height: 54px !important;
    padding: 12px 15px !important;
    font-size: .91rem !important;
  }

  .source-detail-item p {
    padding: 0 15px 15px !important;
    font-size: .84rem !important;
    line-height: 1.55 !important;
  }

  .source-gallery-group {
    margin-top: 25px !important;
  }

  .vehicle-metric-strip > div {
    min-height: 100px !important;
    padding: 14px !important;
  }

  .vehicle-metric-strip strong {
    margin: 14px 0 5px !important;
    font-size: 1.16rem !important;
  }

  .vehicle-metric-strip small {
    font-size: .74rem !important;
    line-height: 1.38 !important;
  }
}

@media (max-width: 390px) {
  .vehicle-card--catalog .vehicle-card__visual {
    height: 176px;
    min-height: 176px;
  }

  .source-story__content h3 {
    font-size: 1.29rem !important;
  }

  .source-story-section .section-heading h2,
  .source-details-section .section-heading h2 {
    font-size: 1.52rem !important;
  }
}
/* ===== CORRECTIVE PRODUCT LAYOUT v29 END ===== */

/* ===== VEHICLE CARD SIZE BOOST v31 START ===== */

/* Gỡ triết lý hiển thị nhỏ trước đây, ưu tiên xe to - đều - đẹp */
.vehicle-card--catalog .vehicle-card__visual,
.vehicle-card .vehicle-card__visual {
  min-height: 255px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 14px 8px !important;
  overflow: hidden !important;
}

.vehicle-card--catalog .vehicle-card__visual > a,
.vehicle-card .vehicle-card__visual > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  position: static !important;
}

.vehicle-card--catalog .vehicle-card__image,
.vehicle-card .vehicle-card__image,
.vehicle-card--catalog img.vehicle-card__image,
.vehicle-card img.vehicle-card__image {
  display: block !important;
  width: auto !important;
  height: 178px !important;
  max-height: 178px !important;
  max-width: 94% !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
  transform: scale(1.18) !important;
  transform-origin: center center !important;
}

/* Với các ảnh có nhiều khoảng trắng, phóng thêm một chút nhưng không làm vỡ layout */
.vehicle-card--catalog .vehicle-card__media,
.vehicle-card .vehicle-card__media {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.vehicle-card--catalog .vehicle-card__body,
.vehicle-card .vehicle-card__body {
  padding-top: 14px !important;
}

.vehicle-card--catalog .vehicle-card__chips,
.vehicle-card .vehicle-card__chips {
  margin-bottom: 6px !important;
}

/* Màn hình lớn */
@media (min-width: 1500px) {
  .vehicle-card--catalog .vehicle-card__visual,
  .vehicle-card .vehicle-card__visual {
    min-height: 270px !important;
  }

  .vehicle-card--catalog .vehicle-card__image,
  .vehicle-card .vehicle-card__image,
  .vehicle-card--catalog img.vehicle-card__image,
  .vehicle-card img.vehicle-card__image {
    height: 188px !important;
    max-height: 188px !important;
    transform: scale(1.2) !important;
  }
}

/* Tablet/mobile */
@media (max-width: 991px) {
  .vehicle-card--catalog .vehicle-card__visual,
  .vehicle-card .vehicle-card__visual {
    min-height: 205px !important;
    padding: 12px 10px 6px !important;
  }

  .vehicle-card--catalog .vehicle-card__image,
  .vehicle-card .vehicle-card__image,
  .vehicle-card--catalog img.vehicle-card__image,
  .vehicle-card img.vehicle-card__image {
    height: 138px !important;
    max-height: 138px !important;
    max-width: 95% !important;
    transform: scale(1.16) !important;
  }

  .vehicle-card--catalog .vehicle-card__body,
  .vehicle-card .vehicle-card__body {
    padding-top: 12px !important;
  }
}

/* Máy rất nhỏ */
@media (max-width: 575px) {
  .vehicle-card--catalog .vehicle-card__visual,
  .vehicle-card .vehicle-card__visual {
    min-height: 188px !important;
  }

  .vehicle-card--catalog .vehicle-card__image,
  .vehicle-card .vehicle-card__image,
  .vehicle-card--catalog img.vehicle-card__image,
  .vehicle-card img.vehicle-card__image {
    height: 126px !important;
    max-height: 126px !important;
    transform: scale(1.12) !important;
  }
}

/* ===== VEHICLE CARD SIZE BOOST v31 END ===== */
