/* ==========================================================================
   STEM Lab — Design System
   Bố cục & ngôn ngữ thiết kế tham khảo các website giáo dục STEM (kiểu ohstem.vn)
   Toàn bộ màu sắc, bo góc, bóng đổ, khoảng cách được khai báo tập trung ở :root
   -> đổi thương hiệu chỉ cần sửa các biến bên dưới + assets/js/site.config.js
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand — lấy từ logo nhận diện STEM Lab
     xanh navy đậm (viền/chữ STEM) · xanh dương tươi (dung dịch, mạch điện)
     · cyan (vòng cung, gạch trang trí) · cam-vàng (bóng đèn) · xanh lá (hạt nguyên tử) */
  --c-primary: #1273e6;        /* xanh dương chủ đạo */
  --c-primary-600: #0e5cbf;
  --c-primary-700: #123f92;
  --c-primary-900: #10306e;    /* navy đậm nhất trong logo */
  --c-primary-soft: #e9f2fe;
  --c-primary-soft-2: #cfe3fb;

  --c-cyan: #29c0f0;           /* cyan vòng cung logo */
  --c-accent: #ff9500;         /* cam bóng đèn */
  --c-accent-600: #e97c00;
  --c-yellow: #ffc107;         /* vàng tia sáng */
  --c-green: #6fbe2b;          /* xanh lá hạt nguyên tử */
  --c-pink: #f26522;           /* cam hạt nguyên tử */
  --c-red: #e5372c;

  /* dạng RGB để dùng trong rgba() — JS/trang admin ghi đè các biến này */
  --c-primary-rgb: 18, 115, 230;
  --c-primary-900-rgb: 16, 48, 110;
  --c-footer: #0b2350;

  /* Neutrals */
  --c-ink: #12232e;
  --c-body: #4a5a66;
  --c-muted: #7b8a95;
  --c-line: #e4eaef;
  --c-line-soft: #eff3f6;
  --c-bg: #ffffff;
  --c-bg-soft: #f6fafc;
  --c-bg-soft-2: #eef6fa;

  /* Typography */
  --font-sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-hero: clamp(1.9rem, 1.1rem + 2.6vw, 3.4rem);
  --fs-h2: clamp(1.45rem, 1rem + 1.6vw, 2.35rem);
  --fs-h3: clamp(1.15rem, 0.95rem + 0.7vw, 1.55rem);
  --fs-lead: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);

  /* Shape & depth */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(18, 35, 46, 0.06), 0 2px 8px rgba(18, 35, 46, 0.05);
  --sh-2: 0 6px 18px rgba(18, 35, 46, 0.08);
  --sh-3: 0 18px 46px rgba(var(--c-primary-rgb), 0.16);
  --sh-header: 0 2px 16px rgba(18, 35, 46, 0.08);

  /* Layout */
  --container: 1240px;
  --gutter: 20px;
  --section-y: clamp(48px, 3vw + 32px, 88px);
  --header-h: 72px;

  --t-fast: 0.18s ease;
  --t-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5 {
  margin: 0 0 0.6em;
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-primary-700); }

img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: 0.35em; }

button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

:focus-visible {
  outline: 3px solid rgba(var(--c-primary-rgb), 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--c-primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); }
