:root {
  --blue: #1749D6;
  --blue-600: #0F38B0;
  --navy: #0A2A6B;
  --navy-900: #061A47;
  --red: #E5262F;
  --red-600: #C21820;
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --tint: #F3F6FD;
  --ink: #0B1633;
  --muted: #5B6680;
  --line: #E3E8F3;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 1px 2px rgba(10, 42, 107, .06), 0 12px 40px -12px rgba(10, 42, 107, .18);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.eyebrow--light { color: #FF8A90; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 56ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 28px; border-radius: 999px; font: 700 1rem var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px var(--blue); }
.btn--blue:hover { background: var(--blue-600); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px var(--red); }
.btn--red:hover { background: var(--red-600); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--sm { padding: 10px 20px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.6rem; letter-spacing: -0.04em; color: var(--navy); text-decoration: none; }
.logo__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 10px 0 0 var(--blue); margin-right: 10px; }
.logo--light { color: #fff; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem; }
.nav__links a:not(.btn):hover { color: var(--blue); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s; }

/* Hero */
.hero { padding: 150px 0 80px; position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% 20%, #E8EEFF 0%, transparent 60%), var(--bg); }
.hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 800; letter-spacing: -0.045em; margin-bottom: 28px; }
.hl-blue { color: var(--blue); }
.hl-red { color: var(--red); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__visual { position: relative; aspect-ratio: 1; max-width: 480px; justify-self: end; width: 100%; }
.orb { position: absolute; border-radius: 50%; animation: float 8s ease-in-out infinite; }
.orb--blue { width: 64%; height: 64%; top: 4%; left: 4%; background: radial-gradient(circle at 32% 28%, #7FA2FF, var(--blue) 55%, var(--navy)); box-shadow: 0 40px 80px -30px rgba(23, 73, 214, .6); }
.orb--red { width: 44%; height: 44%; bottom: 6%; right: 4%; background: radial-gradient(circle at 32% 28%, #FF8A90, var(--red) 55%, #8E0E14); box-shadow: 0 30px 60px -24px rgba(229, 38, 47, .6); animation-delay: -3s; }
.orb--white { width: 30%; height: 30%; bottom: 10%; left: 14%; background: radial-gradient(circle at 32% 28%, #fff, #EEF2FB 60%, #CBD5EA); box-shadow: 0 24px 50px -20px rgba(10, 42, 107, .35); animation-delay: -5s; }
.hero__badge { position: absolute; top: 8%; right: 0; background: rgba(255, 255, 255, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--radius-sm); padding: 14px 20px; box-shadow: var(--shadow); display: grid; }
.hero__badge strong { font-size: 2rem; line-height: 1; color: var(--navy); }
.hero__badge span { font-size: .85rem; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-14px); } }

/* Stats */
.stats { border-block: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 36px 24px; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -0.03em; }
.stat span { color: var(--muted); font-size: 1rem; }

/* Sections */
.section { padding: 120px 0; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy-900); color: #fff; }
.section--navy .lead { color: #B7C3E3; }
.section__head { margin-bottom: 56px; }
.section__head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

/* Lines */
.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.line { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 36px; min-height: 320px; border-radius: var(--radius); text-decoration: none; color: #fff; overflow: hidden; transition: transform .3s; }
.line:hover { transform: translateY(-6px); }
.line h3 { font-size: 2rem; letter-spacing: -0.03em; }
.line p { opacity: .85; font-size: 1.05rem; }
.line__tag { align-self: flex-start; font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); }
.line__go { margin-top: auto; font-weight: 700; }
.line::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -60px; bottom: -80px; background: rgba(255, 255, 255, .12); }
.line--classic { background: linear-gradient(150deg, var(--blue), var(--navy)); }
.line--deco { background: linear-gradient(150deg, #FF4D55, var(--red-600)); }
.line--care { background: #fff; color: var(--ink); border: 2px solid var(--line); }
.line--care .line__tag { background: var(--tint); color: var(--blue); }
.line--care::after { background: var(--tint); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 32px; }
.filters button { font: 600 1rem var(--font); padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s; }
.filters button:hover { border-color: var(--blue); }
.filters button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters__count { margin-left: auto; color: var(--muted); font-size: .95rem; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; animation: pop .4s both; }
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(10, 42, 107, .06), 0 24px 50px -16px rgba(10, 42, 107, .28); }
.card__media { aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 20px; background: linear-gradient(160deg, #F6F8FE, #E9EEFA); }
.card--deco .card__media { background: linear-gradient(160deg, #FFF5F5, #FDE5E6); }
.card--care .card__media { background: linear-gradient(160deg, #F2FBF6, #E1F3E9); }
.card__media svg { width: 78%; filter: drop-shadow(0 12px 16px rgba(10, 42, 107, .18)); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 20px 22px 24px; display: grid; gap: 10px; }
.card h3 { font-size: 1.2rem; }
.card__weight { color: var(--blue); white-space: nowrap; }
.card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: .92rem; }
.card dl div { display: contents; }
.card dt { color: var(--muted); }
.card dd { margin: 0; font-weight: 600; }
.chip { justify-self: start; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; }
.chip--classic { background: #E6EDFF; color: var(--blue); }
.chip--deco { background: #FDE3E4; color: var(--red-600); }
.chip--care { background: #DDF3E6; color: #137A4E; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { padding: 32px; border-radius: var(--radius); background: var(--tint); display: flex; flex-direction: column; gap: 12px; min-height: 230px; }
.tile p { color: var(--muted); }
.tile--wide { grid-column: span 2; grid-row: span 2; justify-content: flex-end; }
.tile--wide h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.tile--blue { background: linear-gradient(160deg, var(--blue), var(--navy)); color: #fff; }
.tile--blue p, .tile--red p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
.tile--red { background: var(--red); color: #fff; grid-column: span 2; }
.tile__num { font-weight: 800; color: var(--red); font-size: .95rem; }

/* Safety */
.safety { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.safety h2 { margin-bottom: 20px; }
.safety__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.safety__list li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #D6DEF2; }
.safety__list li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 800; }
.safety__list b { color: #fff; }

/* Dealer */
.dealer { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.dealer h2 { margin-bottom: 20px; }
.contact { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.contact span { color: var(--muted); }
.contact a, .contact b { font-weight: 700; color: var(--navy); text-decoration: none; text-align: right; }
.form { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 16px; }
.form h3 { font-size: 1.6rem; margin-bottom: 4px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: 400 1.05rem var(--font); padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--tint); color: var(--ink); transition: border-color .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form__status { font-size: .95rem; min-height: 1.4em; }
.form__status.is-ok { color: #137A4E; font-weight: 600; }
.form__status.is-warn { color: var(--red-600); font-weight: 600; }

/* Footer */
.footer { background: var(--navy-900); color: #B7C3E3; padding: 48px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__inner { display: grid; gap: 10px; }
.footer .muted { color: #7F8DB3; font-size: .9rem; }

/* Reveal */
.reveal { transform: translateY(16px); transition: transform .7s ease; }
.reveal.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .card { animation: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero__grid, .safety, .dealer { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 340px; justify-self: center; }
  .lines { grid-template-columns: 1fr; }
  .line { min-height: 240px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .section { padding: 80px 0; }
  .hero { padding: 120px 0 56px; }
  .nav__toggle { display: block; }
  .nav__links { position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 24px; background: #fff; box-shadow: 0 20px 40px -20px rgba(10, 42, 107, .3); transform: translateY(-120%); transition: transform .3s; z-index: -1; }
  .nav__links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav__links .btn { margin-top: 16px; }
  .nav.is-open { background: #fff; }
  .nav.is-open .nav__links { transform: none; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .bento { grid-template-columns: 1fr; }
  .tile--wide, .tile--red { grid-column: auto; grid-row: auto; }
  .stat { padding: 24px 12px; }
  .filters__count { width: 100%; margin-left: 0; }
  .form { padding: 24px; }
  .contact li { font-size: 1rem; }
}

/* Chính sách đại lý & đồng ý dữ liệu */
.perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.perks li { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.perks li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--red); transform: translateY(-1px); }
.form .consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.form .consent input { width: 20px; height: 20px; padding: 0; margin-top: 2px; flex: none; accent-color: var(--blue); }
.lines--single { grid-template-columns: minmax(0, 640px); }
.section__head .history { margin-top: 20px; }
