/* ===========================================================================
   AdCare — marketing site
   Bảng màu, chữ và bố cục bám theo bản thiết kế gốc:
   Expo/Templates_Theme /HomePage A/AdCare Homepage.dc.html  (2a desktop 1440 · 3a mobile 390)
   Chạy tốt 360px → 1920px. Body ≥ 18px, line-height ≥ 1.6, vùng bấm ≥ 44px (WCAG 2.2 AA).
   =========================================================================== */

:root {
  /* nền tối */
  --ink-900: #04100f;
  --ink-800: #06181a;
  --ink-700: #0a2220;
  --panel-1: #0a2422;
  --panel-2: #061715;
  --teal-700: #0c2a27;
  --teal-500: #12433f;
  --teal-400: #0f312e;
  /* điểm nhấn */
  --lime: #8cc63f;
  --lime-300: #b6e56b;
  --lime-200: #c9e894;
  --leaf: #46700f; /* link/nhấn trên nền sáng */
  --leaf-dark: #2f5a0a; /* vòng focus trên nền sáng */
  --clay: #8a4a24; /* chữ chip metric */
  --clay-bg: #f6ebe3;
  --danger: #e23b2e;
  /* nền sáng */
  --paper: #f4f7f3;
  --paper-2: #e9efe5;
  --paper-3: #e4ecdd;
  --white: #fff;
  /* chữ */
  --t-dark: #06181a;
  --t-mute-l: #3d5451;
  --t-inv: #fff;
  --t-mute-d: #a9c4c0;
  --t-lead-d: #afc7c4;
  --t-dim: #8aa6a3;
  --t-faint: #7e9996;
  --t-link-d: #dce9e6;
  /* đường kẻ */
  --line-d: rgba(255, 255, 255, 0.09);
  --line-d2: rgba(255, 255, 255, 0.18);
  --line-l: rgba(6, 24, 26, 0.09);
  /* nhịp */
  --wrap: 1312px;
  --pad: clamp(16px, 4vw, 64px);
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;
  --focus: var(--lime);
  --sec-y: clamp(52px, 7vw, 92px);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--t-inv);
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.125rem; /* 18px sàn cho người dùng 65+ */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.14;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--lime);
  color: var(--ink-900);
}

/* ── tiện ích ───────────────────────────────────────────────────────────── */

.wrap {
  width: min(100% - var(--pad) * 2, var(--wrap));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  left: 50%;
  top: 8px;
  translate: -50% -140%;
  z-index: 100;
  background: var(--lime);
  color: var(--ink-900);
  font-weight: 700;
  padding: 14px 22px;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: translate 0.18s ease;
}

.skip:focus {
  translate: -50% 0;
}

.lime {
  color: var(--lime);
}

.ico {
  color: var(--lime);
  font-style: normal;
}

/* placeholder Mike phải điền — cố tình để lộ ra cho dễ soi */
.ph {
  display: inline-block;
  border: 1px dashed currentColor;
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 0.92em;
  opacity: 0.85;
}

.kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--leaf);
  margin-bottom: 16px;
}

.kicker--lime {
  color: var(--lime);
}

.kicker--mt {
  margin-top: clamp(28px, 3vw, 40px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(140, 198, 63, 0.35);
  border-radius: 999px;
  padding: 8px 16px 8px 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--lime-200);
  margin-bottom: 28px;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(140, 198, 63, 0.22);
  flex: none;
}

/* nút — mọi nút cao ≥ 48px, nút chính ≥ 56px */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.btn--lg {
  min-height: 56px;
  padding: 17px 30px;
  font-size: 1.125rem;
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn--lime {
  background: var(--lime);
  color: var(--ink-900);
  box-shadow: 0 8px 30px rgba(140, 198, 63, 0.26);
}

.btn--lime:hover {
  background: var(--lime-300);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-d2);
  color: var(--t-inv);
  font-weight: 600;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(140, 198, 63, 0.5);
}

/* ── dải thông báo ──────────────────────────────────────────────────────── */

.announce {
  background: var(--ink-700);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.9375rem;
  color: #b6cfcb;
}

.announce p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  padding: 11px 0;
  line-height: 1.4;
}

.announce__tag {
  flex: none;
  background: rgba(140, 198, 63, 0.14);
  color: var(--lime-300);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.8125rem;
  font-weight: 700;
}

