/* style-new.css
   Thiết kế: sạch, hiện đại, dễ đọc, tập trung chuyển đổi (CTA).
*/
:root{
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

  --bg: #F6F2EA;
  --surface: rgba(255,255,255,.92);
  --surface-2: rgba(255,255,255,.70);
  --text: rgba(16,24,38,.92);
  --muted: rgba(16,24,38,.70);
  --soft: rgba(16,24,38,.55);

  --brand: rgba(58,111,123,.98);
  --brand-2: rgba(159,208,215,.98);
  --accent: rgba(177,138,90,.95);

  --line: rgba(16,24,38,.10);
  --shadow: 0 18px 50px rgba(15, 23, 42, .10);
  --shadow-sm: 0 10px 24px rgba(15, 23, 42, .08);

  --radius: 16px;
  --radius-lg: 22px;

  --max: 1120px;
  --pad: 18px;
}

*{ box-sizing:border-box; }
html, body { height: 100%; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(159, 208, 215, .28), transparent 55%),
    radial-gradient(900px 520px at 88% 0%, rgba(177, 138, 90, .12), transparent 60%),
    linear-gradient(180deg, var(--bg), #ffffff 48%, var(--bg));
  line-height: 1.65;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
.container{ width: min(var(--max), calc(100% - 2*var(--pad))); margin: 0 auto; }

/* Skip link */
.skip{
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  z-index: 999;
}
.skip:focus{ left: 12px; }

/* Accessibility */
:focus-visible{
  outline: 3px solid rgba(58, 111, 123, .45);
  outline-offset: 3px;
  border-radius: 12px;
}
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}

/* Topbar */
.topbar{
  background: rgba(255,255,255,.60);
  border-bottom: 1px solid rgba(16,24,38,.08);
  backdrop-filter: blur(10px);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.topbar-left{ display:flex; align-items:center; gap: 10px; flex-wrap: wrap; }
.pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(58,111,123,.20);
  background: rgba(159,208,215,.18);
  font-size: 12px;
  font-weight: 800;
}
.topbar-text{ font-size: 13px; color: var(--muted); }
.topbar-right{ display:flex; align-items:center; gap: 10px; color: var(--muted); font-size: 13px; }
.topbar-link{ text-decoration: underline; text-underline-offset: 3px; }
.sep{ opacity: .6; }

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16,24,38,.08);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 0;
}
.brand{
  display:flex; align-items:center; gap: 10px;
  min-width: 220px;
}
.brand-copy strong{
  display:block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing:.2px;
}
.brand-copy span{ display:block; font-size:12px; color: var(--muted); }

.logo{
  width: 40px; height: 40px;
  border-radius: 14px;
  background:
    radial-gradient(18px 18px at 30% 28%, rgba(255,255,255,.90), transparent 60%),
    linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(58,111,123,.18);
  flex: 0 0 auto;
}

/* Mobile menu button */
.nav-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 4px;
  width: 46px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.85);
  box-shadow: 0 9px 20px rgba(15, 23, 42, .07);
  cursor: pointer;
}
.nav-toggle .bar{
  display:block;
  width: 18px;
  height: 2px;
  background: rgba(16,24,38,.75);
  border-radius: 2px;
}
.navlinks{
  display:none;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  padding: 12px var(--pad);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(16,24,38,.08);
  backdrop-filter: blur(12px);
}
.header.is-open .navlinks{ display:flex; }

.navlink{
  font-size: 14px;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: .2px;
}
.navlink:hover{
  color: var(--text);
  border-color: rgba(58,111,123,.18);
  background: rgba(159,208,215,.14);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.90);
  box-shadow: 0 9px 20px rgba(15, 23, 42, .07);
  font-family: var(--font-body);
  font-weight: 800;
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }

