/* SpeedSell — style */
:root {
  --paper: #faf8f4;
  --paper-2: #f2eee6;
  --ink: #12263a;
  --ink-2: #3c4d5e;
  --muted: #6b7885;
  --line: #e2dcd1;
  --blue: #1f7fb8;
  --blue-deep: #16557d;
  --orange: #e5772e;
  --orange-deep: #c95f1c;
  --navy: #0f2234;
  --radius: 6px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.18; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand span { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand .b1 { color: var(--blue); } .brand .b2 { color: #e08a3c; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.nav a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--blue); border: 1.5px solid var(--blue); background: #fff; text-decoration: none; transition: background .2s, color .2s; }
.header-phone:hover { background: var(--blue); color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); }
@media (max-width: 1120px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .header-cta { margin-left: 0; }
  .site-header.open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .site-header.open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
}
@media (max-width: 480px) { .header-cta .btn { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.arrow::after { content: "→"; font-weight: 400; }

/* ---------- section scaffolding ---------- */
section { padding: 96px 0; }
@media (max-width: 700px) { section { padding: 64px 0; } }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow .n { color: var(--muted); font-variant-numeric: tabular-nums; }
.eyebrow::after { content: ""; flex: 0 0 40px; height: 1px; background: currentColor; opacity: .5; }
.h-section { font-size: clamp(28px, 4vw, 44px); max-width: 20ch; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 60ch; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.sec-head .lead { margin: 0; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; } }

/* ---------- hero ---------- */
.hero { padding: 72px 0 88px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.lp-aside img { height: auto; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -0.03em; line-height: 1.06; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { margin: 28px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 28px; font-size: 14px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note b { color: var(--ink); font-weight: 600; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding-top: 48px; } }

/* trade-off card */
.tradeoff { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.tradeoff h3 { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.tradeoff .opt { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.tradeoff .opt:first-of-type { border-top: 0; padding-top: 0; }
.tradeoff .price { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tradeoff .time { font-size: 14px; color: var(--ink-2); align-self: end; text-align: right; }
.tradeoff .bar { grid-column: 1 / -1; height: 6px; background: var(--paper-2); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.tradeoff .bar i { display: block; height: 100%; border-radius: 3px; }
.tradeoff .a .bar i { width: 22%; background: var(--blue); }
.tradeoff .b .bar i { width: 100%; background: repeating-linear-gradient(90deg, #c9c2b5 0 8px, transparent 8px 14px); }
.tradeoff .cap { font-size: 12px; color: var(--muted); grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 4px; }
.tradeoff p.foot { font-size: 14px; color: var(--ink-2); margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); }

/* ---------- situations ---------- */
.situations { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.sit {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: start;
  padding: 26px 8px 26px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background .15s;
}
.sit:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line); }
.sit:nth-child(even) { padding-left: 32px; }
.sit .num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 4px; }
.sit h3 { font-size: 20px; margin-bottom: 6px; }
.sit p { margin: 0; color: var(--ink-2); font-size: 15px; }
.sit .go { color: var(--orange); font-size: 20px; padding-top: 2px; transition: transform .15s; }
a.sit:hover .go { transform: translateX(4px); }
a.sit:hover h3 { color: var(--blue-deep); }
@media (max-width: 760px) {
  .situations { grid-template-columns: 1fr; }
  .sit:nth-child(odd), .sit:nth-child(even) { padding: 22px 0; border-right: 0; }
}

/* ---------- compare ---------- */
.compare-sec { background: var(--paper-2); }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 18px 20px; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; border-bottom: 1px solid var(--ink); }
.compare thead th:last-child { color: var(--blue); }
.compare td:first-child { font-weight: 600; width: 22%; }
.compare td:nth-child(2) { color: var(--muted); width: 36%; }
.compare td:last-child { background: #fff; }
.compare thead th:last-child { background: #fff; }
@media (max-width: 760px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100% !important; }
  .compare tr { border-bottom: 1px solid var(--ink); padding: 16px 0; }
  .compare td { border: 0; padding: 4px 0; background: none !important; }
  .compare td:nth-child(2)::before { content: "Thông thường: "; font-weight: 600; }
  .compare td:last-child::before { content: "SpeedSell: "; font-weight: 600; color: var(--blue); }
}

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; }
.steps li { counter-increment: s; padding: 0 18px 0 0; position: relative; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  display: block; font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums;
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px solid var(--line);
}
.steps li:first-child::before { border-color: var(--blue); color: var(--blue); }
.steps li:last-child::before { border-color: var(--orange); color: var(--orange); }
.steps h3 { font-size: 17px; margin-bottom: 8px; }
.steps p { font-size: 14px; color: var(--ink-2); margin: 0; }
@media (max-width: 1060px) { .steps { grid-template-columns: repeat(4, 1fr); row-gap: 40px; } }
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { display: grid; grid-template-columns: 48px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .steps li::before { border: 0 !important; padding: 2px 0 0; margin: 0; grid-row: span 2; }
}

/* ---------- method (4 đúng) ---------- */
.method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.method div { padding: 28px 24px; border-left: 1px solid var(--line); }
.method div:first-child { border-left: 0; }
.method .w { font-size: 13px; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.method h3 { font-size: 22px; margin: 6px 0 10px; }
.method p { margin: 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) { .method { grid-template-columns: 1fr 1fr; } .method div:nth-child(3) { border-left: 0; } .method div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .method { grid-template-columns: 1fr; } .method div { border-left: 0; } .method div + div { border-top: 1px solid var(--line); } }

/* ---------- exclusive ---------- */
.exclusive { background: var(--navy); color: #e8edf2; }
.exclusive .eyebrow { color: #7fc0e6; }
.exclusive-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; }
.exclusive blockquote { margin: 0; font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; color: #fff; }
.exclusive blockquote span { color: #f0a160; }
.exclusive .lead { color: #b8c4d0; margin-top: 24px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 14px 0 14px 32px; border-bottom: 1px solid rgba(255,255,255,.12); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 6px; border-left: 2px solid #f0a160; border-bottom: 2px solid #f0a160; transform: rotate(-45deg); }
@media (max-width: 860px) { .exclusive-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- promises ---------- */
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.promise-col h3 { font-size: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.promise-col ul { list-style: none; margin: 0; padding: 0; }
.promise-col li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.promise-col.no li { text-decoration: line-through; text-decoration-color: rgba(229,119,46,.55); text-decoration-thickness: 1.5px; }
.promise-col.no h3 { color: var(--orange-deep); }
.promise-note { margin-top: 40px; padding: 24px 28px; border-left: 3px solid var(--blue); background: #fff; font-size: 18px; font-weight: 500; }
@media (max-width: 760px) { .promise-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- 3S ---------- */
.three-s { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.three-s div h3 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.025em; margin-bottom: 12px; }
.three-s div:nth-child(1) h3 { color: var(--blue); }
.three-s div:nth-child(2) h3 { color: var(--ink); }
.three-s div:nth-child(3) h3 { color: var(--orange); }
.three-s p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .three-s { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- knowledge gallery ---------- */
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.post { display: block; align-self: start; background: none; border: 0; padding: 0; text-align: left; cursor: zoom-in; font: inherit; color: inherit; }
.post img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .2s; }
.post:hover img { transform: translateY(-3px); }
.post span { display: block; margin-top: 10px; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--ink-2); }
.posts .post.extra { display: none; }
.posts.all .post.extra { display: block; }
.more-wrap { text-align: center; margin-top: 36px; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .posts { grid-template-columns: repeat(2, 1fr); gap: 14px; } .post span { font-size: 13px; } }

.lightbox { position: fixed; inset: 0; background: rgba(10, 20, 30, .88); display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px; }
.lightbox.on { display: flex; }
.lightbox img { max-height: 88vh; max-width: min(88vh, 100%); border-radius: var(--radius); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.lightbox .x { top: 16px; right: 16px; }
.lightbox .prev { left: 16px; top: 50%; } .lightbox .next { right: 16px; top: 50%; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--ink); }
summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 300; color: var(--blue); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding: 0 40px 22px 0; color: var(--ink-2); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- lead form ---------- */
.contact { background: var(--paper-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.contact h2 { font-size: clamp(30px, 4vw, 46px); }
.contact-points { margin-top: 32px; list-style: none; padding: 0; }
.contact-points li { display: grid; grid-template-columns: 28px 1fr; padding: 10px 0; color: var(--ink-2); }
.contact-points li b { color: var(--blue); font-variant-numeric: tabular-nums; font-weight: 600; }
.direct { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.direct a { font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; display: inline-block; margin-top: 4px; }

form.lead { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
form.lead .full { grid-column: 1 / -1; }
form.lead label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
form.lead label small { font-weight: 400; color: var(--muted); }
form.lead input, form.lead select, form.lead textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1px solid #d5cec2; border-radius: var(--radius); background: var(--paper);
  appearance: none; -webkit-appearance: none;
}
form.lead select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2312263a' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
form.lead input:focus, form.lead select:focus, form.lead textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); background: #fff; }
form.lead textarea { min-height: 96px; resize: vertical; }
form.lead .btn { width: 100%; padding: 15px; font-size: 16px; }
form.lead .fine { font-size: 13px; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { form.lead { grid-template-columns: 1fr; padding: 22px 18px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #aab7c4; padding: 64px 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer .brand span { font-size: 22px; }
.site-footer .brand .b1 { color: #5db3e4; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.slogan { color: #fff; font-weight: 600; margin-top: 16px; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

/* sticky mobile call bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-bar a { padding: 14px; text-align: center; font-weight: 600; font-size: 15px; text-decoration: none; }
  .mobile-bar a:last-child { background: var(--orange); color: #fff; }
  body { padding-bottom: 52px; }
}

/* ---------- problem landing pages ---------- */
.lp-hero { padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumb a { text-decoration: none; } .crumb a:hover { color: var(--ink); }
.lp-hero h1 { font-size: clamp(34px, 5.2vw, 58px); letter-spacing: -0.03em; max-width: 18ch; line-height: 1.08; }
.lp-hero .lead { margin: 24px 0 32px; }
.lp-body { display: grid; grid-template-columns: 1fr 340px; gap: 72px; align-items: start; }
.lp-body h2 { font-size: 26px; margin: 48px 0 16px; }
.lp-body h2:first-child { margin-top: 0; }
.lp-body ul.plain { padding-left: 20px; color: var(--ink-2); }
.lp-body ul.plain li { margin-bottom: 8px; }
.lp-steps { list-style: none; padding: 0; margin: 0; counter-reset: l; }
.lp-steps li { counter-increment: l; display: grid; grid-template-columns: 48px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.lp-steps li::before { content: counter(l, decimal-leading-zero); color: var(--blue); font-weight: 600; font-size: 14px; padding-top: 3px; }
.lp-steps b { display: block; margin-bottom: 2px; }
.lp-steps span { color: var(--ink-2); font-size: 15px; }
.lp-aside { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.lp-aside h3 { font-size: 18px; margin-bottom: 8px; }
.lp-aside p { font-size: 15px; color: var(--ink-2); }
.lp-aside .btn { width: 100%; margin-top: 8px; }
.lp-aside img { border-radius: var(--radius); margin-bottom: 18px; border: 1px solid var(--line); }
.callout { background: var(--paper-2); border-left: 3px solid var(--orange); padding: 20px 24px; margin: 28px 0; font-weight: 500; }
.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.related a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; text-decoration: none; background: #fff; }
.related a:hover { border-color: var(--ink); }
@media (max-width: 960px) { .lp-body { grid-template-columns: 1fr; gap: 48px; } .lp-aside { position: static; } }

/* ---------- calc table (hero + calculator) ---------- */
.calc-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.calc-table th { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); text-align: right; padding: 0 0 10px; }
.calc-table th:nth-child(2) { color: var(--blue); }
.calc-table td { padding: 10px 0; border-top: 1px solid var(--line); vertical-align: top; text-align: right; white-space: nowrap; }
.calc-table td:first-child { text-align: left; white-space: normal; color: var(--ink-2); padding-right: 12px; }
.calc-table td + td { padding-left: 12px; width: 30%; }
.calc-table small { display: block; font-size: 12px; color: var(--muted); white-space: normal; font-weight: 400; }
.calc-table td b { font-size: 18px; letter-spacing: -0.01em; }
.calc-table .neg { color: #b4532a; } .calc-table .pos { color: #2c7a4b; }
.calc-table tfoot td { border-top: 2px solid var(--ink); font-weight: 700; font-size: 17px; color: var(--ink); padding-top: 12px; }
.calc-table tfoot td:first-child { font-size: 14px; }
.calc-table tfoot td.win { color: var(--blue); }
.tradeoff h3 { font-size: 18px; color: var(--ink); font-weight: 700; margin-bottom: 18px; line-height: 1.3; }
.tradeoff .calc-table tfoot td:nth-child(2) { color: var(--blue); }
.tradeoff p.foot a { color: var(--blue-deep); font-weight: 600; white-space: nowrap; }

/* ---------- trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.trust .seal { width: 48px; height: 48px; border-radius: 50%; border: 2px solid #8b2c2c; color: #8b2c2c; display: grid; place-items: center; font-size: 22px; font-weight: 700; }
.trust p { margin: 0; font-size: 15px; color: var(--ink-2); max-width: 75ch; }
.trust p b { color: var(--ink); font-weight: 600; }
.trust .code { font-size: 13px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; border-left: 1px solid var(--line); padding-left: 24px; }
@media (max-width: 860px) { .trust-in { grid-template-columns: auto 1fr; } .trust .code { grid-column: 2; text-align: left; border: 0; padding: 0; } }

/* ---------- calculator ---------- */
.calc-sec { background: var(--paper-2); }
.calc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.calc-in { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: 28px; background: var(--paper); border-right: 1px solid var(--line); align-content: start; }
.fld span:first-child { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.fld .in { display: flex; align-items: center; border: 1px solid #d5cec2; border-radius: var(--radius); background: #fff; }
.fld .in:focus-within { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.fld input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 16px; padding: 10px 12px; color: var(--ink); font-variant-numeric: tabular-nums; outline: none; }
.fld i { font-style: normal; font-size: 13px; color: var(--muted); padding-right: 12px; white-space: nowrap; }
.calc-out { padding: 28px; }
.calc-out .calc-table { font-size: 15px; }
.verdict { margin: 20px 0 10px; font-size: 17px; }
.verdict b { color: var(--blue-deep); }
.calc-out .fine { font-size: 13px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-in { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .calc-in, .calc-out { padding: 20px 16px; } .calc-in { gap: 14px 12px; } .calc-table td b { font-size: 16px; } }

/* ---------- case ---------- */
.case { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.case-no { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: #fff; background: var(--orange); padding: 4px 10px; border-radius: 4px; margin-bottom: 16px; }
.case-sub { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; margin: 36px 0 14px; }
.case-time .case-sub { margin-top: 0; }
.case-before { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.case-before li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.case-before li:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.case-before li:nth-child(even) { padding-left: 20px; }
.case-before b { display: block; font-size: 30px; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.case-before span { font-size: 14px; color: var(--ink-2); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 0 0 22px 24px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--blue); }
.timeline li.done::before { background: var(--orange); border-color: var(--orange); }
.timeline b { font-variant-numeric: tabular-nums; color: var(--blue); }
.timeline li.done b { color: var(--orange-deep); }
.timeline li::after { content: ""; grid-column: 2; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--blue) calc(var(--d) / 21 * 100%), var(--paper-2) 0); margin-top: 6px; }
.case-cta { margin-top: 12px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 10px; display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.case-cta p { margin: 0; font-weight: 500; }
@media (max-width: 960px) { .case { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .case-cta { flex-direction: column; align-items: stretch; } .timeline li { grid-template-columns: 76px 1fr; } }

/* ---------- phases ---------- */
.phase { display: grid; grid-template-columns: 280px 1fr; gap: 40px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--ink); }
.phase-title span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--orange); }
.phase-title h3 { font-size: 22px; margin: 6px 0 10px; }
.phase-title p { font-size: 15px; color: var(--ink-2); margin: 0; }
.deliver { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.deliver div { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.deliver div:nth-child(odd) { border-right: 1px solid var(--line); }
.deliver div:nth-last-child(-n+2) { border-bottom: 0; }
.deliver b { display: block; font-size: 17px; margin-bottom: 4px; }
.deliver p { font-size: 15px; color: var(--ink-2); margin: 0 0 8px; }
.deliver i { font-style: normal; font-size: 14px; color: var(--blue-deep); font-weight: 500; }
.deliver i::before { content: "→ "; }
@media (max-width: 960px) { .phase { grid-template-columns: 1fr; gap: 20px; } .phase .method { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .deliver { grid-template-columns: 1fr; } .deliver div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; } .deliver div:last-child { border-bottom: 0 !important; } }

/* ---------- prices ---------- */
.price-sec { background: var(--paper-2); }
.prices { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 0; }
.prices div { padding: 28px 28px 28px 0; border-top: 2px solid #cfc7b9; position: relative; }
.prices div + div { padding-left: 28px; }
.prices div + div::before { content: "→"; position: absolute; left: -10px; top: 26px; color: var(--muted); }
.prices span { display: block; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -0.02em; color: var(--muted); }
.prices .hl { border-color: var(--blue); }
.prices .hl span { color: var(--blue); text-decoration: none; }
.prices p { margin: 6px 0 0; color: var(--ink-2); }
.bases { margin-top: 48px; }
.bases h3 { font-size: 18px; margin-bottom: 8px; }
.bases ol { list-style: none; padding: 0; margin: 0; counter-reset: b; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.bases li { counter-increment: b; padding-top: 16px; }
.bases li::before { content: counter(b, decimal-leading-zero); display: block; font-size: 14px; font-weight: 600; color: var(--orange); margin-bottom: 8px; }
.bases b { display: block; font-size: 18px; margin-bottom: 4px; }
.bases span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } .prices div, .prices div + div { padding: 18px 0; } .prices div + div::before { display: none; } .bases ol { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- sources flow ---------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: center; }
.flow-src { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow-src { position: relative; padding-right: 56px; }
.flow-src li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; font-weight: 500; position: relative; }
.flow-src li::after { content: ""; position: absolute; right: -29px; top: 50%; width: 28px; height: 2px; background: var(--blue); opacity: .55; }
.flow-src li::before { content: ""; position: absolute; right: -32px; top: calc(50% - 3px); width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.flow-src::before { content: ""; position: absolute; right: 27px; top: 24px; bottom: 24px; width: 2px; background: var(--blue); opacity: .55; }
.flow-src::after { content: ""; position: absolute; right: 0; top: calc(50% - 1px); width: 28px; height: 2px; background: var(--blue); opacity: .55; }
.flow-hub { width: 200px; height: 200px; border-radius: 50%; border: 2px solid var(--blue); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; }
.flow-hub b { font-size: 20px; } .flow-hub span { font-size: 13px; color: var(--ink-2); max-width: 12ch; }
.flow-out { padding-left: 48px; position: relative; }
.flow-out::before { content: ""; position: absolute; left: 0; top: 50%; width: 40px; height: 2px; background: var(--orange); }
.flow-out h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--orange-deep); margin-bottom: 6px; }
.ticks.dark li { border-bottom-color: var(--line); padding-top: 11px; padding-bottom: 11px; }
.ticks.dark li::before { top: 19px; border-color: var(--orange); }
.sub-h { font-size: 22px; margin: 72px 0 20px; }
.report td:first-child { width: 30%; }
.report td:nth-child(2) { color: var(--ink-2); width: 33%; }
.report thead th:last-child { color: var(--blue); }
@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; gap: 24px; justify-items: stretch; }
  .flow-src { grid-template-columns: 1fr 1fr; padding-right: 0; } .flow-src li::after, .flow-src li::before, .flow-src::before, .flow-src::after { display: none; }
  .flow-hub { position: relative; } .flow-hub::before, .flow-hub::after { content: ""; position: absolute; left: 50%; width: 2px; height: 24px; background: var(--blue); opacity: .55; } .flow-hub::before { top: -25px; } .flow-hub::after { bottom: -25px; background: var(--orange); opacity: 1; }
  .flow-hub { width: auto; height: auto; border-radius: 10px; padding: 18px; flex-direction: row; gap: 12px; }
  .flow-out { padding-left: 0; } .flow-out::before { display: none; }
}
@media (max-width: 760px) {
  .report td:nth-child(2)::before { content: "Kiểm tra: "; }
  .report td:last-child::before { content: "Hành động: "; }
}

/* ---------- exclusive list ---------- */
.excl-list div { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.excl-list div:first-child { padding-top: 0; }
.excl-list h3 { font-size: 18px; color: #fff; margin-bottom: 4px; }
.excl-list p { margin: 0; color: #b8c4d0; font-size: 15px; }
.excl-list div:last-child h3 { color: #f0a160; }

.direct-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.direct .direct-links a { font-size: 15px; font-weight: 600; color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; margin: 0; }

/* thank-you */
.thanks { min-height: 60vh; display: flex; align-items: center; }
.thanks h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 20px; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* overflow guards */
.calc > *, .calc-in > *, .case > *, .phase > * { min-width: 0; }
.calc-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 600px) {
  .eyebrow { font-size: 13px; }
  .calc-table td + td { width: auto; }
  .calc-out .calc-table, .tradeoff .calc-table { font-size: 13px; }
  .fld span:first-child { font-size: 12px; }
  .fld input { padding: 10px; }
}

/* ---------- 6 điểm khác biệt ---------- */
.six { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.six article { padding: 30px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: background .2s; }
.six article:nth-child(3n) { border-right: 0; }
.six article:nth-last-child(-n+3) { border-bottom: 0; }
.six article:hover { background: #fcfbf8; }
.six-n { position: absolute; top: 28px; right: 28px; font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.six-k { display: block; font-size: clamp(30px, 3.2vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--blue); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.six article:nth-child(2n) .six-k { color: var(--orange); }
.six h3 { font-size: 19px; margin-bottom: 8px; }
.six p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.compare-sec .sub-h { margin-top: 80px; }
@media (max-width: 900px) {
  .six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .six article { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .six article:nth-child(2n) { border-right: 0 !important; }
  .six article:nth-last-child(-n+2) { border-bottom: 0 !important; }
}
@media (max-width: 560px) {
  .six { grid-template-columns: 1fr; }
  .six article { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 24px 20px; }
  .six article:last-child { border-bottom: 0 !important; }
  .six-n { top: 24px; right: 20px; }
}

/* ---------- case carousel ---------- */
.more-cases { margin-top: 80px; }
.mc-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.mc-head .sub-h { margin: 0; }
.mc-nav { display: flex; gap: 8px; flex: none; }
.mc-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 18px; cursor: pointer; transition: background .15s, color .15s; }
.mc-btn:hover { background: var(--ink); color: var(--paper); }
.mc-btn:disabled { opacity: .3; cursor: default; background: transparent; color: var(--ink); }
.mc-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 48px) / 3)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0; padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: #cfc7b9 transparent; -webkit-overflow-scrolling: touch; }
.mc-track:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.case-card { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 26px 24px; display: flex; flex-direction: column; }
.cc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.cc-tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.cc-big { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--orange); white-space: nowrap; line-height: 1; }
.case-card h3 { font-size: 19px; line-height: 1.3; margin-bottom: 14px; }
.case-card dl { margin: 0; font-size: 14.5px; }
.case-card dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: 12px; }
.case-card dd { margin: 3px 0 0; color: var(--ink-2); line-height: 1.55; }
.case-card dt.res { color: var(--orange-deep); }
.case-card dd.res { color: var(--ink); font-weight: 600; background: #fdf3ea; margin: 6px -10px 0; padding: 10px; border-radius: 6px; }
@media (max-width: 960px) { .mc-track { grid-auto-columns: minmax(280px, calc((100% - 24px) / 2)); } }
@media (max-width: 560px) { .mc-track { grid-auto-columns: 86%; gap: 14px; } .mc-head { align-items: center; } .case-card { padding: 22px 20px; } }

/* footer company block */
.foot-proud { color: #d5dde5; }
.foot-proud b { color: #fff; font-weight: 600; }
.company { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 4px; font-size: 14px; line-height: 1.55; }
.company b { color: #fff; font-weight: 600; font-size: 15px; }

.six-k { padding-right: 28px; }

/* header: keep nav on one line */
.nav a, .brand, .header-phone { white-space: nowrap; }
.site-header .wrap { gap: 22px; }
.nav { gap: 22px; }

@media (max-width: 1120px) { .header-cta { margin-left: auto; } .menu-btn { margin-left: 0; } }

/* ---------- trust bar link ---------- */
a.trust { display: block; text-decoration: none; color: inherit; transition: background .2s; }
a.trust:hover { background: #fffaf3; }
a.trust:hover .seal { background: #8b2c2c; color: #fff; }
.trust .seal { transition: background .2s, color .2s; }
.trust .code .see { display: block; margin-top: 6px; color: var(--blue-deep); font-weight: 600; font-size: 13px; }
a.trust:hover .code .see { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- form validation ---------- */
form.lead .req { color: #d93025; font-weight: 700; margin-left: 1px; }
form.lead .fld-err { color: #d93025; font-size: 13px; margin: 6px 0 0; }
form.lead .bad { border-color: #d93025 !important; background: #fff6f5 !important; }
form.lead .bad:focus { outline-color: #d93025 !important; }
form.lead .form-err { margin: 0 0 12px; padding: 10px 14px; border-radius: 8px; background: #fff1ef; border: 1px solid #f3c2bc; color: #b3261e; font-size: 14px; font-weight: 500; }

/* ---------- footer zalo team ---------- */
.zalo-team > span { display: block; margin-bottom: 8px; }
.zalo-team > div { display: flex; flex-wrap: wrap; gap: 8px; }
.zalo-team a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 6px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; text-decoration: none; white-space: nowrap; }
.zalo-team a i { font-style: normal; font-size: 10px; font-weight: 700; color: #fff; background: #0068ff; border-radius: 999px; padding: 3px 6px; letter-spacing: .02em; }
.zalo-team a:hover { border-color: #0068ff; }

/* ---------- certificate page ---------- */
.cert-hero h1 { max-width: 22ch; }
.cert-sec { padding-top: 24px; }
.cert-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.cert-doc { margin: 0; position: sticky; top: 92px; }
.cert-doc img { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 1px 2px rgba(18,38,58,.08), 0 18px 40px -18px rgba(18,38,58,.35); background: #fff; }
.cert-doc figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; }
.cert-facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0 0 36px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; }
.cert-facts dt { color: var(--muted); }
.cert-facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.cert-body h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 36px 0 14px; }
.cert-body h2:first-of-type { margin-top: 0; }
.cert-body p { color: var(--ink-2); }
.cert-body .plain li b { color: var(--ink); }
.cert-diff { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.cert-diff div { padding: 16px 18px; border-top: 1px solid var(--line); }
.cert-diff div:nth-child(-n+2) { border-top: 0; }
.cert-diff div.hl { background: #f3f7fb; border-left: 1px solid var(--line); }
.cert-diff span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.cert-diff .hl span { color: var(--blue-deep); font-weight: 600; }
.cert-diff p { margin: 0; font-size: 15px; }
.cert-cta { margin-top: 40px; padding: 24px; border-radius: 10px; background: var(--paper-2); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cert-cta p { flex: 1 1 100%; margin: 0 0 4px; font-weight: 600; color: var(--ink); }
@media (max-width: 960px) { .cert-grid { grid-template-columns: 1fr; gap: 36px; } .cert-doc { position: static; max-width: 520px; } }
@media (max-width: 560px) { .cert-diff { grid-template-columns: 1fr; } .cert-diff div.hl { border-left: 0; } .cert-diff div:nth-child(2) { border-top: 1px solid var(--line); } .cert-facts { grid-template-columns: 1fr; gap: 2px; padding: 18px; } .cert-facts dd { margin-bottom: 10px; } .cert-cta .btn { width: 100%; justify-content: center; } }

/* ---------- GPS method ---------- */
.gps { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; margin-top: 18px; }
.gps-col { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 18px 20px; }
.gps-col + .gps-col { border-top: 1px solid var(--line); }
.gps-l { grid-row: span 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 19px; }
.gps-col:nth-child(2) .gps-l { background: var(--orange); }
.gps-col:nth-child(3) .gps-l { background: var(--navy); }
.gps-col h3 { font-size: 17px; margin: 0 0 2px; }
.gps-col .gps-q { font-size: 14px; font-style: italic; color: var(--muted); margin: 0 0 8px; }
.gps-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.gps-col li { font-size: 13px; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.gps-base { padding: 16px 20px; background: #f3f7fb; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.gps-base b { color: var(--ink); }
@media (max-width: 480px) { .gps-col { grid-template-columns: 36px 1fr; column-gap: 12px; padding: 16px; } .gps-l { width: 36px; height: 36px; font-size: 16px; } }