.announce__link {
  color: var(--lime);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.announce__link:hover {
  text-decoration: underline;
}

/* ── header ─────────────────────────────────────────────────────────────── */

.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(4, 16, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hdr__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.hdr__logo {
  flex: none;
  display: flex;
  align-items: center;
  min-height: 44px;
  border-radius: 8px;
}

.hdr__logo img {
  height: clamp(26px, 2.4vw, 34px);
  width: auto;
}

.hdr__nav {
  flex: 1;
  min-width: 0;
}

.hdr__nav ul {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.hdr__nav a {
  display: block;
  padding: 12px 12px;
  border-radius: 8px;
  color: var(--t-link-d);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease;
}

.hdr__nav a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.hdr__nav a[aria-current='page'] {
  color: var(--lime);
}

.hdr__right {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hdr__call {
  font-size: 1rem;
}

.hdr__burger {
  display: none;
  width: 48px;
  height: 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-sm);
  cursor: pointer;
}

.hdr__burger span {
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.hdr__burger[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hdr__burger[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.hdr__burger[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* đổi ngôn ngữ */
.langsw {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 3px;
  font-size: 0.875rem;
  font-weight: 700;
  flex: none;
}

.langsw__on,
.langsw__off {
  display: flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  text-decoration: none;
  min-height: 44px;
}

.langsw__on {
  background: var(--lime);
  color: var(--ink-900);
}

.langsw__off {
  color: var(--t-link-d);
}

.langsw__off:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* menu mobile */
.menu {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--ink-900);
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
}

.menu__nav {
  padding: 12px 0 24px;
}

.menu__nav ul {
  display: flex;
  flex-direction: column;
}

.menu__nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 8px 4px;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--t-link-d);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.menu__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.menu__cta a {
  border-bottom: 0;
}

/* ── hero ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(36px, 4vw, 56px);
  background:
    radial-gradient(120% 85% at 50% -15%, rgba(140, 198, 63, 0.2), transparent 62%),
    radial-gradient(75% 60% at 88% 15%, rgba(23, 85, 95, 0.55), transparent 72%),
    linear-gradient(180deg, var(--ink-800) 0%, var(--ink-900) 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: clamp(52px, 5vw, 72px) clamp(52px, 5vw, 72px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

.hero__beam {
  position: absolute;
  top: -140px;
  left: 38%;
  width: 300px;
  height: 900px;
  transform: rotate(24deg);
  background: linear-gradient(180deg, rgba(140, 198, 63, 0.16), rgba(140, 198, 63, 0));
  filter: blur(46px);
}

.hero__beam--2 {
  top: -180px;
  left: 62%;
  width: 170px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  filter: blur(38px);
}

.hero__grid2 {
  position: relative;
  display: grid;
  /* cột phải giữ khối chữ ký; cột trái phải đủ rộng để H1 74px xuống ĐÚNG 2 dòng như bản gốc */
  grid-template-columns: minmax(0, 1fr) clamp(380px, 41%, 560px);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  padding: clamp(36px, 5vw, 84px) 0 clamp(36px, 4.5vw, 76px);
}

.hero__h1 {
  font-size: clamp(2.375rem, 5.85vw - 0.47rem, 4.625rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero__lead {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  line-height: 1.7;
  color: var(--t-lead-d);
  max-width: 40ch;
  margin-bottom: 30px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero__call {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  font-size: 1.1875rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--line-d2);
  border-radius: var(--r-sm);
  padding: 14px 22px;
  margin-bottom: 18px;
}

.hero__disc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--t-dim);
  max-width: 52ch;
}

/* ── khối chữ ký: ranh giới ngôi nhà ────────────────────────────────────── */

.panel {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  padding: 1px;
  background: linear-gradient(160deg, rgba(140, 198, 63, 0.55), rgba(255, 255, 255, 0.08) 45%, rgba(140, 198, 63, 0.15));
}

.panel__inner {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--r-xl) - 1px);
  background: linear-gradient(170deg, var(--panel-1), var(--panel-2));
  padding: clamp(18px, 2vw, 26px);
}

.panel__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.panel__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lime);
}