.section--soft { background: var(--c-bg-soft); }
/* Nền xanh nhạt xen kẽ giữa các khối (bám phong cách ohstem) */
.section--sky { background: var(--c-primary-soft); }
.section--sky-2 { background: linear-gradient(180deg, #d6f2ff 0%, #eaf8ff 100%); }
.section--tint { background: linear-gradient(180deg, var(--c-primary-soft) 0%, #fff 100%); }
.section--tight { padding-block: calc(var(--section-y) * 0.62); }

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(28px, 3vw, 52px);
  text-align: center;
}
.section-head--left { margin-inline: 0; text-align: left; }
.section-head p { color: var(--c-body); font-size: var(--fs-lead); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  background: var(--c-primary-soft);
  color: var(--c-primary-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow--accent { background: #fff2e0; color: var(--c-accent-600); }

.grid { display: grid; gap: clamp(18px, 2vw, 28px); }
.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)); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.split--media-last .split__media { order: 2; }

.stack-sm > * + * { margin-top: 10px; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-base),
    background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(var(--c-primary-rgb), 0.28);
}
.btn--primary:hover { background: var(--c-primary-600); color: #fff; box-shadow: 0 12px 26px rgba(var(--c-primary-rgb), 0.36); }

.btn--accent {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(var(--c-accent-rgb, 255, 149, 0), 0.3);
}
.btn--accent:hover { background: var(--c-accent-600); color: #fff; }

.btn--ghost {
  background: #fff;
  color: var(--c-primary-700);
  border-color: var(--c-primary);
}
.btn--ghost:hover { background: var(--c-primary-soft); color: var(--c-primary-700); }

.btn--light {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--light:hover { background: #fff; color: var(--c-primary-700); }

.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}
.link-more::after { content: "→"; transition: transform var(--t-fast); }
.link-more:hover::after { transform: translateX(4px); }

/* ---------- 5. Announcement bar ---------- */
.announce {
  position: relative;
  background: linear-gradient(90deg, var(--c-primary-700), var(--c-primary));
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
}
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  padding: 8px 44px;
}
.announce a { color: #fff; text-decoration: underline; }
.announce__close {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  line-height: 1;
}
.announce__close:hover { background: rgba(255, 255, 255, 0.32); }
.announce[hidden] { display: none; }

/* ---------- 6. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow var(--t-base);
}
.site-header.is-stuck { box-shadow: var(--sh-header); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.18rem; color: var(--c-primary-700); letter-spacing: -0.02em; }
.brand__tag { font-size: 0.68rem; color: var(--c-muted); letter-spacing: 0.14em; text-transform: uppercase; }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0; padding: 0;
  list-style: none;
}
.nav__list > li { margin: 0; position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  color: var(--c-ink);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.nav__link:hover,
.nav__item.is-open > .nav__link { background: var(--c-primary-soft); color: var(--c-primary-700); }
.nav__link[aria-current="page"] { color: var(--c-primary); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 3px; border-radius: 3px;
  background: var(--c-primary);
}
.nav__caret { width: 11px; height: 8px; flex: 0 0 auto; opacity: .8; transition: transform var(--t-fast); }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.nav__sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  margin: 0; padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.nav__item.is-open .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
@media (min-width: 1081px) {
  .nav__item--has-sub:hover > .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__item--has-sub:hover > .nav__link { background: var(--c-primary-soft); color: var(--c-primary-700); }
  .nav__item--has-sub:hover > .nav__link .nav__caret { transform: rotate(180deg); }
}

/* Mục con của dropdown (cấp 2) có thể có mục con (cấp 3) -> flyout sang phải */
.nav__sub .nav__item--has-sub { position: relative; }
.nav__sub .nav__item--has-sub > a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.nav__caret--right { flex: 0 0 auto; }
.nav__sub--flyout {
  top: -9px;
  left: 100%;
  min-width: 220px;
}
@media (min-width: 1081px) {
  .nav__sub .nav__item--has-sub:hover > .nav__sub--flyout { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__sub .nav__item--has-sub:hover > a { background: var(--c-primary-soft); color: var(--c-primary-700); }
}
/* Nếu flyout tràn mép phải màn hình, lật sang trái */
.nav__sub--flyout.is-left { left: auto; right: 100%; }
.nav__sub li { margin: 0; }
.nav__sub a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  color: var(--c-body);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav__sub a:hover { background: var(--c-primary-soft); color: var(--c-primary-700); }

.header__actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: #fff;
  color: var(--c-ink);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.icon-btn:hover { background: var(--c-primary-soft); border-color: var(--c-primary-soft-2); color: var(--c-primary-700); }
.icon-btn__badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--c-accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.nav-toggle { display: none; }

/* Mobile drawer */
@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    margin: 0;
    padding: 84px 20px 32px;
    background: #fff;
    box-shadow: -12px 0 40px rgba(18, 35, 46, 0.16);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--t-base);
    z-index: 95;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { justify-content: space-between; padding: 13px 14px; font-size: 1rem; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__sub {
    position: static;
    display: none;
    opacity: 1; visibility: visible; transform: none;
    margin: 2px 0 8px 12px;
    border: 0; border-left: 2px solid var(--c-primary-soft-2);
    border-radius: 0;
    box-shadow: none;
  }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__sub--flyout { left: auto; margin-left: 12px; }
  .nav__caret--right { transform: rotate(90deg); }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(18, 35, 46, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-base), visibility var(--t-base);
    z-index: 94;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  .nav__close { position: absolute; top: 20px; right: 20px; }
}
@media (min-width: 1081px) {
  .nav__close, .nav-backdrop { display: none; }
}

/* ---------- 7. Hero carousel ---------- */
.hero { position: relative; background: var(--c-primary-900); overflow: hidden; }

.hero__track { position: relative; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.hero__slide.is-active { position: relative; opacity: 1; visibility: visible; }

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(var(--c-primary-900-rgb), 0.92) 0%, rgba(var(--c-primary-900-rgb), 0.72) 45%, rgba(var(--c-primary-900-rgb), 0.25) 100%);
}

.hero__body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  min-height: clamp(420px, 46vw, 560px);
  padding-block: clamp(48px, 5vw, 76px);
}
.hero__content { color: #fff; max-width: 620px; }
.hero__content h1, .hero__content h2 { color: #fff; }
.hero__title { margin-bottom: 18px; }
.hero__lead { font-size: var(--fs-lead); color: rgba(255, 255, 255, 0.88); }

.hero__points { list-style: none; padding: 0; margin: 20px 0 28px; }
.hero__points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}
.hero__points svg { flex: 0 0 22px; margin-top: 2px; color: var(--c-yellow); }

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

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, 0.35));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  transform: translateY(-50%);
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background var(--t-fast);
}
.hero__nav:hover { background: rgba(255, 255, 255, 0.4); }
.hero__nav--prev { left: 16px; }
.hero__nav--next { right: 16px; }

.hero__dots {
  position: absolute;
  left: 50%; bottom: 22px; /* nâng lên ở desktop để không bị dải USP che, xem @media bên dưới */
  z-index: 3;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}
.hero__dot {
  width: 11px; height: 11px;
  padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: width var(--t-base), background var(--t-fast);
}
.hero__dot.is-active { width: 34px; border-radius: var(--r-pill); background: var(--c-yellow); }

/* ---------- 7b. Hero ở chế độ slider ẢNH (banner do người dùng upload) ---------- */
.hero--image .hero__track {
  position: relative;
  aspect-ratio: 1920 / 720;      /* tỉ lệ khuyến nghị cho ảnh banner */
}
.hero--image .hero__slide,
.hero--image .hero__slide.is-active {
  position: absolute;
  inset: 0;
}
.hero--image .hero__slide::after { display: none; }   /* bỏ lớp phủ tối của chế độ chữ */
.hero--image .hero__imglink { display: block; width: 100%; height: 100%; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero--contain .hero__img { object-fit: contain; }     /* hiện trọn ảnh, không cắt mép */
.hero--single .hero__nav,
.hero--single .hero__dots { display: none; }            /* chỉ 1 ảnh thì ẩn mũi tên & chấm */

@media (max-width: 700px) {
  .hero--image .hero__track { aspect-ratio: 4 / 3; }   /* trên mobile banner cao hơn cho dễ đọc */
}
/* Ở chế độ ảnh, không cho dải USP đè lên banner (tránh che phần thiết kế) */
.hero--image + .usp { margin-top: 24px; }
.hero--image .hero__dots { bottom: 18px; }

/* ---------- 8. Quick feature strip ---------- */
/* Dải USP đè lên 46px cuối của hero -> đẩy chấm carousel lên cao hơn vùng đè */
@media (min-width: 961px) {
  .hero__dots { bottom: 68px; }
}

.usp {
  position: relative;
  z-index: 5;
  margin-top: -46px;
}
.usp__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-2);
}
.usp__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 20px;
  background: #fff;
}
.usp__icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--c-primary-soft);
  color: var(--c-primary-700);
}
.usp__item strong { display: block; color: var(--c-ink); font-size: 0.98rem; }
.usp__item span { font-size: 0.86rem; color: var(--c-muted); }

