:root {
  --ink: #07111f;
  --muted: #4f6074;
  --line: #dce4ee;
  --brand: #0b4ea2;
  --brand-dark: #092f63;
  --soft: #f2f6fb;
  --card: #ffffff;
  --gold: #f5c25b;
  --success: #0f766e;
}

* { box-sizing: border-box; }
html { width: 100%; max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; width: 100%; max-width: 100%; overflow-x: hidden; color: var(--ink); background: #f7f9fc; font-family: Inter, Arial, "Helvetica Neue", sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: var(--brand); }
button, input, select { font: inherit; }

.lp-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 11px max(18px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(220, 228, 238, .86);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
}
.lp-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 900; text-decoration: none; white-space: nowrap; }
.lp-brand img, img[src*="logo%20vinfast"], img[alt*="Logo"] { width: 42px; height: 42px; border-radius: 50% !important; aspect-ratio: 1 / 1; object-fit: cover; overflow: hidden; }
.lp-header nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 16px; }
.lp-header nav a { font-weight: 800; text-decoration: none; }

.lp-breadcrumb, .lp-section, .lp-final, .lp-footer,
.tpl-product-hero, .tpl-product-convert, .tpl-price-intro, .tpl-price-workbench,
.tpl-usecase-hero, .tpl-local-hero, .seo-article, .tpl-editorial-hub {
  width: min(1160px, calc(100% - 32px)); margin-inline: auto;
}
.lp-breadcrumb { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: #526174; font-size: 13px; min-width: 0; overflow: hidden; }
.lp-breadcrumb > * { min-width: 0; }
.lp-breadcrumb a { font-weight: 800; text-decoration: none; }
.lp-breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-eyebrow { margin: 0 0 10px; color: var(--brand); font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.lp-lead { margin: 0; max-width: 720px; color: var(--muted); font-size: 18px; }
.lp-safe { margin: 14px 0 0; color: #526174; font-size: 13px; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lp-button {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center;
  padding: 12px 18px; border: 1px solid var(--brand); border-radius: 12px;
  background: var(--brand); color: #fff; font-weight: 900; text-decoration: none;
}
.lp-button-ghost { background: transparent; color: var(--brand); }
.lp-button:focus-visible, .lp-link:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid #70a9ff; outline-offset: 3px; }

/* 1 — product/model: stage-first, then a dedicated conversion dock. */
.tpl-product-hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 34px; padding: 42px 0 20px; }
.tpl-product-copy { min-width: 0; padding: 24px 0; grid-column: 1; grid-row: 1; }
.tpl-product-copy h1, .tpl-price-intro h1, .tpl-usecase-copy h1, .tpl-local-copy h1 { margin: 0 0 16px; font-size: clamp(36px, 6vw, 66px); line-height: 1.01; letter-spacing: -.045em; overflow-wrap: break-word; }
.tpl-product-stage { position: relative; min-width: 0; min-height: 390px; margin: 0; display: grid; place-items: center; overflow: hidden; border: 1px solid #dce6f1; border-radius: 34px; background: #fff; grid-column: 2; grid-row: 1; }
.tpl-product-stage::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 54px; height: 18px; border-radius: 50%; background: rgba(7, 17, 31, .14); filter: blur(13px); }
.tpl-product-stage img { position: relative; z-index: 1; width: 88%; height: 320px; object-fit: contain; }
.tpl-product-stage figcaption { position: absolute; z-index: 2; top: 16px; left: 18px; width: max-content; height: max-content; max-width: calc(100% - 36px); align-self: start; justify-self: start; padding: 5px 8px; border-radius: 7px; background: rgba(255, 255, 255, .9); color: var(--brand-dark); font-size: 12px; font-weight: 900; line-height: 1.2; }
.tpl-product-hero > .lp-lead-panel { display: grid; grid-template-columns: .62fr 1.38fr; gap: 24px; align-items: start; grid-column: 1 / -1; grid-row: 2; }
.tpl-product-hero > .lp-lead-panel > .lp-eyebrow, .tpl-product-hero > .lp-lead-panel > h2 { grid-column: 1; }
.tpl-product-hero > .lp-lead-panel > .lp-form { grid-column: 2; grid-row: 1 / span 3; }

/* 2 — price/comparison: compact intro + table workbench + quote rail. */
.tpl-price-intro { padding: 38px 0 22px; border-bottom: 1px solid var(--line); }
.tpl-price-intro h1 { max-width: 880px; }
.tpl-price-workbench { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr); gap: 24px; align-items: start; padding: 26px 0 8px; }
.tpl-price-primary { min-width: 0; }
.tpl-price-primary > .lp-section { width: 100%; margin: 0; }
.tpl-price-workbench .lp-lead-panel { position: sticky; top: 82px; }
.lp-template--price-comparison .lp-module-table { border-radius: 24px; }