.panel__cloud {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lime-200);
  border: 1px solid rgba(140, 198, 63, 0.28);
  background: rgba(140, 198, 63, 0.1);
  border-radius: 8px;
  padding: 6px 11px;
}

/* chip góc phải giờ là NĂNG LỰC (mất mạng vẫn nói được), không phải phủ định -> chấm lime */
.panel__dotlime {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(140, 198, 63, 0.2);
  flex: none;
}

/* viền đứt = ranh giới ngôi nhà. Mọi thứ bên trong ở lại trong nhà. */
.panel__home {
  position: relative;
  border: 1.5px dashed rgba(140, 198, 63, 0.5);
  border-radius: 18px;
  background: rgba(140, 198, 63, 0.035);
  padding: clamp(12px, 1.6vw, 18px) clamp(10px, 1.4vw, 22px) clamp(16px, 2vw, 22px);
}

.panel__sensors {
  display: flex;
  gap: 8px;
  margin-bottom: clamp(14px, 2vw, 22px);
}

.sensor {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-sm);
  padding: 10px 11px;
  font-size: 0.875rem;
  line-height: 1.3;
}

.sensor b {
  display: block;
  font-weight: 600;
  color: #fff;
}

.sensor span {
  color: #9db8b5;
  font-size: 0.75rem;
}

.panel__core {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(168px, 19vw, 208px);
  margin-bottom: clamp(14px, 2vw, 20px);
}

.ripple {
  position: absolute;
  width: clamp(140px, 15.5vw, 170px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(140, 198, 63, 0.6);
  animation: ripple 3.2s ease-out infinite;
}

.ripple--2 {
  animation-delay: 1.6s;
}

@keyframes ripple {
  0% {
    transform: scale(0.62);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.core {
  position: relative;
  width: clamp(132px, 14.5vw, 158px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--teal-500), var(--panel-1));
  border: 1px solid rgba(140, 198, 63, 0.4);
  box-shadow: 0 0 44px rgba(140, 198, 63, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
}

/* logo là nhân vật chính trong vòng tròn — không còn nhãn chữ đè lên (chữ chuyển sang .sr-only) */
.core img {
  width: 74%;
  height: auto;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.45));
}

/* chú thích dưới lõi — nói rõ vòng tròn kia LÀ CÁI GÌ (logo không tự nói được) */
.panel__cap {
  position: relative;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--lime-200);
  margin: -6px 0 clamp(14px, 2vw, 18px);
}

.panel__note {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-sm);
  padding: 10px 13px;
  font-size: 0.875rem;
  line-height: 1.45;
}

.panel__note span {
  color: #9db8b5;
}

/* đường duy nhất đi ra khỏi nhà: thông báo cho con cái */
.panel__wire {
  position: relative;
  height: 26px;
  margin-left: 28px;
  border-left: 1.5px dashed rgba(140, 198, 63, 0.45);
}

.panel__dot {
  position: absolute;
  left: -4px;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(140, 198, 63, 0.9);
  animation: drop 3.4s ease-in-out infinite;
}

@keyframes drop {
  0% {
    top: -2px;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    top: 22px;
    opacity: 0;
  }
}

.panel__out {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone {
  flex: none;
  width: min(230px, 62%);
  background: var(--teal-400);
  border: 1px solid rgba(140, 198, 63, 0.3);
  border-radius: 14px;
  padding: 10px;
}

.phone__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--lime);
  margin-bottom: 6px;
}

.phone__msg {
  display: block;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  padding: 8px 9px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--ink-800);
}

.panel__caption {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lime);
  line-height: 1.35;
  max-width: 15ch;
}

/* ── hàng logo ──────────────────────────────────────────────────────────── */

.logos {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  flex-wrap: wrap;
  padding: 20px clamp(16px, 2vw, 28px);
  border: 1px solid var(--line-d);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
}

.logos__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--t-dim);
  white-space: nowrap;
}

.logos__row {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px 20px;
}

.logos__row li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  color: var(--t-faint);
  font-size: 0.75rem;
}

.logos__row .ph {
  border-color: rgba(255, 255, 255, 0.18);
  width: 100%;
  text-align: center;
  padding: 7px;
}

/* ── khung section chung ────────────────────────────────────────────────── */

.sec {
  position: relative;
  padding: var(--sec-y) 0;
}

