/* =========================================================================
   Công ty TNHH Máy biến áp đặc chủng Bác Viễn Tô Châu
   Design system – Modern industrial technology
   Canvas tối, nhịp điệu kỹ thuật, bằng chứng thật (số liệu, chứng nhận, ảnh xưởng)
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --c-bg: #060b14;
  --c-bg-soft: #0a1220;
  --c-surface: #0e1a2b;
  --c-surface-2: #132339;
  --c-surface-3: #182b45;

  --c-line: rgba(255, 255, 255, 0.09);
  --c-line-strong: rgba(255, 255, 255, 0.2);

  --c-text: #e8eef8;
  --c-text-soft: #a9b8cf;
  --c-text-dim: #7d8ea6;

  --c-brand: #2f7cff;
  --c-brand-2: #12c8ff;
  --c-brand-soft: rgba(47, 124, 255, 0.14);

  --c-ok: #48d18d;
  --c-warn: #ffb020;
  --c-err: #ff6b6b;

  --c-media: #eef2f7;

  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;

  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.5);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);

  --wrap: 1200px;
  --gutter: 24px;

  --font-sans: "Be Vietnam Pro", "Inter", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--c-bg);
  background-image:
    radial-gradient(1100px 520px at 78% -8%, rgba(47, 124, 255, 0.16), transparent 62%),
    radial-gradient(760px 420px at 8% 4%, rgba(18, 200, 255, 0.09), transparent 60%);
  background-repeat: no-repeat;
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0.002em;
  overflow-x: hidden;
}

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

a { color: var(--c-brand-2); text-decoration: none; }
a:hover { color: #7edcff; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.24;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.25rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.38rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.45em; }

strong { color: #fff; font-weight: 600; }
small { font-size: 0.85rem; }

hr {
  border: 0;
  border-top: 1px solid var(--c-line);
  margin: 2.5rem 0;
}

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

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--c-brand);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 14px; color: #fff; }

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.band { padding: 84px 0; }
.band--tight { padding: 56px 0; }
.band--soft { background: var(--c-bg-soft); }
.band--line { border-top: 1px solid var(--c-line); }

.band__head { max-width: 780px; margin-bottom: 40px; }
.band__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.band__head--after { margin-top: 48px; margin-bottom: 22px; }
.band__head--after h3 { margin-bottom: 10px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-brand-2);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--c-brand), var(--c-brand-2));
}

.lead { color: var(--c-text-soft); font-size: 1.05rem; }

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

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 11, 20, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--c-line);
  background: rgba(6, 11, 20, 0.94);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-text);
  flex-shrink: 0;
}
.brand:hover { color: var(--c-text); }
.brand__logo {
  width: 46px; height: auto;
  border-radius: 8px;
  background: var(--c-media);
  object-fit: contain;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { font-weight: 700; font-size: 1rem; letter-spacing: 0.01em; }
.brand__sub {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.site-nav { margin-left: auto; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0; padding: 0;
  list-style: none;
}
.site-nav__list li { margin: 0; }
.site-nav__link {
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--c-text-soft);
  font-size: 0.93rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.site-nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.site-nav__link[aria-current="page"] { color: #fff; background: var(--c-brand-soft); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(96deg, var(--c-brand), var(--c-brand-2));
  color: #041020;
  box-shadow: 0 12px 30px rgba(47, 124, 255, 0.34);
}
.btn--primary:hover { color: #041020; box-shadow: 0 18px 38px rgba(47, 124, 255, 0.45); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--c-line-strong);
  color: var(--c-text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

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

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.93rem;
}
.text-link::after { content: "→"; transition: transform 0.2s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 108px 0 76px;
  border-bottom: 1px solid var(--c-line);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 11, 20, 0.72) 0%, rgba(6, 11, 20, 0.86) 55%, var(--c-bg) 100%),
    linear-gradient(90deg, rgba(6, 11, 20, 0.94) 0%, rgba(6, 11, 20, 0.55) 58%, rgba(6, 11, 20, 0.2) 100%);
}
.hero__inner { max-width: 820px; }
.hero h1 { margin-bottom: 18px; }
.hero__text { font-size: 1.08rem; color: #cbd8ea; max-width: 700px; }

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 30px;
  padding: 0; list-style: none;
}
.hero__chips li {
  margin: 0;
  padding: 7px 15px;
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  color: var(--c-text-soft);
}

/* ---------- 7. Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}
.stat {
  padding: 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
.stat__num {
  display: block;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 0.86rem; color: var(--c-text-dim); line-height: 1.5; }

/* ---------- 8. Cards ---------- */
.card {
  padding: 26px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--c-surface), var(--c-bg-soft));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--c-line-strong); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--c-brand-soft);
  color: var(--c-brand-2);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- 9. Media frames ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-media);
}
.media-frame img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--3x2 { aspect-ratio: 3 / 2; }
.media-frame--2x1 { aspect-ratio: 2 / 1; }
.media-frame--cover img { object-fit: cover; }

