/* ============================================================
   VayTốcĐộ - Official Site
   Style: playful outlined / neo-brutalism (cyan + pink + yellow)
   ============================================================ */

:root{
  --cyan:      #4CE0F0;
  --cyan-dark: #17c3d6;
  --cyan-soft: #d9fafe;
  --pink:      #FF9DD2;
  --pink-dark: #ff62b4;
  --pink-soft: #ffe8f5;
  --yellow:    #FFC02E;
  --yellow-soft:#fff2d1;

  --ink:  #111417;
  --ink-2:#3d454d;
  --ink-3:#6b757e;
  --line: #111417;
  --bg:   #ffffff;
  --bg-alt:#f4feff;

  --r-sm: 14px;
  --r:    22px;
  --r-lg: 32px;

  --bd: 3px solid var(--line);
  --sh: 6px 6px 0 var(--line);
  --sh-sm: 4px 4px 0 var(--line);
  --sh-lg: 10px 10px 0 var(--line);

  --wrap: 1180px;
  --head-h: 76px;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; scroll-padding-top:var(--head-h); }

body{
  margin:0;
  font-family:'Nunito',-apple-system,'Segoe UI',Roboto,sans-serif;
  color:var(--ink);
  background:var(--bg);
  font-size:17px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3,h4,.brand-text,.stat b,.step-num,.num{
  font-family:'Baloo 2','Nunito',sans-serif;
  line-height:1.15;
  margin:0;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul,ol{ margin:0; padding:0; list-style:none; }

.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 22px; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:'Baloo 2',sans-serif; font-weight:700; font-size:17px;
  padding:13px 26px; border:var(--bd); border-radius:999px;
  background:#fff; color:var(--ink); cursor:pointer;
  box-shadow:var(--sh-sm);
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translate(-2px,-2px); box-shadow:6px 6px 0 var(--line); }
.btn:active{ transform:translate(2px,2px); box-shadow:1px 1px 0 var(--line); }
.btn-cyan{ background:var(--cyan); }
.btn-pink{ background:var(--pink); }
.btn-yellow{ background:var(--yellow); }
.btn-dark{ background:var(--ink); color:#fff; }
.btn-outline{ background:#fff; }
.btn-lg{ font-size:19px; padding:16px 32px; }
.btn-sm{ font-size:15px; padding:9px 20px; box-shadow:3px 3px 0 var(--line); }

/* ---------- tags ---------- */
.tag{
  display:inline-block; font-family:'Baloo 2',sans-serif; font-weight:700;
  font-size:15px; padding:6px 18px; border:var(--bd); border-radius:999px;
  box-shadow:var(--sh-sm); margin-bottom:20px; background:#fff;
}
.tag-cyan{ background:var(--cyan); }
.tag-pink{ background:var(--pink); }
.tag-yellow{ background:var(--yellow); }

/* ============ HEADER ============ */
.site-header{
  position:sticky; top:0; z-index:80;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(10px);
  border-bottom:3px solid var(--line);
}
.header-inner{
  height:var(--head-h);
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.brand{ display:flex; align-items:center; gap:11px; }
.brand-logo{
  width:44px; height:44px; border-radius:12px;
  border:3px solid var(--line);
}
.brand-text{ font-size:26px; font-weight:800; letter-spacing:-.3px; }

.nav{ display:flex; align-items:center; gap:6px; }
.nav > a{
  font-weight:700; font-size:15.5px; padding:8px 13px; border-radius:999px;
  color:var(--ink-2); transition:background .16s, color .16s;
}
.nav > a:hover{ background:var(--cyan-soft); color:var(--ink); }
.nav .nav-cta{ margin-left:8px; color:#fff; }
.nav .nav-cta:hover{ background:var(--ink); color:#fff; }

.burger{
  display:none; width:46px; height:46px; border:var(--bd); border-radius:12px;
  background:var(--cyan); box-shadow:var(--sh-sm); cursor:pointer;
  padding:0; flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.burger span{ width:20px; height:3px; background:var(--ink); border-radius:2px; transition:.2s; }
.burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* ============ HERO ============ */
.hero{
  position:relative; overflow:hidden;
  padding:80px 0 90px;
  background:
    radial-gradient(900px 500px at 88% 8%, var(--cyan-soft) 0%, transparent 62%),
    radial-gradient(700px 480px at 6% 92%, var(--pink-soft) 0%, transparent 60%),
    #fff;
}
.blob{ position:absolute; border-radius:50%; filter:blur(4px); opacity:.5; z-index:0; }
.blob-1{ width:220px; height:220px; background:var(--cyan); top:-70px; left:-60px; }
.blob-2{ width:160px; height:160px; background:var(--yellow); bottom:40px; right:6%; opacity:.35; }

.hero-grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1.08fr .92fr; gap:56px; align-items:center;
}
.hero-copy h1{
  font-size:clamp(38px,5.2vw,62px); font-weight:800; letter-spacing:-1px;
  margin-bottom:20px;
}
.hero-copy h1 .hl{
  position:relative; display:inline-block; z-index:1;
}
.hero-copy h1 .hl::after{
  content:''; position:absolute; left:-4px; right:-4px; bottom:6px; height:38%;
  background:var(--yellow); z-index:-1; transform:rotate(-1.2deg); border-radius:4px;
}
.lead{ font-size:18px; color:var(--ink-2); margin:0 0 24px; max-width:56ch; }

.hero-checks{ display:grid; gap:11px; margin-bottom:32px; }
.hero-checks li{
  position:relative; padding-left:38px; font-weight:700; font-size:16.5px;
}
.hero-checks li::before{
  content:'✓'; position:absolute; left:0; top:2px;
  width:26px; height:26px; border:2.5px solid var(--line); border-radius:8px;
  background:var(--cyan); display:grid; place-items:center;
  font-size:15px; font-weight:800; line-height:1;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:18px; }
.hero-note{ font-size:14.5px; color:var(--ink-3); margin:0; }

/* hero visual */
.hero-visual{ position:relative; display:flex; justify-content:center; }
.hero-shot{
  width:100%; max-width:400px; border:var(--bd); border-radius:var(--r-lg);
  box-shadow:var(--sh-lg); background:#fff;
  animation:floaty 6s ease-in-out infinite;
}
@keyframes floaty{ 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }

.float-card{
  position:absolute; z-index:3; background:#fff;
  border:var(--bd); border-radius:var(--r); box-shadow:var(--sh);
  padding:12px 20px; font-weight:800;
  animation:floaty 5s ease-in-out infinite;
}
.float-card-1{ top:14%; left:-6%; display:grid; gap:2px; animation-delay:.4s; }
.fc-label{ font-size:13px; color:var(--ink-3); font-weight:700; }
.fc-value{ font-family:'Baloo 2',sans-serif; font-size:24px; color:var(--cyan-dark);
  -webkit-text-stroke:.6px var(--line); }
.float-card-2{
  bottom:12%; right:-4%; display:flex; align-items:center; gap:9px;
  background:var(--pink); font-size:15px; animation-delay:1.1s;
}
.fc-dot{ width:12px; height:12px; border-radius:50%; background:var(--ink); }

/* ============ STATS ============ */
.stats-band{
  background:var(--cyan);
  border-top:3px solid var(--line); border-bottom:3px solid var(--line);
  padding:38px 0;
}
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.stat{ text-align:center; }
.stat b{
  display:block; font-size:clamp(26px,3.2vw,38px); font-weight:800; letter-spacing:-.5px;
}
.stat span{ font-size:14.5px; font-weight:700; color:#0d3d43; }

/* ============ SECTIONS ============ */
.section{ padding:96px 0; }
.section-alt{ background:var(--bg-alt); border-top:3px solid var(--line); border-bottom:3px solid var(--line); }
.section-dark{
  background:var(--ink); color:#fff;
  border-top:3px solid var(--line); border-bottom:3px solid var(--line);
}

.sec-head{ text-align:center; max-width:720px; margin:0 auto 54px; }
.sec-head h2, .cond-copy h2, .calc-copy h2{
  font-size:clamp(30px,3.8vw,44px); font-weight:800; letter-spacing:-.7px; margin-bottom:14px;
}
.sec-sub{ font-size:17px; color:var(--ink-2); margin:0; }
.sec-sub.light{ color:#c8d0d6; }

/* ---------- cards ---------- */
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.card{
  background:#fff; border:var(--bd); border-radius:var(--r-lg);
  padding:32px 28px; box-shadow:var(--sh);
  transition:transform .2s ease, box-shadow .2s ease;
}
.card:hover{ transform:translate(-4px,-4px); box-shadow:var(--sh-lg); }
.card-ico{
  width:60px; height:60px; border:var(--bd); border-radius:18px;
  display:grid; place-items:center; font-size:28px; margin-bottom:20px;
  background:#fff;
}
.card h3{ font-size:22px; font-weight:800; margin-bottom:10px; }
.card p{ margin:0; color:var(--ink-2); font-size:16px; }
.card-cyan .card-ico{ background:var(--cyan); }
.card-pink .card-ico{ background:var(--pink); }
.card-yellow .card-ico{ background:var(--yellow); }
.card-dark{ background:var(--ink); color:#fff; }
.card-dark p{ color:#c8d0d6; }
.card-dark .card-ico{ background:var(--cyan); border-color:#fff; }

/* ---------- điều kiện ---------- */
.cond-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:60px; align-items:center; }
.cond-list{ display:grid; gap:22px; margin-top:34px; }
.cond-list li{ display:flex; gap:18px; align-items:flex-start; }
.cond-list .num{
  flex:0 0 auto; width:48px; height:48px; border:var(--bd); border-radius:16px;
  background:var(--yellow); box-shadow:var(--sh-sm);
  display:grid; place-items:center; font-size:22px; font-weight:800;
}
.cond-list h3{ font-size:19px; font-weight:800; margin-bottom:4px; }
.cond-list p{ margin:0; color:var(--ink-2); font-size:15.5px; }
.cond-visual img{
  border:var(--bd); border-radius:var(--r-lg); box-shadow:var(--sh-lg);
  max-width:380px; margin:0 auto;
}

/* ---------- steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(5,1fr); gap:20px; }
.step{
  background:#fff; border:var(--bd); border-radius:var(--r);
  padding:26px 20px 24px; box-shadow:var(--sh-sm); position:relative;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.step:hover{ transform:translateY(-6px); box-shadow:var(--sh); background:var(--cyan-soft); }
.step-num{
  display:inline-block; font-size:34px; font-weight:800; letter-spacing:-1px;
  color:var(--cyan-dark); -webkit-text-stroke:1px var(--line); line-height:1;
  margin-bottom:12px;
}
.step h3{ font-size:18px; font-weight:800; margin-bottom:8px; }
.step p{ margin:0; font-size:15px; color:var(--ink-2); }

/* ---------- calculator ---------- */
.calc-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.calc-example{
  margin-top:30px; background:#1b2026; border:3px solid #38424b; border-radius:var(--r);
  padding:26px 28px;
}
.calc-example h3{ font-size:19px; font-weight:800; margin-bottom:14px; color:var(--cyan); }
.calc-example ul{ display:grid; gap:11px; }
.calc-example li{
  display:flex; justify-content:space-between; gap:16px; font-size:15.5px;
  padding-bottom:10px; border-bottom:1px dashed #3c464f;
}
.calc-example li span{ color:#aab4bc; }
.calc-example li b{ font-weight:800; }
.calc-example li.total{ border-bottom:none; padding-bottom:0; font-size:17px; }
.calc-example li.total b{ color:var(--yellow); font-size:19px; }

.calc-box{
  background:#fff; color:var(--ink); border:var(--bd); border-radius:var(--r-lg);
  box-shadow:8px 8px 0 var(--cyan); padding:34px 30px;
}
.calc-title{ font-size:23px; font-weight:800; margin-bottom:24px; }
.field{ display:block; margin-bottom:24px; }
.field-label{
  display:flex; justify-content:space-between; align-items:baseline; gap:12px;
  font-weight:700; font-size:15.5px; margin-bottom:12px;
}
.field-label em{
  font-style:normal; font-family:'Baloo 2',sans-serif; font-size:19px; font-weight:800;
  background:var(--cyan); border:2.5px solid var(--line); border-radius:999px;
  padding:2px 14px; white-space:nowrap;
}
.field-hint{ display:flex; justify-content:space-between; font-size:13px; color:var(--ink-3); margin-top:6px; }
.field-hint i{ font-style:normal; }

input[type=range]{
  -webkit-appearance:none; appearance:none; width:100%; height:14px;
  background:var(--cyan-soft); border:2.5px solid var(--line); border-radius:999px;
  outline:none; cursor:pointer;
}
input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none; width:28px; height:28px; border-radius:50%;
  background:var(--pink); border:3px solid var(--line); cursor:grab;
  box-shadow:2px 2px 0 var(--line);
}
input[type=range]::-moz-range-thumb{
  width:26px; height:26px; border-radius:50%;
  background:var(--pink); border:3px solid var(--line); cursor:grab;
}

.calc-result{
  background:var(--yellow-soft); border:var(--bd); border-radius:var(--r);
  padding:20px 22px; display:grid; gap:12px; margin-top:6px;
}
.cr-row{ display:flex; justify-content:space-between; gap:14px; font-size:15.5px; font-weight:700; }
.cr-row span{ color:var(--ink-2); }
.cr-total{
  border-top:2.5px dashed var(--line); padding-top:12px; font-size:17px;
}
.cr-total b{ font-family:'Baloo 2',sans-serif; font-size:23px; color:#b3560a; }
.calc-disc{ font-size:13px; color:var(--ink-3); margin:16px 0 0; }

/* ---------- gallery ---------- */
.gallery{
  display:grid; grid-template-columns:repeat(5,1fr); gap:20px;
}
.shot{ margin:0; }
.shot img{
  border:var(--bd); border-radius:var(--r); box-shadow:var(--sh-sm);
  cursor:zoom-in; transition:transform .2s ease, box-shadow .2s ease;
}
.shot img:hover{ transform:translateY(-8px); box-shadow:var(--sh); }

/* ---------- notes ---------- */
.notes{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.note{
  background:#fff; border:var(--bd); border-radius:var(--r);
  padding:28px 26px; box-shadow:var(--sh-sm); display:grid; gap:14px;
}
.note-ico{
  width:52px; height:52px; border:var(--bd); border-radius:16px; background:var(--yellow);
  display:grid; place-items:center; font-size:24px;
}
.note p{ margin:0; font-size:16px; color:var(--ink-2); }

/* ---------- download ---------- */
.download{
  background:
    radial-gradient(600px 320px at 20% 20%, rgba(255,157,210,.55) 0%, transparent 65%),
    var(--cyan);
  border-top:3px solid var(--line); border-bottom:3px solid var(--line);
  padding:88px 0; text-align:center;
}
.dl-inner{ display:grid; justify-items:center; gap:16px; }
.dl-logo{
  width:96px; height:96px; border:var(--bd); border-radius:26px; box-shadow:var(--sh);
}
.download h2{ font-size:clamp(30px,4vw,44px); font-weight:800; letter-spacing:-.7px; }
.download p{ margin:0; font-size:18px; font-weight:600; color:#0d3d43; max-width:52ch; }
.dl-sub{ font-size:14.5px !important; font-weight:700 !important; opacity:.8; }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; max-width:1000px; margin:0 auto; }
.contact-card{
  background:#fff; border:var(--bd); border-radius:var(--r-lg);
  padding:32px 28px; box-shadow:var(--sh); display:grid; gap:10px;
  transition:transform .2s ease, box-shadow .2s ease;
}
a.contact-card:hover{ transform:translate(-4px,-4px); box-shadow:var(--sh-lg); }
.cc-ico{
  width:56px; height:56px; border:var(--bd); border-radius:18px; background:var(--pink);
  display:grid; place-items:center; font-size:26px;
}
.contact-card h3{ font-size:20px; font-weight:800; }
.contact-card p{ margin:0; color:var(--ink-2); font-size:16px; word-break:break-word; }
.cc-badge{
  justify-self:start; font-size:13px; font-weight:800;
  background:var(--cyan); border:2.5px solid var(--line); border-radius:999px; padding:3px 14px;
}

/* ---------- footer ---------- */
.site-footer{ background:var(--ink); color:#fff; padding:64px 0 26px; }
.footer-grid{
  display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:44px; padding-bottom:40px;
  border-bottom:1px solid #2b3339;
}
.site-footer .brand-text{ color:#fff; }
.site-footer .brand{ margin-bottom:16px; }
.f-brand p{ margin:0 0 12px; color:#aab4bc; font-size:15.5px; max-width:46ch; }
.f-legal{ font-size:13.5px !important; color:#7f8b93 !important; }
.f-col h4{ font-size:17px; font-weight:800; margin-bottom:14px; color:var(--cyan); }
.f-col a{ display:block; color:#aab4bc; font-size:15px; padding:5px 0; transition:color .15s; }
.f-col a:hover{ color:#fff; }
.f-bottom{
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
  padding-top:22px; font-size:13.5px; color:#7f8b93;
}

/* ---------- to-top + lightbox ---------- */
.to-top{
  position:fixed; right:22px; bottom:22px; z-index:70;
  width:52px; height:52px; border:var(--bd); border-radius:50%;
  background:var(--yellow); box-shadow:var(--sh-sm);
  display:grid; place-items:center; font-size:22px; font-weight:800;
  opacity:0; pointer-events:none; transform:translateY(12px); transition:.22s;
}
.to-top.show{ opacity:1; pointer-events:auto; transform:none; }

.lightbox{
  position:fixed; inset:0; z-index:200; background:rgba(10,14,17,.9);
  display:none; align-items:center; justify-content:center; padding:32px;
}
.lightbox.open{ display:flex; }
.lightbox img{
  max-width:min(420px,92vw); max-height:88vh; width:auto;
  border:var(--bd); border-radius:var(--r); background:#fff;
}
.lb-close{
  position:absolute; top:22px; right:26px; width:48px; height:48px;
  border:var(--bd); border-radius:50%; background:var(--pink);
  font-size:28px; line-height:1; cursor:pointer; box-shadow:var(--sh-sm);
}

/* ---------- reveal ---------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ============ RESPONSIVE ============ */
@media (max-width:1080px){
  .cards{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:repeat(3,1fr); }
  .gallery{ grid-template-columns:repeat(3,1fr); }
}

@media (max-width:900px){
  .nav{
    position:fixed; inset:var(--head-h) 0 auto 0;
    flex-direction:column; align-items:stretch; gap:4px;
    background:#fff; border-bottom:3px solid var(--line);
    padding:16px 22px 24px;
    transform:translateY(-130%); transition:transform .28s ease;
    box-shadow:0 14px 24px rgba(0,0,0,.12);
  }
  .nav.open{ transform:none; }
  .nav > a{ padding:12px 14px; font-size:17px; }
  .nav .nav-cta{ margin:8px 0 0; }
  .burger{ display:flex; }

  .hero{ padding:56px 0 70px; }
  .hero-grid{ grid-template-columns:1fr; gap:48px; }
  .hero-copy{ text-align:center; }
  .lead{ margin-left:auto; margin-right:auto; }
  .hero-checks{ justify-items:start; display:inline-grid; text-align:left; }
  .hero-actions{ justify-content:center; }
  .float-card-1{ left:0; }
  .float-card-2{ right:0; }

  .stats-grid{ grid-template-columns:repeat(2,1fr); gap:26px; }
  .cond-grid, .calc-grid{ grid-template-columns:1fr; gap:44px; }
  .cond-visual{ order:-1; }
  .notes{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
}

@media (max-width:620px){
  body{ font-size:16px; }
  .section{ padding:66px 0; }
  .cards{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .gallery{ grid-template-columns:repeat(2,1fr); gap:14px; }
  .brand-text{ font-size:22px; }
  .brand-logo{ width:38px; height:38px; }
  .float-card{ padding:9px 14px; }
  .fc-value{ font-size:19px; }
  .btn-lg{ font-size:17px; padding:14px 24px; width:100%; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .calc-box{ padding:26px 20px; }
  .sec-head{ margin-bottom:38px; }
}