.sec--paper {
  background: var(--paper);
  color: var(--t-dark);
  --focus: var(--leaf-dark);
}

.sec--white {
  background: var(--white);
  color: var(--t-dark);
  --focus: var(--leaf-dark);
}

.sec--ink {
  background: var(--ink-900);
  color: var(--t-inv);
  overflow: hidden;
}

.sec--tight {
  padding: clamp(36px, 5vw, 84px) 0;
}

.sec__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 20% 0%, rgba(23, 85, 95, 0.5), transparent 70%);
  pointer-events: none;
}

.sec__head {
  position: relative;
  max-width: 780px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.sec__head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  max-width: none;
}

.sec__h2 {
  font-size: clamp(1.875rem, 1.1rem + 2.9vw, 3rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.sec__h2--inv {
  color: #fff;
  margin-bottom: 0;
}

.sec__lead {
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.1875rem);
  color: var(--t-mute-l);
}

.sec__aside {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--t-mute-l);
  max-width: 38ch;
  flex: none;
}

/* ── chọn đường của bạn ─────────────────────────────────────────────────── */

.rgrid {
  display: grid;
  gap: 20px;
}

.rgrid--big {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rgrid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rcard {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  padding: 26px 24px 24px;
  color: var(--t-dark);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(6, 24, 26, 0.05);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.rcard:hover {
  transform: translateY(-3px);
  border-color: rgba(70, 112, 15, 0.4);
  box-shadow: 0 14px 34px rgba(6, 24, 26, 0.1);
}

.rcard--big {
  flex-direction: row;
  gap: 22px;
  padding: 28px;
}

.rcard__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rcard__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.0625rem;
  color: var(--leaf);
}

.rcard__title {
  font-size: clamp(1.375rem, 1.1rem + 0.7vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.rcard__title--sm {
  font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.3125rem);
}

.rcard__text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--t-mute-l);
  margin-bottom: 18px;
  flex: 1;
}

.rcard__cta {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--leaf);
  margin-top: auto;
}

.rcard:hover .rcard__cta {
  text-decoration: underline;
}

.rcard__photo {
  flex: none;
  width: 132px;
  border-radius: 14px;
  background: var(--paper-2);
  border: 1px dashed rgba(70, 112, 15, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--leaf);
  padding: 10px;
}

.rcard__photo .ph {
  border: 0;
  padding: 0;
}

.rcard--dark {
  background: linear-gradient(165deg, var(--teal-700), var(--ink-800));
  border-color: rgba(140, 198, 63, 0.3);
  color: #fff;
  --focus: var(--lime);
}

.rcard--dark .rcard__icon {
  background: rgba(140, 198, 63, 0.16);
  color: var(--lime);
}

.rcard--dark .rcard__text {
  color: var(--t-mute-d);
}

.rcard--dark .rcard__cta {
  color: var(--lime);
}

.metric {
  align-self: flex-start;
  background: var(--clay-bg);
  color: var(--clay);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.8125rem;
  margin: -8px 0 16px;
}

.metric .ph {
  border: 0;
  padding: 0;
  opacity: 1;
}

/* ── tại sao AdCare (bento) ─────────────────────────────────────────────── */

.wgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.wcard {
  background: var(--paper);
  border: 1px solid rgba(6, 24, 26, 0.08);
  border-radius: 22px;
  padding: clamp(24px, 2.6vw, 32px);
}

.wcard--main {
  grid-row: span 2;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, var(--panel-1), var(--ink-900));
  border-color: transparent;
  color: #fff;
  padding: clamp(26px, 3vw, 36px);
  --focus: var(--lime);
}

.wcard--main::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}

.wcard--main > * {
  position: relative;
}

.wcard__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--paper-3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.125rem;
  color: var(--leaf);
}

.wcard__icon--text {
  font-size: 0.9375rem;
  font-weight: 700;
}

.wcard__icon--lime {
  background: rgba(140, 198, 63, 0.16);
  border: 1px solid rgba(140, 198, 63, 0.35);
  color: var(--lime);
}

