/* =========================================================================
   Web1Day — "Trusted Speed" design system
   Display: Be Vietnam Pro (native VN diacritics) · Body: Plus Jakarta Sans
   Pure HTML/CSS/SVG — no image assets, sub-2s LCP target.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --primary: #1E5BFF;
  --primary-dark: #0B3FCC;
  --primary-soft: #4D7BFF;
  --accent: #FF7A1A;
  --accent-light: #FF9A3D;
  --accent-dark: #F5600A;
  --bg: #FFFFFF;
  --surface: #F4F7FF;
  --surface-2: #EEF3FF;
  --ink: #0D1B3E;
  --muted: #4A5A78;
  --line: #E6ECFF;
  --ok: #16B364;

  --grad-blue: linear-gradient(135deg, #1E5BFF 0%, #0B3FCC 100%);
  --grad-orange: linear-gradient(135deg, #FF9A3D 0%, #FF7A1A 55%, #F5600A 100%);
  --grad-tint: radial-gradient(120% 140% at 100% 0%, #EEF3FF 0%, #FFFFFF 55%);
  --grad-blueorange: linear-gradient(120deg, #1E5BFF 0%, #4D7BFF 40%, #FF7A1A 120%);

  --shadow-sm: 0 4px 16px rgba(13, 27, 62, .06);
  --shadow: 0 8px 30px rgba(30, 91, 255, .10);
  --shadow-lg: 0 24px 60px rgba(13, 27, 62, .16);
  --shadow-orange: 0 10px 30px rgba(245, 96, 10, .30);

  --r-sm: 12px;
  --r: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --font-display: "Be Vietnam Pro", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --container: 1120px;
  --header-h: 64px;
  --pad-x: clamp(16px, 5vw, 24px);
  --section-y: clamp(56px, 9vw, 104px);

  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--grad-tint); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section__head h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
.section__intro { margin-top: 14px; color: var(--muted); font-size: 1.075rem; }

.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
  padding: 5px 12px; background: var(--surface-2); border-radius: var(--r-pill);
}

.grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.skip-link {
  position: fixed; top: -100px; left: 12px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad-orange);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 13px 24px; border-radius: var(--r-pill); min-height: 48px;
  color: #fff; background: var(--btn-bg); background-size: 200% 100%;
  box-shadow: var(--shadow-orange); transition: transform .18s var(--ease), box-shadow .18s, background-position .6s;
  position: relative; overflow: hidden; white-space: normal; text-align: center; max-width: 100%;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(245,96,10,.4); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary:hover::after { animation: sheen 1s var(--ease); }
@keyframes sheen { to { transform: translateX(120%); } }

.btn--ghost {
  background: #fff; color: var(--primary); box-shadow: inset 0 0 0 2px var(--primary);
}
.btn--ghost::after { display: none; }
.btn--ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 2px var(--primary), var(--shadow); }
.btn--white { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow-lg); }
.btn--white::after { display: none; }
.btn--sm { padding: 10px 18px; min-height: 44px; font-size: .9375rem; }
.btn--lg { padding: 16px 30px; min-height: 56px; font-size: 1.075rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(13,27,62,.06); }
.site-header__inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand__mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  color: #fff; background: var(--grad-blue); box-shadow: var(--shadow);
}
.brand__accent { color: var(--accent); }
.brand--light { color: #fff; }
.brand--light .brand__mark { background: var(--grad-orange); }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .2s; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width .25s var(--ease); border-radius: 2px; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.site-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-call { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.header-call svg { color: var(--primary); }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .85rem;
  color: var(--ink); padding: 8px 12px; min-height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: #fff; transition: border-color .2s, color .2s, background .2s;
}
.lang-toggle:hover { border-color: var(--primary); color: var(--primary); }
.lang-toggle svg { color: var(--primary); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; }
.nav-toggle__bar { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 18px var(--pad-x) 26px; display: grid; gap: 14px;
  transform: translateY(-130%); transition: transform .35s var(--ease); visibility: hidden;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav__links { display: grid; gap: 4px; }
.mobile-nav__links a { padding: 13px 16px; border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; border-bottom: 1px solid var(--line); transition: background .15s; }
.mobile-nav__links a:active { background: var(--surface); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(48px, 7vw, 88px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero__blob--blue { width: 460px; height: 460px; background: #4D7BFF; top: -180px; left: -120px; opacity: .35; }
.hero__blob--orange { width: 380px; height: 380px; background: var(--accent-light); bottom: -160px; right: -100px; opacity: .3; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(13,27,62,.035) 0, rgba(13,27,62,.035) 1px, transparent 1px, transparent 11px);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 0, transparent 75%);
          mask-image: radial-gradient(80% 70% at 50% 30%, #000 0, transparent 75%);
}
.hero__inner { max-width: 840px; margin-inline: auto; text-align: center; }
.hero__content { display: flex; flex-direction: column; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .875rem;
  padding: 8px 15px; border-radius: var(--r-pill); color: var(--primary-dark);
  background: rgba(255,255,255,.7); border: 1px solid var(--line); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.badge__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(22,179,100,.5); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,179,100,.5); } 70% { box-shadow: 0 0 0 8px rgba(22,179,100,0); } 100% { box-shadow: 0 0 0 0 rgba(22,179,100,0); } }

.numeral-lockup { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 18px; margin: clamp(18px, 3vw, 28px) 0 0; }
.numeral-lockup::before { content: none; }
.numeral-lockup__kicker {
  position: absolute; left: -6px; top: -14px; transform: rotate(-90deg); transform-origin: left top;
  font-family: var(--font-body); font-weight: 700; font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap; display: none;
}
.numeral { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--font-display); line-height: .9; }
.numeral__num { font-weight: 900; font-size: clamp(2.6rem, 9vw, 4.4rem); color: var(--ink); }
.numeral__word { font-weight: 800; font-size: clamp(.95rem, 3vw, 1.5rem); line-height: 1.3; letter-spacing: .02em; color: var(--ink); }
.numeral--accent .numeral__num, .numeral--accent .numeral__word {
  background: var(--grad-orange); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero__title { font-size: clamp(1.6rem, 4vw, 2.5rem); line-height: 1.2; font-weight: 800; max-width: 18ch; margin-top: clamp(12px, 1.8vw, 18px); }
.hero__subtitle { margin-top: clamp(14px, 2vw, 20px); color: var(--muted); font-size: 1.02rem; max-width: 52ch; }

.price-anchor { display: flex; align-items: center; justify-content: center; gap: 14px; margin: clamp(22px, 3vw, 32px) 0 0; flex-wrap: wrap; }
.price-anchor__old s { color: var(--muted); font-weight: 600; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.price-anchor__new { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 5vw, 2.1rem); display: inline-flex; align-items: baseline; gap: 8px; }
.price-anchor__new b { background: var(--grad-blueorange); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.price-anchor__new span { font-size: .95rem; font-weight: 600; color: var(--muted); }

.hero__cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 32px); }
.hero__microcopy { margin-top: 16px; font-size: .9rem; color: var(--muted); }

.trust-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(28px, 3.4vw, 40px); }
.chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 600;
  padding: 8px 13px; border-radius: var(--r-pill); color: var(--ink);
  background: rgba(255,255,255,.72); border: 1px solid var(--line); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm);
}
.chip__icon { color: var(--accent); font-size: .95rem; }

/* ---------- Stats ---------- */
.stats { padding-block: clamp(8px, 2vw, 16px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: clamp(18px,3vw,28px); background: var(--grad-blue); border-radius: var(--r-lg); box-shadow: var(--shadow); margin-top: clamp(-44px,-4vw,-28px); position: relative; z-index: 2; }
.stat { text-align: center; color: #fff; }
.stat__value { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.5rem, 4.5vw, 2.4rem); font-variant-numeric: tabular-nums; }
.stat__label { font-size: .82rem; color: rgba(255,255,255,.96); margin-top: 4px; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--surface); padding-block: 14px; margin-top: clamp(24px,4vw,40px); }
.marquee__track { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); text-align: center; }
.marquee__item { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.6; }

