/* ============================================================
   GOLD ELEVATOR — style.css
   Tông màu: Navy đậm + Vàng gold sang trọng
   ============================================================ */

:root {
  --navy-900: #0b1120;
  --navy-800: #111a2e;
  --navy-700: #1a2740;
  --navy-600: #24334f;
  --gold-300: #f3d98b;
  --gold-400: #e8c25a;
  --gold-500: #d4a72c;
  --gold-600: #b8901f;
  --gold-grad: linear-gradient(135deg, #f3d98b 0%, #d4a72c 45%, #b8901f 100%);
  --ink: #16213a;
  --muted: #5c6a85;
  --line: #e6e9f2;
  --bg-soft: #f6f7fb;
  --white: #ffffff;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(11, 17, 32, .06);
  --shadow-md: 0 12px 34px rgba(11, 17, 32, .12);
  --shadow-lg: 0 24px 60px rgba(11, 17, 32, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

/* ---------- Typography helpers ---------- */
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: #dfe5f1; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--gold-grad);
  border-radius: 2px;
}
.section--dark .kicker { color: var(--gold-400); }

.h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.01em;
}
.h2 .gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.lead { color: var(--muted); max-width: 640px; margin-top: 16px; }
.section--dark .lead { color: #9aa7c0; }

.section-head { margin-bottom: 52px; }
.section-head--center { text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head--center .kicker::before { display: none; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--gold {
  background: var(--gold-grad);
  color: var(--navy-900);
  box-shadow: 0 10px 26px rgba(212, 167, 44, .35);
}
.btn--gold:hover { box-shadow: 0 16px 34px rgba(212, 167, 44, .45); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .35);
}
.btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-300); }

.btn--dark {
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--dark:hover { box-shadow: var(--shadow-md); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-900);
  color: #aab6cf;
  font-size: .82rem;
  padding: 9px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar__group { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.topbar__addrs { display: flex; flex-direction: column; gap: 4px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 14px; height: 14px; color: var(--gold-400); }
.topbar__item a:hover { color: var(--gold-300); }
.topbar__slogan { color: var(--gold-300); font-weight: 600; letter-spacing: .04em; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 46px; height: 46px;
  border-radius: 13px;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(212, 167, 44, .4);
  flex: none;
}
.brand__mark svg { width: 26px; height: 26px; color: var(--navy-900); }
.brand__mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand__text { display: flex; flex-direction: column; justify-content: center; }
.brand__name { font-size: 1.28rem; font-weight: 800; letter-spacing: .01em; line-height: 1.1; }
.brand__name .gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__tag { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.brand__slogan { font-size: .74rem; font-weight: 600; color: var(--gold-600); letter-spacing: .01em; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 16px;
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink);
  border-radius: 10px;
  position: relative;
  transition: color .25s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--gold-grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--gold-600); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--gold-600); }

/* ---------- Nav dropdown (Sản phẩm) ---------- */
.nav-item { position: relative; }
.nav-item--drop { display: flex; align-items: center; }
.nav-item__caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border: none;
  border-radius: 8px;
  background: none;
  color: var(--ink);
  cursor: pointer;
  flex: none;
  transition: transform .25s var(--ease), background .2s;
}
.nav-item__caret svg { width: 12px; height: 12px; }
.nav-item--drop:hover .nav-item__caret,
.nav-item--drop:focus-within .nav-item__caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 120;
}
.nav-item--drop:hover .nav-dropdown,
.nav-item--drop:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-dropdown a {
  padding: 10px 14px;
  border-radius: 9px;
  font-size: .87rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover { background: var(--bg-soft); color: var(--gold-600); }
.nav-dropdown__all {
  margin-top: 4px;
  padding-top: 12px !important;
  border-top: 1px solid var(--line);
  color: var(--gold-600) !important;
}

.header__cta { display: flex; align-items: center; gap: 14px; }
.header__hotline { display: flex; align-items: center; gap: 10px; }
.header__hotline-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(212, 167, 44, .12);
  display: grid; place-items: center;
  color: var(--gold-600);
  animation: ring-pulse 2.4s infinite;
}
.header__hotline-icon svg { width: 20px; height: 20px; }
.header__hotline small { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.header__hotline strong { font-size: 1.05rem; color: var(--navy-900); }

@keyframes ring-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 167, 44, .35); }
  50% { box-shadow: 0 0 0 9px rgba(212, 167, 44, 0); }
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nền mờ phía sau menu mobile (chỉ hiện ở mobile — bật display trong @media ≤860) */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 20, .55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
  z-index: 98;
}
.nav-backdrop.is-visible { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
/* Ảnh nền thật đặt ngay trên .hero — admin bấm vào để đổi (data-cms-img="hero.bg") */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: url("../img/header.jpg") center right / cover no-repeat, var(--navy-900);
}
/* Lớp phủ tối để chữ luôn rõ trên ảnh; không chặn click (để bấm đổi ảnh trong admin) */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9,14,27,.95) 0%, rgba(9,14,27,.88) 32%, rgba(9,14,27,.55) 62%, rgba(9,14,27,.25) 100%),
    linear-gradient(180deg, rgba(9,14,27,.5) 0%, rgba(9,14,27,0) 32%, rgba(9,14,27,.55) 100%);
}
.hero .container {
  position: relative;
  z-index: 2;
  padding: 116px 0 112px;
}
.hero__content { max-width: 720px; }