.wcard__h {
  font-size: clamp(1.5rem, 1.15rem + 1vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.wcard__h--lg {
  font-size: clamp(1.625rem, 1.1rem + 1.6vw, 1.875rem);
  margin-bottom: 12px;
}

.wcard__p {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--t-mute-l);
}

.wcard__p--inv {
  color: var(--t-mute-d);
  max-width: 46ch;
  margin-bottom: 28px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags li {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lime-200);
  background: rgba(140, 198, 63, 0.12);
  border: 1px solid rgba(140, 198, 63, 0.28);
  border-radius: 999px;
  padding: 8px 14px;
}

.photo {
  margin-top: 32px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--r-md);
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.875rem;
  color: var(--t-dim);
  padding: 16px;
}

.photo .ph {
  border: 0;
  padding: 0;
}

/* ── cách hoạt động ─────────────────────────────────────────────────────── */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 30px);
}

.step__n {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--lime);
  margin-bottom: 18px;
}

.step__h {
  font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.5625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 10px;
}

.step__p {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--t-mute-d);
}

/* ── ba cam kết ─────────────────────────────────────────────────────────── */

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

.guard {
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 30px);
}

.guard__h {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.guard__p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--t-mute-l);
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */

.faqs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1040px;
}

.faq {
  background: var(--white);
  border: 1px solid var(--line-l);
  border-radius: var(--r-md);
  padding: 4px clamp(18px, 2vw, 26px);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 60px;
  padding: 12px 0;
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq__sign {
  flex: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--leaf);
  font-weight: 700;
  font-size: 1.25rem;
}

.faq__sign::before {
  content: '+';
}

.faq[open] .faq__sign::before {
  content: '–';
}

.faq__a p {
  padding: 0 0 18px;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--t-mute-l);
  max-width: 78ch;
}

/* ── CTA cuối ───────────────────────────────────────────────────────────── */

.sec--cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(100% 120% at 50% 0%, rgba(140, 198, 63, 0.22), transparent 62%),
    linear-gradient(180deg, var(--ink-800), var(--ink-900));
}

.sec__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(80% 100% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(80% 100% at 50% 50%, #000, transparent);
  pointer-events: none;
}

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 56px);
  flex-wrap: wrap;
}

.cta__h {
  font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 12px;
}

.cta__tel {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(2.25rem, 1.2rem + 4vw, 3.625rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--lime);
  text-decoration: none;
  margin-bottom: 10px;
}

.cta__tel:hover {
  text-decoration: underline;
}

.cta__note {
  font-size: 1.125rem;
  color: var(--t-mute-d);
}

/* cột trái CO được, không thì tiêu đề dài (trang nhánh) đẩy 2 nút xuống dòng dưới */
.cta__left {
  flex: 1 1 420px;
  min-width: 0;
}

.cta__right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 0 auto;
  min-width: min(300px, 100%);
}

/* ── trang nhánh tạm ────────────────────────────────────────────────────── */

.sec--spoke {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 85% at 50% -20%, rgba(140, 198, 63, 0.18), transparent 62%),
    linear-gradient(180deg, var(--ink-800), var(--ink-900));
  padding-top: clamp(40px, 6vw, 76px);
}

.spoke {
  position: relative;
  max-width: 820px;
}

.spoke__h1 {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.25rem);
  font-weight: 700;
  margin-bottom: 18px;
}

.spoke__lead {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  line-height: 1.7;
  color: var(--t-lead-d);
  margin-bottom: 34px;
}

.spoke__h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 14px;
}

.spoke__qs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.spoke__qs li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--t-mute-d);
}

.spoke__note {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--t-dim);
  margin-bottom: 28px;
  max-width: 60ch;
}

.spoke__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.spoke__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--lime);
  font-weight: 600;
  text-decoration: none;
}

.spoke__back:hover {
  text-decoration: underline;
}

/* ── footer ─────────────────────────────────────────────────────────────── */

.ft {
  background: var(--ink-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(40px, 5vw, 64px) 0 40px;
}

.ft__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: clamp(28px, 3.4vw, 44px);
  padding-bottom: 40px;
}

.ft__brand img {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
}

.ft__brand p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--t-mute-d);
  max-width: 32ch;
  margin-bottom: 18px;
}

.ft__h {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--t-faint);
  margin-bottom: 16px;
}

.ft__list {
  display: flex;
  flex-direction: column;
}

.ft__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  color: var(--t-link-d);
  text-decoration: none;
}

.ft__list a:hover {
  color: var(--lime);
}

