/* ===== Theme ===== */
:root{
  --bg:#FAF7F2;
  --ink:#23262B;
  --muted:#5f6670;
  --card:#FFFFFF;
  --line:#E9E2D9;
  --brand-1:#6C63FF;
  --brand-2:#F6C05B;
  --radius:18px;
  --shadow-sm:0 6px 14px rgba(0,0,0,.06);
  --shadow-md:0 10px 24px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html,body{margin:0}
body{
  background:var(--bg);
  color:var(--ink);
  font:16px/1.55 system-ui, Segoe UI, Roboto, Helvetica, Arial;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

.container{width:min(1120px,86vw);margin:auto}
.section{padding:56px 0}
.center{text-align:center}
.muted{color:var(--muted)}
.no-m{margin:0}
.no-m-b{margin-bottom:0}
.m-b-14{margin-bottom:14px}
.m-t-18{margin-top:18px}
.pad-18{padding:18px}
.pad-28{padding:28px}

.grid{display:grid;gap:20px}
.cols-3{grid-template-columns:repeat(3,1fr)}
.cols-4{grid-template-columns:repeat(4,1fr)}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px; border-radius:999px; font-weight:600;
  border:0; cursor:pointer; transition:transform .08s ease, box-shadow .2s;
  text-decoration:none;
}
.btn:active{transform:translateY(1px)}
.btn--primary{
  color:#1f2030;
  background:linear-gradient(135deg, var(--brand-2), #ffd88a 55%, #ffe8b6);
  box-shadow:0 6px 16px rgba(246,192,91,.35);
}
.btn--primary:hover{box-shadow:0 10px 22px rgba(246,192,91,.45)}
.btn--ghost{color:#2b2f33;background:#fff;border:1px solid var(--line)}
.btn--alt{background:#fff3d9;border:1px solid #f1d6a0;color:#3a2b0a}
.btn--alt:hover{box-shadow:var(--shadow-sm)}

/* ===== HERO ===== */
.hero{padding:28px 0 8px}
.hero__copy {
  padding: clamp(20px, 3vw, 36px);
  border-radius: 22px; /* từ 18px lên 22px */
}
.hero__grid{
  display:grid; grid-template-columns:1.1fr 1fr; gap:28px; align-items:center;
}
.hero__title{margin:0 0 10px; font-size:clamp(24px, 3.2vw, 36px); line-height:1.2}
.hero__cta{display:flex; gap:10px; margin-top:12px; flex-wrap:wrap}

/* USP pills */
.usp-row{
  display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 2px; padding:0; list-style:none;
}
.usp-row li{
  padding:8px 10px; border-radius:999px; font-size:12px; line-height:1;
  background:#efe8de; color:#6e737a; border:1px dashed #e7ded3;
}

/* Media box giữ tỉ lệ 4:3, crop giữa */
.hero__media--43{aspect-ratio:4/3; overflow:hidden}
.hero__media picture, .hero__media img{
  width:100%; height:100%; object-fit:cover; object-position:center; display:block;
}

/* ===== Trust / Awards ===== */
.trust__title{color:var(--muted);margin-bottom:14px}
.trust__logos{
  display:grid; gap:18px; grid-template-columns:repeat(8,1fr);
  align-items:center; justify-items:center;
}
.trust__logo{width:140px; max-width:100%; aspect-ratio:1/1; object-fit:contain;
  transition:transform .25s ease, box-shadow .25s ease}
.trust__logo:hover{transform:translateY(-3px) scale(1.03); box-shadow:var(--shadow-sm)}

/* ===== Tiles ===== */
.tile-copy{padding:14px 16px}
.tile-copy strong{display:block; font-size:1rem; margin-top:4px}

/* ===== Reviews ===== */
.reviews-card{padding:22px; border-radius:var(--radius); background:var(--card);
  box-shadow:var(--shadow-sm); border:1px solid var(--line)}
.reviews-head{display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; align-items:center}
.stars{display:inline-flex; gap:4px; vertical-align:middle}
.star{width:18px; height:18px; fill:#12b76a}
.rev-grid{margin-top:16px; display:grid; gap:14px; grid-template-columns:repeat(3,1fr)}
.review{background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px; display:flex; flex-direction:column; gap:8px}
.quote{line-height:1.45}
.badge{display:inline-flex; align-items:center; gap:6px; font-size:.85rem; color:var(--muted)}
.badge svg{width:14px; height:14px}

/* ===== Footer ===== */
footer{padding:48px 0; color:var(--muted)}
.footer-flex{display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap}

/* ===== Sticky CTA (mobile) ===== */
.sticky-cta{position:fixed; left:0; right:0; bottom:12px; z-index:60; display:none; justify-content:center}
.sticky-cta .btn{padding:14px 22px}

/* ===== Responsive ===== */
@media (max-width:1200px){ .trust__logos{grid-template-columns:repeat(6,1fr)} }
@media (max-width:1024px){ .trust__logos{grid-template-columns:repeat(5,1fr)} }

@media (max-width:900px){
  .hero__grid{grid-template-columns:1fr}
  .cols-3,.cols-4{grid-template-columns:repeat(2,1fr)}
  .rev-grid{grid-template-columns:repeat(2,1fr)}
  .section{padding:44px 0}
  .sticky-cta{display:flex}
}

@media (max-width:640px){
  .cols-3,.cols-4{grid-template-columns:1fr}
  .rev-grid{display:grid; grid-auto-flow:column; grid-auto-columns:85%;
    overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:6px}
  .review{scroll-snap-align:start}
  .trust__logos{
    display:flex; gap:14px; overflow-x:auto; padding:2px 2px 10px;
    scroll-snap-type:x mandatory;
  }
  .trust__logo{flex:0 0 110px; scroll-snap-align:center}
}