.hero__badges {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(243, 217, 139, .45);
  background: rgba(212, 167, 44, .1);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--gold-300);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.hero__badge svg { width: 15px; height: 15px; flex: none; }

.hero__title {
  font-size: clamp(2.05rem, 4.8vw, 3.7rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin-bottom: 22px;
  text-shadow: 0 2px 26px rgba(0, 0, 0, .45);
}
.hero__title .gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* nới vùng tô gradient lên trên để dấu tiếng Việt trên chữ hoa (Ẳ, Ấ…) không bị mất */
  padding-top: .18em;
}
.hero p {
  color: #cdd6e6;
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 34px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .45);
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }

.hero__features {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero__feature { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 170px; }
.hero__feature-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(243, 217, 139, .5);
  background: rgba(212, 167, 44, .08);
  display: grid; place-items: center;
  color: var(--gold-300);
  flex: none;
}
.hero__feature-icon svg { width: 22px; height: 22px; }
.hero__feature-txt strong {
  display: block;
  font-size: .98rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 3px;
}
.hero__feature-txt span {
  display: block;
  font-size: .82rem;
  color: #aeb9cd;
  max-width: 160px;
  line-height: 1.4;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- USP strip ---------- */
.usp {
  position: relative;
  z-index: 5;
  margin-top: -66px;
}
.usp__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.usp__item {
  padding: 34px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-right: 1px solid var(--line);
  transition: background .3s;
}
.usp__item:last-child { border-right: none; }
.usp__item:hover { background: var(--bg-soft); }
.usp__icon {
  width: 50px; height: 50px;
  flex: none;
  border-radius: 14px;
  background: rgba(212, 167, 44, .12);
  display: grid; place-items: center;
  color: var(--gold-600);
}
.usp__icon svg { width: 24px; height: 24px; }
.usp__item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.usp__item p { font-size: .85rem; color: var(--muted); }

/* ---------- Product cards ---------- */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.p-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  display: flex;
  flex-direction: column;
}
.p-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 167, 44, .4);
}
.p-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.p-card__media svg.p-card__art {
  width: 96px; height: 96px;
  color: rgba(255, 255, 255, .92);
  transition: transform .5s var(--ease);
}
.p-card:hover .p-card__media svg.p-card__art { transform: scale(1.12) translateY(-4px); }
.p-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.p-card__tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  background: rgba(11, 17, 32, .55);
  backdrop-filter: blur(6px);
  color: var(--gold-300);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.p-card__body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.p-card__body h3 { font-size: 1.14rem; font-weight: 700; margin-bottom: 8px; }
.p-card__body p { font-size: .9rem; color: var(--muted); flex: 1; }
.p-card__link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--gold-600);
}
.p-card__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.p-card:hover .p-card__link svg { transform: translateX(5px); }