.ft__tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lime);
  text-decoration: none;
  margin-bottom: 10px;
}

.ft__addr {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--t-mute-d);
  margin-bottom: 14px;
}

.ft__app {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--t-link-d);
  text-decoration: none;
}

.ft__app:hover {
  color: var(--lime);
}

.ft__base {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 0.9375rem;
  color: var(--t-faint);
}

.ft__legal {
  display: flex;
  gap: 22px;
}

.ft__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--t-faint);
  text-decoration: none;
}

.ft__legal a:hover {
  color: var(--lime);
}

/* ── thanh gọi cố định (chỉ mobile) ─────────────────────────────────────── */

.callbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  gap: 10px;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: rgba(4, 16, 15, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.callbar .btn {
  min-height: 56px;
  font-size: 1.0625rem;
}

.callbar .btn--lime {
  flex: 1;
}

/* ── hộp thoại để lại số / đặt demo ─────────────────────────────────────── */

.modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(560px, calc(100vw - 24px));
  width: 100%;
  color: var(--t-dark);
}

.modal::backdrop {
  background: rgba(4, 16, 15, 0.66);
  backdrop-filter: blur(3px);
}

.modal__box {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px);
  --focus: var(--leaf-dark);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--t-dark);
  font-size: 1.125rem;
  cursor: pointer;
}

.modal__close:hover {
  background: var(--paper-3);
}

.modal__title {
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem);
  font-weight: 700;
  padding-right: 44px;
  margin-bottom: 8px;
}

.modal__desc {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--t-mute-l);
  margin-bottom: 20px;
}

.field {
  margin: 0 0 16px;
}

.field label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.field__req {
  font-weight: 400;
  color: var(--t-mute-l);
  font-size: 0.9375rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--t-dark);
  background: var(--paper);
  border: 1px solid rgba(6, 24, 26, 0.18);
  border-radius: 10px;
}

.field textarea {
  min-height: 84px;
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--leaf-dark);
  outline-offset: 1px;
  background: #fff;
}

.field__error {
  color: #a3271c;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.modal__privacy {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--t-mute-l);
  margin-top: 12px;
}

.modal__ok {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--leaf);
  background: var(--paper-2);
  border-radius: var(--r-sm);
  padding: 18px;
}

/* ── hiện dần khi cuộn tới ──────────────────────────────────────────────── */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ── responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1240px) {
  .hdr__nav a {
    padding: 12px 9px;
    font-size: 0.9375rem;
  }

  /* hẹp thì rút gọn nút gọi còn biểu tượng — tên vẫn còn ở aria-label trên thẻ <a> */
  .hdr__num {
    display: none;
  }

  .hdr__call {
    padding-inline: 14px;
  }
}

@media (max-width: 1080px) {
  .hero__grid2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__lead {
    max-width: 58ch;
  }

  .panel {
    max-width: 560px;
  }

  .wgrid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wcard--main {
    grid-row: auto;
  }

  .rgrid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ft__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .hdr__nav,
  .hdr__demo,
  .hdr__call {
    display: none;
  }

  .hdr__burger {
    display: flex;
  }

  .callbar {
    display: flex;
  }

  body {
    padding-bottom: 92px;
  }

  .sec__head--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .sec__aside {
    max-width: 60ch;
  }

  .steps,
  .gguide {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta {
    flex-direction: column;
    align-items: stretch;
  }

  .cta__right {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .rgrid--big,
  .rgrid--4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .rcard--big {
    flex-direction: column;
  }

  .rcard__photo {
    width: 100%;
    min-height: 92px;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero__call {
    display: flex;
  }

  .logos {
    flex-direction: column;
    align-items: flex-start;
  }

  .logos__row {
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  }

  .announce p {
    justify-content: flex-start;
    text-align: left;
  }

  .announce__link {
    display: none;
  }

  .ft__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ft__base {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .panel__sensors {
    gap: 6px;
  }

  .sensor {
    padding: 8px;
    font-size: 0.75rem;
  }

  .panel__out {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .phone {
    width: 100%;
  }

  .panel__caption {
    text-align: left;
  }
}

/* ── tôn trọng prefers-reduced-motion ───────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ── in giấy ────────────────────────────────────────────────────────────── */

@media print {
  .callbar,
  .hdr,
  .announce,
  .skip {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    padding-bottom: 0;
  }
}

/* ── khối riêng của trang nhánh ─────────────────────────────────────────── */

/* câu hỏi + trả lời (2 cột trên desktop) */
.qas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 36px) clamp(24px, 4vw, 56px);
}

.qa__q {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.4375rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  margin-bottom: 10px;
}

.qa__a {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--t-mute-l);
  max-width: 60ch;
}

/* "gồm những gì" — lưới thẻ có dấu tick */
.incl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.incl__i {
  background: var(--white);
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.2vw, 26px);
}

.incl__tick {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--paper-2);
  margin-bottom: 14px;
  position: relative;
}

