/*
  Phúc Long Ship – giao diện website
  Hệ token theo thang Tailwind (khoảng cách 4px, cỡ chữ text-sm → text-6xl, bo góc lg/xl).
  Màu lấy từ logo xe van (03/12/2026): xanh dương đậm (thương hiệu) + vàng (nút chuyển đổi và điểm nhấn, ~10%).
*/
:root {
  /* Xanh thương hiệu (thân xe, chữ PHÚC LONG trong logo) */
  --brand-950: #0a1b4a;
  --brand-900: #0c2f8a;
  --brand-700: #1546b3;
  --brand-100: #d5e2fa;
  --brand-50: #edf3fe;
  /* Xanh nhấn cho chữ trên nền sáng */
  --highlight: #1556d0;
  /* Vàng điểm nhấn (viền, vạch tốc độ trong logo) – nền, không dùng cho chữ trên nền sáng */
  --accent-400: #ffc61a;
  --accent-500: #f5b400;
  --accent-600: #eaa300;
  --accent-100: #ffe8a3;
  --accent-50: #fff8e0;
  --on-accent: #0a1b4a;
  --accent-on-dark: #ffd447;
  --muted-on-dark: #c7d4f0;
  --subtle: #6f7c94;
  --line-strong: #b8c3d8;
  --surface-muted: #fafbfe;
  --good: #1d6b4a;
  --good-50: #e8f4ee;
  --warn: #8a5a00;
  --warn-50: #fdf3dc;
  --ink: #0f1d3a;
  --muted: #4a5874;
  --line: #e1e7f1;
  --bg: #f3f6fc;
  --surface: #ffffff;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --shadow-sm: 0 1px 2px rgb(10 27 74 / 0.06), 0 1px 3px rgb(10 27 74 / 0.06);
  --shadow-md: 0 8px 24px -8px rgb(10 27 74 / 0.18);
  --shell: 72rem;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.7; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
h1, h2, h3, h4 { color: var(--brand-950); line-height: 1.3; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; line-height: 1.22; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.625rem, 2.8vw, 2.125rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.4; }
p, li, dd { color: var(--muted); text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 3px solid var(--highlight); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 5.5rem; }

.shell { width: min(var(--shell), calc(100% - 3rem)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 6.5vw, 5.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.skip { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 50; padding: 0.75rem 1rem; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); transform: translateY(-200%); }
.skip:focus { transform: none; }

/* Typography helpers */
.eyebrow { margin-bottom: 0.75rem; color: var(--highlight); font-size: 0.9375rem; font-weight: 700; }
.lead { max-width: 38rem; margin-top: 1rem; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
.section-head { display: grid; gap: 0.75rem; max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 2.75rem); }
.section-head .eyebrow, .prose .eyebrow, .form-intro .eyebrow { margin-bottom: 0; }
.section-head p { max-width: 42rem; }
.section-head p { font-size: 1.0625rem; }
.note { font-size: 0.875rem; }
.text-accent { color: var(--highlight); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0.75rem 1.25rem; border: 1px solid transparent; border-radius: var(--radius-lg); font-size: 0.9375rem; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; transition: background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out; }
.button-primary { color: #fff; background: var(--brand-900); }
.button-primary:hover { background: var(--brand-700); }
.button-accent { color: var(--on-accent); background: var(--accent-400); }
.button-accent:hover { background: var(--accent-500); }
.button-outline { color: var(--brand-900); background: var(--surface); border-color: var(--line-strong); }
.button-outline:hover { border-color: var(--brand-900); background: var(--brand-50); }
.button-small { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: 0.875rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.375rem; min-height: 2.75rem; color: var(--brand-900); font-weight: 700; text-decoration: underline; text-decoration-color: var(--brand-100); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.link-arrow:hover { text-decoration-color: var(--accent-600); }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 0.94); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 2.75rem; flex-shrink: 0; text-decoration: none; }
.brand img { display: block; width: auto; height: 3.5rem; }
.brand-name { font-size: 1.25rem; font-weight: 800; line-height: 1; letter-spacing: -0.01em; color: var(--brand-950); white-space: nowrap; }
.brand-name b { font-weight: 800; color: var(--highlight); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); font-size: 0.9375rem; font-weight: 600; }
.nav a { color: var(--brand-900); text-decoration: none; }
.nav a:hover { color: var(--highlight); }
.nav a[aria-current="page"] { color: var(--highlight); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.mobile-menu { display: none; }
.mobile-menu summary { display: grid; place-content: center; gap: 4px; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 1.125rem; height: 2px; background: var(--brand-900); border-radius: 2px; }
.mobile-menu nav { position: absolute; right: 1.5rem; top: calc(100% + 0.5rem); display: grid; min-width: 14rem; padding: 0.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
.mobile-menu nav a { display: flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 0.75rem; border-radius: var(--radius-lg); color: var(--brand-900); font-weight: 600; text-decoration: none; }
.mobile-menu nav a:hover, .mobile-menu nav a[aria-current="page"] { background: var(--brand-50); }

/* Home hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero h1 span { color: var(--highlight); }
.checklist { display: grid; gap: 0.625rem; margin-top: 2rem; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 0.625rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checklist svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; color: var(--highlight); }
.hero-media { position: relative; }
.hero-media picture, .hero-media img { display: block; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; border-radius: var(--radius-2xl); box-shadow: var(--shadow-md); }
/* Ví dụ cước, trình bày như tem dán trên kiện hàng */
.ship-label { position: absolute; left: -1.25rem; bottom: 1.5rem; width: 14rem; padding: 0.75rem 1rem 0.875rem; background: var(--surface); border: 1.5px solid var(--brand-950); border-radius: 0.375rem; box-shadow: 0 10px 24px -12px rgb(10 27 74 / 0.45); transform: rotate(-2deg); font-variant-numeric: tabular-nums; }
.ship-label p { color: var(--ink); }
.ship-label-head { display: grid; padding-bottom: 0.5rem; border-bottom: 1.5px dashed var(--line-strong); font-size: 0.8125rem; font-weight: 700; line-height: 1.4; }
.ship-label-head span:last-child { color: var(--muted); font-size: 0.75rem; font-weight: 500; }
.ship-label-route { display: flex; align-items: center; gap: 0.5rem; padding-block: 0.5rem; font-weight: 700; color: var(--brand-950); }
.ship-label-route svg { width: 1.125rem; height: 1.125rem; color: var(--highlight); flex: none; }
.ship-label-foot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 0.5rem; border-top: 1.5px dashed var(--line-strong); font-size: 0.875rem; }
.ship-label-foot strong { color: var(--highlight); font-size: 1.375rem; font-weight: 800; line-height: 1; }

/* Dải số liệu chính dưới hero */
.facts { background: var(--brand-950); }
.facts-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 0; padding-block: 1.75rem; }
.facts-list div { display: flex; flex-direction: column; gap: 0.125rem; padding-inline: 1.5rem; border-left: 1px solid rgb(255 255 255 / 0.14); }
.facts-list div:first-child { padding-left: 0; border-left: 0; }
.facts-list dt { order: 0; color: var(--muted-on-dark); font-size: 0.875rem; font-weight: 500; }
.facts-list dd { order: 1; color: var(--accent-on-dark); font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts-list dd.facts-sub { order: 2; color: #fff; font-size: 0.875rem; font-weight: 500; letter-spacing: 0; line-height: 1.5; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); background: linear-gradient(180deg, var(--brand-50), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 24ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; padding: 0; list-style: none; font-size: 0.875rem; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--brand-700); font-weight: 600; }
.breadcrumb li { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; color: var(--subtle); }

/* Cards and grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.card { display: flex; flex-direction: column; gap: 0.625rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.card p { flex: 1; }
.card .tag { align-self: flex-start; padding: 0.25rem 0.625rem; color: var(--brand-700); background: var(--brand-50); border-radius: 999px; font-size: 0.8125rem; font-weight: 700; }
.card .tag-accent { color: var(--highlight); background: var(--accent-50); }
.card dl { display: grid; gap: 0.5rem; padding-top: 0.75rem; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.card dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.75rem; }
.card dt { color: var(--ink); font-weight: 600; }
.card-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; color: var(--brand-900); background: var(--brand-50); border-radius: var(--radius-lg); }
.card-icon svg { width: 1.375rem; height: 1.375rem; }
.fit-note { margin-top: 1.5rem; padding: 1rem 1.25rem; background: var(--accent-50); border-radius: var(--radius-lg); color: var(--ink); }

/* Problem → solution list */
.solve { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; }
.solve-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.solve-row + .solve-row { border-top: 1px solid var(--line); }
.solve-row > div { padding: 1.25rem 1.5rem; }
.solve-row > div:first-child { background: var(--surface-muted); border-right: 1px solid var(--line); }
.solve-label { display: block; margin-bottom: 0.25rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.solve-row > div:last-child .solve-label { color: var(--highlight); }
.solve h3 { font-size: 1.0625rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 1.5rem 1.25rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-bottom: 1rem; color: #fff; background: var(--brand-900); border-radius: 999px; font-weight: 800; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 0.375rem; }
.steps-vertical { grid-template-columns: minmax(0, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); }
.steps-vertical li { display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 1rem; padding: 1.25rem 1.5rem; border: 0; border-radius: 0; }
.steps-vertical li + li { border-top: 1px solid var(--line); }
.steps-vertical li::before { grid-row: span 2; margin: 0; }

/* Trial band */
.trial { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.trial-box { padding: clamp(1.5rem, 3vw, 2.25rem); color: #fff; background: var(--brand-900); border-radius: var(--radius-2xl); }
.trial-box h2, .trial-box h3 { color: #fff; }
.trial-box h2 { margin-bottom: 0.75rem; }
.trial-box p { color: var(--muted-on-dark); }
.trial-box .eyebrow { color: var(--accent-on-dark); }
.trial-box .button-row { margin-top: 1.5rem; }
.trial-box .button-outline { color: var(--brand-900); }

/* Timeline (30 ngày) */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; padding: 0; list-style: none; }
.timeline li { padding-top: 1rem; border-top: 3px solid var(--brand-100); }
.timeline li:first-child { border-top-color: var(--accent-600); }
.timeline strong { display: block; margin-bottom: 0.25rem; color: var(--highlight); font-size: 0.875rem; letter-spacing: 0.04em; text-transform: uppercase; }
.timeline h3 { margin-bottom: 0.375rem; }

/* Tables */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
th, td { padding: 0.875rem 1.125rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { color: var(--brand-900); background: var(--brand-50); font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; }
tbody th { width: 32%; color: var(--ink); font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
td { color: var(--muted); }

/* Weight calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.875rem; }
.calc-output { display: grid; align-content: center; gap: 0.5rem; padding: 1.5rem; background: var(--brand-50); border-radius: var(--radius-lg); }
.calc-output output { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.1; color: var(--brand-900); font-variant-numeric: tabular-nums; }
.calc-output p { font-size: 0.9375rem; }

/* Forms */
.form-section { color: #fff; background: var(--brand-900); }
.form-section h2 { color: #fff; }
.form-section .form-intro p { color: var(--muted-on-dark); }
.form-section .form-intro a { color: #fff; }
.form-section .eyebrow { color: var(--accent-on-dark); }
.form-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-intro { display: grid; gap: 1rem; }
.form-intro ul { display: grid; gap: 0.5rem; padding-left: 1.25rem; }
.form-intro li { color: var(--brand-100); }
.form-card { padding: clamp(1.25rem, 3vw, 2rem); color: var(--ink); background: var(--surface); border-radius: var(--radius-2xl); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 0.75rem; color: var(--brand-900); font-weight: 800; font-size: 1rem; }
fieldset + fieldset { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.field { display: grid; gap: 0.375rem; }
.field > span { color: var(--ink); font-size: 0.875rem; font-weight: 600; }
.field small { color: var(--muted); font-size: 0.8125rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 2.75rem; padding: 0.5rem 0.75rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); font-size: 1rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--brand-700); }
.field select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, var(--brand-700) 50%), linear-gradient(135deg, var(--brand-700) 50%, transparent 50%); background-position: calc(100% - 1rem) 52%, calc(100% - 0.6875rem) 52%; background-size: 0.3125rem 0.3125rem; background-repeat: no-repeat; }
.field textarea { resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.form-note { margin-top: 1rem; font-size: 0.8125rem; }
.form-result { margin-top: 1.5rem; padding: 1.25rem; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius-lg); }
.form-result h3 { margin-bottom: 0.5rem; }
.summary-text { margin-bottom: 1rem; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.copy-status:not(:empty) { margin-top: 0.75rem; font-size: 0.875rem; color: var(--ink); }

/* Contact channels */
.channels { display: grid; gap: 0.75rem; }
.channel { display: flex; align-items: center; gap: 0.875rem; min-height: 3.5rem; padding: 0.75rem 1rem; color: #fff; text-decoration: none; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.18); border-radius: var(--radius-lg); }
.channel:hover { background: rgb(255 255 255 / 0.14); }
.channel strong { color: #fff; display: block; }
.channel span { color: var(--muted-on-dark); font-size: 0.875rem; }
.pending-box { padding: 1rem 1.25rem; color: var(--brand-100); background: rgb(255 255 255 / 0.06); border: 1px dashed rgb(255 255 255 / 0.3); border-radius: var(--radius-lg); font-size: 0.9375rem; }

/* FAQ */
.faq { display: grid; gap: 0.75rem; max-width: 52rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; padding: 1rem 1.25rem; color: var(--brand-950); font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 0.5rem; height: 0.5rem; margin-right: 0.25rem; border: solid var(--highlight); border-width: 0 2px 2px 0; transform: translateY(-0.15rem) rotate(45deg); transition: transform 0.15s ease-out; }
.faq details[open] summary::after { transform: translateY(0.1rem) rotate(-135deg); }
.faq summary:hover { color: var(--highlight); }
.faq details > div { padding: 0 1.25rem 1.25rem; display: grid; gap: 0.5rem; }
.faq-group + .faq-group { margin-top: 2.5rem; }
.faq-group h2 { margin-bottom: 1rem; font-size: 1.375rem; }

/* Two-column prose */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prose { display: grid; gap: 1rem; }
.prose ul { display: grid; gap: 0.5rem; padding-left: 1.25rem; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }

/* CTA band */
.cta-band { background: var(--accent-50); border-top: 1px solid var(--accent-100); }
.cta-band .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-band p { margin-top: 0.5rem; max-width: 38rem; }
.cta-band .button-row { margin-top: 0; }

/* Footer */
.footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; padding-block: 3rem 2rem; }
.footer-brand p { margin-top: 0.75rem; max-width: 22rem; font-size: 0.9375rem; }
.footer h2 { margin-bottom: 0.75rem; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.footer nav ul, .footer-contact { display: grid; gap: 0.125rem; padding: 0; list-style: none; }
.footer nav a, .footer-contact a { display: inline-flex; align-items: center; gap: 0.3em; min-height: 2.75rem; color: var(--brand-900); font-weight: 600; text-decoration: none; }
.footer nav a:hover, .footer-contact a:hover { color: var(--highlight); text-decoration: underline; }
.footer nav a[aria-current="page"] { color: var(--highlight); }
.footer-contact li { color: var(--muted); }
.footer-bottom { padding-block: 1.25rem; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }

/* Mobile action bar */
.action-bar { display: none; }

@media (max-width: 960px) {
  .ship-label { left: 1rem; }
  .nav { display: none; }
  .mobile-menu { display: block; }
  .hero, .trial, .form-layout, .split { grid-template-columns: minmax(0, 1fr); }
  .grid-3, .steps, .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .calc { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 4rem; }
  .brand img { height: 3rem; }
  .brand-name { font-size: 1.125rem; }
  .header-actions .button { display: none; }
  .grid-3, .grid-2, .steps, .timeline, .principles, .form-grid, .calc-fields { grid-template-columns: minmax(0, 1fr); }
  .solve-row { grid-template-columns: minmax(0, 1fr); }
  .solve-row > div:first-child { border-right: 0; border-bottom: 1px dashed var(--line); }
  .card dl div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  th, td { padding: 0.75rem; }
  tbody th { width: 38%; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .action-bar { position: fixed; inset: auto 0 0 0; z-index: 30; display: flex; gap: 0.5rem; padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom)); background: rgb(255 255 255 / 0.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 16px rgb(10 27 74 / 0.08); }
  .action-bar .button { flex: 1; }
  body { padding-bottom: calc(4.25rem + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Contact channels on a light card */
.form-card .channel { background: var(--brand-900); border-color: var(--brand-900); }
.form-card .channel:hover { background: var(--brand-700); }
.form-card [data-contact-pending] { display: grid; gap: 0.5rem; }

/* ===== Thiết kế lại 29/11/2026: giá, lấy hàng tận nơi, người phụ trách ===== */
.header-actions .button-accent { color: var(--on-accent); }

/* Hero price tag */
.price-tag { display: grid; justify-items: start; gap: 0.25rem; margin-top: 1.75rem; }
.price-tag span { color: var(--ink); font-weight: 600; }
.price-tag strong { padding-inline: 0.125em; color: var(--brand-950); font-size: clamp(1.75rem, 3.4vw, 2.375rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; background: linear-gradient(transparent 58%, var(--accent-400) 58%, var(--accent-400) 92%, transparent 92%); }
.price-tag small { color: var(--muted); font-size: 0.8125rem; }
.hero .button-row { margin-top: 1.5rem; }
.hero .checklist { margin-top: 1.5rem; }

/* Save cards */
.save-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.save-card { display: flex; flex-direction: column; gap: 0.625rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.save-card .card-icon { color: var(--highlight); background: var(--accent-50); }
.save-card .kicker { color: var(--highlight); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* Monthly cost calculator */
.cost-calc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 0; padding: clamp(1.25rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-2xl); box-shadow: var(--shadow-md); }
.cost-calc h3 { font-size: 1.25rem; }
.cost-calc .calc-fields { margin-top: 1rem; }
.cost-calc .field small { display: block; }
.cost-result { display: grid; align-content: start; gap: 1rem; padding: 1.5rem; background: var(--brand-50); border-radius: var(--radius-xl); }
.cost-result dl { display: grid; gap: 0.75rem; }
.cost-result dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--brand-100); }
.cost-result dt { color: var(--ink); font-weight: 600; }
.cost-result dd { color: var(--brand-950); font-weight: 800; font-size: 1.125rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cost-result .loss dd { color: var(--highlight); }
.cost-save { padding: 1rem 1.125rem; background: var(--surface); border: 1px solid var(--good); border-radius: var(--radius-lg); }
.cost-save p { color: var(--ink); }
.cost-save strong { display: block; color: var(--good); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.cost-result .note { color: var(--muted); }
.cost-result .button { justify-self: start; }

/* Order journey: who does what */
.journey { display: grid; gap: 0; padding: 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; counter-reset: journey; }
.journey li { display: grid; grid-template-columns: 2.25rem minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 0.5rem 1.25rem; align-items: start; padding: 1.25rem 1.5rem; counter-increment: journey; }
.journey li + li { border-top: 1px solid var(--line); }
.journey li::before { content: counter(journey); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; color: #fff; background: var(--brand-900); border-radius: 999px; font-weight: 800; font-variant-numeric: tabular-nums; }
.journey h3 { padding-top: 0.25rem; }
.journey p { color: var(--muted); }
.journey p strong { color: var(--highlight); }

/* Pickup band */
.pickup { color: #fff; background: var(--brand-900); }
.pickup .shell { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 6vw, 5rem); }
.pickup h2 { margin-bottom: 0.75rem; color: #fff; }
.pickup p { color: var(--muted-on-dark); }
.pickup .eyebrow { color: var(--accent-on-dark); }
.pickup-facts { display: grid; gap: 0.75rem; padding: 0; list-style: none; }
.pickup-facts li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: 0.875rem; row-gap: 0.125rem; align-items: start; padding: 1rem 1.25rem; background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.16); border-radius: var(--radius-xl); }
.pickup-facts li::before { content: ""; grid-row: span 2; width: 2rem; height: 2rem; border-radius: 999px; background: var(--accent-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1b4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 1rem no-repeat; }
.pickup-facts strong { color: #fff; font-size: 1.0625rem; line-height: 1.4; }
.pickup-facts span { color: var(--muted-on-dark); font-size: 0.9375rem; }
.pickup .button-row { margin-top: 1.5rem; }

/* Comparison table */
.compare-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); }
.compare { min-width: 44rem; }
.compare thead th { vertical-align: bottom; }
.compare thead th.us { color: #fff; background: var(--brand-900); }
.compare tbody th { width: 18%; }
.compare td { width: 27%; }
.compare td.us { color: var(--ink); background: var(--brand-50); font-weight: 600; }
.compare td.us::before { content: ""; display: inline-block; width: 0.5rem; height: 0.875rem; margin-right: 0.5rem; border: solid var(--good); border-width: 0 2.5px 2.5px 0; transform: translateY(-0.125rem) rotate(45deg); }
.compare-note { margin-top: 1rem; padding: 1rem 1.25rem; background: var(--warn-50); border-radius: var(--radius-lg); color: var(--ink); }

@media (max-width: 960px) {
  .save-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cost-calc, .pickup .shell { grid-template-columns: minmax(0, 1fr); }
  .journey li { grid-template-columns: 2.25rem minmax(0, 1fr); }
  .journey li p { grid-column: 2; }
}
@media (max-width: 640px) {
  .save-grid { grid-template-columns: minmax(0, 1fr); }
  .journey li { padding: 1.125rem; }
  .price-tag { display: grid; }
}
.source-note { margin-top: 0.75rem; color: var(--subtle); }
@media (max-width: 640px) {
  .compare-wrap { overflow: visible; background: none; border: 0; }
  .compare { min-width: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody { display: grid; gap: 0.75rem; }
  .compare tbody tr { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; }
  .compare tbody th, .compare td { display: block; width: auto; padding: 0.625rem 1rem; border-bottom: 1px solid var(--line); }
  .compare tbody th { color: var(--brand-950); background: var(--brand-50); }
  .compare td::before { content: attr(data-label); display: block; color: var(--subtle); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
  .compare td.us { order: -1; border-bottom: 1px solid var(--brand-100); }
  .compare td.us { background: var(--good-50); }
  .compare td.us::before { content: attr(data-label); display: block; width: auto; height: auto; margin: 0; border: 0; transform: none; color: var(--good); }
  .compare td.us { border-bottom: 1px solid var(--brand-100); }
  .compare td:nth-of-type(2) { border-bottom: 0; }
  .compare tbody th { order: -2; }
}
.cost-calc .field { align-content: start; }
@media (max-width: 640px) {
  .button-row { gap: 0.625rem; }
  .button-row .button { flex: 1 1 100%; }
  .cost-result .button { justify-self: stretch; }
  .cost-result dl div { flex-wrap: wrap; }
}
.cost-calc > *, .cost-result > * { min-width: 0; }
.cost-result, .cost-result dl { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 640px) {
  .cost-result { padding: 1.25rem; }
  .cost-result dd { font-size: 1.0625rem; }
}

.field > span small { margin-left: 0.375rem; color: var(--muted); font-size: 0.8125rem; font-weight: 400; }

/* ===== Bảng giá theo sản lượng (03/12/2026) ===== */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.price-table { min-width: 40rem; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.price-table thead th:not(:first-child), .price-table td { text-align: right; white-space: nowrap; }
.price-table tbody th { width: auto; white-space: nowrap; }
.price-table td { color: var(--ink); font-weight: 600; }
.price-table td.is-free { color: var(--good); }
.price-table tr.is-vip > * { background: var(--accent-50); color: var(--brand-950); font-weight: 800; }
.price-table tr.is-vip td.is-free { color: var(--good); }
.price-extra { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: start; margin-top: 1.25rem; }
.price-card { display: grid; gap: 0.5rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent-500); border-radius: var(--radius-lg); }
.price-card ul { display: grid; gap: 0.375rem; margin: 0; padding-left: 1.125rem; font-size: 0.9375rem; }
.price-card strong { color: var(--brand-950); font-variant-numeric: tabular-nums; }
.price-card .price-examples { padding: 0; list-style: none; gap: 0; }
.price-examples li { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.375rem; border-bottom: 1px dashed var(--line); }
.price-examples li:last-child { border-bottom: 0; }
.price-note { margin-top: 1rem; }
.calc-bracket { padding-top: 0.5rem; border-top: 1px solid var(--brand-100); color: var(--ink); font-weight: 600; }
.price-tag small a { color: var(--highlight); font-weight: 600; }
@media (max-width: 960px) { .price-extra { grid-template-columns: minmax(0, 1fr); } }
.scroll-hint { display: none; margin: 0 0 0.5rem; font-size: 0.8125rem; color: var(--muted); }
@media (max-width: 720px) {
  .scroll-hint { display: block; }
  .price-table th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: -4px 0 0 var(--surface), 1px 0 0 var(--line); }
  .price-table thead th:first-child { box-shadow: -4px 0 0 var(--brand-50), 1px 0 0 var(--line); }
  .price-table tr.is-vip th:first-child { box-shadow: -4px 0 0 var(--accent-50), 1px 0 0 var(--line); }
  .price-table thead th:first-child { background: var(--brand-50); }
  .price-table tr.is-vip th:first-child { background: var(--accent-50); }
  .price-table tbody th { white-space: normal; min-width: 7.5rem; }
}

/* ===== Công cụ so sánh chi phí (03/12/2026) ===== */
.cost-compare { background: var(--surface); border-radius: var(--radius-lg); font-size: 0.9375rem; }
.cost-compare th, .cost-compare td { padding: 0.625rem 0.75rem; }
.cost-compare thead th { color: var(--brand-900); background: var(--surface); font-size: 0.75rem; text-align: right; }
.cost-compare tbody th { width: auto; color: var(--ink); font-weight: 600; }
.cost-compare td { text-align: right; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cost-compare tr.total > * { border-top: 2px solid var(--brand-100); color: var(--brand-950); font-weight: 800; }
.cost-save .note { margin-top: 0.5rem; font-size: 0.8125rem; }
.cost-save.is-worse { border-color: var(--warn); }
.cost-save.is-worse strong { color: var(--warn); }
.calc-fields .full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .cost-result { padding: 0.875rem; }
  .cost-compare { font-size: 0.8125rem; }
  .cost-compare th, .cost-compare td { padding: 0.5rem 0.375rem; }
  .cost-compare thead th { font-size: 0.6875rem; letter-spacing: 0.02em; }
  .cost-compare tbody th { width: 34%; }
}

/* ===== Tinh chỉnh giao diện 03/12/2026: bớt khuôn mẫu ===== */
.card, .save-card { box-shadow: none; }
.hero .checklist li { font-size: 0.9375rem; }

/* Lợi ích: tiêu đề dính bên trái, danh sách kẻ dòng bên phải */
.benefits { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.benefits .section-head { position: sticky; top: 6.5rem; margin-bottom: 0; }
.benefits .link-arrow { justify-self: start; }
.benefit-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--brand-950); }
.benefit-list li { display: grid; grid-template-columns: 1.5rem minmax(0, 15rem) minmax(0, 1fr); gap: 0.25rem 1rem; align-items: baseline; padding-block: 1.375rem; border-bottom: 1px solid var(--line); }
.benefit-list svg { width: 1.25rem; height: 1.25rem; color: var(--highlight); align-self: start; margin-top: 0.15rem; }
.benefit-list h3 { font-size: 1.0625rem; }
.benefit-list p { font-size: 0.9375rem; }

/* FAQ: tiêu đề trái, câu hỏi phải */
.faq-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-split .section-head { margin-bottom: 0; }
.faq-split .faq { max-width: none; }

@media (max-width: 960px) {
  .facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; }
  .facts-list div:nth-child(3) { padding-left: 0; border-left: 0; }
  .benefits, .faq-split { grid-template-columns: minmax(0, 1fr); }
  .benefits .section-head { position: static; }
}
@media (max-width: 640px) {
  .facts-list div { padding-inline: 0.875rem 0; }
  .facts-list div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts-list div:nth-child(even) { border-left: 1px solid rgb(255 255 255 / 0.14); }
  .benefit-list li { grid-template-columns: 1.5rem minmax(0, 1fr); }
  .benefit-list p { grid-column: 2; }
  .ship-label { position: relative; left: auto; bottom: auto; width: auto; max-width: 17rem; margin: -2.5rem 0 0 1rem; }
}

/* ===== Nhấn lợi ích (03/12/2026): miễn phí và giá tốt phải thấy ngay ===== */
/* "Miễn phí": chữ xanh lá đậm trên nền xanh lá nhạt (7,2:1) */
.free { display: inline-block; padding: 0 0.25em; color: var(--good); background: var(--good-50); border-radius: 0.3em; font-weight: 800; line-height: 1.5; white-space: nowrap; }
/* Giá tốt: vệt bút dạ quang vàng dưới chữ */
mark.hl { padding-inline: 0.1em; color: var(--brand-950); font-weight: 800; background: linear-gradient(transparent 55%, var(--accent-400) 55%, var(--accent-400) 92%, transparent 92%); white-space: nowrap; }

/* Dải "không phải trả" */
.facts .shell { padding-block: 1.75rem 2rem; }
.facts-title { margin-bottom: 1.25rem; color: #fff; font-size: 1.0625rem; font-weight: 600; }
.facts-title span { color: var(--accent-on-dark); font-weight: 800; }
.facts-list { padding-block: 0; }
.facts-list dd:not(.facts-sub) { font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1.05; }
.facts-list dt { color: #fff; font-weight: 700; font-size: 0.9375rem; }
.facts-list dd.facts-sub { color: var(--muted-on-dark); margin-top: 0.25rem; }

/* Bảng so sánh: cột Phúc Long Ship nổi hơn */
.compare td.us { color: var(--brand-950); font-weight: 700; }
.compare thead th.us { font-size: 0.875rem; }

/* Kết quả tiết kiệm: khối xanh lá đặc */
.cost-save { background: var(--good); border-color: var(--good); }
.cost-save p, .cost-save .note { color: #e8f4ee; }
.cost-save strong { color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.375rem); }
.cost-save.is-worse { background: var(--warn-50); }
.cost-save.is-worse p, .cost-save.is-worse .note { color: var(--ink); }

/* Bảng giá: ô miễn phí dạng nhãn */
.price-table td.is-free span { display: inline-block; padding: 0.125rem 0.5rem; color: var(--good); background: var(--good-50); border-radius: 999px; font-weight: 800; }
.price-table tr.is-vip td.is-free span { background: #fff; }
/* Số 8 chữ số (mức 3.000 đơn) vẫn vừa bảng trên điện thoại */
@media (max-width: 640px) {
  .cost-result { padding: 0.75rem; }
  .cost-compare { table-layout: fixed; }
  .cost-compare thead th:first-child, .cost-compare tbody th { width: 31%; }
  .cost-compare td { font-size: 0.78rem; padding-inline: 0.25rem; }
}

/* ===== Form để lại số điện thoại (03/12/2026) ===== */
.lead-form-title { margin-bottom: 1rem; color: var(--brand-950); font-size: 1.25rem; font-weight: 800; }
.lead-grid { display: grid; gap: 1rem; }
.lead-form .field input { min-height: 3rem; font-size: 1.0625rem; }
.lead-form input[name="phone"] { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.lead-submit { width: 100%; min-height: 3.25rem; margin-top: 1.25rem; font-size: 1.0625rem; }
.lead-trust { margin-top: 0.75rem; text-align: center; color: var(--muted); }
.lead-fail { margin-top: 1rem; padding: 0.875rem 1rem; color: var(--ink); background: var(--warn-50); border-radius: var(--radius-lg); font-size: 0.9375rem; }
.lead-fail a { color: var(--brand-900); font-weight: 700; }
.lead-ok { display: grid; gap: 0.5rem; padding: 1.25rem; background: var(--good-50); border-radius: var(--radius-lg); }
.lead-ok-title { color: var(--good); font-size: 1.25rem; font-weight: 800; }
.lead-ok p { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.channels-label { color: #fff; font-weight: 700; margin-top: 0.5rem; }
/* Điện thoại: đưa ô nhập số lên ngay sau tiêu đề, danh sách lợi ích và kênh gọi xuống dưới */
@media (max-width: 960px) {
  .form-layout:has(.lead-form) { gap: 1.25rem; }
  .form-layout:has(.lead-form) .form-intro { display: contents; }
  .form-layout:has(.lead-form) .form-intro > h2 { order: 1; }
  .form-layout:has(.lead-form) .form-intro > p { order: 2; }
  .form-layout:has(.lead-form) .lead-form { order: 3; }
  .form-layout:has(.lead-form) .form-intro > ul { order: 4; }
  .form-layout:has(.lead-form) .channels { order: 5; }
}
