/* ==========================================================================
   NAVI KING — Landing page
   1. Tokens  2. Base  3. Layout  4. Components  5. Sections  6. Motion  7. Responsive
   ========================================================================== */

/* 1. TOKENS --------------------------------------------------------------- */
:root {
  /* Thương hiệu — lấy từ logo */
  --c-night: #060A16;        /* nền tối sâu nhất (hero, footer) */
  --c-navy: #0A1124;         /* nền tối section */
  --c-navy-2: #0E1730;       /* khung ảnh tối */
  --c-navy-3: #16224A;       /* hover nút tối */
  --c-blue: #2F7BFF;         /* xanh điện: viền, focus — dùng tiết chế */
  --c-gold: #E5B53A;         /* màu nhấn chính trên nền tối */
  --c-gold-hover: #F6D57A;
  --c-gold-ink: #8A6410;     /* vàng đậm cho chữ trên nền sáng (AA) */

  /* Trung tính */
  --c-bg: #F3F4F7;
  --c-bg-tint: #E8EBF1;
  --c-bg-soft: #E1E5EC;
  --c-line: #D3D9E3;
  --c-ink: #0A1124;
  --c-ink-2: #2E3134;
  --c-text: #45484C;
  --c-muted: #55585C;
  --c-subtle: #6A6D71;
  --c-on-dark: #C4C7CB;
  --c-on-dark-2: #A9ADB2;
  --c-error: #B3261E;
  --c-success: #1F6B3A;

  /* Typography */
  --f-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-h1: clamp(2.75rem, 7vw, 6rem);
  --fs-h2: clamp(2rem, 4vw, 3.5rem);
  --fs-h3: 1.375rem;
  --fs-lead: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.8125rem;

  /* Không gian */
  --container: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(80px, 10vw, 144px);
  --radius: 2px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* 2. BASE ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss03";
  font-optical-sizing: auto;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 4px; }