.incl__tick::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 6px;
  width: 6px;
  height: 11px;
  border: solid var(--leaf);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.incl__h {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.incl__p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--t-mute-l);
}

/* hàng có nhãn: mã CPT, mốc trong ca trực, vai người dùng */
.rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-l);
}

.row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-bottom: 1px solid var(--line-l);
}

.row__label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--leaf);
  background: var(--paper-2);
  border-radius: 8px;
  padding: 8px 12px;
  align-self: start;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.row__h {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.row__p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--t-mute-l);
  max-width: 72ch;
}

/* 2–3 cột gạch đầu dòng trên nền tối */
.cols {
  display: grid;
  gap: 20px;
}

.cols--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cols--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.col {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 30px);
}

.col__h {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lime);
  margin-bottom: 16px;
}

.col__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.col__list li {
  position: relative;
  padding-left: 22px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--t-mute-d);
}

.col__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(140, 198, 63, 0.65);
}

/* ghi chú cuối khối */
.sec__note {
  margin-top: clamp(20px, 2.4vw, 28px);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--t-mute-l);
  max-width: 78ch;
}

.sec__note--box {
  background: var(--paper);
  border-left: 3px solid var(--leaf);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 18px 20px;
}

.sec__lead--inv {
  color: var(--t-mute-d);
}

.sec__h2--sm {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
}

.cta__lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--t-mute-d);
  max-width: 52ch;
  margin-bottom: 22px;
}

/* "không phải nhóm của bạn?" */
.cross {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.cross__i {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 13px 20px;
  border: 1px solid var(--line-l);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--t-dark);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.cross__i:hover {
  background: var(--paper-2);
  border-color: rgba(70, 112, 15, 0.4);
  color: var(--leaf);
}

.spoke__back--light {
  color: var(--leaf);
}

@media (max-width: 1080px) {
  .incl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cols--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .qas,
  .incl,
  .cols--2,
  .cols--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .row__label {
    justify-self: start;
    min-width: 96px;
  }

  .cross__i {
    width: 100%;
  }
}

/* ── trang văn bản dài: chính sách bảo mật · điều khoản ─────────────────── */

.sec--doc {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -25%, rgba(140, 198, 63, 0.16), transparent 62%),
    linear-gradient(180deg, var(--ink-800), var(--ink-900));
  padding: clamp(36px, 5vw, 68px) 0 clamp(32px, 4vw, 56px);
}

.doc__head {
  position: relative;
  max-width: 760px;
}

.doc__h1 {
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.125rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.doc__updated {
  font-size: 1rem;
  font-weight: 600;
  color: var(--lime);
  margin-bottom: 18px;
}

.doc__intro {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  line-height: 1.7;
  color: var(--t-lead-d);
}

/* hai cột: mục lục dính bên trái, nội dung bên phải */
.doc {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.doc__alert {
  grid-column: 1 / -1;
  border: 1px solid rgba(226, 59, 46, 0.35);
  border-left: 4px solid var(--danger);
  border-radius: var(--r-md);
  background: #fdf4f2;
  padding: clamp(18px, 2.2vw, 24px);
  margin-bottom: clamp(8px, 1.5vw, 16px);
}

.doc__alert-h {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #8a1f14;
}

.doc__alert p {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--t-mute-l);
}

.doc__toc {
  position: sticky;
  top: 88px;
}

.doc__toc-h {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--leaf);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.doc__toc ol {
  display: flex;
  flex-direction: column;
  counter-reset: none;
}

.doc__toc a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  min-height: 44px;
  padding: 8px 0;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--t-mute-l);
  text-decoration: none;
}

