/* ==========================================================================
   Dũng Lạc Truck & Bus (dunglactruckbus) – main.css
   Phương án A "Showroom Navy". Font Be Vietnam Pro tự host (OFL).
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/be-vietnam-pro-vietnamese-400-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/be-vietnam-pro-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/be-vietnam-pro-vietnamese-500-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/be-vietnam-pro-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/be-vietnam-pro-vietnamese-600-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/be-vietnam-pro-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/be-vietnam-pro-vietnamese-700-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/be-vietnam-pro-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/be-vietnam-pro-vietnamese-800-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/be-vietnam-pro-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
	--navy: #002c5f;
	--navy-2: #0b3d75;
	--navy-ink: #0b1b2e;
	--sky: #00aad2;
	--sky-ink: #007ea0;
	--accent: #d71920;
	--accent-2: #b8141a;
	--price: #b70100;
	--ink: #1c2733;
	--muted: #5b6b7d;
	--line: #e3e8ee;
	--line-2: #cdd6e0;
	--bg-soft: #f3f6f9;
	--radius: 8px;
	--radius-lg: 14px;
	--radius-xl: 20px;
	--shadow: 0 14px 34px rgba(0, 44, 95, .12);
	--shadow-sm: 0 4px 14px rgba(0, 44, 95, .08);
	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
:root { --hdr-h: 76px; --adm: 0px; }
.admin-bar { --adm: 32px; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + var(--adm) + 74px); }
body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; line-height: 1.2; color: var(--navy); font-weight: 700; }
p { margin: 0 0 12px; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--sky-ink); }
img { max-width: 100%; height: auto; vertical-align: middle; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
[hidden] { display: none !important; }
.ico { flex: none; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100000; background: var(--navy); color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; color: #fff; }
.wrap, .container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.desktop { }
.mobile { display: none; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-block; color: var(--sky-ink); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.h2 { font-size: 32px; font-weight: 800; color: var(--navy); margin: 6px 0 20px; }
.pill { display: inline-flex; align-items: center; align-self: flex-start; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; }
.pill--sky { background: rgba(0, 170, 210, .18); color: #7fdcf2; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.link-arrow .ico { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks li { display: flex; gap: 10px; margin-bottom: 10px; line-height: 1.55; }
.ticks .ico { width: 20px; height: 20px; color: #0a8f5a; margin-top: 2px; }
.steps { counter-reset: s; display: grid; gap: 10px; margin: 6px 0 16px; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; flex: none; }

/* ---------- Buttons ---------- */
.btn, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 2px solid transparent; border-radius: var(--radius); font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 18px; height: 18px; }
.btn-accent, .btn-red { background: var(--accent); color: #fff !important; }
.btn-accent:hover, .btn-red:hover { background: var(--accent-2); box-shadow: 0 6px 18px rgba(215, 25, 32, .3); }
.btn-primary, .button { background: var(--navy); color: #fff !important; }
.btn-primary:hover, .button:hover { background: var(--navy-2); }
.btn-outline { background: #fff; border-color: var(--navy); color: var(--navy) !important; }
.btn-outline:hover { background: var(--navy); color: #fff !important; }
.btn-white { background: #fff; color: var(--navy) !important; }
.btn-white:hover { background: #e9f0f7; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff !important; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ghost { border-color: var(--line-2); color: var(--navy) !important; background: #fff; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--sky); color: #fff; font-size: 14px; }
.topbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.topbar__btn { border: 0; background: #fff; color: var(--navy); border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: 13px; }
.topbar__btn:hover { background: #e9f7fb; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(0, 44, 95, .08); }
.admin-bar .site-header { top: 32px; }
.header-main { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand__logo { height: 34px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; flex: 0 1 auto; min-width: 0; }
.brand__word { font-weight: 800; font-size: 22px; letter-spacing: .08em; }
.brand__sep { width: 1px; height: 28px; background: var(--line-2); }
.brand__name { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name b { font-size: 15px; }
.brand__name small { font-size: 12px; color: var(--muted); }
.main-nav { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 55; }
.main-nav__in { display: flex; align-items: center; }
.main-nav .menu { display: flex; flex-wrap: wrap; gap: 2px 4px; padding: 6px 0; margin-left: -12px; }
.main-nav .menu > li { position: relative; display: flex; align-items: center; }
.main-nav .menu > li > a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: 15px; white-space: nowrap; }
.main-nav .menu > li > a:hover, .main-nav .menu > li.is-active > a { color: var(--navy); background: var(--bg-soft); }
.main-nav .menu > li.is-active > a { font-weight: 700; }
.menu-sub { display: none; position: absolute; top: calc(100% + 4px); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; z-index: 70; }
.menu-sub li a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 15px; }
.menu-sub li a:hover { background: var(--bg-soft); color: var(--navy); }
.menu-sub .menu-sub { top: -8px; left: 100%; }
.main-nav li:hover > .menu-sub, .main-nav li:focus-within > .menu-sub { display: block; }
.sub-toggle { display: none; }
.main-nav__mobile-cta { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; flex: none; }
.header-cta { flex: none; }
.header-hotline { display: flex; flex-direction: column; line-height: 1.2; text-align: right; flex: none; white-space: nowrap; }
.header-hotline small { font-size: 12px; color: var(--muted); }
.header-hotline b { font-size: 18px; font-weight: 800; color: var(--navy); }
.header-call { display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff !important; }
.header-call .ico { width: 20px; height: 20px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--navy); place-items: center; }
.menu-toggle .ico { width: 24px; height: 24px; }

/* ---------- Hero (trang chủ) ---------- */
.hero { background: var(--navy); color: #fff; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero__text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero__title { margin: 0; color: #fff; font-size: 52px; line-height: 1.1; font-weight: 800; }
.hero__sub { margin: 0; color: #c9d6e5; font-size: 18px; line-height: 1.6; max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn { min-height: 52px; padding: 0 26px; }
.hero__form .lead-form { box-shadow: 0 24px 60px rgba(0, 0, 0, .28); border: 0; }

.hero-slider { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #0d3a6e; margin-top: 6px; }
.hero-slider__track { display: grid; }
.hero-slider__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hero-slider__slide.is-active { opacity: 1; visibility: visible; }
.hero-slider__slide img { width: 100%; display: block; aspect-ratio: 1920 / 700; object-fit: cover; }
.hero-slider__btn { display: block; width: 100%; padding: 0; border: 0; background: none; }
.hero-slider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .3) no-repeat center / 12px; z-index: 3; }
.hero-slider__nav:hover { background-color: rgba(0, 0, 0, .55); }
.hero-slider__nav--prev { left: 12px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 111 208'%3E%3Cpath d='M104 0L0 104l104 104 7-7-97-97L111 7z' fill='%23fff'/%3E%3C/svg%3E"); }
.hero-slider__nav--next { right: 12px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 111 208'%3E%3Cpath d='M7 208l104-104L7 0 0 7l97 97L0 201z' fill='%23fff'/%3E%3C/svg%3E"); }
.hero-slider__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; z-index: 3; }
.hero-slider__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 5px; background: rgba(255, 255, 255, .55); transition: width .2s; }
.hero-slider__dots button.is-active { background: #fff; width: 24px; }

/* ---------- Trust ---------- */
.trust { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.trust__item { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.trust__item .ico { width: 28px; height: 28px; color: var(--sky); }

/* ---------- Sections ---------- */
.section { padding-top: 64px; padding-bottom: 40px; }
.section--tight { padding-top: 24px; padding-bottom: 40px; }
.section-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.section-head .h2 { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 600; transition: all .15s; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Thẻ xe ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.car-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.car-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.car-card__img { display: block; aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.car-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.car-card:hover .car-card__img img { transform: scale(1.04); }
.car-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px; flex: 1; }
.car-card .eyebrow { font-size: 12px; }
.car-card__name { margin: 0; font-size: 20px; }
.car-card__name a { color: var(--navy); }
.car-card__sub { margin: 0; font-size: 14px; color: var(--muted); }
.car-card__price { margin: 4px 0 0; font-size: 14px; }
.car-card__price strong { font-size: 19px; color: var(--price); }
.car-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 12px; }

/* ---------- Tài chính / bảng tính ---------- */
.finance { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; align-items: start; background: var(--bg-soft); border-radius: var(--radius-xl); padding: 40px; }
.finance__text .h2 { margin-top: 6px; }
.calc { display: grid; gap: 16px; padding: 26px; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 44, 95, .08); }
.calc__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc__field span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.calc__field b { color: var(--navy); }
.calc__field input[type=text], .calc__field input[type=number] { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius); }
.calc__field input[type=range] { width: 100%; height: 44px; accent-color: var(--navy); }
.calc__result { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc__result > div { padding: 12px 14px; background: var(--bg-soft); border-radius: 10px; }
.calc__result span { display: block; font-size: 13px; color: var(--muted); }
.calc__result b { font-size: 18px; color: var(--navy); }
.calc__main { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--navy) !important; }
.calc__main span { color: #c9d6e5; font-size: 14px; }
.calc__main b { color: #fff; font-size: 22px; }
.calc__note { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--muted); }
.calc__result .btn { grid-column: 1 / -1; }

/* ---------- Tư vấn viên ---------- */
.advisor { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.advisor__img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.advisor__body .h2 { margin-top: 6px; }

/* ---------- Dịch vụ ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.service { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s; }
.service:hover { border-color: var(--sky); }
.service img { width: 48px; height: 48px; object-fit: contain; }
.service h3 { margin: 0; font-size: 18px; }
.service p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- Bài viết ---------- */
.post-grid, .blogs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; gap: 8px; }
.post-card__link { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.post-card__img { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__title { margin: 0; font-size: 18px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__link:hover .post-card__title { color: var(--navy); }
.post-card__date { font-size: 13px; color: var(--muted); }

.home-bottom { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.home-bottom:not(:has(.home-fb)) { grid-template-columns: 1fr; }
.home-intro h2 { font-size: 26px; }
.home-intro h3 { font-size: 19px; margin-top: 18px; }
.fb-lazy { min-height: 340px; background: var(--bg-soft); border-radius: var(--radius-lg); display: grid; place-items: center; overflow: hidden; }
.fb-lazy__placeholder { padding: 20px; text-align: center; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-ink); color: #c9d6e5; margin-top: 40px; font-size: 14px; line-height: 1.8; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; padding-top: 44px; padding-bottom: 36px; }
.site-footer p { margin: 0; }
.site-footer a { color: #e3ebf3; }
.site-footer a:hover { color: #7fdcf2; }
.footer-brand { color: #fff; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px !important; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 10px !important; }
.footer-title--sub { margin-top: 16px !important; }
.footer-social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-weight: 600; }
.site-footer .lead-form__safe { color: #9fb2c7; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .08); padding: 14px 0; font-size: 13px; color: #8ea3b9; }

/* ---------- Form thu data ---------- */
.lead-form { position: relative; }
.lead-form__kicker { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.lead-form__title { margin: 0 0 4px; font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.25; }
.lead-form__sub { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.lead-form input[type=text], .lead-form input[type=tel], .lead-form input[type=email], .lead-form select, .lead-form textarea { display: block; width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--ink); font-size: 15px; -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s; }
.lead-form textarea { height: auto; padding: 12px 14px; resize: vertical; }
.lead-form select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%231c2733' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; padding-right: 38px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 44, 95, .12); }
.lead-form .is-invalid { border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgba(215, 25, 32, .12) !important; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.lf-field--full { grid-column: 1 / -1; }
.lead-form--labels .lf-grid { grid-template-columns: 1fr; }
.lf-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.lead-form--dark .lf-label { color: #fff; }
.lead-form__submit { min-height: 52px; font-size: 16px; font-weight: 800; }
.lead-form__safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.lead-form__safe .ico { width: 15px; height: 15px; color: #0a8f5a; }
.lead-form__msg:empty { display: none; }
.lead-form__msg { margin-top: 10px; padding: 10px 12px; border-radius: var(--radius); font-weight: 500; font-size: 14px; }
.lead-form__msg.is-ok { background: #e7f8ec; color: #17673a; }
.lead-form__msg.is-err { background: #fdecee; color: #a4111f; }
.lead-form.is-loading .btn { opacity: .75; pointer-events: none; }
.lead-form.is-loading .btn::after { content: ""; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: tdp-spin .7s linear infinite; }
.lead-form--boxed { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: var(--shadow-sm); }
.lead-form--dark .lead-form__title { color: #fff; }
.lead-form--dark .lead-form__sub, .lead-form--dark .lead-form__safe { color: rgba(255, 255, 255, .8); }
.lead-form--dark .lead-form__safe .ico { color: #7ee0a1; }
.lead-form--dark input[type=tel] { border-color: transparent; }
.lead-inline { display: flex; gap: 8px; }
.lead-inline input { flex: 1; min-width: 0; }
.lead-inline .btn { flex: none; min-height: 48px; }
.lead-form--compact .lead-form__title { font-size: 18px; }
.lead-form--compact .lead-form__safe { justify-content: flex-start; }
.lead-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.lead-type input { position: absolute; opacity: 0; pointer-events: none; }
.lead-type span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; font-size: 14px; font-weight: 600; text-align: center; line-height: 1.15; cursor: pointer; transition: all .15s; }
.lead-type input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.lead-type input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 1px; }
.lead-success { text-align: center; padding: 10px 0; }
.lead-success__ico { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; background: #e7f8ec; color: #17a34a; }
.lead-success__ico .ico { width: 36px; height: 36px; }
.lead-form--dark .lead-success { color: #fff; }

/* ---------- Popup ---------- */
.lead-modal { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; }
.lead-modal[hidden] { display: none; }
.lead-modal__overlay { position: absolute; inset: 0; background: rgba(11, 27, 46, .6); backdrop-filter: blur(3px); animation: tdp-fade .2s; }
.lead-modal__box { position: relative; display: grid; grid-template-columns: 260px 1fr; width: 100%; max-width: 820px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: var(--radius-xl); box-shadow: 0 24px 70px rgba(0, 0, 0, .35); animation: tdp-pop .25s ease; }
.lead-modal__close { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--ink); }
.lead-modal__close:hover { background: var(--line); }
.lead-modal__side { background: var(--navy); color: #fff; padding: 26px 22px; display: flex; flex-direction: column; gap: 16px; }
.lead-modal__side img { border-radius: 12px; }
.trust-list li { display: flex; gap: 8px; margin-bottom: 8px; font-weight: 500; font-size: 15px; }
.trust-list .ico { width: 18px; height: 18px; color: #7fdcf2; margin-top: 3px; }
.lead-modal__call { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--radius); background: #fff; color: var(--navy) !important; font-weight: 800; font-size: 17px; }
.lead-modal__main { padding: 30px 28px 24px; }
.lead-modal__kicker { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; background: #fdecee; color: var(--accent); font-weight: 700; font-size: 12px; text-transform: uppercase; }
.lead-modal__title { font-size: 26px; font-weight: 800; margin: 0 0 6px; padding-right: 40px; }
.lead-modal__sub { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
body.modal-open { overflow: hidden; }

/* ---------- Nút nổi + thanh mobile ---------- */
.float-btns { position: fixed; right: 16px; bottom: 20px; z-index: 9990; display: flex; flex-direction: column; gap: 10px; }
.float-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: no-repeat center / 28px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); transition: transform .2s; color: #fff !important; }
.float-btn:hover { transform: scale(1.08); }
.float-btn--fb { background-color: #0084ff; background-image: url(../img/widget_icon_messenger.svg); }
.float-btn--zalo { background-color: #0068ff; background-image: url(../img/widget_icon_zalo.svg); }
.float-btn--call { background: var(--accent); animation: tdp-pulse 2s infinite; }
.float-btn--call .ico { width: 24px; height: 24px; }
.mbar { display: none; }

/* ---------- Tiêu đề trang ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 28px 0 34px; }
.page-hero__title { margin: 8px 0 0; color: #fff; font-size: 38px; font-weight: 800; }
.page-hero__sub { margin: 8px 0 0; color: #c9d6e5; max-width: 720px; }
.page-hero__meta { margin: 8px 0 0; color: #a9bdd3; font-size: 14px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0 6px; font-size: 13px; color: #a9bdd3; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: #d6e2ee; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #7fdcf2; font-weight: 600; }

/* ---------- Bố cục 2 cột ---------- */
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; padding-top: 40px; padding-bottom: 40px; }
.layout-side > .side { order: 2; }
.content-right { min-width: 0; order: 1; }
.side__sticky { position: sticky; top: 100px; display: grid; gap: 16px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.side-card--navy { background: var(--navy); border-color: var(--navy); color: #fff; display: grid; gap: 14px; }
.side-card__img { border-radius: 12px; width: 100%; }
.side-card__quote { margin: 0; font-size: 14px; color: #c9d6e5; font-style: italic; }
.side-card__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.side-card__row .btn { padding: 0 8px; font-size: 13px; white-space: normal; }
.side-card__title { margin: 0 0 8px; font-weight: 700; color: var(--navy); }
.side-card--list li a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.side-card--list li:first-child a { border-top: 0; }
.side-card--list li a b { color: var(--price); white-space: nowrap; }
.side-card--list li a:hover span { color: var(--navy); }
.side .lead-inline { flex-direction: column; }
.side .lead-inline input, .side .lead-inline .btn { flex: none; width: 100%; }

/* ---------- Nội dung soạn thảo ---------- */
.entry-content { overflow-wrap: break-word; font-size: 16px; line-height: 1.75; }
.entry-content h2 { font-size: 26px; margin-top: 28px; }
.entry-content h3 { font-size: 21px; margin-top: 22px; }
.entry-content img { height: auto !important; border-radius: 8px; }
.entry-content a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul { list-style: disc; padding-left: 22px; margin: 6px 0 16px; }
.entry-content ol { list-style: decimal; padding-left: 22px; margin: 6px 0 16px; }
.entry-content li { margin-bottom: 4px; }
.entry-content table { margin: 16px 0; display: block; overflow-x: auto; border-radius: 10px; }
.entry-content table td, .entry-content table th { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.entry-content table tr:nth-child(odd) td { background: #fafbfd; }
.entry-content blockquote { margin: 18px 0; padding: 14px 20px; background: var(--bg-soft); border-radius: 12px; }
.entry-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content .alignleft { float: left; margin: 0 16px 10px 0; }
.entry-content .alignright { float: right; margin: 0 0 10px 16px; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content .wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; }
.entry-meta { margin: 24px 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.post-cta { margin: 28px 0; padding: 26px; border-radius: 16px; background: var(--navy); color: #fff; }
.related-title { font-size: 24px; margin: 32px 0 16px; }
.archive-description { margin-bottom: 20px; }
.empty-state { padding: 36px; text-align: center; background: var(--bg-soft); border-radius: 16px; }
.search-form { display: flex; gap: 8px; max-width: 460px; margin: 12px auto; }
.search-form label { flex: 1; }
.search-form input[type=search] { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius); }
.search-form input[type=submit] { height: 48px; padding: 0 18px; border: 0; border-radius: var(--radius); background: var(--navy); color: #fff; font-weight: 700; cursor: pointer; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 600; }
.pagination a:hover { border-color: var(--navy); }
.pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Trang xe ---------- */
.car-hero { background: var(--navy); color: #fff; padding: 26px 0 0; overflow: hidden; }
.car-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; padding: 24px 0 48px; }
.car-hero__text { display: flex; flex-direction: column; gap: 16px; }
.car-hero__logo { max-height: 46px; width: auto; align-self: flex-start; filter: brightness(0) invert(1); }
.car-hero__title { margin: 0; color: #fff; font-size: 50px; font-weight: 800; line-height: 1.08; }
.car-hero__slogan { margin: 0; font-size: 20px; font-weight: 600; color: #7fdcf2; }
.car-hero__excerpt { margin: 0; color: #c9d6e5; line-height: 1.6; }
.car-hero__price { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 12px; background: rgba(255, 255, 255, .08); align-self: flex-start; }
.car-hero__price span { font-size: 13px; color: #a9bdd3; }
.car-hero__price strong { font-size: 32px; font-weight: 800; color: #fff; }
.car-hero__call { margin: 0; color: #c9d6e5; font-size: 15px; }
.car-hero__call a { color: #fff; font-weight: 800; }
.car-hero__img img { width: 100%; border-radius: var(--radius-xl); background: #fff; }
.car-nav { position: sticky; top: calc(var(--hdr-h) + var(--adm)); z-index: 40; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 4px 14px rgba(0, 44, 95, .05); }
.car-nav__in { display: flex; align-items: center; gap: 12px; min-height: 58px; }
.car-nav__links { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.car-nav__links::-webkit-scrollbar { display: none; }
.car-nav__links a { padding: 9px 14px; border-radius: 999px; color: var(--ink); white-space: nowrap; font-weight: 600; font-size: 14px; }
.car-nav__links a:hover { background: var(--bg-soft); color: var(--navy); }
.car-nav__links a.is-active { background: var(--navy); color: #fff; }
.price-list { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.price-list__row { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); }
.price-list__row:first-child { border-top: 0; }
.price-list__row:nth-child(even) { background: #fafbfd; }
.price-list__name { font-weight: 700; color: var(--ink); }
.price-list__price { font-size: 19px; font-weight: 800; color: var(--price); white-space: nowrap; }
.media-box { border-radius: var(--radius-xl); overflow: hidden; background: #0b1b2e; }
.media-box > img { width: 100%; display: block; }
.yt-lite { position: relative; aspect-ratio: 16 / 9; width: 100%; background: #000 center / cover no-repeat; cursor: pointer; }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-lite__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 84px; height: 84px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 0 0 12px rgba(255, 255, 255, .22); transition: transform .2s; }
.yt-lite__play .ico { width: 38px; height: 38px; }
.yt-lite:hover .yt-lite__play { transform: translate(-50%, -50%) scale(1.07); }
.car-section { padding: 56px 0; }
.car-section--alt { background: var(--bg-soft); }
.car-section__title span { color: var(--sky-ink); }
.car-content { max-width: 1040px; }
.car-content img { display: block; margin: 12px auto; }
.cta-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 30px 34px; border-radius: var(--radius-xl); background: var(--navy); color: #fff; }
.cta-band__title { margin: 0 0 4px; font-size: 22px; font-weight: 800; }
.cta-band__text p:last-child { margin: 0; color: #c9d6e5; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gallery__item { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.05); }
#tra-gop .calc { margin-top: 10px; }

/* ---------- Phiên bản ---------- */
.version-page { padding: 40px 0 20px; }
.version-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.version-main__img img { width: 100%; border-radius: var(--radius-xl); }
.version-main__price-label { margin: 0; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.version-main__price { margin: 0 0 16px; font-size: 36px; font-weight: 800; color: var(--price); }
.version-km { margin-bottom: 16px; padding: 18px 20px; border-radius: 16px; background: #fff6f6; border: 1px solid #f4c7c9; }
.version-km__title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 700; color: var(--accent); }
.version-km__title .ico { width: 20px; height: 20px; }
.version-optin { margin-bottom: 16px; padding: 20px; border-radius: 16px; background: var(--navy); }
.version-optin .lead-form__title { font-size: 17px; }
.version-main__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.version-addr li { display: flex; gap: 8px; margin-bottom: 6px; font-size: 14px; color: var(--muted); }
.version-addr .ico { width: 16px; height: 16px; color: var(--navy); margin-top: 4px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; }
.share a, .share button { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; }
.share__fb { background: #1877f2 !important; color: #fff !important; border-color: #1877f2 !important; }
.share__zalo { background: #0068ff !important; color: #fff !important; border-color: #0068ff !important; }
.version-desc, .version-booking, .version-related { margin-top: 48px; }
.version-booking .lead-form { max-width: 780px; margin: 0 auto; }
.version-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.version-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); transition: box-shadow .2s; }
.version-card:hover { box-shadow: var(--shadow); }
.version-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.version-card__name { padding: 12px 14px 0; font-weight: 700; }
.version-card__price { padding: 2px 14px 14px; color: var(--price); font-weight: 800; }

/* ---------- Bảng giá ---------- */
#page-quotation { padding: 36px 0 40px; }
.quote-updated { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.quote-updated .ico { width: 18px; height: 18px; }
.quote-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 3fr); gap: 28px; align-items: center; padding: 22px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .2s; }
.quote-row:hover { box-shadow: var(--shadow-sm); }
.quote-row__car { color: var(--ink); }
.quote-row__car img { border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.quote-row__car h2 { margin: 10px 0 0; font-size: 20px; }
.quote-row__line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.quote-row__line:first-child { border-top: 0; }
.quote-row__line a { color: var(--ink); font-weight: 600; }
.quote-row__line b { color: var(--price); white-space: nowrap; }
.quote-row__actions { display: grid; gap: 8px; }
.quote-row__actions .btn { white-space: normal; }

/* ---------- Liên hệ ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 28px; }
.contact-info-box { padding: 24px; border: 1px solid var(--line); border-radius: 16px; }
.contact-info-box .h2 { font-size: 22px; }
.contact-list li { display: flex; gap: 10px; margin-bottom: 10px; line-height: 1.5; }
.contact-list .ico { width: 20px; height: 20px; color: var(--sky-ink); margin-top: 2px; }
.map-embed { position: relative; min-height: 340px; border-radius: 16px; overflow: hidden; background: var(--bg-soft); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-form { margin: 8px 0 28px; }
.page-intro { margin: 0 0 24px; }
#page-all { padding: 36px 0 20px; }

/* ---------- 404 ---------- */
.notfound { padding: 40px 24px; text-align: center; }
.notfound__code { font-size: 96px; font-weight: 800; color: var(--navy); line-height: 1; margin: 0 0 10px; }
.notfound > .lead-form { max-width: 540px; margin: 18px auto 32px; }
.notfound .product-grid { text-align: left; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100001; display: grid; place-items: center; background: rgba(5, 12, 22, .92); animation: tdp-fade .2s; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; }
.lightbox__next { right: 16px; top: 50%; }

/* ---------- Animations ---------- */
@keyframes tdp-spin { to { transform: rotate(360deg); } }
@keyframes tdp-fade { from { opacity: 0; } }
@keyframes tdp-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes tdp-up { from { opacity: 0; transform: translateY(40px); } }
@keyframes tdp-pulse { 0% { box-shadow: 0 0 0 0 rgba(215, 25, 32, .5); } 70% { box-shadow: 0 0 0 14px rgba(215, 25, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(215, 25, 32, 0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.header-hotline { display: none; }
	.header-call { display: grid; }
	.main-nav .menu > li > a { padding: 10px 8px; }
}

@media (max-width: 980px) {
	.menu-toggle { display: grid; }
	.header-main { gap: 12px; min-height: 64px; }
	.main-nav { display: none; position: fixed; left: 0; right: 0; top: calc(var(--hdr-h) + var(--adm)); z-index: 59; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0, 44, 95, .12); max-height: calc(100vh - var(--hdr-h) - var(--adm)); overflow-y: auto; padding: 8px 0 16px; }
	.main-nav__in { display: block; }
	.main-nav.is-open { display: block; }
	.main-nav .menu { display: block; margin: 0; padding: 0; }
	.main-nav .menu > li { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.main-nav .menu > li > a { flex: 1; padding: 14px 4px; border-radius: 0; background: none !important; }
	.sub-toggle { display: block; width: 48px; border: 0; background: transparent; position: relative; }
	.sub-toggle span, .sub-toggle span::after { position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
	.sub-toggle span::after { content: ""; transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
	.sub-toggle[aria-expanded="true"] span::after { transform: translate(-50%, -50%) rotate(0); }
	.menu-sub { position: static; display: none !important; width: 100%; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
	.menu-sub.is-open { display: block !important; }
	.main-nav__mobile-cta { display: grid; gap: 8px; margin-top: 14px; }
	.header-cta { display: none; }

	.hero__in, .car-hero__in, .version-main, .advisor, .home-bottom, .cta-band, .layout-side { grid-template-columns: 1fr; }
	.hero__in { gap: 28px; padding-top: 40px; padding-bottom: 40px; }
	.hero__title { font-size: 40px; }
	.car-hero__img { order: -1; }
	.car-hero__title { font-size: 38px; }
	.side__sticky { position: static; }
	.quote-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
	.quote-row__actions { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
	.lead-modal__box { grid-template-columns: 1fr; max-width: 540px; }
	.lead-modal__side { display: none; }
}

@media (max-width: 640px) {
	body { padding-bottom: 64px; }
	.wrap, .container { padding: 0 16px; }
	.desktop { display: none !important; }
	.mobile { display: block; }
	.topbar { font-size: 13px; }
	.brand__logo { height: 26px; }
	.brand__word { font-size: 18px; }
	.brand__name small { display: none; }
	.brand { min-width: 0; flex: 1 1 auto; overflow: hidden; }
	.brand__logo + .brand__sep, .brand__logo + .brand__sep + .brand__name { display: none; }
	.header-actions { gap: 8px; }
	.menu-toggle { width: 42px; height: 42px; }
	.header-call { width: 40px; height: 40px; }
	.hero__title { font-size: 32px; }
	.hero__sub { font-size: 16px; }
	.hero__ctas .btn { flex: 1 1 auto; }
	.hero__form .lead-form { padding: 22px; }
	.h2 { font-size: 26px; }
	.section { padding-top: 40px; padding-bottom: 28px; }
	.product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.car-card__body { padding: 12px; }
	.car-card__name { font-size: 16px; }
	.car-card__sub { display: none; }
	.car-card__price strong { font-size: 16px; display: block; }
	.car-card__actions { grid-template-columns: 1fr; }
	.finance { padding: 22px 16px; }
	.calc { padding: 18px; }
	.calc__inputs, .calc__result { grid-template-columns: 1fr; }
	.lf-grid { grid-template-columns: 1fr; }
	.lead-types { grid-template-columns: 1fr 1fr; }
	.lead-inline { flex-direction: column; }
	.lead-inline .btn { width: 100%; }
	.lead-inline input { flex: none; }
	.lead-modal { padding: 0; place-items: end center; }
	.lead-modal__box { max-height: 92vh; border-radius: 20px 20px 0 0; animation: tdp-up .25s ease; }
	.lead-modal__main { padding: 24px 16px 18px; }
	.lead-modal__title { font-size: 21px; }
	.page-hero { padding: 20px 0 24px; }
	.page-hero__title { font-size: 26px; }
	.car-hero__title { font-size: 30px; }
	.car-hero__price strong { font-size: 26px; }
	.car-hero .btn-row .btn { flex: 1 1 100%; }
	.price-list__row { grid-template-columns: 1fr auto; padding: 12px 14px; gap: 8px 12px; }
	.price-list__row .btn { grid-column: 1 / -1; }
	.cta-band { padding: 22px 18px; }
	.car-section { padding: 36px 0; }
	.gallery { grid-template-columns: 1fr 1fr; }
	.post-grid, .blogs { grid-template-columns: 1fr; }
	.quote-row { grid-template-columns: 1fr; padding: 16px; }
	.quote-row__actions { grid-template-columns: 1fr; }
	.version-main__price { font-size: 28px; }

	.float-btns { display: none; }
	.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9995; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 44, 95, .1); padding-bottom: env(safe-area-inset-bottom); }
	.mbar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 60px; border: 0; background: #fff; color: var(--navy) !important; font-size: 12px; font-weight: 700; }
	.mbar__item .ico { width: 22px; height: 22px; }
	.mbar__item--main { background: var(--accent); color: #fff !important; }
}

@media (max-width: 782px) { .admin-bar { --adm: 46px; } }
@media (max-width: 600px) { .admin-bar { --adm: 0px; } .admin-bar .site-header { top: 0; } }

@media print {
	.site-header, .site-footer, .float-btns, .mbar, .lead-modal, .cta-band, .side, .car-nav, .topbar { display: none !important; }
}

/* ---------- Dự toán chi phí (3.2.0) ---------- */
.car-hero__est { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; color: #7fdcf2 !important; font-weight: 600; font-size: 15px; border-bottom: 1px dashed rgba(127, 220, 242, .5); padding-bottom: 2px; }
.car-hero__est:hover { color: #fff !important; border-color: #fff; }
.car-hero__est .ico { width: 18px; height: 18px; fill: currentColor; }
.est { padding: 40px 0 64px; background: var(--bg-soft); }
.est__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.est__main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.est-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.est-card__title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 19px; font-weight: 800; color: var(--navy); cursor: default; list-style: none; }
.est-card__title::-webkit-details-marker { display: none; }
.est-card__title small { font-size: 13px; font-weight: 500; color: var(--muted); }
.est-more > summary { cursor: pointer; }
.est-more > summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.est-more[open] > summary::after { transform: rotate(-135deg); }
.est-more:not([open]) > summary { margin-bottom: 0; }
.est-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; flex: none; }
.est-row { display: grid; gap: 14px 16px; }
.est-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
.est-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.est-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.est-f[hidden] { display: none; }
.est-f > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.est-f > span b { color: var(--navy); }
.est-f select, .est-f input[type=text], .est-f input[type=number] { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; font: inherit; font-size: 15px; color: var(--ink); }
.est-f select:disabled { background: var(--bg-soft); color: var(--muted); }
.est-f select:focus, .est-f input:focus { outline: 2px solid var(--sky); outline-offset: 0; border-color: var(--sky); }
.est-f--price input { font-size: 20px !important; font-weight: 800; color: var(--price) !important; }
.est-f input[type=range] { width: 100%; accent-color: var(--accent); min-height: 46px; }
.est-hint { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.est-car { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 10px; border-radius: var(--radius); background: var(--bg-soft); }
.est-car[hidden] { display: none; }
.est-car img { width: 120px; height: 80px; object-fit: contain; background: #fff; border-radius: 6px; flex: none; }
.est-car div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.est-car b { color: var(--navy); }
.est-car__link { font-size: 14px; color: var(--sky-ink); }
.est-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; }
.est-sw { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.est-sw input { width: 18px; height: 18px; accent-color: var(--navy); }
.est__side { position: sticky; top: calc(var(--hdr-h) + var(--adm) + 64px); }
.est-sum { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.est-sum__car { margin: 0 0 10px; font-size: 18px; font-weight: 800; color: #fff; }
.est-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.est-tbl th { text-align: left; font-weight: 500; color: #c9d6e5; padding: 8px 8px 8px 0; }
.est-tbl td { text-align: right; white-space: nowrap; font-weight: 600; padding: 8px 0; font-variant-numeric: tabular-nums; }
.est-tbl tr + tr th, .est-tbl tr + tr td { border-top: 1px solid rgba(255, 255, 255, .1); }
.est-tbl .est-price td { font-size: 16px; color: #fff; }
.est-total th, .est-total td { padding-top: 14px; border-top: 2px solid rgba(255, 255, 255, .35); font-size: 15px; color: #fff; font-weight: 700; }
.est-total td { font-size: 22px; font-weight: 800; color: #ffd166; }
.est-loan { display: grid; gap: 8px; margin: 16px 0; padding: 14px; border-radius: 10px; background: rgba(255, 255, 255, .08); font-size: 14px; }
.est-loan div { display: flex; justify-content: space-between; gap: 10px; }
.est-loan span { color: #c9d6e5; }
.est-loan b { font-variant-numeric: tabular-nums; }
.est-loan.is-off { opacity: .45; }
.est-cta { width: 100%; }
.est-cta .ico { fill: currentColor; }
.est-note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: #a9bdd3; }
.est-lead { margin-top: 36px; max-width: 760px; margin-left: auto; margin-right: auto; }
@media (max-width: 1100px) { .est__grid { grid-template-columns: minmax(0, 1fr) 340px; } }
@media (max-width: 980px) {
	.est__grid { grid-template-columns: minmax(0, 1fr); }
	.est__side { position: static; }
	.est-row--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.est { padding: 24px 0 48px; }
	.est-card { padding: 18px 16px; }
	.est-row--2, .est-row--3 { grid-template-columns: minmax(0, 1fr); }
	.est-car img { width: 96px; height: 64px; }
}
.page-chips { margin: 0 0 24px; }
.chip small { opacity: .65; font-weight: 500; }