/* ---------- 10. Products ---------- */
.prod-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--c-surface), var(--c-bg-soft));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.prod-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-line-strong);
  box-shadow: var(--shadow);
}
.prod-card .media-frame { border-radius: 0; }
.prod-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  flex: 1;
}
.prod-card__body h3 { margin: 0; }
.prod-card__spec {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-brand-2);
}
.prod-card__desc { color: var(--c-text-soft); font-size: 0.94rem; margin: 0; }
.prod-card__body .text-link { margin-top: auto; }

/* ---------- 11. Capability & certification ---------- */
.cap-card {
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
}
.cap-card .media-frame { border-radius: 0; }
.cap-card__body { padding: 20px 22px 24px; }
.cap-card__body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.cap-card__body p { margin: 0; color: var(--c-text-soft); font-size: 0.92rem; }

.cert-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
}
.cert-card .media-frame { aspect-ratio: 700 / 989; }
.cert-card h3 { font-size: 1rem; margin-bottom: 6px; }
.cert-card p { margin: 0; color: var(--c-text-soft); font-size: 0.9rem; }

/* ---------- 12. Case gallery ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.case-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
}
.case-item .media-frame { border-radius: 0; }
.case-item figcaption {
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--c-text-soft);
}

/* ---------- 13. Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media .media-frame { box-shadow: var(--shadow); }

/* ---------- 14. Spec list ---------- */
.spec-list {
  margin: 0 0 1.25em;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-line);
}
.spec-list li {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.94rem;
}
.spec-list dt,
.spec-list__key { color: var(--c-text-dim); }
.spec-list__val {
  color: #fff;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ---------- 14b. Spec table ---------- */
.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  -webkit-overflow-scrolling: touch;
}
.spec-table-wrap:focus-visible { outline: 2px solid var(--c-brand-2); outline-offset: 3px; }
.spec-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.spec-table caption {
  caption-side: bottom;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.82rem;
  color: var(--c-text-dim);
}
.spec-table th,
.spec-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-line);
}
.spec-table thead th {
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  font-weight: 600;
}
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { color: #fff; font-weight: 600; }
.spec-table td { color: var(--c-text-soft); }

/* ---------- 15. FAQ (accordion) ---------- */
.faq { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item summary {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  margin-left: auto;
  width: 28px; height: 28px;
  display: grid; place-content: center;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  color: var(--c-brand-2);
  transition: transform 0.25s var(--ease);
}
.faq__item[open] summary::after { content: "–"; transform: rotate(180deg); }
.faq__item summary:hover { color: var(--c-brand-2); }
.faq__answer { padding: 0 46px 26px 0; color: var(--c-text-soft); }
.faq__answer > :last-child { margin-bottom: 0; }

/* ---------- 16. Breadcrumb ---------- */
.breadcrumb { font-size: 0.85rem; color: var(--c-text-dim); margin: 0 0 18px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--c-text-dim); }

/* ---------- 17. Page hero (sub pages) ---------- */
.page-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(47, 124, 255, 0.1), transparent 92%);
}
.page-hero h1 { margin-bottom: 0.35em; }
.page-hero .lead { max-width: 760px; }