/* ---------- 9. Cards ---------- */
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: var(--c-primary-soft-2); }
.card__media { position: relative; background: var(--c-bg-soft-2); aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { flex: 1; display: flex; flex-direction: column; padding: 20px; }
.card__title { font-size: 1.08rem; margin-bottom: 8px; }
.card__title a { color: inherit; }
.card__title a:hover { color: var(--c-primary); }
.card__text { font-size: 0.92rem; margin-bottom: 16px; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--c-primary-soft);
  color: var(--c-primary-700);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge--accent { background: #fff2e0; color: var(--c-accent-600); }
.badge--green { background: #eef7e3; color: #4e8a17; }
.badge--pink { background: #fff1e6; color: #c2620a; }
.badge--float { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--c-accent); color: #fff; }

/* Product card */
.product-card .card__media { aspect-ratio: 1 / 1; padding: 14px; background: var(--c-bg-soft); }
.product-card .card__media img { object-fit: contain; }
.product-card__meta { font-size: 0.8rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; margin-bottom: 6px; }
.price { font-size: 1.15rem; font-weight: 800; color: var(--c-accent-600); }
.price small { display: block; font-size: 0.78rem; font-weight: 500; color: var(--c-muted); text-decoration: line-through; }

/* Feature (hero) product blocks */
.kit-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(22px, 2.4vw, 34px);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #fff 0%, var(--c-primary-soft) 100%);
  border: 1px solid var(--c-primary-soft-2);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.kit-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.kit-card--alt { background: linear-gradient(160deg, #fff 0%, #fff2e0 100%); border-color: #ffdcb0; }
.kit-card__img { margin: 0 auto 18px; max-width: 320px; }
.kit-card h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 8px; }
.kit-card__list { list-style: none; padding: 0; margin: 14px 0 20px; }
.kit-card__list li { display: flex; gap: 9px; font-size: 0.93rem; }
.kit-card__list svg { flex: 0 0 18px; margin-top: 4px; color: var(--c-primary); }

/* ---------- 10. Feature section (split) ---------- */
.feature__media {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--c-bg-soft-2);
  padding: clamp(18px, 2vw, 34px);
}
.feature__media::before {
  content: "";
  position: absolute;
  inset: auto 12% -14px 12%;
  height: 40px;
  border-radius: 50%;
  background: rgba(var(--c-primary-rgb), 0.16);
  filter: blur(18px);
}
.feature__list { list-style: none; padding: 0; margin: 20px 0 26px; }
.feature__list li { display: flex; gap: 12px; margin-bottom: 14px; }
.feature__list svg { flex: 0 0 24px; margin-top: 3px; color: var(--c-primary); }
.feature__list strong { display: block; color: var(--c-ink); }

.thumb-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.thumb-row figure { margin: 0; }
.thumb-row img {
  width: 100%;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  background: #fff;
}
.thumb-row figcaption { margin-top: 6px; font-size: 0.78rem; text-align: center; color: var(--c-muted); }

/* ---------- 10b. Khối Rio (sản phẩm nổi bật + lưới liên quan) ---------- */
.rio-hero { margin-bottom: clamp(36px, 4vw, 60px); }
.rio-maps-title {
  text-align: center;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.7rem);
  margin: 0 0 clamp(22px, 2.5vw, 34px);
}
.rio-thumb {
  display: block;
  text-align: center;
  color: inherit;
  text-decoration: none;
}
.rio-thumb__img {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: #fff;
  display: grid;
  place-items: center;
  padding: 14px;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.rio-thumb__img img { width: 100%; height: 100%; object-fit: contain; }
.rio-thumb:hover .rio-thumb__img { transform: translateY(-4px); box-shadow: var(--sh-3); }
.rio-thumb span { display: block; margin-top: 12px; font-weight: 700; color: var(--c-ink); }
.rio-thumb:hover span { color: var(--c-primary-700); }

/* ---------- 11. Support / 3 columns ---------- */
.support-card {
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  text-align: center;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.support-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.support-card__icon {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 22px;
  background: var(--c-primary-soft);
  color: var(--c-primary-700);
}
.support-card:nth-child(2) .support-card__icon { background: #fff2e0; color: var(--c-accent-600); }
.support-card:nth-child(3) .support-card__icon { background: #eef7e3; color: #4e8a17; }

/* Thẻ hỗ trợ dạng nền màu đầy (giống ohstem: vàng / xanh / đỏ) */
.support-card--filled { border: 0; color: #fff; }
.support-card--filled h3 { color: #fff; }
.support-card--filled .support-card__icon { background: rgba(255, 255, 255, 0.22); color: #fff; }
.support-card--filled .link-more { color: #fff; }
.support-card--filled .link-more:hover { color: #fff; opacity: 0.85; }
.support-card--yellow { background: linear-gradient(155deg, #ffcf3f, #ffa800); color: #5a3d00; }
.support-card--yellow h3 { color: #4a3200; }
.support-card--yellow .support-card__icon { background: rgba(255, 255, 255, 0.35); color: #7a5200; }
.support-card--yellow .link-more { color: #6a4700; }
.support-card--blue { background: linear-gradient(155deg, #26a8f0, var(--c-primary)); }
.support-card--red { background: linear-gradient(155deg, #ff5a6a, #e5372c); }
.support-card--green { background: linear-gradient(155deg, #7bd23e, #4e9a1f); }

/* ---------- 12. Stats ---------- */
.stats {
  background: linear-gradient(120deg, var(--c-primary-700), var(--c-primary));
  color: #fff;
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats__num { font-size: clamp(1.9rem, 1.2rem + 2vw, 3rem); font-weight: 800; line-height: 1.1; color: #fff; }
.stats__num span { color: var(--c-yellow); }
.stats__label { font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }

/* ---------- 13. News grid ---------- */
.news-card .card__media { aspect-ratio: 16 / 10; }
.news-card__date { font-size: 0.8rem; color: var(--c-muted); display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.news-card__title { font-size: 1rem; line-height: 1.45; }

.news-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: var(--r-xl);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  margin-bottom: 34px;
}
.news-featured img { border-radius: var(--r-lg); width: 100%; }

/* ---------- 13b. News carousel (khối Triển khai STEM) ---------- */
.news-carousel { position: relative; }
.news-carousel__track {
  display: flex;
  gap: clamp(18px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.news-carousel__track::-webkit-scrollbar { display: none; }
.news-carousel__track > .card {
  flex: 0 0 calc((100% - clamp(18px, 2vw, 28px)) / 2);
  scroll-snap-align: start;
}
@media (max-width: 760px) {
  .news-carousel__track > .card { flex: 0 0 86%; }
}

.news-carousel__nav {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: #fff;
  color: var(--c-primary-700);
  box-shadow: var(--sh-2);
  transition: background var(--t-fast), color var(--t-fast), opacity var(--t-fast);
}
.news-carousel__nav:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.news-carousel__nav--prev { left: -10px; }
.news-carousel__nav--next { right: -10px; }
.news-carousel__nav[disabled] { opacity: 0.35; cursor: default; }
.news-carousel__nav[disabled]:hover { background: #fff; color: var(--c-primary-700); border-color: var(--c-line); }
@media (max-width: 560px) {
  .news-carousel__nav--prev { left: 2px; }
  .news-carousel__nav--next { right: 2px; }
}

.news-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.news-carousel__dots:empty { display: none; }
.news-dot {
  width: 10px; height: 10px;
  padding: 0;
  border: 0; border-radius: 50%;
  background: var(--c-line);
  transition: width var(--t-base), background var(--t-fast);
}
.news-dot:hover { background: var(--c-primary-soft-2); }
.news-dot.is-active { width: 26px; border-radius: var(--r-pill); background: var(--c-primary); }

/* ---------- 14. Logos / partners ---------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  opacity: 0.72;
}
.logo-strip img { height: 42px; width: auto; filter: grayscale(1); transition: filter var(--t-base), opacity var(--t-base); }
.logo-strip img:hover { filter: grayscale(0); }

/* ---------- 15. CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 60px);
  background: linear-gradient(120deg, var(--c-primary-700) 0%, var(--c-primary) 60%, var(--c-cyan) 100%);
  color: #fff;
  overflow: hidden;
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.cta-band::before { width: 320px; height: 320px; top: -140px; right: -80px; }
.cta-band::after { width: 200px; height: 200px; bottom: -110px; left: -40px; }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); }
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

/* ---------- 16. Newsletter ---------- */
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--c-ink);
}
.newsletter-form input::placeholder { color: var(--c-muted); }

/* ---------- 17. Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-weight: 600; font-size: 0.9rem; color: var(--c-ink); }
.field label .req { color: var(--c-red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--c-ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(var(--c-primary-rgb), 0.14);
}
.field textarea { min-height: 140px; resize: vertical; }
.field__hint { margin-top: 6px; font-size: 0.82rem; color: var(--c-muted); }
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: var(--c-red); }
.field__error { display: none; margin-top: 6px; font-size: 0.82rem; color: var(--c-red); }
.field.has-error .field__error { display: block; }

.form-note {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  display: none;
}
.form-note.is-ok { display: block; background: #eef7e3; color: #3f7010; }
.form-note.is-err { display: block; background: #fdecea; color: #a72119; }

/* ---------- 18. Footer ---------- */
.site-footer {
  background: var(--c-footer);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}
.site-footer h4 { color: #fff; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: #fff; }

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: clamp(24px, 3vw, 44px);
  padding-block: clamp(40px, 4vw, 64px);
}
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 9px; }

.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: rgba(255, 255, 255, 0.55); }
.footer__about { margin: 16px 0 20px; }

.footer__contact { list-style: none; padding: 0; margin: 0; }
.footer__contact li { display: flex; gap: 10px; margin-bottom: 10px; }
.footer__contact svg { flex: 0 0 18px; margin-top: 4px; color: var(--c-primary); }

.social { display: flex; gap: 10px; margin-top: 8px; }
.social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background var(--t-fast), transform var(--t-fast);
}
.social a:hover { background: var(--c-primary); transform: translateY(-2px); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* ---------- 19. Floating actions ---------- */
.floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating a, .floating button {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  color: #fff;
  box-shadow: var(--sh-2);
  transition: transform var(--t-fast);
}
.floating a:hover, .floating button:hover { transform: scale(1.08); }
.floating .fab--phone { background: var(--c-green); animation: ring 2.4s ease-in-out infinite; }
.floating .fab--zalo { background: #0068ff; font-weight: 800; font-size: 0.78rem; }
.floating .fab--chat { background: var(--c-primary); }
.floating .fab--top { background: var(--c-ink); opacity: 0; visibility: hidden; }
.floating .fab--top.is-visible { opacity: 1; visibility: visible; }
@keyframes ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111, 190, 43, 0.55); }
  50% { box-shadow: 0 0 0 14px rgba(111, 190, 43, 0); }
}

/* ---------- 20. Page header (sub-pages) ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(40px, 4vw, 72px);
  background: linear-gradient(120deg, var(--c-primary-900), var(--c-primary-700) 70%, var(--c-primary));
  color: #fff;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  top: -180px; right: -120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, 0.85); max-width: 640px; }
.page-hero > .container { position: relative; z-index: 2; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; padding: 0; list-style: none; font-size: 0.85rem; }
.breadcrumb li { margin: 0; color: rgba(255, 255, 255, 0.7); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }

/* ---------- 21. Filter chips / toolbar ---------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--c-body);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--t-fast);
}
.chip:hover { border-color: var(--c-primary); color: var(--c-primary-700); }
.chip.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

.search-box { position: relative; flex: 0 1 280px; }
.search-box input { width: 100%; padding: 11px 16px 11px 42px; border: 1px solid var(--c-line); border-radius: var(--r-pill); }
.search-box svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--c-muted); }

.empty-state { padding: 60px 20px; text-align: center; color: var(--c-muted); display: none; }
.empty-state.is-visible { display: block; }

/* ---------- 22. Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.pd-gallery__main {
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-bg-soft);
  padding: 24px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.pd-gallery__main img { max-height: 100%; object-fit: contain; }
.pd-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.pd-gallery__thumbs button {
  padding: 8px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color var(--t-fast);
}
.pd-gallery__thumbs button.is-active { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(var(--c-primary-rgb), 0.14); }

.pd-price { display: flex; align-items: baseline; gap: 14px; margin: 14px 0 6px; }
.pd-price strong { font-size: 2rem; font-weight: 800; color: var(--c-accent-600); }
.pd-price del { color: var(--c-muted); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
/* ============ TRANG GIỚI THIỆU (landing) ============ */
.about-page section[id] { scroll-margin-top: 96px; }
.about-quote { max-width: 760px; margin: 22px 0 34px; padding: 20px 26px; border-left: 4px solid var(--c-primary);
  background: var(--c-primary-soft); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600; font-style: italic; color: var(--c-ink); }
.about-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.about-intro__text { font-size: 1.02rem; }
.about-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.about-gallery__cell { aspect-ratio: 1/1; border-radius: var(--r-md); overflow: hidden; background: var(--c-primary-soft); }
.about-gallery__cell img { width: 100%; height: 100%; object-fit: cover; }

.about-mission__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 34px); }
.mission-card { text-align: center; padding: 8px; }
.mission-card__ico { width: 120px; height: 120px; margin: 0 auto 14px; display: grid; place-items: center; }
.mission-card__ico img { max-width: 100%; max-height: 100%; }
.mission-card h3 { color: var(--c-primary-700); font-size: 1.2rem; margin: 0 0 8px; }
.mission-card p { color: var(--c-body); max-width: 460px; margin: 0 auto; }

.about-values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 30px); }
.value-card { text-align: center; }
.value-card__ico { width: 96px; height: 96px; margin: 0 auto 12px; border-radius: 50%; overflow: hidden;
  background: var(--c-primary-soft); display: grid; place-items: center; }
.value-card__ico img { width: 100%; height: 100%; object-fit: cover; }
.value-card span { font-weight: 700; font-size: 1.1rem; color: var(--c-ink); }

.about-leaders__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); max-width: 900px; margin: 0 auto; }
.leader-card { text-align: center; }
.leader-card__photo { aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; background: var(--c-primary-soft); margin-bottom: 12px; }
.leader-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-card h4 { margin: 0 0 2px; font-size: 1.05rem; }
.leader-card p { margin: 0; color: var(--c-muted); font-size: .95rem; }

@media (max-width: 760px) {
  .about-intro__grid, .about-mission__grid { grid-template-columns: 1fr; }
  .about-values__grid { grid-template-columns: repeat(2, 1fr); }
  .about-leaders__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Meta (SKU, Danh mục) + Share dưới nút mua */
.pd-meta { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 8px; }
.pd-meta__row { color: var(--c-body); }
.pd-meta__row span { color: var(--c-muted); font-weight: 600; margin-right: 4px; }
.pd-meta__row a { color: var(--c-primary-700); }
.pd-meta__row a:hover { text-decoration: underline; }
.pd-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pd-share__label { color: var(--c-muted); font-weight: 600; margin-right: 2px; }
.pd-share__btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--c-primary-soft); color: var(--c-primary-700); transition: background .15s, color .15s, transform .1s; }
.pd-share__btn:hover { background: var(--c-primary); color: #fff; }
.pd-share__btn svg { width: 18px; height: 18px; }
.pd-share__btn.is-copied { background: var(--c-green, #1a9e5c); color: #fff; }

/* Tabs chi tiết sản phẩm */
.pd-tabs { margin-top: clamp(40px, 5vw, 72px); }
.pd-tabs__nav { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px); border-bottom: 1px solid var(--c-line); }
.pd-tab { border: 0; background: none; padding: 0 0 14px; margin-bottom: -1px; cursor: pointer;
  font-family: inherit; font-size: clamp(1rem, 1.6vw, 1.12rem); font-weight: 700; color: var(--c-muted);
  border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
.pd-tab:hover { color: var(--c-ink); }
.pd-tab.is-active { color: var(--c-primary-700); border-bottom-color: var(--c-primary); }
.pd-panel { display: none; padding-top: clamp(22px, 3vw, 34px); }
.pd-panel.is-active { display: block; }
.pd-panel .prose { max-width: 900px; }
.pd-empty { color: var(--c-muted); }
.pd-specs { width: 100%; max-width: 760px; border-collapse: collapse; }
.pd-specs th, .pd-specs td { text-align: left; padding: 12px 16px; border: 1px solid var(--c-line); vertical-align: top; }
.pd-specs th { width: 38%; background: var(--c-primary-soft); font-weight: 700; color: var(--c-ink); }

/* Sản phẩm liên quan */
.pd-related { margin-top: clamp(44px, 5vw, 76px); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--c-line); }
.pd-related > h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 0 0 22px; }

/* Đánh giá sản phẩm */
.stars { display: inline-flex; letter-spacing: 1px; color: #d7dde5; }
.stars .star.is-on { color: #f5a623; }
.pd-reviews { max-width: 820px; }
.pd-reviews__summary { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pd-reviews__avg { font-size: 2rem; font-weight: 800; color: var(--c-ink); line-height: 1; }
.pd-reviews__summary .stars { font-size: 1.25rem; }
.pd-reviews__count { color: var(--c-muted); }
.pd-reviews__list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.review { border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 16px 18px; }
.review__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.review__head .stars { font-size: 1rem; }
.review__date { color: var(--c-muted); font-size: .9rem; margin-left: auto; }
.review__body { margin: 0; color: var(--c-body); white-space: pre-line; }
.review-form { border: 1px solid var(--c-line); border-radius: var(--r-md); padding: clamp(18px, 3vw, 26px); background: var(--c-primary-soft); }
.review-form h3 { margin: 0 0 14px; font-size: 1.15rem; }
.review-form__stars { display: flex; gap: 4px; margin-bottom: 14px; }
.rv-star { border: 0; background: none; cursor: pointer; font-size: 1.8rem; line-height: 1; color: #d7dde5; padding: 0; transition: color .1s; }
.rv-star:hover, .rv-star.is-on { color: #f5a623; }
.review-form input[type="text"], .review-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: var(--r-sm); background: #fff; font: inherit; margin-bottom: 12px; }
.review-form textarea { resize: vertical; }
.review-form .rv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.review-form__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-note.is-ok { color: var(--c-green, #1a9e5c); }
.form-note.is-err { color: var(--c-red, #d64545); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--c-line); border-radius: var(--r-pill); overflow: hidden; }
.qty button { width: 42px; height: 46px; border: 0; background: #fff; color: var(--c-ink); font-size: 1.1rem; }
.qty button:hover { background: var(--c-primary-soft); }
.qty input { width: 52px; height: 46px; border: 0; text-align: center; font-weight: 700; color: var(--c-ink); }

.pd-meta { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px dashed var(--c-line); font-size: 0.9rem; }
.pd-meta li { display: flex; gap: 8px; }
.pd-meta strong { color: var(--c-ink); min-width: 120px; }

.tabs { margin-top: clamp(36px, 4vw, 60px); }
.tabs__nav { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--c-line); }
.tabs__btn {
  padding: 13px 22px;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  background: none;
  color: var(--c-body);
  font-weight: 700;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.tabs__btn.is-active { color: var(--c-primary-700); border-color: var(--c-primary); }
.tabs__panel { display: none; padding-top: 26px; }
.tabs__panel.is-active { display: block; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.spec-table th, .spec-table td { padding: 12px 16px; border: 1px solid var(--c-line); text-align: left; }
.spec-table th { width: 34%; background: var(--c-bg-soft); color: var(--c-ink); font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* ---------- 23. Accordion (FAQ) ---------- */
.acc { border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.acc + .acc { margin-top: 12px; }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 0;
  background: #fff;
  color: var(--c-ink);
  font-weight: 700;
  text-align: left;
}
.acc__btn:hover { background: var(--c-bg-soft); }
.acc__btn svg { flex: 0 0 18px; transition: transform var(--t-fast); }
.acc.is-open .acc__btn svg { transform: rotate(45deg); }
.acc__panel { display: none; padding: 0 20px 18px; font-size: 0.94rem; }
.acc.is-open .acc__panel { display: block; }

/* ---------- 24. Timeline (About) ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-primary), var(--c-primary-soft-2));
}
.timeline__item { position: relative; margin-bottom: 26px; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -32px; top: 6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--c-primary);
}
.timeline__year { font-weight: 800; color: var(--c-primary-700); }

.value-card { padding: 26px 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); }
.value-card__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--c-primary-soft); color: var(--c-primary-700); margin-bottom: 14px; }

.person { text-align: center; }
.person img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 4px solid var(--c-primary-soft); }
.person strong { display: block; color: var(--c-ink); }
.person span { font-size: 0.86rem; color: var(--c-muted); }

/* ---------- 25. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 4vw, 52px); align-items: start; }
.info-card { padding: 26px; border-radius: var(--r-lg); background: var(--c-bg-soft); border: 1px solid var(--c-line); }
.info-card ul { list-style: none; padding: 0; margin: 0; }
.info-card li { display: flex; gap: 12px; margin-bottom: 16px; }
.info-card svg { flex: 0 0 22px; margin-top: 3px; color: var(--c-primary); }
.map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-line); aspect-ratio: 16 / 9; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 26. Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px;
  display: grid; place-items: center;
  padding: 0 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  color: var(--c-body);
  font-weight: 600;
}
.pagination .is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary-700); }

/* ---------- 27. Prose (article/policy content) ---------- */
.prose { font-size: 1.02rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--r-lg); margin-block: 1.4em; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--c-primary);
  color: var(--c-ink);
  font-style: italic;
}

/* ---------- 28. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- 29. Responsive ---------- */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero__body { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { display: none; }
  .hero__content { max-width: 100%; }
  .usp { margin-top: 0; }
  .usp__grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--media-last .split__media { order: 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .news-featured { grid-template-columns: 1fr; }
  .pd-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .usp__grid { grid-template-columns: 1fr; }
  .thumb-row { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
  .hero__nav { display: none; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search-box { flex: 1 1 auto; }
  .pd-actions .btn { flex: 1 1 100%; }
}

/* ---------- 30. Print ---------- */
@media print {
  .site-header, .site-footer, .floating, .announce, .hero__nav, .hero__dots { display: none !important; }
  body { color: #000; }
}