.btn-primary{
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #0b1a1f;
  border-color: rgba(58,111,123,.22);
}
.btn-ghost{
  background: rgba(255,255,255,.50);
  box-shadow: none;
}
a.inline{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Common blocks */
section{ padding: 28px 0; }
.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.muted{ color: var(--muted); }
.tiny{ font-size: 12px; color: var(--soft); }
.divider{ height:1px; background: var(--line); margin: 14px 0; }

.kicker{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(58,111,123,.18);
  background: rgba(159,208,215,.16);
  color: rgba(16,24,38,.78);
  font-size: 13px;
  font-weight: 700;
}
.dot{
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(159,208,215,.20);
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.section-head h2{
  margin:0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.3vw, 30px);
  letter-spacing: -.2px;
  line-height: 1.15;
  font-weight: 600;
}
.section-head p{
  margin:0;
  max-width: 80ch;
  color: var(--muted);
}

/* Layout grids */
.grid{ display:grid; gap: 14px; }
.grid-2{ grid-template-columns: 1fr; }
.grid-3{ grid-template-columns: 1fr; }

/* HERO */
.hero{ padding-top: 18px; }
.hero-wrap{
  display:grid;
  gap: 14px;
}
.hero-copy{ padding: 20px; }
.hero-copy h1{
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.06;
  letter-spacing: -.6px;
  font-weight: 600;
}
.hero-copy .lead{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 70ch;
}
.hero-cta{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.hero-meta{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.chip{
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(246,242,234,.80);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}
.hero-points{
  display:grid;
  gap: 10px;
  margin-top: 14px;
}
.point{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(16,24,38,.10);
  background: rgba(255,255,255,.80);
  box-shadow: var(--shadow-sm);
}
.point .ic{
  width: 34px; height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(58,111,123,.18);
  background: rgba(159,208,215,.18);
  display:flex; align-items:center; justify-content:center;
  flex: 0 0 auto;
}
.point svg{ width: 18px; height: 18px; }
.point b{ display:block; }
.point span{ display:block; margin-top: 2px; color: var(--muted); font-size: 13px; }

.stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 14px;
}
.stat{
  padding: 12px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(16,24,38,.10);
  background: rgba(246,242,234,.55);
}
.stat b{ display:block; font-size: 16px; letter-spacing: -.2px; }
.stat span{ display:block; margin-top: 2px; font-size: 12px; color: var(--muted); }

.hero-media{
  overflow:hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16,24,38,.10);
  background: var(--surface-2);
  box-shadow: var(--shadow);
  position: relative;
  min-height: 260px;
}
.hero-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.hero-badge{
  position:absolute;
  left: 12px; bottom: 12px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(58,111,123,.22);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
  max-width: calc(100% - 24px);
}
.hero-badge b{ display:block; }
.hero-badge span{ display:block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Cards */
.mini-card{
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16,24,38,.10);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.mini-card h3{
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: -.2px;
  font-weight: 600;
}
.mini-card p{ margin:0; color: var(--muted); font-size: 14px; }

.mini-card.flat{
  box-shadow: none;
  background: rgba(246,242,234,.45);
}
.mini-card.flat2{
  box-shadow: none;
  background: rgba(255,255,255,.92);
}

/* Process */
.process-card{ padding: 18px; }
.step-row{ display:grid; gap: 12px; }
.step{
  display:grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items:start;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(16,24,38,.10);
  background: rgba(246,242,234,.55);
}
.step img{
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(16,24,38,.10);
  background: #fff;
}
.step b{ display:block; }
.step span{ display:block; margin-top: 2px; color: var(--muted); font-size: 13px; }

/* Before/After */
.ba-wrap{ display:grid; gap: 12px; }
.ba-card{
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16,24,38,.10);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.ba-grid{
  display:grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.ba-figure{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(16,24,38,.10);
  background: var(--surface-2);
}
.ba-figure img{
  width:100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ba-cap{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid rgba(16,24,38,.10);
  background: rgba(246,242,234,.55);
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}
.context{
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(16,24,38,.10);
  background: rgba(255,255,255,.92);
  color: rgba(16,24,38,.78);
}
.context b{ display:block; }
.context span{ display:block; margin-top: 2px; color: var(--muted); }

.disclaimer{
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(58,111,123,.18);
  background: rgba(159,208,215,.14);
  color: rgba(16,24,38,.75);
  font-size: 13px;
}

/* Pricing */
.price-grid{ display:grid; gap: 14px; }
.price-card{
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16,24,38,.10);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow:hidden;
}
.tag{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(177,138,90,.22);
  background: rgba(177,138,90,.12);
  font-size: 12px;
  font-weight: 900;
  color: rgba(16,24,38,.75);
}
.price-card h3{ margin: 10px 0 6px; font-family: var(--font-display); font-weight: 600; }
.price{
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.4px;
  margin: 8px 0 4px;
}
.price small{ font-size: 13px; color: var(--muted); font-weight: 800; }

.ul{
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 10px;
}
.ul li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: var(--muted);
  font-size: 14px;
}
.ul.compact{ gap: 9px; }
.check{
  width: 18px; height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(58,111,123,.20);
  background: rgba(159,208,215,.20);
  display:flex; align-items:center; justify-content:center;
  flex: 0 0 auto;
  margin-top: 2px;
}
.check svg{ width: 12px; height: 12px; }
.featured{
  border-color: rgba(58,111,123,.25);
  box-shadow: 0 18px 60px rgba(58,111,123,.14);
}
.ribbon{
  position:absolute;
  top: 14px; right: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(58,111,123,.14);
  border: 1px solid rgba(58,111,123,.22);
  color: rgba(16,24,38,.78);
}

/* Team */
.team-card{ padding: 16px; }
.team{
  display:grid;
  gap: 14px;
  grid-template-columns: 96px 1fr;
  align-items:start;
}
.team img{
  width: 96px;
  height: 96px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(16,24,38,.10);
  background: #fff;
}

/* Feedback carousel */
.carousel{ display:grid; gap: 12px; }
.track{
  display:flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}
.slide{
  scroll-snap-align: start;
  min-width: 82%;
  max-width: 82%;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16,24,38,.10);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.slide .who{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.stars{
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 900;
}

/* FAQ */
.faq-grid{ display:grid; gap: 12px; }
details{
  border: 1px solid rgba(16,24,38,.10);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
summary{
  cursor: pointer;
  list-style: none;
  font-weight: 900;
}
summary::-webkit-details-marker{ display:none; }
details p{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Form */
.form-wrap{ display:grid; gap: 14px; }
form{ padding: 18px; }
.field{ display:grid; gap: 7px; margin-bottom: 12px; }
label{ font-size: 13px; color: var(--muted); font-weight: 800; }
input, textarea, select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(16,24,38,.14);
  background: rgba(255,255,255,.95);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  min-height: 44px;
}
textarea{ min-height: 92px; resize: vertical; }
input:focus, textarea:focus, select:focus{
  border-color: rgba(58,111,123,.45);
  box-shadow: 0 0 0 6px rgba(159,208,215,.26);
  outline: none;
}
.row{ display:grid; gap: 12px; grid-template-columns: 1fr; }

.form-more{
  margin: 6px 0 12px;
  border-radius: var(--radius);
  border: 1px dashed rgba(16,24,38,.18);
  background: rgba(246,242,234,.40);
  padding: 12px 12px;
}
.form-more summary{
  font-weight: 900;
  color: rgba(16,24,38,.82);
}

.consent{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(16,24,38,.10);
  background: rgba(246,242,234,.55);
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0 12px;
}
.consent input{ width: 18px; height: 18px; min-height: 18px; margin-top: 2px; }
.form-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
  justify-content: space-between;
  margin-top: 6px;
}
.side-info{ padding: 18px; }

/* Footer */
footer{
  padding: 28px 0 92px;
  border-top: 1px solid rgba(16,24,38,.10);
  background: rgba(246,242,234,.45);
  margin-top: 10px;
}
.footer-grid{ display:grid; gap: 14px; }
.footer-box{
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16,24,38,.10);
  background: rgba(255,255,255,.90);
  box-shadow: var(--shadow-sm);
}
.footer-box p{ margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.map{
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px dashed rgba(16,24,38,.20);
  background: rgba(255,255,255,.85);
  min-height: 220px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 16px;
  color: var(--muted);
  font-size: 13px;
  text-align:center;
}

/* Mobile sticky CTA */
.sticky-cta{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 10px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(16,24,38,.10);
  box-shadow: 0 -10px 24px rgba(15,23,42,.10);
}
.sticky-cta .inner{
  width: min(var(--max), calc(100% - 2*var(--pad)));
  margin: 0 auto;
  display:flex;
  gap: 10px;
}
.sticky-cta a{ flex: 1; }

/* Desktop breakpoint */
@media (min-width: 820px){
  .nav-toggle{ display:none; }
  .nav{ position: relative; }
  .navlinks{
    display:flex !important;
    position: static;
    flex-direction: row;
    align-items:center;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: 0;
    backdrop-filter: none;
  }
  .grid-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }

  .hero-wrap{
    grid-template-columns: 1.05fr .95fr;
    align-items: stretch;
  }
  .hero-points{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .step-row{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ba-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .price-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .form-wrap{ grid-template-columns: 1.05fr .95fr; align-items: start; }
  .row{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid{ grid-template-columns: 1.1fr .9fr; }
  .track .slide{ min-width: 360px; max-width: 360px; }
}

/* Only show sticky CTA on mobile */
@media (min-width: 980px){
  .sticky-cta{ display:none; }
}