/* ---------- 18. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 46px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(47, 124, 255, 0.2), rgba(18, 200, 255, 0.08) 45%, rgba(255, 255, 255, 0.02));
}
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 { margin-bottom: 0.3em; }
.cta-band p { margin: 0; color: #c9d7ea; max-width: 620px; }
.cta-band .btn-row { flex: none; }

/* ---------- 19. Forms ---------- */
.form-panel {
  padding: 30px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--c-surface), var(--c-bg-soft));
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--c-text-soft); }
.field .req { color: var(--c-brand-2); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  color: var(--c-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.96rem;
  line-height: 1.5;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #6c7d95; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-brand);
  background: rgba(255, 255, 255, 0.07);
}
.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--c-text-soft) 50%),
    linear-gradient(135deg, var(--c-text-soft) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field__hint { font-size: 0.8rem; color: var(--c-text-dim); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-note { max-width: 420px; margin: 0; font-size: 0.84rem; color: var(--c-text-dim); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
  padding: 15px 18px;
  border: 1px solid;
  border-radius: var(--radius);
  font-size: 0.93rem;
}
.alert--ok { background: rgba(72, 209, 141, 0.1); border-color: rgba(72, 209, 141, 0.4); color: #bff5d7; }
.alert--err { background: rgba(255, 107, 107, 0.1); border-color: rgba(255, 107, 107, 0.42); color: #ffd2d2; }

/* ---------- 20. Info list & quote ---------- */
.info-list { margin: 0; padding: 0; list-style: none; }
.info-list li {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.94rem;
  color: var(--c-text-soft);
}
.info-list li::before { content: "✓"; color: var(--c-brand-2); font-weight: 700; }
.info-list li:last-child { border-bottom: 0; }

.quote-block {
  margin: 0 0 1.2em;
  padding: 20px 24px;
  border-left: 3px solid var(--c-brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(47, 124, 255, 0.08);
  font-size: 1.02rem;
  color: #d7e4f5;
}

/* ---------- 21. Footer ---------- */
.site-footer { padding: 62px 0 30px; border-top: 1px solid var(--c-line); background: var(--c-bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-col h3 { margin-bottom: 16px; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.footer-col p { color: var(--c-text-soft); font-size: 0.9rem; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin: 0 0 9px; }
.footer-col a { color: var(--c-text-soft); font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.footer-brand__logo { width: 52px; height: auto; border-radius: 8px; background: var(--c-media); }
.footer-brand strong { display: block; font-size: 0.98rem; }
.footer-brand span { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-dim); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--c-line);
  font-size: 0.84rem;
  color: var(--c-text-dim);
}

/* ---------- 22. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
}
@media (max-width: 960px) {
  .site-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: none;
    margin: 0;
    padding: 14px var(--gutter) 26px;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    background: rgba(6, 11, 20, 0.98);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav__link { padding: 14px 12px; font-size: 1rem; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { padding: 66px 0; }
  .hero { padding: 84px 0 62px; }
  .cta-band { padding: 34px; }
}
@media (max-width: 700px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cert-card { grid-template-columns: 108px 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .brand__sub { display: none; }
  h1 { font-size: clamp(1.75rem, 7vw, 2.3rem); }
}
@media (max-width: 520px) {
  :root { --gutter: 18px; }
  .stats { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .cta-band { padding: 26px 22px; }
  .form-panel { padding: 22px; }
  .hero__chips { gap: 8px; }
}

/* ---------- 24. Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  body { background: #fff; color: #000; }
  .site-header,
  .site-footer,
  .cta-band,
  .nav-toggle { display: none !important; }
}

/* ---------- 25. Neo cuộn tới biểu mẫu liên hệ ---------- */
[id="form"] { scroll-margin-top: 96px; }