[hidden] { display: none !important; } /* thuộc tính hidden luôn thắng display của component */

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 16px; background: var(--c-gold); color: var(--c-ink); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* 3. LAYOUT --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--c-bg-tint); }
.section--dark { background: var(--c-navy); color: #fff; }
.section--night { background: var(--c-night); color: #fff; }

.split { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: flex-start; }
.split__main { flex: 1 1 440px; min-width: 0; }
.split__aside { flex: 1 1 480px; min-width: 0; }
.split__side { flex: 1 1 380px; min-width: 0; }
.split__wide { flex: 1.25 1 480px; min-width: 0; }
.split--contact { gap: clamp(48px, 7vw, 112px); }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.section-head__note { max-width: 380px; color: var(--c-muted); line-height: 1.65; }

/* 4. COMPONENTS ----------------------------------------------------------- */
.section-title {
  font-family: var(--f-display); font-weight: 700;
  font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.035em; text-wrap: balance;
}
.muted { color: var(--c-subtle); }
.lead { margin-top: 28px; max-width: 480px; font-size: var(--fs-lead); line-height: 1.7; color: var(--c-text); }
.lead--dark { color: #B9BCC0; max-width: 400px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font: 600 .9375rem/1 var(--f-body); letter-spacing: -.01em; text-decoration: none;
  border: 0; border-radius: var(--radius); cursor: pointer;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--c-gold); color: var(--c-ink); }
.btn--primary:hover { background: var(--c-gold-hover); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.32); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px #fff; }
.btn--dark { background: var(--c-navy); color: #fff; }
.btn--dark:hover { background: var(--c-navy-3); }
.btn[disabled] { cursor: progress; opacity: .85; }
.btn__arrow, .link-arrow > span { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow, .link-arrow:hover > span, .product:hover .link-arrow > span { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: .9375rem; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none; color: var(--c-ink);
}

/* 5. SECTIONS ------------------------------------------------------------- */

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 10, 22, .92);
  -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(47, 123, 255, .28);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.site-header__logo img { width: 132px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 36px; font-size: .875rem; font-weight: 500; }
.site-nav__link, .site-footer a { color: #B9BCC0; text-decoration: none; transition: color .2s; }
.site-nav__link:hover, .site-footer a:hover { color: #fff; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: #fff; cursor: pointer; }
.menu-toggle svg { fill: none; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }
.mobile-menu { background: var(--c-night); border-top: 1px solid rgba(255,255,255,.08); padding: 8px 0 28px; }
.mobile-menu__inner { display: flex; flex-direction: column; }
.mobile-menu__link {
  display: flex; justify-content: space-between; align-items: center; min-height: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; text-decoration: none;
  font: 500 1.25rem/1 var(--f-display);
}
.mobile-menu__link span { color: var(--c-gold); }
.mobile-menu .btn { margin-top: 24px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--c-night); color: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 88px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 55% at 50% 78%, rgba(47,123,255,.24), transparent 70%),
    radial-gradient(40% 45% at 82% 18%, rgba(47,123,255,.12), transparent 70%);
}
.hero .container { position: relative; }
.hero__head { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: space-between; gap: 32px 64px; margin-bottom: clamp(36px, 5vw, 56px); }
.hero__copy { flex: 1 1 560px; min-width: 0; }
.hero__aside { flex: 0 1 460px; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; }
.hero__aside .hero__actions { margin-top: 0; }
.hero__copy { display: flex; align-items: flex-end; }
.hero__minis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hero__minis a {
  display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; min-height: 64px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 10px;
  color: #fff; text-decoration: none; transition: background-color .3s, border-color .3s, transform .4s var(--ease-out);
}
.hero__minis a:hover { background: rgba(255,255,255,.08); border-color: rgba(229,181,58,.6); transform: translateY(-2px); }
.hero__minis img { width: 40px; height: 56px; object-fit: cover; border-radius: 6px; flex: none; }
.hero__minis span { display: flex; flex-direction: column; gap: 2px; font-size: .9375rem; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.hero__minis small { font-size: .8125rem; font-weight: 500; color: var(--c-on-dark-2); }
.hero__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.045em;
}
.hero__lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--c-on-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero__banner { position: relative; border-radius: 6px; overflow: hidden; isolation: isolate; box-shadow: 0 0 0 1px rgba(229,181,58,.35), 0 30px 80px -30px rgba(47,123,255,.45); }
.hero__banner img { width: 100%; height: auto; }
/* 4 vùng bấm phủ đúng 4 thẻ trên banner */
.hero__hotspots { position: absolute; inset: 22% 1.5% 5% 2.5%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2%; }
.hero__hotspots a { border-radius: 12px; transition: box-shadow .3s, background-color .3s; }
.hero__hotspots a:hover { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 2px var(--c-gold); }
.hero__hotspots a:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }
.hero__cards { display: none; }

/* Sản phẩm */
.product-index { display: flex; flex-wrap: wrap; gap: 8px; }
.product-index a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--c-line); border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--c-ink);
  text-decoration: none; transition: border-color .2s, background-color .2s;
}
.product-index a:hover { border-color: var(--c-ink); background: #fff; }

.product { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 6vw, 88px); padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--c-line); scroll-margin-top: calc(var(--header-h) + 16px); }
.product--flip { flex-direction: row-reverse; }
.product__media { flex: 1 1 440px; min-width: 0; overflow: hidden; border-radius: 6px; background: var(--c-navy); }
.product__media img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.product__media:hover img { transform: scale(1.025); }
.product__body { flex: 1 1 420px; min-width: 0; }
.product__name { font: 700 clamp(1.75rem, 3vw, 2.5rem)/1.15 var(--f-display); letter-spacing: -.03em; text-wrap: balance; }
.product__en { margin-top: 8px; font: 500 1rem/1.4 var(--f-display); letter-spacing: -.005em; color: var(--c-subtle); }
.product__desc { margin-top: 20px; max-width: 540px; font-size: 1.0625rem; line-height: 1.7; color: var(--c-text); }
.product__highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.product__highlights li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  background: var(--c-bg-tint); border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--c-ink-2);
}
.product__highlights li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-gold); }
.product .link-arrow { margin-top: 20px; }