/* 3 — use case: story on the left, visual + need form on the right. */
.tpl-usecase-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .86fr); gap: 26px; padding: 36px 0 18px; align-items: start; }
.tpl-usecase-copy { min-width: 0; padding: 24px 8px 24px 0; }
.tpl-usecase-side { min-width: 0; display: grid; gap: 14px; }
.lp-hero-bike { position: relative; min-height: 190px; overflow: hidden; border: 1px solid #dce7f3; border-radius: 26px; background: linear-gradient(145deg, #eef5ff, #fff); }
.lp-hero-bike span { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 9px; border-radius: 8px; background: #fff; color: var(--brand); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lp-hero-bike img { width: 100%; height: 205px; object-fit: contain; padding: 24px; }

/* 4 — showroom/local: locality proof and appointment share one first-screen block. */
.tpl-local-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .75fr); gap: 26px; padding: 38px 0 20px; }
.tpl-local-copy { min-width: 0; padding: 30px; border-radius: 30px; color: #fff; background: linear-gradient(135deg, #07111f, #0c3975); }
.tpl-local-copy .lp-eyebrow, .tpl-local-copy .lp-lead { color: #d7e8ff; }
.tpl-local-copy .lp-button-ghost { border-color: #fff; color: #fff; }
.tpl-local-proof { display: grid; gap: 2px; margin-top: 22px; padding: 18px; border-left: 4px solid var(--gold); background: rgba(255, 255, 255, .09); }
.tpl-local-proof span { color: #c8dbf5; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.tpl-local-proof strong { font-size: 27px; }
.tpl-local-proof small { color: #d7e8ff; }

/* 5 — editorial/advice: reading rail, summary aside and in-article form. */
.tpl-editorial-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 28px; padding: 38px 0 18px; }
.tpl-editorial-hero h1 { margin: 0 0 16px; font-size: clamp(36px, 6vw, 62px); line-height: 1.03; letter-spacing: -.04em; }
.tpl-editorial-summary { align-self: start; padding: 22px; border-top: 4px solid var(--brand); background: #edf4fd; }
.tpl-editorial-summary strong { display: block; margin-bottom: 8px; font-size: 18px; }
.seo-article { max-width: 940px; margin-top: 22px; }
.seo-article-section { margin: 20px 0; padding: 24px 26px; border-left: 3px solid #c5d8ef; background: #fff; }
.seo-article-section h2 { margin: 0 0 8px; font-size: clamp(24px, 4vw, 36px); line-height: 1.12; letter-spacing: -.025em; }
.seo-article-section p { margin: 0; color: #344357; }
.tpl-editorial-convert { display: grid; grid-template-columns: .7fr 1.3fr; gap: 22px; margin: 28px 0; padding: 24px; border-radius: 22px; background: #edf4fd; }
.tpl-editorial-convert .lp-form { grid-column: 2; grid-row: 1 / span 3; }
.tpl-editorial-hub { padding: 38px 0 10px; }
.tpl-editorial-hub h1 { max-width: 800px; margin: 0 0 14px; font-size: clamp(38px, 6vw, 64px); line-height: 1.02; letter-spacing: -.045em; }

.lp-lead-panel, .lp-hero-form { min-width: 0; padding: 22px; border: 1px solid #dce5ef; border-radius: 24px; background: #fff; box-shadow: 0 20px 50px rgba(20, 43, 76, .08); }
.lp-lead-panel h2, .lp-hero-form h2 { margin: 0 0 14px; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.1; }
.lp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; }
.lp-form label { display: grid; gap: 6px; min-width: 0; color: #334155; font-size: 12px; font-weight: 850; }
.lp-form input, .lp-form select { width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--ink); }
.lp-form button { min-height: 48px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 900; cursor: pointer; }
.lp-form button:disabled { opacity: .62; cursor: wait; }
.lp-form-note { margin: 0; color: #526174; font-size: 12px; }
.lp-form-note[data-state="success"] { color: #0f766e; }
.lp-form-note[data-state="error"] { color: #a21d12; }
.lp-form button, .lp-form-note { grid-column: 1 / -1; }
.lp-hp { position: fixed !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; clip-path: inset(50%) !important; }

.lp-section { margin-top: 34px; padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.lp-section-soft { background: #eef4fb; }
.lp-section-head { margin-bottom: 20px; }
.lp-section-head h2 { margin: 0; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -.035em; }
.lp-product-grid, .lp-info-grid, .lp-compare-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.lp-product-card > div:last-child { padding: 16px; }
.lp-product-media { position: relative; min-height: 190px; padding: 18px; background: linear-gradient(145deg, #f4f8fd, #fff); }
.lp-product-media img { width: 100%; height: 170px; object-fit: contain; }
.lp-product-badge { position: absolute; z-index: 2; top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 5px 8px; border-radius: 7px; background: var(--brand-dark); color: #fff; font-size: 10px; font-weight: 900; }
.lp-card-kicker { margin: 0 0 4px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.lp-product-card h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.1; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-chips span { padding: 4px 7px; border: 1px solid var(--line); border-radius: 6px; color: #46566a; font-size: 10px; }
.lp-price { display: grid; margin: 12px 0 8px; }
.lp-price small { color: var(--muted); }
.lp-price strong { font-size: 21px; }
.lp-link { font-weight: 900; text-decoration: none; }
.lp-info-card, .lp-compare-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.lp-info-card h3, .lp-compare-card h3 { margin: 0 0 8px; line-height: 1.15; }
.lp-info-card p { margin: 0; color: #526174; }
.lp-compare-card img { width: 100%; height: 150px; object-fit: contain; }
.lp-compare-card ul { margin: 10px 0 0; padding-left: 18px; color: #526174; }
.lp-table { overflow: hidden; border: 1px solid #dbe3ed; border-radius: 16px; }
.lp-table-row { display: grid; grid-template-columns: 1.2fr .92fr .78fr .8fr; gap: 10px; padding: 13px 15px; border-top: 1px solid #e5ebf2; align-items: center; }
.lp-table-row:first-child { border-top: 0; }
.lp-table-head { background: #102a4d; color: #fff; font-size: 12px; }
.lp-module-table--dark { color: #fff; background: #07111f; border-color: #132943; }
.lp-module-table--dark .lp-eyebrow, .lp-module-table--dark .lp-safe { color: #bdd3ed; }
.lp-module-table--dark .lp-table { border-color: #24415f; }
.lp-module-table--dark .lp-table-row { border-color: #24415f; }
.lp-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: steps; }
.lp-timeline article { position: relative; min-width: 0; padding: 52px 18px 18px; border-top: 3px solid var(--brand); background: #f5f8fc; counter-increment: steps; }
.lp-timeline article::before { content: "0" counter(steps); position: absolute; top: 12px; left: 18px; color: var(--brand); font-weight: 950; }
.lp-timeline h3 { margin: 0 0 6px; }
.lp-timeline p { margin: 0; color: #526174; }
.lp-module-location { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; }
.lp-location-card { padding: 24px; border-radius: 20px; color: #fff; background: var(--brand-dark); }
.lp-location-card .lp-eyebrow { color: #cfe1f6; }
.lp-location-card h2 { margin: 0 0 10px; font-size: 34px; line-height: 1.06; }
.lp-location-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lp-location-models .lp-product-media { min-height: 120px; }
.lp-location-models .lp-product-media img { height: 105px; }
.lp-location-models .lp-product-card h3 { font-size: 18px; }
.lp-location-models .lp-chips, .lp-location-models .lp-price, .lp-location-models .lp-link { display: none; }
.lp-module-voucher { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; color: #fff; background: linear-gradient(135deg, #0c4da2, #07111f); }
.lp-module-voucher .lp-eyebrow { color: #d8e8fa; }
.lp-module-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.lp-detail-stage { min-height: 320px; display: grid; place-items: center; border-radius: 22px; background: radial-gradient(circle, #fff, #e8f1fb); }
.lp-detail-stage img { width: 90%; height: 280px; object-fit: contain; }
.lp-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lp-spec-grid > div { display: grid; padding: 13px; border-left: 3px solid var(--brand); background: #f3f7fc; }
.lp-spec-grid small { color: var(--muted); }
.lp-faq { display: grid; gap: 10px; }
.lp-faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.lp-faq summary { min-height: 48px; padding: 13px 16px; font-weight: 900; cursor: pointer; }
.lp-faq p { margin: 0; padding: 0 16px 16px; color: #526174; }
.lp-final { margin-top: 34px; padding: 34px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, #07111f, #153b6c); }
.lp-final h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 44px); line-height: 1.06; }
.lp-final p { max-width: 720px; }
.lp-footer { padding-block: 28px 100px; color: var(--muted); font-size: 13px; }
.seo-related ul, .lp-hero-form ul { margin: 0; padding-left: 20px; }
.seo-related li, .lp-hero-form li { margin: 8px 0; }
.seo-related a, .lp-hero-form a { font-weight: 800; }

@media (max-width: 900px) {
  .tpl-product-hero, .tpl-usecase-hero, .tpl-local-hero, .tpl-editorial-hero, .tpl-price-workbench, .lp-module-location, .lp-module-detail { grid-template-columns: 1fr; }
  .tpl-product-copy, .tpl-product-stage, .tpl-product-hero > .lp-lead-panel { grid-column: 1; grid-row: auto; }
  .tpl-product-hero > .lp-lead-panel, .tpl-editorial-convert { grid-template-columns: 1fr; }
  .tpl-product-hero > .lp-lead-panel > .lp-form, .tpl-editorial-convert .lp-form { grid-column: 1; grid-row: auto; }
  .tpl-price-workbench .lp-lead-panel { position: static; }
  .lp-product-grid, .lp-info-grid, .lp-compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .lp-header { min-height: 58px; padding: 8px 14px; }
  .lp-brand img { width: 38px; height: 38px; }
  .lp-brand span { font-size: 14px; }
  .lp-header nav a:not(:last-child) { display: none; }
  .lp-header nav { gap: 8px; }
  .lp-header nav a { font-size: 13px; }
  .lp-breadcrumb, .lp-section, .lp-final, .lp-footer,
  .tpl-product-hero, .tpl-product-convert, .tpl-price-intro, .tpl-price-workbench,
  .tpl-usecase-hero, .tpl-local-hero, .seo-article, .tpl-editorial-hub { width: min(100% - 24px, 1160px); }
  .lp-breadcrumb { margin-top: 12px; }
  .lp-breadcrumb > a, .lp-breadcrumb > span:not(:last-child) { flex: 0 0 auto; white-space: nowrap; }
  .lp-breadcrumb > span:last-child { flex: 1 1 auto; }
  .tpl-product-hero, .tpl-usecase-hero, .tpl-local-hero, .tpl-editorial-hero { gap: 14px; padding: 20px 0 8px; }
  .tpl-product-copy, .tpl-usecase-copy { padding: 6px 0; }
  .tpl-product-copy h1, .tpl-price-intro h1, .tpl-usecase-copy h1, .tpl-local-copy h1, .tpl-editorial-hero h1, .tpl-editorial-hub h1 { font-size: clamp(31px, 10vw, 43px); line-height: 1.03; overflow-wrap: anywhere; }
  .lp-lead { font-size: 16px; }
  .lp-actions { display: grid; grid-template-columns: 1fr; }
  .lp-button { width: 100%; }
  .tpl-product-stage { min-height: 190px; border-radius: 22px; }
  .tpl-product-stage img { height: 178px; }
  .tpl-product-stage::after { bottom: 34px; }
  .tpl-product-stage figcaption { bottom: 9px; }
  .tpl-price-intro { padding: 22px 0 14px; }
  .tpl-price-workbench { gap: 14px; padding-top: 16px; }
  .tpl-price-primary { order: 2; }
  .tpl-price-workbench .lp-lead-panel { order: 1; }
  .tpl-usecase-side { display: contents; }
  .tpl-usecase-side .lp-hero-bike { order: 2; min-height: 132px; }
  .tpl-usecase-side .lp-lead-panel { order: 1; }
  .tpl-product-hero > .lp-lead-panel { order: -1; }
  .tpl-local-hero > .lp-lead-panel { order: -1; }
  .lp-hero-bike img { height: 138px; padding: 18px; }
  .tpl-local-copy { padding: 22px; border-radius: 22px; }
  .tpl-local-copy h1 { font-size: clamp(31px, 9vw, 38px); }
  .tpl-local-copy .lp-lead { font-size: 15px; }
  .tpl-local-copy .lp-actions { margin-top: 16px; }
  .tpl-local-proof { margin-top: 14px; padding: 14px; }
  .tpl-local-proof strong { font-size: 23px; }
  .tpl-editorial-summary { padding: 17px; }
  .tpl-editorial-hero .tpl-editorial-summary { display: none; }
  .seo-article-section { padding: 18px; margin: 14px 0; }
  .tpl-editorial-convert { padding: 18px; }
  .lp-lead-panel, .lp-hero-form { padding: 18px; border-radius: 18px; }
  .lp-form { grid-template-columns: 1fr; }
  .lp-form button, .lp-form-note { grid-column: 1; }
  .lp-section { margin-top: 20px; padding: 20px 16px; border-radius: 20px; min-width: 0; overflow: hidden; }
  .lp-product-grid, .lp-info-grid, .lp-compare-grid, .lp-timeline, .lp-location-models, .lp-module-voucher { grid-template-columns: 1fr; }
  .lp-product-card, .lp-info-card, .lp-compare-card { width: 100%; min-width: 0; }
  .lp-product-media { min-height: 155px; }
  .lp-product-media img { height: 145px; }
  .lp-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .lp-table-row { min-width: 640px; grid-template-columns: 1.25fr .95fr .8fr .8fr; }
  .lp-module-table::after { content: "Vuốt ngang để xem đủ bảng"; display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
  .lp-module-table--dark::after { color: #bdd3ed; }
  .lp-detail-stage { min-height: 200px; }
  .lp-detail-stage img { height: 185px; }
  .lp-spec-grid { grid-template-columns: 1fr; }
  .lp-final { padding: 24px 18px; border-radius: 20px; }
  .lp-footer { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