/* ---------- Cards (problem / why / feature / guarantee) ---------- */
.pain-card, .why-card, .feature-card, .guarantee-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(20px, 2.6vw, 28px); box-shadow: var(--shadow); height: 100%;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
@media (hover: hover) { .pain-card:hover, .why-card:hover, .feature-card:hover, .guarantee-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #D6E0FF; } }
.pain-card h3, .why-card h3, .feature-card h3, .guarantee-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pain-card p, .why-card p, .feature-card p, .guarantee-card p { color: var(--muted); font-size: .98rem; }
.pain-card__icon, .why-card__icon, .feature-card__icon, .guarantee-card__icon,
.chip__icon, .channel__icon, .sticky-bar__icon, .float-zalo__icon {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.pain-card__icon, .why-card__icon, .feature-card__icon, .guarantee-card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem;
  margin-bottom: 16px; background: var(--surface-2);
}
.why-card__icon { background: var(--grad-blue); }
.feature-card__icon { background: linear-gradient(135deg, #EEF3FF, #fff); border: 1px solid var(--line); }
.guarantee-card { border-top: 3px solid var(--accent); }
.guarantee-card__icon { background: linear-gradient(135deg, var(--accent-light), var(--accent)); }

/* ---------- Process timeline ---------- */
.timeline { display: grid; gap: 18px; counter-reset: step; }
.timeline__item { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); }
.timeline__num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: #fff; background: var(--grad-blue); flex: none; }
.timeline__time { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--accent-dark); background: #FFF1E6; padding: 3px 10px; border-radius: var(--r-pill); margin-bottom: 8px; }
.timeline__item h3 { font-size: 1.15rem; }
.timeline__item p { color: var(--muted); margin-top: 6px; font-size: .98rem; }
@media (min-width: 760px) {
  .timeline { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
  .timeline__item { display: block; }
  .timeline__num { margin-bottom: 14px; }
  .timeline__item::after { content: ""; position: absolute; top: 46px; right: -9px; width: 18px; height: 2px; background: var(--line); z-index: 1; }
  .timeline__item:last-child::after { display: none; }
}

/* ---------- Pricing ---------- */
.price-market { margin-top: 14px; font-size: .95rem; color: var(--muted); }
.price-market s { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; margin-left: 6px; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px 24px; box-shadow: var(--shadow);
}
.tier--featured { border: 2px solid var(--primary); box-shadow: 0 24px 60px rgba(30,91,255,.22); transform: translateY(-6px); }
.tier--compare { background: var(--surface); opacity: .92; }
.tier__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-orange); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .06em; padding: 6px 16px; border-radius: var(--r-pill); box-shadow: var(--shadow-orange); white-space: nowrap; }
.tier__name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.tier__tagline { color: var(--muted); font-size: .92rem; margin: 8px 0 16px; min-height: 2.6em; }
.tier__price { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.tier--featured .tier__price { background: var(--grad-blueorange); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier__period { font-size: .85rem; font-weight: 600; color: var(--muted); margin: 6px 0 18px; }
.tier__usd { color: var(--muted); font-weight: 600; font-size: .95rem; }
.tier__features { display: grid; gap: 11px; margin: 6px 0 22px; }
.tier__features li { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: .94rem; color: var(--ink); align-items: start; }
.tier__features li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #E6F7EE; color: var(--ok); font-size: .72rem; font-weight: 800; margin-top: 2px; }
.tier--compare .tier__features li { color: var(--muted); }
.tier--compare .tier__features li::before { content: "✕"; background: #FBE9E7; color: #E2563E; }
.tier__cta { margin-top: auto; }
.pricing__notes { max-width: 760px; margin: 32px auto 0; text-align: center; display: grid; gap: 10px; }
.pricing__included, .pricing__addons { font-size: .9rem; color: var(--muted); }
.pricing__reassurance { font-weight: 700; color: var(--ok); }
.pricing__urgency { font-size: .9rem; font-weight: 600; color: var(--accent-dark); background: #FFF1E6; padding: 10px 16px; border-radius: var(--r); display: inline-block; margin-inline: auto; }

/* ---------- Portfolio demo cards ---------- */
.demo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
@media (hover: hover) { .demo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); } }
/* Screenshot preview (social-media link-preview style) */
.demo-card__shot { position: relative; display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--surface); }
.demo-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s var(--ease); }
@media (hover: hover) { .demo-card:hover .demo-card__shot img { transform: scale(1.04); } }
.demo-card__url { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; font-family: var(--font-body); font-weight: 600; font-size: .78rem; color: var(--ink); background: rgba(255,255,255,.92); border-radius: var(--r-pill); box-shadow: var(--shadow-sm); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.demo-card__url svg { width: 11px; height: 11px; color: var(--ok); flex: none; }
.demo-card__url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.demo-card__label { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.demo-card__link { font-weight: 700; font-size: .9rem; color: var(--primary); display: inline-flex; align-items: center; gap: 5px; }
.demo-card__link::after { content: "→"; transition: transform .2s; }
.demo-card__link:hover::after { transform: translateX(4px); }
.portfolio__cta { text-align: center; margin-top: 40px; }

/* ---------- Testimonials ---------- */
.testimonials__grid { gap: 20px; }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.testimonial__stars { color: #FFB020; letter-spacing: 2px; font-size: 1.05rem; }
.testimonial__quote { font-size: 1.04rem; line-height: 1.6; color: var(--ink); }
.testimonial__quote::before { content: "“"; color: var(--primary); font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; margin-right: 2px; }
.testimonial__person { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.testimonial__avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; font-family: var(--font-display); font-weight: 800; background: var(--grad-blue); flex: none; }
.testimonial__name { font-family: var(--font-display); font-weight: 700; }
.testimonial__role { font-size: .85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq__item.is-open { box-shadow: var(--shadow); border-color: #D6E0FF; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 22px; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; color: var(--ink); }
.faq__icon { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--primary); transition: transform .3s var(--ease), background .2s, color .2s; }
.faq__icon svg { display: block; }
.faq__item.is-open .faq__icon { transform: rotate(90deg); background: var(--primary); color: #fff; }
.faq__panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__panel-inner { padding: 0 22px 20px; color: var(--muted); }
.faq__still { text-align: center; margin-top: 24px; font-weight: 600; }
.faq__still a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Final CTA ---------- */
.final-cta { padding-block: var(--section-y); background: var(--grad-blue); position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--accent); filter: blur(120px); opacity: .35; top: -160px; right: -80px; }
.final-cta__inner { position: relative; text-align: center; color: #fff; max-width: 700px; margin-inline: auto; display: grid; gap: 18px; justify-items: center; }
.final-cta__inner h2 { color: #fff; font-size: clamp(1.7rem, 5.5vw, 2.7rem); }
.final-cta__inner p { color: rgba(255,255,255,.96); font-size: 1.1rem; }
.final-cta__urgency { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 600; background: rgba(255,255,255,.14); padding: 9px 18px; border-radius: var(--r-pill); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 13px 15px; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(30,91,255,.12); }
.field textarea { resize: vertical; }
.field--invalid input { border-color: #E2563E; background: #FFF5F3; }
.field__error { color: #E2563E; font-size: .82rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form__consent { font-size: .82rem; color: var(--muted); text-align: center; }
.form-success { background: #E6F7EE; border: 1px solid #BdEBCF; border-radius: var(--r); padding: 16px; text-align: center; }
.form-success a { color: var(--ok); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form-success:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-error { background: #FFF1E6; border: 1px solid #FFD9B8; border-radius: var(--r); padding: 16px; text-align: center; }
.form-error a { color: var(--accent-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.contact__channels { display: grid; gap: 12px; }
.channel { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
@media (hover: hover) { .channel:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: #D6E0FF; } }
.channel__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; font-size: 1.3rem; background: var(--surface-2); flex: none; }
.channel--zalo .channel__icon { background: #E6F0FF; } .channel--call .channel__icon { background: #E6F7EE; }
.channel--messenger .channel__icon { background: #EDE9FE; } .channel--email .channel__icon { background: #FFF1E6; }
.channel__text { display: grid; }
.channel__text b { font-family: var(--font-display); font-weight: 700; }
.channel__sub { color: var(--muted); font-size: .85rem; font-style: normal; }
.contact__response { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--muted); margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C7D2E8; padding-block: clamp(40px, 6vw, 64px) 28px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer__tagline { margin-top: 14px; font-size: .95rem; max-width: 34ch; color: #9FB0CE; }
.site-footer__col h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer__col a { display: block; padding: 5px 0; color: #9FB0CE; font-size: .92rem; transition: color .2s; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.site-footer__business { font-size: .85rem; color: #8295B6; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 16px; font-size: .85rem; }
.site-footer__made { color: var(--accent-light); }

/* ---------- Sticky mobile bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(13,27,62,.12); padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 10px 4px; font-size: .78rem; font-weight: 700; color: var(--ink); min-height: 58px; }
.sticky-bar__item--zalo { background: var(--surface-2); }
.sticky-bar__icon { font-size: 1.25rem; }

/* ---------- Floating Zalo (desktop) ---------- */
.float-zalo { position: fixed; right: 22px; bottom: 22px; z-index: 85; width: 60px; height: 60px; display: grid; place-items: center; }
.float-zalo__icon { width: 56px; height: 56px; display: grid; place-items: center; }
.float-zalo__icon svg { width: 56px; height: 56px; border-radius: 15px; display: block; }
.channel__icon svg { width: 28px; height: 28px; border-radius: 7px; display: block; }
.sticky-bar__icon svg { width: 24px; height: 24px; border-radius: 6px; display: block; }

/* ---------- Scroll reveal (JS-gated: visible by default for no-JS / crawlers) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Anchor offset ---------- */
:where(#features,#process,#pricing,#portfolio,#faq,#contact,#whyus,#testimonials,#guarantee,#problem,#order,#top) { scroll-margin-top: calc(var(--header-h) + 16px); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .tier--featured { transform: none; order: -1; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav, .header-call { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 720px) {
  .header-cta { display: none; }
  .sticky-bar { display: grid; }
  .float-zalo { display: none; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .grid--2 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 16px 8px; margin-top: 0; }
  .numeral-lockup { gap: 14px; }
  .testimonial__quote { font-size: 1rem; }
}
@media (max-width: 420px) {
  .grid--4 { grid-template-columns: 1fr; }
  .section__head h2 { font-size: 1.5rem; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}