.howto { margin-top: 28px; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.howto summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; list-style: none;
  font: 600 1rem/1.3 var(--f-display);
}
.howto summary::-webkit-details-marker { display: none; }
.howto summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--c-gold-ink); transition: transform .3s var(--ease); }
.howto[open] summary::after { transform: rotate(45deg); }
.howto ol { counter-reset: step; display: grid; gap: 12px; padding-bottom: 20px; }
.howto ol li { counter-increment: step; position: relative; min-height: 28px; padding-left: 44px; line-height: 1.6; color: var(--c-ink-2); }
.howto ol li::before {
  content: counter(step); position: absolute; left: 0; top: -1px; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--c-navy); color: var(--c-gold); font: 600 .8125rem/1 var(--f-display);
}
.howto__note { margin: -4px 0 20px; padding: 12px 16px; background: #FFF6DE; color: #5C4508; font-size: .9375rem; line-height: 1.55; border-radius: 4px; }

/* Về SG CHEM */
.body-copy { margin-top: 16px; max-width: 520px; color: var(--c-text); line-height: 1.7; }
.mv { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 48px; }
.mv__item { padding-top: 20px; border-top: 2px solid var(--c-ink); }
.mv__item h3 { margin-bottom: 10px; font: 600 1.25rem/1.25 var(--f-display); }
.mv__item p { color: var(--c-text); line-height: 1.65; }
.brand-panel { display: flex; align-items: center; gap: 28px; padding: 28px; background: var(--c-navy); color: #fff; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(47,123,255,.25); }
.brand-panel img { width: 120px; height: auto; flex: none; }
.brand-panel p { font: 700 1.5rem/1.2 var(--f-display); letter-spacing: -.03em; }
.brand-panel span { display: block; margin-top: 8px; font: 500 .8125rem/1.5 var(--f-body); letter-spacing: .02em; color: var(--c-on-dark-2); }
.list-title { margin: 40px 0 8px; font: 600 1.25rem/1.25 var(--f-display); }
.numbered-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--c-line); }
.numbered-list__no { font: 500 .875rem/1.7 var(--f-display); color: var(--c-gold-ink); }
.numbered-list p { line-height: 1.6; color: var(--c-ink-2); }

/* Kênh mua hàng */
.section-head__note--dark { color: #B9BCC0; }
.channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.channel {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; min-height: 160px; padding: 28px;
  background: var(--c-navy); border-radius: 6px; color: #fff; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .3s, transform .3s var(--ease);
}
.channel__name { font: 700 1.625rem/1.15 var(--f-display); letter-spacing: -.03em; }
.channel__cta { margin-top: auto; font-size: .9375rem; font-weight: 600; color: var(--c-gold); }
a.channel[href]:hover { box-shadow: inset 0 0 0 1px var(--c-gold); transform: translateY(-3px); }
.channel.is-pending { cursor: default; }
.channel.is-pending .channel__cta { color: var(--c-on-dark-2); }

/* Liên hệ */
.contact-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 40px; }
.contact-info div { padding: 16px 0; border-top: 1px solid var(--c-line); }
.contact-info__wide { grid-column: 1 / -1; }
.contact-info dt { font-size: .875rem; font-weight: 500; color: var(--c-subtle); }
.contact-info dd { margin-top: 6px; font-weight: 600; line-height: 1.5; }
.contact-info a { text-decoration: none; }
.contact-info a:hover { color: var(--c-gold-ink); }
.map { margin-top: 24px; }
.map iframe { display: block; width: 100%; height: 260px; border: 0; border-radius: 6px; filter: grayscale(.2); }
.map__link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 12px; font-weight: 600; color: var(--c-ink); text-decoration: none; }
.map__link:hover { color: var(--c-gold-ink); }
.map__link svg { width: 20px; height: 20px; fill: none; stroke: var(--c-gold-ink); stroke-width: 1.6; }