/* gradient variants for product media */
.g-1 { background: linear-gradient(135deg, #1a2740, #24334f 55%, #3b4c6e); }
.g-2 { background: linear-gradient(135deg, #2b3a55, #16213a 60%, #0b1120); }
.g-3 { background: linear-gradient(135deg, #b8901f, #d4a72c 50%, #8a6c14); }
.g-4 { background: linear-gradient(135deg, #24334f, #1a2740 45%, #101a30); }
.g-5 { background: linear-gradient(135deg, #8a6c14, #b8901f 55%, #d4a72c); }
.g-6 { background: linear-gradient(135deg, #101a30, #24334f 60%, #2f4066); }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.about__art { position: relative; padding-bottom: 48px; }
.about__frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-800);
  aspect-ratio: 26 / 21;
}
.about__frame svg { width: 100%; height: 100%; display: block; object-fit: cover; }
/* Ảnh phụ đè lên ảnh chính — mỗi tấm thêm/đổi được trong admin */
.about__thumb {
  position: absolute;
  bottom: 0;
  width: 43%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  border: 5px solid #eef1f7;
  box-shadow: 0 16px 36px rgba(11, 17, 32, .22);
  background: var(--navy-800);
  z-index: 2;
}
.about__thumb--1 { left: -12px; }
.about__thumb--2 { right: -12px; }
.about__thumb svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.about__xp {
  position: absolute;
  bottom: 37%;
  right: 22px;
  z-index: 3;
  background: var(--gold-grad);
  color: var(--navy-900);
  border-radius: 20px;
  padding: 22px 28px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(212, 167, 44, .45);
}
.about__xp strong { display: block; font-size: 2.3rem; font-weight: 800; line-height: 1; }
.about__xp span { font-size: .8rem; font-weight: 700; letter-spacing: .06em; }

.about__checks { margin-top: 28px; display: grid; gap: 14px; }
.about__checks li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-weight: 600;
  font-size: .96rem;
}
.about__checks li svg {
  width: 22px; height: 22px;
  flex: none;
  color: var(--gold-600);
  margin-top: 2px;
}
.about__checks li small { display: block; font-weight: 400; color: var(--muted); font-size: .87rem; }
.about .btn { margin-top: 34px; }

/* ---------- Process ---------- */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step__num {
  position: absolute;
  top: -18px;
  left: 24px;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--gold-grad);
  color: var(--navy-900);
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(212, 167, 44, .4);
}
.step__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(212, 167, 44, .12);
  color: var(--gold-600);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.step__icon svg { width: 26px; height: 26px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: .88rem; color: var(--muted); }

/* ---------- Stats (dark) ---------- */
.stats {
  background:
    radial-gradient(700px 340px at 15% 0%, rgba(212, 167, 44, .13), transparent 60%),
    var(--navy-900);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
  padding: 40px 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .025);
  transition: border-color .3s, background .3s;
}
.stat:hover { border-color: rgba(243, 217, 139, .35); background: rgba(212, 167, 44, .05); }
.stat strong {
  display: block;
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 800;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
}
.stat span { color: #94a1bd; font-size: .9rem; }

/* ---------- Metrics bars ---------- */
.metrics { display: grid; gap: 26px; max-width: 620px; }
.metric__head { display: flex; justify-content: space-between; font-weight: 700; font-size: .93rem; margin-bottom: 10px; }
.metric__head span:last-child { color: var(--gold-600); }
.metric__bar {
  height: 10px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.metric__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--gold-grad);
  transition: width 1.4s var(--ease);
}
.why__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.why__points { margin-top: 30px; display: grid; gap: 22px; }
.why__point { display: flex; gap: 16px; }
.why__point-icon {
  width: 48px; height: 48px;
  flex: none;
  border-radius: 13px;
  background: rgba(212, 167, 44, .12);
  color: var(--gold-600);
  display: grid; place-items: center;
}
.why__point-icon svg { width: 23px; height: 23px; }
.why__point h3 { font-size: 1.02rem; margin-bottom: 4px; }
.why__point p { font-size: .88rem; color: var(--muted); }

/* ---------- Projects ---------- */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.pj-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pj-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.pj-card__bg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.pj-card__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
}
.pj-card__bg svg {
  width: 80px; height: 80px;
  color: rgba(255, 255, 255, .8);
  transition: transform .5s var(--ease);
}
.pj-card:hover .pj-card__bg svg { transform: scale(1.15); }
.pj-card__overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 22px;
  background: linear-gradient(transparent, rgba(11, 17, 32, .92) 70%);
  color: #fff;
}
.pj-card__overlay .cat {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 6px;
}
.pj-card__overlay h3 { font-size: .98rem; font-weight: 700; line-height: 1.35; }
.pj-card__overlay p { font-size: .78rem; color: #9aa7c0; margin-top: 3px; }

/* ---------- Testimonials ---------- */
.quotes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote__mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--gold-grad);
  color: var(--navy-900);
  display: grid; place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 18px;
  font-family: Georgia, serif;
}
.quote p { font-size: .93rem; color: #44506b; font-style: italic; }
.quote__who { margin-top: 20px; display: flex; align-items: center; gap: 13px; }
.quote__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-400);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: .95rem;
  flex: none;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
/* Khi tải ảnh đại diện lên thì ẩn chữ viết tắt */
.quote__avatar.cms-has-img .quote__avatar-txt { display: none; }
.quote__who strong { display: block; font-size: .93rem; }
.quote__who span { font-size: .8rem; color: var(--muted); }
.quote__stars { color: var(--gold-500); letter-spacing: 3px; font-size: .85rem; margin-bottom: 12px; }

/* ---------- News ---------- */
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.n-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.n-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.n-card__media {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  position: relative;
}
.n-card__media svg { width: 62px; height: 62px; color: rgba(255, 255, 255, .85); }
.n-card__body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.n-card__meta {
  display: flex;
  gap: 16px;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.n-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.n-card__meta svg { width: 13px; height: 13px; color: var(--gold-600); }
.n-card h3 { font-size: 1.05rem; line-height: 1.4; margin-bottom: 10px; }
.n-card h3 a:hover { color: var(--gold-600); }
.n-card p { font-size: .88rem; color: var(--muted); flex: 1; }

/* ---------- CTA banner ---------- */
.cta {
  position: relative;
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(212, 167, 44, .22), transparent 60%),
    var(--navy-900);
  border-radius: 26px;
  padding: 72px 60px;
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: center;
  gap: 40px;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cta > * { position: relative; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.25; margin-bottom: 14px; }
.cta p { color: #9aa7c0; max-width: 520px; }
.cta__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-self: end; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: #93a0bc;
  padding: 80px 0 0;
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 2px;
  background: var(--gold-grad);
  border-radius: 2px;
}
.footer__about p { margin: 18px 0 22px; line-height: 1.7; }
.footer__links li { margin-bottom: 12px; }
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color .25s, transform .25s;
}
.footer__links a svg { width: 12px; height: 12px; color: var(--gold-500); }
.footer__links a:hover { color: var(--gold-300); transform: translateX(4px); }
.footer__contact li {
  display: flex;
  gap: 13px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; margin-top: 3px; }
.footer__contact a:hover { color: var(--gold-300); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .84rem;
}
.footer__bottom .gold { color: var(--gold-400); font-weight: 600; }

/* ---------- Floating contact ---------- */
.float-contact {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 120; /* luôn trên cùng: trên cả menu mobile (99), toggle (100), nền mờ (98) */
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease);
  position: relative;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn svg { width: 26px; height: 26px; }
.float-btn--phone { background: linear-gradient(135deg, #d4a72c, #b8901f); animation: ring-pulse 2.2s infinite; }
.float-btn--zalo { background: linear-gradient(135deg, #0068ff, #0047b3); font-weight: 800; font-size: .8rem; }
.float-btn--top {
  background: var(--navy-800);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.float-btn--top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 320px at 80% 0%, rgba(212, 167, 44, .16), transparent 60%),
    var(--navy-900);
  color: #fff;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at 60% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, black 30%, transparent 80%);
}
/* Khi có ảnh nền (admin tải lên) — phủ lớp tối để chữ luôn rõ */
.page-hero.cms-has-img::before {
  background-image: linear-gradient(90deg, rgba(9,14,27,.86) 0%, rgba(9,14,27,.68) 55%, rgba(9,14,27,.5) 100%);
  background-size: cover;
  mask-image: none;
  -webkit-mask-image: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; margin-bottom: 12px; }
.page-hero h1 .gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: .87rem; color: #8b99b5; }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb svg { width: 13px; height: 13px; }
.breadcrumb .current { color: var(--gold-300); font-weight: 600; }

/* ---------- Contact page ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 52px;
  align-items: start;
}
.contact__cards { display: grid; gap: 20px; }
.c-card {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.c-card__icon {
  width: 52px; height: 52px;
  flex: none;
  border-radius: 14px;
  background: rgba(212, 167, 44, .12);
  color: var(--gold-600);
  display: grid; place-items: center;
}
.c-card__icon svg { width: 24px; height: 24px; }
.c-card h3 { font-size: 1rem; margin-bottom: 4px; }
.c-card p, .c-card a { font-size: .92rem; color: var(--muted); }
.c-card a:hover { color: var(--gold-600); }
.c-card strong a { color: var(--navy-900); font-size: 1.05rem; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 42px;
  box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .92rem; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { font-size: .85rem; font-weight: 700; }
.form-group label span { color: #d64545; }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: .93rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  transition: border-color .25s, box-shadow .25s, background .25s;
  color: var(--ink);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(212, 167, 44, .14);
}
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #eaf7ef;
  border: 1px solid #b9e4c8;
  color: #1e7a3e;
  font-size: .9rem;
  font-weight: 600;
}
.form-success.is-visible { display: block; }

.map-embed {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  margin-top: 64px;
}
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Feature list page (san pham detail rows) ---------- */
.spec-list { margin-top: 18px; display: grid; gap: 10px; }
.spec-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: .92rem;
  color: #44506b;
}
.spec-list svg { width: 18px; height: 18px; color: var(--gold-600); flex: none; margin-top: 3px; }

.product-row {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.product-row:last-child { border-bottom: none; }
.product-row:nth-child(even) .product-row__media { order: 2; }
.product-row__media {
  border-radius: 22px;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.product-row__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.product-row__media svg { width: 120px; height: 120px; color: rgba(255, 255, 255, .9); position: relative; z-index: 2; }
.product-row h2 { font-size: 1.55rem; font-weight: 800; margin-bottom: 12px; }
.product-row > div > p { color: var(--muted); font-size: .95rem; }
.product-row .btn { margin-top: 26px; }

/* ---------- Values / mission cards ---------- */
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.v-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.v-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.v-card__icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: var(--gold-grad);
  color: var(--navy-900);
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(212, 167, 44, .35);
}
.v-card__icon svg { width: 30px; height: 30px; }
.v-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.v-card p { font-size: .9rem; color: var(--muted); }

/* ---------- CMS: ảnh upload đè lên hình minh hoạ ---------- */
.cms-has-img > svg,
.cms-has-img .p-card__art { display: none; }
.cms-has-img::after { display: none !important; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; }

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .products__grid, .quotes__grid, .news__grid, .values__grid { grid-template-columns: repeat(2, 1fr); }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .usp__grid { grid-template-columns: repeat(2, 1fr); }
  .usp__item:nth-child(2) { border-right: none; }
  .usp__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero .container { padding: 96px 0 92px; }
  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(9,14,27,.95) 0%, rgba(9,14,27,.82) 55%, rgba(9,14,27,.6) 100%),
      linear-gradient(180deg, rgba(9,14,27,.5) 0%, rgba(9,14,27,0) 35%, rgba(9,14,27,.6) 100%);
  }
  .header__hotline { display: none; }
}

@media (max-width: 860px) {
  .section { padding: 68px 0; }
  .topbar__group--right { display: none; }
  /* Bỏ backdrop-filter trên mobile: nếu để, menu position:fixed bị "nhốt" trong
     header (chỉ cao bằng header) nên bung ra đè lên nội dung. */
  .header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255, 255, 255, .98);
  }
  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 84vw);
    background: var(--navy-900);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 26px 30px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    z-index: 99;
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open { transform: translateX(0); }
  .nav-backdrop { display: block; }
  .nav a { color: #dfe5f1; padding: 14px 16px; font-size: 1rem; border-radius: 12px; }
  .nav a:hover, .nav a.is-active { background: rgba(212, 167, 44, .12); color: var(--gold-300); }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; z-index: 100; }
  .nav-item--drop { flex-wrap: wrap; }
  .nav-item--drop .nav-item__link { flex: 1 1 auto; }
  .nav-item__caret { width: 44px; height: 44px; color: #dfe5f1; background: rgba(255, 255, 255, .06); border-radius: 10px; }
  .nav-item__caret svg { width: 14px; height: 14px; }
  .nav-item--drop.is-open .nav-item__caret { transform: rotate(180deg); background: rgba(212, 167, 44, .18); color: var(--gold-300); }
  .nav-dropdown {
    position: static;
    flex: 1 1 100%;
    grid-template-columns: none;
    transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    background: rgba(255, 255, 255, .04);
    border: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    padding: 0 6px;
    transition: max-height .35s var(--ease), padding .35s var(--ease);
  }
  .nav-item--drop.is-open .nav-dropdown { max-height: 420px; padding: 6px; }
  .nav-dropdown a { color: #c7cfe0; }
  .nav-dropdown a:hover { background: rgba(212, 167, 44, .12); color: var(--gold-300); }
  .nav-dropdown__all { border-top-color: rgba(255, 255, 255, .12); }
  .nav-toggle.is-open span { background: #fff; }
  .about__grid, .why__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__xp { right: 14px; padding: 18px 24px; }
  .about__xp strong { font-size: 1.8rem; }
  .cta { grid-template-columns: 1fr; padding: 52px 32px; }
  .cta__actions { justify-self: start; flex-direction: row; flex-wrap: wrap; }
  .product-row { grid-template-columns: 1fr; gap: 32px; }
  .product-row:nth-child(even) .product-row__media { order: 0; }
  .form-card { padding: 30px 24px; }
}

@media (max-width: 600px) {
  .products__grid, .quotes__grid, .news__grid, .projects__grid, .values__grid,
  .process__grid, .usp__grid, .footer__grid { grid-template-columns: 1fr; }
  .usp__item { border-right: none; border-bottom: 1px solid var(--line); }
  .usp__item:last-child { border-bottom: none; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero .container { padding: 84px 0 78px; }
  .hero__features { gap: 22px; }
  .hero__feature { flex: 1 1 140px; }
  .hero__feature-txt span { max-width: none; }
  .topbar .container { justify-content: center; }
  /* Trên điện thoại chỉ giữ số điện thoại ở thanh trên; địa chỉ 2 cơ sở đã có ở chân trang */
  .topbar__addrs { display: none; }
  .brand__tag, .brand__slogan { display: none; }
}

/* ============================================================
   Nút "Xem chi tiết" + Cửa sổ chi tiết (modal)
   ============================================================ */
.row-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
/* Nút xem chi tiết ở dòng sản phẩm (nền sáng) — viền tối */
.dt-btn {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-800);
  cursor: pointer;
}
.dt-btn:hover { background: var(--navy-900); color: #fff; }

/* Nút xem chi tiết trên thẻ dự án (nền ảnh tối) */
.pj-card__more {
  margin-top: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  color: #fff; font-weight: 700; font-size: .82rem;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s, color .25s;
}
.pj-card__more:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.pj-card__more svg { width: 15px; height: 15px; }

.dt-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.dt-modal.open { display: block; }
.dt-modal__backdrop { position: absolute; inset: 0; background: rgba(6, 10, 20, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dt-modal__panel {
  position: absolute;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(760px, 94vw);
  max-height: 90vh;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .5);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: dt-pop .3s var(--ease);
}
@keyframes dt-pop { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }
.dt-modal__head { position: relative; padding: 26px 30px 18px; background: var(--navy-900); color: #fff; }
.dt-kicker { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 6px; }
.dt-title { font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.dt-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, .14); color: #fff;
  font-size: 1.05rem; cursor: pointer; z-index: 2;
  transition: background .2s;
}
.dt-modal__close:hover { background: rgba(255, 255, 255, .28); }
.dt-modal__body { padding: 24px 30px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.dt-modal__foot { padding: 16px 30px; border-top: 1px solid var(--line); }
.dt-modal__foot .btn { width: 100%; justify-content: center; }

.dt-lead { color: #44506b; font-size: 1rem; line-height: 1.7; margin-bottom: 18px; }
.dt-loc { display: flex; gap: 8px; align-items: flex-start; color: var(--gold-600); font-weight: 700; font-size: .92rem; margin-bottom: 16px; }
.dt-loc svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.dt-section { margin-bottom: 20px; }
.dt-h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy-900); margin-bottom: 8px; padding-left: 12px; border-left: 3px solid var(--gold); }
.dt-body { color: #44506b; font-size: .94rem; line-height: 1.7; }
.dt-body ul { margin: 0; padding-left: 20px; }
.dt-body li { margin-bottom: 5px; }
.dt-body b { color: var(--navy-900); }

.dt-spec { margin: 22px 0; }
.dt-spec__title { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--gold-600); margin-bottom: 10px; }
.dt-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.dt-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.dt-table th, .dt-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dt-table thead th { background: var(--navy-900); color: #fff; font-weight: 700; font-size: .8rem; }
.dt-table tbody tr:nth-child(even) { background: #f7f8fc; }
.dt-table tbody tr:last-child td { border-bottom: none; }
.dt-table--kv th { background: #f2f4f9; color: var(--navy-900); font-weight: 700; width: 42%; white-space: normal; }
.dt-table--kv td { white-space: normal; color: #44506b; }
body.dt-lock { overflow: hidden; }

/* Nội dung "log" (đoạn văn + ảnh) do admin tự viết */
.dt-para { color: #44506b; font-size: 1rem; line-height: 1.75; margin-bottom: 16px; }
.dt-img { display: block; width: 100%; height: auto; border-radius: 14px; margin: 6px 0 20px; box-shadow: var(--shadow-sm); }

@media (max-width: 600px) {
  .dt-modal__panel { width: 100vw; height: 100%; max-height: 100%; border-radius: 0; }
  .dt-title { font-size: 1.25rem; }
  .dt-modal__body { padding: 20px; }
  .dt-modal__head { padding: 22px 22px 16px; }
  .dt-modal__foot { padding: 14px 20px; }
}

/* ============================================================
   Thư viện ảnh "Về chúng tôi" (gallery) + Lightbox
   ============================================================ */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.gallery__empty {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  padding: 48px 0;
}
.g-tile {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--navy-700);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.g-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.g-tile__img {
  position: absolute;
  inset: 0;
  background-color: var(--navy-700);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform .5s var(--ease);
}
.g-tile:hover .g-tile__img { transform: scale(1.07); }
.g-tile__zoom {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.8);
  z-index: 2;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(212, 167, 44, .95);
  color: var(--navy-900);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.g-tile:hover .g-tile__zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.g-tile__zoom svg { width: 26px; height: 26px; }
.g-tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 34px 16px 14px;
  background: linear-gradient(transparent, rgba(11, 17, 32, .9));
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
}

/* --- Điều khiển trong trình admin: ô thêm ảnh + nút đổi thứ tự --- */
.g-tile--add {
  border: 2px dashed rgba(212, 167, 44, .65);
  background: rgba(212, 167, 44, .07);
  color: var(--gold-600);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  font-weight: 800; font-size: .95rem; text-align: center;
  cursor: pointer;
  transition: background .25s var(--ease);
}
.g-tile--add:hover { background: rgba(212, 167, 44, .16); }
.g-tile--add__ico { font-size: 2rem; line-height: 1; }
.g-tile__admbar {
  position: absolute; top: 8px; left: 8px; right: 8px;
  z-index: 4;
  display: flex; justify-content: space-between;
  pointer-events: none;
}
.g-tile__mv {
  pointer-events: auto;
  width: 36px; height: 36px;
  border: none; border-radius: 9px;
  background: rgba(11, 17, 32, .74);
  color: #fff; font-size: 1.35rem; line-height: 1;
  display: grid; place-items: center;
  cursor: pointer;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  transition: background .2s, color .2s;
}
.g-tile__mv:hover { background: var(--gold); color: var(--navy-900); }

/* --- Lightbox (xem ảnh lớn) --- */
.glb { position: fixed; inset: 0; z-index: 300; display: none; }
.glb.open { display: block; }
.glb__backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 10, 20, .93);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.glb__stage {
  position: absolute; inset: 0;
  margin: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 64px 80px;
  pointer-events: none;
}
.glb__img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  animation: glb-pop .3s var(--ease);
}
@keyframes glb-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.glb__cap {
  margin-top: 16px;
  max-width: 680px;
  color: #e7ecf5;
  font-size: .95rem;
  font-weight: 600;
  text-align: center;
}
.glb__close, .glb__nav {
  position: absolute;
  z-index: 3;
  border: none;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background .2s, color .2s;
}
.glb__close:hover, .glb__nav:hover { background: var(--gold); color: var(--navy-900); }
.glb__close {
  top: 20px; right: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.15rem; line-height: 1;
}
.glb__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.glb__prev { left: 18px; }
.glb__next { right: 18px; }
.glb__nav svg { width: 26px; height: 26px; }

@media (max-width: 600px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .g-tile figcaption { padding: 26px 10px 10px; font-size: .78rem; }
  .glb__stage { padding: 72px 14px 34px; }
  .glb__nav { width: 44px; height: 44px; }
  .glb__prev { left: 8px; }
  .glb__next { right: 8px; }
  .glb__close { top: 14px; right: 14px; }
}

/* ============================================================
   LANDING PAGE SẢN PHẨM (san-pham/*.html) — chuẩn Google Ads
   Trang riêng từng dòng sản phẩm: không menu, không tin tức,
   không link lung tung — chỉ báo giá, ảnh, thông số, form.
   ============================================================ */
.lp-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.lp-benefit {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.lp-benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.lp-benefit__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(212, 167, 44, .12);
  display: grid; place-items: center;
  color: var(--gold-600);
  margin-bottom: 16px;
}
.lp-benefit__icon svg { width: 24px; height: 24px; }
.lp-benefit h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.lp-benefit p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* --- Ảnh minh hoạ (tạm dùng icon dòng sản phẩm, chờ ảnh thật) --- */
.lp-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.lp-gallery[hidden] { display: none; }
.lp-gallery__tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.lp-gallery__tile svg { width: 60px; height: 60px; color: rgba(255, 255, 255, .9); }
.lp-gallery__tile span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 14px 12px;
  background: linear-gradient(transparent, rgba(11, 17, 32, .85));
  color: #fff; font-size: .84rem; font-weight: 600;
}

/* --- Khối chờ nội dung (video / chứng nhận) --- */
.lp-placeholder {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  background: var(--bg-soft);
}
.lp-placeholder__icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  color: var(--gold-600);
  box-shadow: var(--shadow-sm);
}
.lp-placeholder__icon svg { width: 26px; height: 26px; }
.lp-placeholder strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 6px; }
.lp-placeholder p { font-size: .87rem; max-width: 420px; margin-inline: auto; }

/* --- Câu hỏi thường gặp (dùng <details> gốc, không cần JS) --- */
.lp-faq { display: grid; gap: 12px; max-width: 780px; }
.lp-faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 22px;
}
.lp-faq summary {
  padding: 18px 0;
  font-weight: 700;
  font-size: .98rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--gold-600);
  flex: none;
  transition: transform .25s var(--ease);
}
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq p { padding: 0 0 20px; color: var(--muted); font-size: .92rem; line-height: 1.7; }

/* --- Thanh CTA dính đáy trên mobile --- */
.lp-stickybar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(11, 17, 32, .14);
  padding: 10px 14px;
  gap: 10px;
}
.lp-stickybar .btn { flex: 1; justify-content: center; padding: 13px 16px; font-size: .85rem; }
@media (max-width: 720px) {
  .lp-stickybar { display: flex; }
  body.has-lp-stickybar { padding-bottom: 74px; }
}

/* --- Bố cục gọn cho landing page (đỡ cuộn dài, đỡ khoảng trống) --- */
body.lp-page .section { padding: 52px 0; }
body.lp-page .section-head { margin-bottom: 28px; }
body.lp-page .page-hero { padding: 60px 0 46px; }
.lp-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.lp-section-sub { margin-top: 40px; }

/* --- Video + Chứng nhận cạnh nhau để đỡ tốn thêm 1 section --- */
.lp-media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.lp-media-grid .lp-placeholder { padding: 34px 22px; }
/* Khối video đang tạm ẩn khỏi trang thật → khối chứng nhận giãn hết chiều rộng */
.lp-media-grid--novideo { display: block; }
@media (max-width: 760px) {
  .lp-media-grid { grid-template-columns: 1fr; }
}

/* --- Video YouTube nhúng nhẹ: chỉ tải ảnh đại diện, nhúng khi bấm Play --- */
.lp-video { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.lp-video__facade {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  background-color: var(--navy-700);
  background-size: cover;
  background-position: center;
}
.lp-video__facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 17, 32, .18);
  transition: background .25s var(--ease);
}
.lp-video__facade:hover::after { background: rgba(11, 17, 32, .32); }
.lp-video__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(212, 167, 44, .95);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(11, 17, 32, .4);
  transition: transform .25s var(--ease);
}
.lp-video__facade:hover .lp-video__play { transform: translate(-50%, -50%) scale(1.08); }
.lp-video__play svg { width: 28px; height: 28px; margin-left: 3px; }
.lp-video__frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: none; }