.doc__toc a:hover {
  color: var(--leaf);
}

.doc__toc-n {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(6, 24, 26, 0.35);
  font-variant-numeric: tabular-nums;
  flex: none;
}

.doc__body {
  max-width: 72ch;
}

.doc__sec {
  padding-bottom: clamp(26px, 3vw, 38px);
  scroll-margin-top: 92px;
}

.doc__sec + .doc__sec {
  border-top: 1px solid var(--line-l);
  padding-top: clamp(26px, 3vw, 38px);
}

.doc__h2 {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.doc__n {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--leaf);
  font-variant-numeric: tabular-nums;
  flex: none;
}

.doc__h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  margin: 20px 0 8px;
}

.doc__body p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--t-mute-l);
}

.doc__body p + p,
.doc__ul + p,
.doc__body p + .doc__h3 {
  margin-top: 14px;
}

.doc__body a {
  color: var(--leaf);
  font-weight: 600;
}

.doc__body b {
  color: var(--t-dark);
}

.doc__body code {
  font-size: 0.95em;
  background: var(--paper-2);
  border-radius: 5px;
  padding: 1px 6px;
}

.doc__ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.doc__ul li {
  position: relative;
  padding-left: 22px;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--t-mute-l);
}

.doc__ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(70, 112, 15, 0.55);
}

@media (max-width: 900px) {
  .doc {
    grid-template-columns: minmax(0, 1fr);
  }

  .doc__toc {
    position: static;
    border: 1px solid var(--line-l);
    border-radius: var(--r-md);
    padding: 18px 20px;
  }

  .doc__body {
    max-width: none;
  }
}

/* ═══ Thanh đầu trang khi có TỪ 3 NGÔN NGỮ TRỞ LÊN (thêm 2026-09-01, mốc thêm tiếng Tây Ban Nha)
   Bẫy đã mất công tìm: `.hdr__nav ul` để white-space:nowrap nên KHÔNG co lại được. Hẹp quá thì nội
   dung tràn ra CẢ HAI BÊN khỏi hộp ul (vì justify-content:center) và ĐÈ lên logo lẫn nhóm nút bên
   phải — mà KHÔNG sinh thanh cuộn ngang, nên scripts/audit.mjs không bắt được. Nút đổi ngôn ngữ
   rộng thêm ~45px mỗi thứ tiếng, đủ để đẩy hai dải 960–1100px và 1240–1360px vào vùng đè.
   Thêm tiếng thứ tư thì PHẢI đo lại: mở /es/, so `.hdr__nav ul a:last-child` với `.hdr__right`. */

/* 1. Ô ngôn ngữ hẹp lại khi có ≥3 tiếng — chỉ ở thanh đầu trang, chân trang vẫn để rộng. */
.hdr__right .langsw--many .langsw__on,
.hdr__right .langsw--many .langsw__off {
  padding-inline: 9px;
}

/* 2. Rút gọn nav sớm hơn (1400 thay vì 1240): chỉ đụng THANH ĐẦU TRANG, không đụng bố cục nội dung.
   Đo tại 1401px: hở 17px mỗi bên. Để 1360 thì chỉ hở 4px — quá sát, đã nới. */
@media (max-width: 1400px) {
  .hdr__nav a {
    padding: 12px 9px;
    font-size: 0.9375rem;
  }

  .hdr__num {
    display: none;
  }

  .hdr__call {
    padding-inline: 14px;
  }
}

/* 3. Dưới 1120px thu hẳn về nút hamburger (đo tại 1121px: hở 9px mỗi bên). Khối @media 960px phía trên vẫn lo phần bố cục nội dung —
   cố ý tách ra để việc dời thanh đầu trang không kéo theo bố cục các khối bên dưới. */
@media (max-width: 1120px) {
  .hdr__nav,
  .hdr__demo,
  .hdr__call {
    display: none;
  }

  .hdr__burger {
    display: flex;
  }

  .callbar {
    display: flex;
  }

  body {
    padding-bottom: 92px;
  }
}

/* 4. Chân trang hiện TÊN ĐẦY ĐỦ ba thứ tiếng — cho phép xuống dòng thay vì tràn khỏi cột. */
.ft__brand .langsw {
  flex-wrap: wrap;
  row-gap: 4px;
}