.form-card { background: #fff; padding: clamp(28px, 4vw, 56px); border-radius: 6px; }
.inquiry-form { display: flex; flex-wrap: wrap; gap: 28px 32px; }
.form-card__title { flex: 1 1 100%; margin-bottom: 4px; font: 600 1.625rem/1.2 var(--f-display); }
.field { flex: 1 1 220px; min-width: 0; }
.field--full { flex-basis: 100%; }
.field label { display: block; font-size: .875rem; font-weight: 500; color: var(--c-text); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 0;
  font-size: 1rem; font-weight: 500; line-height: 1.4; color: var(--c-ink);
  background: transparent; border: 0; border-bottom: 1px solid #9EA1A5; border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field select { cursor: pointer; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--c-blue); box-shadow: 0 1px 0 0 var(--c-blue); }
.field [aria-invalid="true"] { border-bottom-color: var(--c-error); }
.field__error { min-height: 1.25rem; margin-top: 6px; font-size: var(--fs-small); color: var(--c-error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { flex: 1 1 100%; padding: 16px 18px; background: #FBEDEC; color: #8C1D18; line-height: 1.55; }
.form-actions { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-actions p { font-size: var(--fs-small); color: var(--c-subtle); }
.form-actions .btn { min-width: 200px; }
.spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn__arrow { display: none; }
.form-success { min-height: 520px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.form-success:focus { outline: none; }
.form-success svg { fill: none; stroke: var(--c-success); stroke-width: 1.25; }
.form-success h3 { margin: 24px 0 12px; font: 600 2rem/1.2 var(--f-display); }
.form-success p { max-width: 400px; color: var(--c-text); line-height: 1.65; }
.form-success .btn { margin-top: 32px; }

/* Footer */
.site-footer { background: var(--c-night); color: #B9BCC0; padding: 88px 0 40px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 56px; }
.site-footer__brand { flex: 1 1 320px; max-width: 420px; }
.site-footer__brand img { width: 200px; height: auto; }
.site-footer__brand p { margin-top: 20px; font-size: .9375rem; line-height: 1.7; }
.site-footer__brand .site-footer__company { color: #8F9398; font-size: .875rem; }
.site-footer__cols { flex: 1.5 1 480px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 40px 32px; }
.site-footer h4 { margin-bottom: 20px; font-size: .9375rem; font-weight: 600; color: #fff; }
.site-footer ul { display: flex; flex-direction: column; gap: 12px; font-size: .9375rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .875rem; }

.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; }

/* 6. MOTION --------------------------------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } }

/* Hiện dần khi cuộn — chỉ bật khi JS chạy (class .js trên <html>) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }


/* 6b. HIỆU ỨNG ------------------------------------------------------------ */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }

/* Thanh tiến trình cuộn */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 2px; background: linear-gradient(90deg, var(--c-blue), var(--c-gold)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* Header: ẩn khi cuộn xuống, hiện khi cuộn lên */
.site-header { transition: transform .45s var(--ease-out), background-color .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(6, 10, 22, .97); box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-nav__link { position: relative; }
.site-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--c-gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.site-nav__link:hover::after, .site-nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.site-nav__link.is-active { color: #fff; }

/* Hero: chữ trượt lên từng dòng, phần còn lại hiện dần */
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: block; animation: line-up 1.1s var(--ease-out) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.hero__title .line--gold { color: var(--c-gold); }
.hero-in { animation: rise-in 1.1s var(--ease-out) backwards; animation-delay: var(--d, 0s); }
@keyframes line-up { from { transform: translateY(105%); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(32px); } }

/* Banner: vệt sáng quét qua khi tải trang và khi rê chuột */
.hero__banner::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.22) 48%, rgba(255,226,140,.18) 52%, transparent 65%);
  transform: translateX(-120%); animation: sheen 1.6s var(--ease-out) 1.3s both;
}
.hero__banner:hover::after { animation: sheen 1.2s var(--ease-out) both; }
@keyframes sheen { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
.hero__hotspots { z-index: 2; }

/* Ảnh nghiêng nhẹ theo chuột (JS đặt --rx, --ry) */
[data-tilt] { outline: 1px solid transparent; backface-visibility: hidden; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out); will-change: transform; }
.js [data-tilt].is-tilting, [data-tilt].is-tilting { transition-duration: .15s; }
.product__media { position: relative; }
.product__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.14), transparent 60%); opacity: 0; transition: opacity .4s; }
.product__media:hover::after { opacity: 1; }
.product__media img[data-parallax] { transform: translateY(var(--py, 0px)) scale(1.06); transition: none; }
.product__media:hover img { transform: translateY(var(--py, 0px)) scale(1.06); }

/* Hiện dần: mượt hơn, xuất hiện lần lượt theo nhóm */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-stagger].is-visible > * { opacity: 1; transform: none; }
.product--flip .product__media[data-reveal] { transform: translateX(40px); }
.product:not(.product--flip) .product__media[data-reveal] { transform: translateX(-40px); }
.js .product .product__media[data-reveal].is-visible { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* Giá trị cốt lõi: dải chữ chạy ngang */
.values-section { overflow: hidden; }
.marquee { display: flex; margin-top: clamp(32px, 4vw, 56px); border-block: 1px solid rgba(255,255,255,.12); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; flex: none; align-items: center; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { display: flex; align-items: center; gap: clamp(28px, 4vw, 56px); padding: clamp(22px, 3vw, 36px) 0 clamp(22px, 3vw, 36px) clamp(28px, 4vw, 56px); white-space: nowrap; font: 700 clamp(2rem, 5vw, 4.25rem)/1.1 var(--f-display); letter-spacing: -.04em; color: rgba(255,255,255,.28); transition: color .4s; }
.marquee__track li:hover { color: var(--c-gold); }
.marquee__track li::after { content: ""; width: 10px; height: 10px; flex: none; transform: rotate(45deg); background: var(--c-gold); }
@keyframes marquee { to { transform: translateX(-100%); } }
.pledge { margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; border: 0; }
.pledge p { max-width: 860px; font: 500 clamp(1.25rem, 2.2vw, 1.75rem)/1.45 var(--f-display); letter-spacing: -.02em; color: var(--c-on-dark); }

/* Nút chính: vệt sáng khi rê chuột */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-110%); transition: transform .7s var(--ease-out); }
.btn--primary:hover::before { transform: translateX(110%); }
.btn { transition: background-color .3s, color .3s, box-shadow .3s, transform .3s var(--ease-out); }
.btn:active { transform: scale(.97); }

/* Kênh mua hàng: viền vàng chạy khi rê chuột */
.channel::before { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--c-gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
a.channel[href]:hover::before { transform: scaleX(1); }

/* Chip chuyển nhanh sản phẩm: sáng theo vị trí cuộn */
.product-index a.is-active { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }

/* Hướng dẫn sử dụng mở/đóng mượt (trình duyệt hỗ trợ) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .howto::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete; }
  .howto[open]::details-content { block-size: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1; transform: none; }
  .hero__banner::after, .scroll-progress { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { flex-wrap: wrap; }
  .marquee__track[aria-hidden] { display: none; }
}

/* 7. RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 1100px) {
  .site-nav { gap: 24px; }
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .site-nav, .site-header__cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__logo img { width: 112px; }
  .product, .product--flip { flex-direction: column; align-items: stretch; }
  .product__media, .product__body { flex-basis: auto; }
}
@media (max-width: 720px) {
  .hero__banner, .hero__minis { display: none; }
  .hero__cards {
    display: flex; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .hero__cards::-webkit-scrollbar { display: none; }
  .hero__cards a { flex: 0 0 62%; scroll-snap-align: start; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgba(229,181,58,.35); }
  .hero__cards img { width: 100%; height: auto; }
  .hero__head { margin-bottom: 28px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .contact-info { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .channels { grid-template-columns: 1fr; }
  .channel { min-height: 0; }
  .brand-panel { flex-direction: column; align-items: flex-start; }
  .form-actions .btn { width: 100%; }
  .section-head { margin-bottom: 36px; }
}
