/* ============================================================
   LAS-XD 1628 — Đông Dương | Website Onepage  v2.0
   Thiết kế: Công ty TNHH Phần Mềm Duy Việt
   ============================================================ */

/* ── 1. TOKENS ─────────────────────────────────────────────── */
:root {
  --gold: #fdb813;
  --gold-dark: #e0a200;
  --gold-light: #ffd45e;
  --red: #990000;
  --red-dark: #7a0000;
  --red-light: #c0392b;
  --dark: #111827;
  --dark2: #1f2937;
  --abyss: #0b132b;
  --abyss2: #0d1a2e;
  --text: #222222;
  --text-lg: #6b7280;
  --white: #ffffff;
  --bg: #f9fafb;
  --bg2: #f3f4f6;
  --border: #e5e7eb;
  --border2: #d1d5db;

  --fh: "Montserrat", sans-serif;
  --fb: "Roboto", sans-serif;

  --r: 12px;
  --r-sm: 8px;
  --r-lg: 20px;
  /* Gradient đỏ (đỏ đậm → đỏ brand → đỏ sáng → cam đậm) — dùng chung tiêu đề hero & nút CTA đỏ */
  --grad-red: linear-gradient(
    90deg,
    #5c0000 0%,
    #660000 12%,
    var(--red-dark) 28%,
    var(--red) 50%,
    var(--red-light) 72%,
    #c2410c 88%,
    #d48806 100%
  );
  /* Bo góc chuẩn cho mọi nút / link dạng nút (pill) */
  --btn-radius: 999px;
  --sh: 0 4px 24px rgba(0, 0, 0, 0.08);
  --sh2: 0 12px 40px rgba(0, 0, 0, 0.13);
  --sh3: 0 20px 60px rgba(0, 0, 0, 0.18);
  /* Hover thẻ năng lực: bóng gọn, ít lan */
  --sh-nl-hover:
    0 6px 20px rgba(11, 19, 43, 0.09), 0 2px 8px rgba(0, 0, 0, 0.05);
  --tx: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 2. RESET ───────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
body {
  font-family: var(--fb);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.7;
  position: relative;
  width: 100%;
  max-width: 100%;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: var(--tx);
}
ul,
li {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
input,
textarea,
select {
  font-family: var(--fb);
  outline: none;
  border: none;
  font-size: 15px;
}

/* ── 3. LAYOUT ─────────────────────────────────────────────── */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
  box-sizing: border-box;
}
.section-pad {
  padding: 88px 0;
}
.bg-gray {
  background: var(--bg);
}
.bg-dark {
  background: var(--abyss);
}
.text-c {
  text-align: center;
}

/* ── 4. TYPOGRAPHY ─────────────────────────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 12px/1 var(--fh);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.label::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}
.label.light {
  color: var(--gold-light);
}
.label.light::before {
  background: var(--gold-light);
}

.heading {
  font: 800 clamp(26px, 3.2vw, 42px)/1.15 var(--fh);
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.heading span {
  color: var(--red);
}
.heading.light {
  color: var(--white);
}
.heading .gold {
  color: var(--gold);
}

.body-text {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 14px;
}

/* ── 5. BUTTONS ────────────────────────────────────────────── */
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white) !important;
  font: 700 13px/1 var(--fh);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--btn-radius);
  transition: var(--tx);
  box-shadow: 0 4px 18px rgba(153, 0, 0, 0.3);
  border: none;
  background-color: var(--red-dark);
  background-image: var(--grad-red);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}
.btn-red:hover {
  background: var(--gold);
  color: var(--dark) !important;
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(224, 162, 0, 0.4);
  transform: translateY(-2px);
  filter: none;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--gold);
  color: var(--dark) !important;
  font: 700 13px/1 var(--fh);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--btn-radius);
  transition: var(--tx);
  box-shadow: 0 4px 18px rgba(224, 162, 0, 0.35);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: transparent;
  color: var(--dark) !important;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 2px solid var(--red);
  color: var(--red) !important;
  font: 700 13px/1 var(--fh);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--btn-radius);
  transition: var(--tx);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* ── 6. PRELOADER ───────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--abyss);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.pre-inner {
  text-align: center;
}
.spinner {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(253, 184, 19, 0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: 0 auto 16px;
}
.pre-inner p {
  font: 800 20px/1 var(--fh);
  color: var(--gold);
  letter-spacing: 4px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── 8. HEADER ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  transition: var(--tx);
}
.site-header.scrolled {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.97);
}

.header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px 20px;
}

/* Logo + tên (mẫu: dòng 1 xanh đậm, dòng 2 vàng) — header: không nền / không bóng */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(100%, 400px);
}
.site-header .logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  min-width: 0;
  text-align: left;
  min-height: 64px; /* khớp .site-header .logo-img — căn giữa chữ theo chiều dọc */
  box-sizing: border-box;
}
.brand-line1 {
  display: block;
  font: 800 clamp(9px, 1vw, 13px)/1.22 var(--fh);
  color: var(--red);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand-line2 {
  display: block;
  margin-top: 4px;
  font: 800 clamp(8px, 0.9vw, 11px)/1.3 var(--fh);
  color: var(--gold-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav — một hàng; thiếu chỗ thì cuộn ngang trong vùng giữa */
.main-nav {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 24, 39, 0.25) transparent;
}
.main-nav::-webkit-scrollbar {
  height: 5px;
}
.main-nav::-webkit-scrollbar-track {
  background: transparent;
}
.main-nav::-webkit-scrollbar-thumb {
  background: rgba(17, 24, 39, 0.2);
  border-radius: 99px;
}
.main-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(17, 24, 39, 0.35);
}
.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
  padding: 0;
  min-width: min-content;
}
.main-nav li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font: 600 11px/1.2 var(--fh);
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--dark2);
  padding: 7px 10px;
  border-radius: var(--r-sm);
  transition: var(--tx);
  position: relative;
  box-sizing: border-box;
  white-space: nowrap;
  font-weight: bold;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
}
.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.btn-hdr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--red) !important;
  font: 800 12px/1 var(--fh);
  letter-spacing: 0.15px;
  padding: 16px 18px;
  border-radius: var(--btn-radius);
  transition: var(--tx);
  white-space: nowrap;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 2px 12px rgba(224, 162, 0, 0.28);
}
.btn-hdr:hover {
  background: var(--red);
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(153, 0, 0, 0.28);
}
.btn-hdr-pulse {
  animation: hdrPulse 3s ease-out infinite;
}
@keyframes hdrPulse {
  0%,
  100% {
    box-shadow:
      0 2px 12px rgba(224, 162, 0, 0.28),
      0 0 0 0 rgba(253, 184, 19, 0.28);
  }
  50% {
    box-shadow:
      0 3px 14px rgba(224, 162, 0, 0.34),
      0 0 0 8px rgba(253, 184, 19, 0);
  }
}

/* Footer: logo + chữ tối ưu nền tối — căn giữa chữ theo chiều dọc với logo */
.logo-wrap--footer {
  max-width: none;
  align-items: center;
}
.logo-img--footer {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #fff;
}
.footer-brand .logo-wrap--footer .brand-line1 {
  color: var(--gold);
  font-size: clamp(11px, 1.4vw, 14px);
  letter-spacing: 0.04em;
}
.footer-brand .logo-wrap--footer .brand-line2 {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(10px, 1.2vw, 12px);
  margin-top: 6px;
}
.footer-brand .logo-wrap--footer .logo-text {
  min-height: 56px; /* khớp .logo-img--footer */
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--tx);
}

/* ── 9. MOBILE DRAWER ───────────────────────────────────────── */
.mob-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 290px;
  height: 100vh;
  background: var(--abyss);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 72px 28px 40px;
  overflow-y: auto;
}
.mob-drawer.open {
  transform: translateX(0);
}

.mob-close {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 22px;
  transition: var(--tx);
  background: none;
  border: none;
  cursor: pointer;
}
.mob-close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

.mob-drawer nav ul {
  display: flex;
  flex-direction: column;
}
.mob-drawer nav a {
  display: block;
  font: 600 14px/1 var(--fh);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--tx);
}
.mob-drawer nav a:hover {
  color: var(--gold);
  padding-left: 8px;
}
.mob-drawer nav a.active {
  color: var(--gold);
  font-weight: 800;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
  margin-left: -3px;
}

.mob-contact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mob-contact p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}
.mob-contact i {
  color: var(--gold);
  margin-right: 8px;
}
.mob-contact a {
  color: var(--gold);
}

.mob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.mob-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ── 10. HERO — layout sáng, 2 cột + mosaic; nền ảnh công trường + mask trắng trái → phải */
.hero {
  --hero-bg-img: url("img/photo-1504307651254-35680f356dfd.avif");
  position: relative;
  overflow: hidden;
  padding: 56px 0 0;
  background-color: #fff;

  background-image:
    /* Gradient ngang 40/60 */
    linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 40%,
      rgba(255, 255, 255, 0.97) 44%,
      rgba(255, 255, 255, 0.78) 50%,
      rgba(255, 255, 255, 0.4) 56%,
      rgba(255, 255, 255, 0.1) 62%,
      rgba(255, 255, 255, 0) 68%
    ),
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0) 60%,
      rgba(255, 255, 255, 0.1) 80%,
      rgba(255, 255, 255, 1) 100%
    ),
    var(--hero-bg-img);

  background-size:
    100% 100%,
    100% 100%,
    cover;
  background-position:
    center,
    center,
    center right;
  background-repeat: no-repeat, no-repeat, no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* Chấm lưới rất nhẹ, chỉ còn ở nửa trái (không “đụng” ảnh nền bên phải) */
  background-image: radial-gradient(
    circle,
    rgba(153, 0, 0, 0.035) 1px,
    transparent 1px
  );
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 40%,
    transparent 58%
  );
  mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 58%);
}
.hero::after {
  display: none;
}

.hero-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-left {
  min-width: 0;
  position: relative;
  z-index: 2;
}
.hero-right {
  min-width: 0;
}

/* Trái: kicker + headline gradient + mô tả + CTA */
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 700 12px/1 var(--fh);
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.hero-kicker-line {
  width: 38px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-title {
  font: 900 clamp(28px, 4.2vw, 46px)/1.1 var(--fh);
  text-transform: uppercase;
  margin-bottom: 22px;
  letter-spacing: -0.6px;
}
.hero-title-line {
  display: block;
  color: var(--dark);
}
.hero-title-grad {
  display: block;
  margin: 8px 0 10px;
  font-weight: 900;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-desc {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.82;
  max-width: 38rem;
  margin-bottom: 28px;
}
.hero-desc strong {
  color: var(--red);
  font-weight: 700;
}

.hero-btns {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.hero-btns > a {
  align-items: center;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--btn-radius);
  min-height: 48px;
  box-sizing: border-box;
  font: 800 12px/1 var(--fh);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--white) !important;
  border: none;
  background-color: var(--red-dark);
  background-image: var(--grad-red);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 10px 28px rgba(153, 0, 0, 0.22);
  transition: var(--tx);
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(153, 0, 0, 0.28);
  filter: brightness(1.05);
}

/* Nút phụ hero: viền đỏ, nền trắng — đồng bộ pill với nút chính */
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--btn-radius);
  min-height: 48px;
  box-sizing: border-box;
  font: 800 12px/1 var(--fh);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--red) !important;
  background: var(--white);
  border: 2px solid var(--red);
  box-shadow: 0 4px 16px rgba(153, 0, 0, 0.08);
  transition: var(--tx);
}
.btn-hero-secondary:hover {
  background: var(--red);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(153, 0, 0, 0.22);
}
.btn-hero-arrow {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  line-height: 1;
}
.btn-hero-arrow i {
  display: block;
  animation: heroArrowNudge 1.35s ease-in-out infinite;
}
.btn-hero-secondary:hover .btn-hero-arrow i {
  animation-duration: 0.75s;
}
@keyframes heroArrowNudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-hero-arrow i {
    animation: none;
  }
}

.hero-contacts {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 100%;
  margin-bottom: 24px;
}
.hero-contacts .hc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--red);
}
.hero-contacts .hc-item--mail {
  border-left-color: var(--gold-dark);
}
.hero-contacts .hc-ico {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--red);
  background: linear-gradient(
    145deg,
    rgba(253, 184, 19, 0.22),
    rgba(253, 184, 19, 0.08)
  );
  border: 1px solid rgba(153, 0, 0, 0.12);
}
.hero-contacts .hc-item--mail .hc-ico {
  color: var(--red-dark);
  background: linear-gradient(
    145deg,
    rgba(153, 0, 0, 0.1),
    rgba(153, 0, 0, 0.04)
  );
}
.hero-contacts .hc-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hero-contacts .hc-label {
  font: 700 10px/1 var(--fh);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-lg);
}
.hero-contacts .hc-body a {
  font: 800 17px/1.25 var(--fh);
  color: var(--dark);
  letter-spacing: 0.02em;
}
.hero-contacts .hc-item--mail .hc-body a {
  font-size: 15px;
  font-weight: 700;
  word-break: break-word;
}
.hero-contacts .hc-body a:hover {
  color: var(--red);
}
@media (min-width: 640px) {
  .hero-contacts {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 14px 18px;
  }
  .hero-contacts .hc-item {
    flex: 1 1 0;
    min-width: min(100%, 240px);
  }
  .hero-contacts .hc-item--mail {
    min-width: min(100%, 300px);
    flex: 1.35 1 280px;
  }
}
/* --- BIẾN CƠ BẢN (Dùng chung nếu chưa có) --- */
:root {
  --tx-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --tx-bounce: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================
   1. KHUNG LƯỚI MOSAIC CHÍNH
========================================= */
.hero-mosaic {
  position: relative;
  display: grid;
  /* Dùng tỷ lệ 1.2 : 1 để tạo độ lệch bất đối xứng cực kỳ nghệ thuật */
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(
    12px,
    2vw,
    20px
  ); /* Tự động co giãn khoảng cách ngót theo màn hình */
  align-items: center;
  padding: clamp(10px, 2vw, 20px);
  z-index: 1;
}

/* =========================================
   2. CÁC Ô ẢNH BENTO
========================================= */
.mosaic-cell {
  position: relative;
  margin: 0;
  border-radius: clamp(
    16px,
    3vw,
    24px
  ); /* Bo góc mềm mại, nhỏ lại trên điện thoại */
  overflow: hidden;
  background: var(--bg, #f8f9fa);
  z-index: 1;
  transition: var(--tx-smooth);

  /* Đổ bóng tầng & Viền sáng (Premium UI Effect) */
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Overlay gradient đen mờ cho ảnh sâu hơn */
.mosaic-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 40%);
  opacity: 0;
  transition: var(--tx-smooth);
  pointer-events: none;
  z-index: 2;
}

/* Hover: Phóng to + Sáng lên */
.mosaic-cell:hover {
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
  transform: translateY(-6px);
  z-index: 3;
}

.mosaic-cell:hover::after {
  opacity: 1;
}

/* Hiệu ứng Zoom ảnh */
.mosaic-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.mosaic-cell:hover img {
  transform: scale(1.08);
}

/* =========================================
   3. TỶ LỆ TỪNG Ô (STAGGERED LAYOUT)
========================================= */
.mosaic-a {
  aspect-ratio: 4/3;
  transform: translateY(8%); /* Kéo lệch mượt mà */
}
.mosaic-b {
  aspect-ratio: 3/4;
  transform: translateY(-4%);
}
.mosaic-c {
  aspect-ratio: 1/1;
  transform: translateY(8%);
}
.mosaic-d {
  aspect-ratio: 16/11;
  align-self: flex-start; /* Ô này neo ở trên để cân đối với ô c */
  transform: translateY(-4%);
}

/* Lưu ý: Không hover thì giữ nguyên transform gốc để tránh giật hình */
.mosaic-a:hover {
  transform: translateY(calc(8% - 6px));
}
.mosaic-b:hover {
  transform: translateY(calc(-4% - 6px));
}
.mosaic-c:hover {
  transform: translateY(calc(8% - 6px));
}
.mosaic-d:hover {
  transform: translateY(calc(-4% - 6px));
}

/* =========================================
   4. NHÃN CHỨNG NHẬN (GCN & CHIP)
========================================= */
/* Nhãn GCN đỏ */
.mosaic-gcn {
  position: absolute;
  top: -5px;
  right: 5px;
  z-index: 5;
  background: linear-gradient(135deg, var(--red) 0%, #a80000 100%);
  color: var(--white);
  font: 700 11px/1 var(--fh);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

/* Thẻ Glassmorphism nổi */
.mosaic-chip {
  position: absolute;
  left: -5%;
  bottom: 8%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  padding: 8px 20px 8px 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  animation: mosaicChipFloat 4s ease-in-out infinite;
  transition: var(--tx-smooth);
}

.mosaic-chip:hover {
  animation-play-state: paused;
  transform: scale(1.03);
  background: rgba(255, 255, 255, 0.98);
}

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

.mosaic-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold, #ffb703), #ff9e00);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(255, 183, 3, 0.4);
  flex-shrink: 0;
}

.mosaic-chip-icon i {
  font-size: 18px;
  color: var(--white);
}

.mosaic-chip-text strong {
  display: block;
  font: 800 13px/1.2 var(--fh);
  color: var(--dark);
}

.mosaic-chip-text span {
  display: block;
  font-size: 11px;
  color: #666;
  margin-top: 2px;
  font-weight: 500;
}

/* =========================================
   5. RESPONSIVE HOÀN HẢO (TABLET & MOBILE)
========================================= */
@media (max-width: 992px) {
  /* Khóa grid về tỷ lệ 1:1 an toàn trên Tablet */
  .hero-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Hủy bỏ độ lệch (transform) để tránh bị cắt ảnh ngoài khung màn hình */
  .mosaic-a,
  .mosaic-b,
  .mosaic-c,
  .mosaic-d {
    transform: none !important;
  }

  /* Cân bằng lại tỷ lệ cắt ảnh cho điện thoại */
  .mosaic-a {
    aspect-ratio: 4/3;
  }
  .mosaic-b {
    aspect-ratio: 4/5;
  }
  .mosaic-c {
    aspect-ratio: 1/1;
  }
  .mosaic-d {
    aspect-ratio: 4/3;
  }

  /* Đưa thẻ Glassmorphism vào trong cho khỏi tràn mép ngang */
  .mosaic-chip {
    left: 10px;
    bottom: 15px;
    max-width: calc(100% - 20px);
    padding: 6px 16px 6px 6px;
    gap: 10px;
  }

  .mosaic-chip-icon {
    width: 36px;
    height: 36px;
  }
  .mosaic-chip-icon i {
    font-size: 15px;
  }

  .mosaic-chip-text strong {
    font-size: 12px;
  }
  .mosaic-chip-text span {
    font-size: 10px;
  }

  /* Điều chỉnh nhãn GCN đỏ */
  .mosaic-gcn {
    top: 5px;
    right: 5px;
    font-size: 9px;
    padding: 6px 12px;
  }
}
/* ── 10b. LÝ DO CHỌN ĐÔNG DƯƠNG — thẻ trắng 3 cột, icon đỏ không nền */
.why-dd {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  padding: 8px 0 72px;
}
.why-dd .wrap {
  position: relative;
}
.why-dd-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(16px, 2.5vw, 28px);
  row-gap: 0;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh2);
  padding: clamp(22px, 3vw, 34px) clamp(18px, 2.5vw, 32px);
}
.why-dd-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
/* Cột ngăn bằng column-gap — không margin-left để tránh lệch lưới */
.why-dd-ico {
  flex-shrink: 0;
  width: auto;
  min-width: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  color: var(--red);
  font-size: clamp(26px, 3.2vw, 30px);
  line-height: 1;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.why-dd-body {
  min-width: 0;
}
.why-dd-item-title {
  font: 800 13.5px/1.3 var(--fh);
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.why-dd-item-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-lg);
  margin: 0;
}
.why-dd-item-desc strong {
  color: var(--dark2);
  font-weight: 700;
}

/* Stats bar */
.hero-stats {
  background: var(--red);
  border-top: 3px solid var(--gold);
  position: relative;
  z-index: 1;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}
.stat-item:last-child {
  border-right: none;
}
.stat-num {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 6px;
}
.stat-num strong {
  font: 900 40px/1 var(--fh);
  color: var(--gold);
}
.stat-num span {
  font: 900 22px/1 var(--fh);
  color: var(--gold);
}
.stat-item p {
  font: 600 11px/1.4 var(--fh);
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── 7. TICKER — đầu trang, gradient đỏ brand (thay nền xám đậm) */
.ticker {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
    linear-gradient(
      115deg,
      #4a0000 0%,
      var(--red-dark) 32%,
      var(--red) 55%,
      #8f1414 88%,
      var(--red-dark) 100%
    );
  border-bottom: 2px solid var(--gold);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.ticker--top .ticker-inner {
  display: flex;
  align-items: stretch;
  min-height: 48px;
}
.ticker-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  color: var(--gold);
}
.ticker--top .ticker-badge {
  width: 44px;
  min-width: 44px;
  padding: 0 6px 0 0;
  align-self: stretch;
}
.ticker--top .ticker-badge i {
  font-size: 18px;
  line-height: 1;
  color: var(--gold);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}
.ticker-track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
}
.ticker-content {
  display: flex;
  align-items: center;
  min-height: 48px;
  white-space: nowrap;
  animation: tick 36s linear infinite;
}
.ticker-content:hover {
  animation-play-state: paused;
}
.ticker-content span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  padding: 0 64px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
@keyframes tick {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── 12. ABOUT ──────────────────────────────────────────────── */
.about-section {
  position: relative;
  padding: 88px 0;
  background-color: var(--white);
  overflow: hidden;
  
}


.about-bg {
  position: absolute !important;
  top: 0% !important;
  left: 0% !important;
  right: 0% !important;
  bottom: 0% !important;

  z-index: 0 !important;
  will-change: unset !important;

  animation: panBackground 3s linear infinite alternate !important;
}


.about-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/showcase-bg.png")
    center/cover no-repeat;
}

/* Nội dung nổi lên trên nền */
.about-section > *:not(.about-bg) {
  position: relative;
  z-index: 1;
}

/* =========================================
   KEYFRAMES
========================================= */
@keyframes panBackground {
  0% {
    transform: scale(1.1) translate(0, 0);
  }
  100% {
    transform: scale(1.1) translate(-3%, -2%);
  }
}

.about-row {
  align-items: center;
}

.checklist {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--dark2);
}
.checklist li i {
  color: var(--gold-dark);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* About: collage trái (mẫu staggered) + text phải */
.about-col-visual,
.about-col-text {
  min-width: 0;
}

.about-media {
  position: relative;
  padding: 0;
  max-width: 540px;
}
/* --- BIẾN CƠ BẢN (Dùng chung nếu bạn đã có) --- */
:root {
  --tx-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
/* =========================================
   COLLAGE — BỐ CỤC XỊN
========================================= */
.about-collage {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  grid-template-rows: clamp(160px, 22vw, 240px) clamp(120px, 16vw, 180px);
  gap: clamp(8px, 1.2vw, 14px);
}

/* =========================================
   TILE BASE
========================================= */
.about-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #e0e4e8;
}

.about-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-tile:hover img {
  transform: scale(1.07);
}

/* Gradient overlay khi hover */
.about-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    transparent 40%,
    rgba(0, 0, 0, 0.28) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.about-tile:hover::before {
  opacity: 1;
}

/* Viền trắng mỏng — tạo cảm giác depth */
.about-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.18);
  z-index: 2;
  pointer-events: none;
}

/* =========================================
   VỊ TRÍ TỪNG TILE
========================================= */

/* Ảnh lớn trái — full height 2 hàng */
.about-tile--main {
  grid-column: 1;
  grid-row: 1 / 3;
  border-radius: 22px;
}

/* Ảnh trên phải */
.about-tile--a {
  grid-column: 2;
  grid-row: 1;
}

/* Ảnh trên phải cùng hàng */
.about-tile--b {
  grid-column: 3;
  grid-row: 1;
}

.about-tile--c {
  grid-column: 2 / 4;
  grid-row: 2;
  border-radius: 16px;
}

.about-tile--main .tile-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: rgba(180, 20, 20, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-radius: 30px;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .about-collage {
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: clamp(150px, 28vw, 220px) clamp(110px, 20vw, 160px);
  }

  .about-tile--main {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .about-tile--a {
    grid-column: 2;
    grid-row: 1;
  }

  .about-tile--b {
    grid-column: 2;
    grid-row: 2;
  }

  .about-tile--c {
    display: none;
  }
}

@media (max-width: 575px) {
  .about-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 140px;
    gap: 8px;
  }

  .about-tile {
    grid-column: auto;
    grid-row: auto;
    border-radius: 14px;
  }

  .about-tile--main {
    grid-column: 1 / 3 !important;
    grid-row: 1 !important;
    border-radius: 16px;
  }

  .about-tile--a {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .about-tile--b {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  .about-tile--c {
    display: none !important;
  }
}
.legal-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-top: 28px;
  box-shadow: var(--sh2);
  border: 1px solid var(--border);

  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  align-items: start;
}

/* Trái hàng 1 */
.iso-row {
  grid-column: 1;
  grid-row: 1;
  background: linear-gradient(135deg, var(--abyss), var(--dark2));
  border-radius: var(--r);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.iso-row i {
  font-size: 32px;
  color: var(--gold);
  flex-shrink: 0;
}
.iso-row strong {
  display: block;
  font: 700 14px/1 var(--fh);
  color: var(--white);
}
.iso-row span {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* Trái hàng 2 */
.gcn-text {
  grid-column: 1;
  grid-row: 2;
  font-size: 12.5px;
  color: var(--text-lg);
  margin: 0;
  padding: 2px 2px 0;
  align-self: start;
}

/* Phải full height — span 2 hàng */
.pdf-btn {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white) !important;
  padding: 15px 16px;
  border-radius: var(--r);
  transition: var(--tx);
  cursor: pointer;
  text-decoration: none;
}
.pdf-btn:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark) !important;
  transform: translateY(-2px);
}
.pdf-btn i:first-child {
  font-size: 30px;
  flex-shrink: 0;
}
.pdf-btn strong {
  display: block;
  font: 700 13px/1.3 var(--fh);
}
.pdf-btn small {
  display: block;
  font-size: 11px;
  opacity: 0.75;
  margin-top: 4px;
}
.pdf-btn .dl-icon {
  font-size: 16px;
  opacity: 0.8;
}
@media (max-width: 575px) {
  .legal-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .iso-row {
    height: auto;
  }

  .pdf-btn {
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
    gap: 14px;
  }

  .pdf-btn .dl-icon {
    margin-left: auto;
  }
}
/* ── 13. SERVICES ───────────────────────────────────────────── */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.srv-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh);
  border: 1px solid var(--border);
  transition: var(--tx);
  display: flex;
  flex-direction: column;
}
.srv-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh3);
}

.srv-img {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.srv-img img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.srv-card:hover .srv-img img {
  transform: scale(1.07);
}
.srv-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(153, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.2) 60%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px;
  opacity: 0;
  transition: var(--tx);
}
.srv-card:hover .srv-img-overlay {
  opacity: 1;
}
.srv-img-overlay i {
  font-size: 28px;
  color: var(--gold);
}
.srv-tag {
  font: 700 11px/1 var(--fh);
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--dark);
  padding: 4px 10px;
  border-radius: 4px;
}

.srv-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.srv-body h4 {
  font: 700 16px/1.3 var(--fh);
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.srv-body p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.75;
  flex: 1;
}
.srv-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.srv-more {
  font: 700 12px/1 var(--fh);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--tx);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.srv-more:hover {
  gap: 10px;
  color: var(--gold-dark);
}
.srv-more:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.srv-icon-sm {
  width: 36px;
  height: 36px;
  background: var(--bg2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--red);
}

/* ── 14. CATALOG ────────────────────────────────────────────── */
.catalog-layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Căn giữa: nhãn, tiêu đề, mô tả */
.catalog-head {
  text-align: center;
  margin-bottom: 0;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.catalog-head .label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.catalog-head .label::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.catalog-head .heading {
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
}
.catalog-intro {
  max-width: 720px;
  margin: 0 auto 0;
  text-align: center;
}

.catalog-toolbar {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 920px;
  width: 100%;
  margin: 22px auto 28px;
  min-width: 0;
  box-sizing: border-box;
}
.catalog-toolbar .catalog-search {
  flex: 1 1 280px;
  min-width: 0;
  max-width: min(560px, 100%);
  margin-top: 0;
}
.catalog-pdf-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
  padding: 13px 22px;
  align-self: stretch;
}

.catalog-search {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--btn-radius);
  overflow: hidden;
  transition: var(--tx);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.catalog-search:focus-within {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(224, 162, 0, 0.28);
}
.catalog-search input {
  flex: 1;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--dark);
  background: transparent;
  min-width: 0;
}
.catalog-search input::placeholder {
  color: var(--text-lg);
}
.catalog-search button {
  padding: 13px 18px;
  background: var(--gold);
  color: var(--dark);
  font-size: 16px;
  transition: var(--tx);
}
.catalog-search button:hover {
  background: var(--red);
  color: var(--white);
}

.acc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.acc-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow var(--tx);
}
.acc-item:hover {
  box-shadow: var(--sh);
}

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  cursor: pointer;
  transition: var(--tx);
  text-align: left;
  border: none;
}
.acc-head:hover {
  background: var(--bg);
}
.acc-head.open {
  background: linear-gradient(135deg, var(--abyss), #1a2a3a);
}

.acc-num {
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--dark);
  font: 800 13px/1 var(--fh);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.acc-head.open .acc-num {
  background: var(--red);
  color: var(--white);
}

.acc-title {
  flex: 1;
  font: 700 14.5px/1 var(--fh);
  text-transform: uppercase;
  color: var(--dark);
  letter-spacing: 0.2px;
}
.acc-head.open .acc-title {
  color: var(--white);
}

.acc-cnt {
  font-size: 12px;
  color: var(--text-lg);
  background: var(--bg2);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.acc-head.open .acc-cnt {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold);
}

.acc-arrow {
  color: var(--text-lg);
  font-size: 13px;
  flex-shrink: 0;
  transition: transform 0.35s;
}
.acc-head.open .acc-arrow {
  transform: rotate(180deg);
  color: var(--gold);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.acc-body.show {
  max-height: 1400px;
}
.acc-body .table-responsive {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Catalog table — tiêu đề cột: nền kem/vàng nhạt theo brand, chữ tối (dễ đọc, không chói) */
.ctbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.ctbl thead tr {
  background: linear-gradient(180deg, #fdf9f3 0%, #efe6d4 100%);
  border-bottom: 2px solid var(--gold-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.ctbl thead th {
  font: 700 11px/1 var(--fh);
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: var(--abyss);
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
}
.ctbl tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--tx);
}
.ctbl tbody tr:last-child {
  border-bottom: none;
}
.ctbl tbody tr:hover {
  background: rgba(253, 184, 19, 0.05);
}
.ctbl td {
  padding: 13px 14px;
  color: var(--text);
  line-height: 1.65;
  vertical-align: middle;
}
.ctbl td:first-child {
  font: 700 13px/1 var(--fh);
  color: var(--dark);
  text-align: center;
  width: 44px;
}
.ctbl td:nth-child(2) {
  color: var(--dark);
  font-weight: 500;
}
.ctbl td:last-child {
  color: var(--dark2);
  font-weight: 600;
  font-size: 13px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
}
.ctbl-person {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.ctbl-person i {
  color: var(--gold-dark);
  font-size: 13px;
  width: 1em;
  text-align: center;
  flex-shrink: 0;
}

.badge-std {
  display: inline-block;
  font: 700 11px/1 var(--fh);
  padding: 3px 8px;
  border-radius: 4px;
  margin: 2px 2px 2px 0;
  background: rgba(11, 19, 43, 0.07);
  color: var(--abyss);
  letter-spacing: 0.3px;
}
.badge-std.astm {
  background: rgba(0, 100, 200, 0.09);
  color: #0064c8;
}
.badge-std.aashto {
  background: rgba(0, 130, 60, 0.09);
  color: #00823c;
}

/* ── 15. EQUIPMENT — nền gradient nhạt, accent vàng brand */
.equip-section {
  background:
    radial-gradient(
      ellipse 95% 70% at 50% -8%,
      rgba(253, 184, 19, 0.16) 0%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 80% 50% at 100% 100%,
      rgba(11, 19, 43, 0.06) 0%,
      transparent 50%
    ),
    linear-gradient(165deg, #faf8f4 0%, #f3f5f7 42%, #e9eef5 100%);
  border-top: 1px solid rgba(253, 184, 19, 0.2);
  border-bottom: 1px solid var(--border);
}
/* Carousel thiết bị — 5 ô nhìn thấy, loop + bước 1 item; sóng lẻ/chẵn; nút căn giữa theo khối viewport */
.equip-carousel-wrap {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 14px);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 0 0;
}
.equip-carousel__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  touch-action: pan-y;
  display: flex;
  align-items: center;
  min-height: min(280px, 38vw);
}
.equip-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: clamp(10px, 1.8vw, 22px);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  padding: 24px 2px 10px;
}
.eq-thumb {
  flex-shrink: 0;
  text-align: center;
  min-width: 0;
  box-sizing: border-box;
}
.eq-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 2px solid rgba(253, 184, 19, 0.2);
  transition:
    transform 0.35s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  display: block;
}
.equip-wave .eq-thumb:nth-child(odd) img {
  transform: translateY(-18px);
}
.equip-wave .eq-thumb:nth-child(even) img {
  transform: translateY(14px);
}
.equip-wave .eq-thumb:nth-child(odd):hover img {
  border-color: var(--gold);
  transform: translateY(-18px) scale(1.06);
  box-shadow: 0 8px 28px rgba(253, 184, 19, 0.22);
}
.equip-wave .eq-thumb:nth-child(even):hover img {
  border-color: var(--gold);
  transform: translateY(14px) scale(1.06);
  box-shadow: 0 8px 28px rgba(253, 184, 19, 0.22);
}
.eq-thumb p {
  font: 600 12px/1.4 var(--fh);
  color: var(--text-lg);
  margin-top: 14px;
}
.eq-nav {
  flex-shrink: 0;
  align-self: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(253, 184, 19, 0.45);
  background: var(--white);
  color: var(--dark2);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: var(--tx);
  box-shadow: 0 4px 16px rgba(11, 19, 43, 0.1);
}
.eq-nav i {
  display: block;
  line-height: 1;
}
.eq-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}
@media (max-width: 600px) {
  .eq-nav {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}
/* Mobile: bỏ hiệu ứng sóng (translateY) để hàng thumb thẳng hàng, tránh lệch dọc */
@media (max-width: 767px) {
  .equip-carousel__track {
    align-items: center;
    padding: 12px 2px;
    min-height: 0;
  }
  .equip-carousel__viewport {
    min-height: 0;
  }
  .equip-wave .eq-thumb:nth-child(odd) img,
  .equip-wave .eq-thumb:nth-child(even) img {
    transform: none;
  }
  .equip-wave .eq-thumb:nth-child(odd):hover img,
  .equip-wave .eq-thumb:nth-child(even):hover img {
    transform: scale(1.04);
  }
}
/* =========================================
   RESPONSIVE CAROUSEL
========================================= */

/* 1. Màn hình Tablet (Từ 768px đến 1024px) */
@media (max-width: 1024px) {
  .equip-wave .eq-thumb:nth-child(odd) img {
    transform: translateY(-10px); /* Giảm độ nảy sóng xuống cho vừa khung */
  }
  .equip-wave .eq-thumb:nth-child(even) img {
    transform: translateY(8px);
  }
  .equip-wave .eq-thumb:nth-child(odd):hover img {
    transform: translateY(-10px) scale(1.05);
  }
  .equip-wave .eq-thumb:nth-child(even):hover img {
    transform: translateY(8px) scale(1.05);
  }
}

/* 2. Màn hình Mobile (Dưới 767px) - Thẳng hàng hoàn toàn */
@media (max-width: 767px) {
  .equip-carousel__track {
    align-items: center;
    padding: 16px 4px; /* Thêm padding dọc để bóng đổ (shadow) không bị cắt */
    min-height: 0;
  }

  .equip-carousel__viewport {
    min-height: 0;
  }

  /* Hủy bỏ hiệu ứng lượn sóng */
  .equip-wave .eq-thumb:nth-child(odd) img,
  .equip-wave .eq-thumb:nth-child(even) img {
    transform: none;
  }

  .equip-wave .eq-thumb:nth-child(odd):hover img,
  .equip-wave .eq-thumb:nth-child(even):hover img {
    transform: scale(1.04);
  }

  /* Tinh chỉnh Text và Nút điều hướng */
  .eq-thumb p {
    font-size: 11px; /* Thu nhỏ chữ nhẹ để không bị rớt dòng */
    margin-top: 10px;
  }

  .eq-nav {
    width: 34px;
    height: 34px;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(11, 19, 43, 0.15); /* Tăng bóng để nổi rõ hơn trên ngón tay */
  }
}

/* 3. Màn hình Điện thoại siêu nhỏ (Dưới 480px) */
@media (max-width: 480px) {
  .equip-carousel-wrap {
    gap: 6px; /* Ép nút sát lại gần khung ảnh hơn */
  }
  .eq-nav {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}
.equip-modal {
  display: none; /* ẩn mặc định */
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.equip-modal img {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  border-radius: var(--r-lg);
}
.equip-modal-caption {
  color: #fff;
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
}
.equip-modal-close,
.equip-modal-prev,
.equip-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border: none;
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  z-index: 10000;
}
.equip-modal-close {
  top: 20px;
  right: 20px;
  transform: none;
}
.equip-modal-prev {
  left: 20px;
}
.equip-modal-next {
  right: 20px;
}

.equip-modal-close img,
.equip-modal-prev img,
.equip-modal-next img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.equip-modal-close:hover,
.equip-modal-prev:hover,
.equip-modal-next:hover {
  background: rgba(255, 255, 255, 0.3);
}
.equip-modal-close,
.equip-modal-prev,
.equip-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  transition: 0.3s;
}
.equip-modal-close {
  top: 20px;
  right: 20px;
  transform: none;
}
.equip-modal-prev {
  left: 20px;
}
.equip-modal-next {
  right: 20px;
}
.equip-modal-prev:hover,
.equip-modal-next:hover,
.equip-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffd700;
}
/* Khung bảng — nổi trên nền nhạt */
#thiet-bi .equip-tbl-outer {
  background: var(--white);
  border: 1px solid rgba(253, 184, 19, 0.28);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 12px 40px rgba(11, 19, 43, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

/* Chỉ hiển thị ~10 dòng, phần còn lại cuộn dọc */
#thiet-bi .equip-tbl-scroll {
  max-height: calc(10 * (13px + 15px + 1.65em));
  overflow-y: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(224, 162, 0, 0.55) rgba(11, 19, 43, 0.08);
  scrollbar-width: thin;
}
#thiet-bi .equip-tbl-scroll::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
#thiet-bi .equip-tbl-scroll::-webkit-scrollbar-track {
  background: var(--bg2);
  border-radius: 6px;
}
#thiet-bi .equip-tbl-scroll::-webkit-scrollbar-thumb {
  background: rgba(253, 184, 19, 0.45);
  border-radius: 6px;
}
#thiet-bi .equip-tbl-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(253, 184, 19, 0.65);
}

.equip-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.equip-tbl thead tr {
  background: var(--gold);
}
.equip-tbl thead th {
  font: 800 11px/1 var(--fh);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--dark);
  padding: 14px 18px;
  text-align: left;
  vertical-align: middle;
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--gold);
  box-shadow: 0 2px 0 rgba(17, 24, 39, 0.1);
}
.equip-tbl tbody {
  background: var(--bg);
}
.equip-tbl tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--tx);
}
.equip-tbl tbody tr:hover {
  background: rgba(253, 184, 19, 0.1);
}
.equip-tbl tbody tr:last-child {
  border-bottom: 1px solid var(--border);
}
.equip-tbl td {
  padding: 13px 18px;
  color: var(--text);
  vertical-align: middle;
}
.equip-tbl td:first-child {
  font: 700 13px/1 var(--fh);
  color: var(--gold-dark);
  width: 52px;
  text-align: center;
}
.equip-tbl td:nth-child(2) {
  color: var(--dark);
  font-weight: 600;
}
.equip-tbl th:nth-child(4),
.equip-tbl td:nth-child(4) {
  width: 88px;
  text-align: center;
  white-space: nowrap;
}

/* ── 16. NĂNG LỰC ───────────────────────────────────────────── */
/* Hồ sơ năng lực: ≥1024px carousel 4 ô, loop + bước 1 item; <1024 lưới tĩnh, ẩn nút */
.nl-carousel {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 12px);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}
.nl-carousel__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 8px 0 20px;
  display: flex;
  align-items: center;
  min-height: min(400px, 52vw);
}
.nl-carousel__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  align-items: stretch;
  width: 100%;
}
.nl-carousel.is-loop .nl-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(14px, 2vw, 24px);
  width: auto;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.nl-carousel .nl-card {
  min-width: 0;
  min-height: 380px;
  /* box-shadow: unset !important; */
}
.nl-carousel.is-loop .nl-card {
  flex-shrink: 0;
}
.nl-car-nav {
  flex-shrink: 0;
  align-self: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--dark2);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: var(--tx);
  box-shadow: var(--sh);
}
.nl-car-nav:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
@media (min-width: 1025px) {
  .nl-carousel:not(.is-loop) .nl-carousel__track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .nl-carousel .nl-car-nav {
    display: none;
  }
}
@media (max-width: 560px) {
  .nl-carousel .nl-card {
    min-height: 0;
  }
  /* Một cột trên điện thoại hẹp — tránh 2 cột quá chật */
  .nl-carousel:not(.is-loop) .nl-carousel__track {
    grid-template-columns: 1fr;
  }
  .nl-carousel__viewport {
    min-height: 0;
    padding-bottom: 12px;
  }
}
@media (max-width: 600px) {
  .nl-car-nav {
    width: 34px;
    height: 34px;
  }
}

.nl-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--tx);
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nl-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}
.nl-card:hover::after,
.nl-card.star::after {
  transform: scaleX(1);
}
.nl-card:not(.star):hover {
  background: var(--white);
  transform: translateY(-6px);
  box-shadow: var(--sh-nl-hover);
}
.nl-card.star:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-nl-hover);
}

.nl-card.star {
  background: linear-gradient(135deg, var(--abyss), #1a2a3a);
  border-color: rgba(253, 184, 19, 0.3);
}
.nl-card.star h4 {
  color: var(--white);
}
.nl-card.star p {
  color: rgba(255, 255, 255, 0.65);
}

.nl-ico {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--dark);
  box-shadow: 0 8px 24px rgba(224, 162, 0, 0.4);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.nl-card h4 {
  font: 700 15px/1.3 var(--fh);
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}
.nl-card p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.nl-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 11px/1 var(--fh);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--red) !important;
  transition: var(--tx);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.nl-link:hover {
  gap: 10px;
}
.nl-card.star .nl-link {
  color: var(--gold) !important;
}
/* Nút vàng trên nền tối: chữ phải tối, không dùng màu vàng của .nl-link */
.nl-card.star .btn-gold,
.nl-card.star a.btn-gold {
  color: var(--dark) !important;
}
.nl-card.star .btn-gold:hover {
  color: var(--dark) !important;
}

.nl-card.star .btn-gold.js-nl-detail:hover {
  color: var(--white) !important;
}

/* ── 17. NEWS ───────────────────────────────────────────────── */
.tin-tuc-lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.news-list {
  display: flex;
  flex-direction: column;
}
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 14px;
  transition: var(--tx);
  box-shadow: var(--sh);
}
.news-item:hover {
  transform: translateX(6px);
  border-color: var(--gold);
  box-shadow: var(--sh2);
}

.news-date {
  background: linear-gradient(135deg, var(--abyss), var(--dark2));
  border-radius: var(--r);
  padding: 14px 16px;
  min-width: 70px;
  text-align: center;
  flex-shrink: 0;
}
.news-date .d {
  display: block;
  font: 900 32px/1 var(--fh);
  color: var(--gold);
}
.news-date .m {
  display: block;
  font: 600 11px/1 var(--fh);
  color: rgba(255, 255, 255, 0.6);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-body {
  flex: 1;
  min-width: 0;
}
.news-tag {
  display: inline-block;
  font: 700 11px/1 var(--fh);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  background: rgba(153, 0, 0, 0.07);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.news-body h5 {
  font: 700 15px/1.45 var(--fh);
  color: var(--dark);
  margin-bottom: 8px;
}
.news-body h5 a:hover {
  color: var(--red);
}
.news-body p {
  font-size: 13.5px;
  color: var(--text-lg);
  line-height: 1.65;
}

.news-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--dark2);
  flex-shrink: 0;
  align-self: center;
  transition: var(--tx);
}
.news-item:hover .news-arrow {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.news-item.js-news-open {
  cursor: pointer;
}
.news-item.js-news-open:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
button.news-arrow {
  font-family: inherit;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
  align-self: center;
}

/* Modal thông báo */
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.28s ease,
    visibility 0.28s;
  pointer-events: none;
}
.news-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.news-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 43, 0.55);
  backdrop-filter: blur(4px);
}
.news-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: min(88vh, 720px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  padding: 28px 28px 32px;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-modal.is-open .news-modal__panel {
  transform: translateY(0) scale(1);
}
.news-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--dark2);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--tx);
}
.news-modal__close:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.news-modal__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.news-modal__tag {
  display: inline-block;
  font: 700 11px/1 var(--fh);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  background: rgba(153, 0, 0, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
}
.news-modal__date {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--abyss), var(--dark2));
  border-radius: var(--r);
  padding: 8px 14px;
}
.news-modal__date .d {
  font: 800 22px/1 var(--fh);
  color: var(--gold);
}
.news-modal__date .m {
  font: 600 11px/1 var(--fh);
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.news-modal__title {
  font: 800 clamp(18px, 2.4vw, 22px)/1.25 var(--fh);
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
  padding-right: 40px;
}
.news-modal__body {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text);
}
.news-modal__body p {
  margin-bottom: 14px;
}
.news-modal__body p:last-child {
  margin-bottom: 0;
}
.news-modal__body a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.news-modal__body a:hover {
  color: var(--gold-dark);
}

/* ── 18. PROJECTS ───────────────────────────────────────────── */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.proj-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh);
  cursor: pointer;
}
.proj-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.proj-card:hover img {
  transform: scale(1.08);
}
.proj-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 19, 43, 0.9) 0%,
    rgba(0, 0, 0, 0.15) 60%,
    transparent 100%
  );
  z-index: 1;
  transition: opacity var(--tx);
}
.proj-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 18px 16px;
  z-index: 2;
  transform: translateY(0);
  opacity: 1;
  transition: var(--tx);
  background: linear-gradient(
    to top,
    rgba(11, 19, 43, 0.92) 0%,
    rgba(11, 19, 43, 0.55) 55%,
    transparent 100%
  );
}
.proj-card:hover .proj-info {
  background: linear-gradient(
    to top,
    rgba(11, 19, 43, 0.96) 0%,
    rgba(11, 19, 43, 0.7) 50%,
    transparent 100%
  );
}
.proj-info h5 {
  font: 700 13px/1.4 var(--fh);
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.proj-info span {
  font-size: 12px;
  color: var(--gold);
}
.proj-card.js-proj-open:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.proj-num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--gold);
  color: var(--dark);
  font: 800 12px/1 var(--fh);
  padding: 5px 10px;
  border-radius: 5px;
}

/* ── 19. CONTACT ────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
}
.contact-form-col {
  min-width: 0;
}
.cc-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  height: 100%;
}
.cc-card {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  box-shadow: var(--sh);
  transition: var(--tx);
}
.cc-body {
  flex: 1;
  min-width: 0;
}
.cc-body p + p {
  margin-top: 6px;
}
.cc-card:hover {
  border-color: var(--gold);
  transform: translateX(5px);
}
.cc-card.hl {
  border-left: 4px solid var(--red);
}

.cc-ico {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--dark);
  flex-shrink: 0;
}
.cc-body h5 {
  font: 700 13px/1 var(--fh);
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 6px;
}
.cc-body p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}
.cc-body a:hover {
  color: var(--red);
}

/* Form */
.cnt-form {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 32px 28px;
  box-shadow: var(--sh2);
  border: 1px solid var(--border);
}
.cnt-form h4 {
  font: 700 20px/1 var(--fh);
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}
.form-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cnt-form input,
.cnt-form textarea,
.cnt-form select {
  width: 100%;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  font-size: 14px;
  color: var(--dark);
  transition: var(--tx);
  display: block;
  margin-bottom: 14px;
}
.cnt-form input:focus,
.cnt-form textarea:focus,
.cnt-form select:focus {
  border-color: var(--gold-dark);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(224, 162, 0, 0.1);
}
.cnt-form textarea {
  resize: vertical;
  min-height: 120px;
}

#lien-he.section-pad {
  padding-bottom: 88px;
}

.site-footer {
  margin-top: 0;
}

/* ── 20. FOOTER ─────────────────────────────────────────────── */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  background: #151515;
  color: rgba(255, 255, 255, 0.65);
}
/* Nền map lặp ngang + trượt (một tile = 1920px — khớp footer-map.png) */
.footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("img/footer-map.png");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 1920px auto;
  opacity: 1;
  -webkit-animation: footerMapSlide 100s linear infinite;
  animation: footerMapSlide 100s linear infinite;
}
@keyframes footerMapSlide {
  from {
    background-position: 0 100%;
  }
  to {
    background-position: -1920px 100%;
  }
}
@-webkit-keyframes footerMapSlide {
  from {
    background-position: 0 100%;
  }
  to {
    background-position: -1920px 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-bg {
    -webkit-animation: none;
    animation: none;
  }
}
.footer-main {
  position: relative;
  z-index: 1;
  padding: 72px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.65fr 0.95fr 1.25fr;
  gap: clamp(32px, 4vw, 48px);
}
.footer-about {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.85;
  margin: 20px 0 18px;
}
.f-contact-list--brand {
  margin: 0 0 22px;
}
.f-contact-list--brand a:hover {
  color: var(--gold);
}
.f-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.f-socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--tx);
}
.f-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.footer-col h6 {
  font: 700 13px/1 var(--fh);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.f-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.f-links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--tx);
}
.f-links a i {
  font-size: 10px;
  color: var(--gold);
}
.f-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.f-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.f-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}
.f-contact-list i {
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
  align-self: center;
}
.f-contact-list a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  word-break: break-word;
}
.f-contact-list a:hover {
  color: var(--gold);
}
.f-contact-li-resp {
  font-size: 12.8px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.55;
  align-items: flex-start;
}
.f-contact-li-resp i {
  align-self: flex-start;
  margin-top: 4px;
}
.f-contact-li-resp .f-contact-li-body {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.f-contact-li-resp a {
  white-space: normal;
}

.footer-col--map {
  min-width: 0;
}
.footer-map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid rgba(253, 184, 19, 0.32);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
  background: #1a1a1a;
  line-height: 0;
}
.footer-map-frame iframe {
  display: block;
  width: 100%;
  height: clamp(200px, 22vw, 240px);
  border: 0;
  vertical-align: bottom;
}
.footer-map-caption {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #000;
  background-color: #fff;
  border-radius: var(--r-sm);
  padding: 6px 10px;
  text-align: center;
}
.footer-map-caption i {
  color: var(--gold);
  margin-right: 6px;
  font-size: 12px;
}

.footer-bot {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.35);
}
.footer-bot .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bot p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 0;
}
.footer-bot a {
  color: var(--gold);
  font-weight: 600;
}
.footer-bot a:hover {
  color: var(--white);
}

/* ── 21. FLOAT BTNS ─────────────────────────────────────────── */
.floats {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom, 0px) + 8px);
  right: max(14px, env(safe-area-inset-right, 0px) + 8px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 800;
}
.fb {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--sh2);
  transition: var(--tx);
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.fb:hover {
  transform: scale(1.15) translateY(-3px);
}
.fb-call {
  background: var(--red);
  color: var(--white) !important;
  animation: pulse 2.4s infinite;
}
.fb-zalo {
  background: #0068ff;
  color: var(--white) !important;
  font: 900 18px/1 var(--fh);
}
.fb-top {
  background: var(--dark2);
  color: var(--gold) !important;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}
.fb-top.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(153, 0, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(153, 0, 0, 0);
  }
}

/* ── 22. SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}
::selection {
  background: var(--gold);
  color: var(--dark);
}

/* ── 23. RESPONSIVE ─────────────────────────────────────────── */

/* 1280 */
@media (max-width: 1280px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-col--map {
    grid-column: 1 / -1;
    max-width: 520px;
    justify-self: center;
    width: 100%;
  }
}

/* 1024 */
@media (max-width: 1024px) {
  .hero-body {
    grid-template-columns: 1fr;
    padding-bottom: 0;
    gap: 40px;
  }
  .hero {
    padding-top: 40px;
  }
  .hero-mosaic {
    max-width: 520px;
    margin: 0 auto;
    gap: 12px;
  }
  .mosaic-a,
  .mosaic-b {
    max-height: none;
  }
  .main-nav {
    display: none;
  }
  .header-inner {
    justify-content: space-between;
  }
  .hamburger {
    display: flex;
  }
  .srv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proj-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-media {
    max-width: 100%;
  }
  .about-tile--main {
    max-height: 400px;
  }
  .why-dd {
    margin-top: 20px;
    padding: 4px 0 52px;
  }
  .why-dd-card {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
    padding: 22px 20px;
  }
  .why-dd-item:not(:first-child) {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-top: 20px;
  }
}

/* 768 */
@media (max-width: 768px) {
  /* Hero: chữ nằm trên ảnh — tăng lớp trắng để vẫn đọc được */
  .hero {
    background-image:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.99) 0%,
        rgba(255, 255, 255, 0.94) 22%,
        rgba(255, 255, 255, 0.78) 40%,
        rgba(255, 255, 255, 0.42) 58%,
        rgba(255, 255, 255, 0.1) 78%,
        rgba(255, 255, 255, 0) 100%
      ),
      linear-gradient(
        90deg,
        #fff 0%,
        #fff 36%,
        rgba(255, 255, 255, 0.95) 42%,
        rgba(255, 255, 255, 0.55) 52%,
        rgba(255, 255, 255, 0.12) 62%,
        rgba(255, 255, 255, 0) 70%
      ),
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.06) 100%
      ),
      var(--hero-bg-img);
    background-size:
      100% 100%,
      100% 100%,
      100% 100%,
      cover;
    background-position: center, center, center, center;
  }
  .section-pad {
    padding: 64px 0;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }
  .about-row {
    flex-direction: column;
    gap: 4px;
  }
  .about-col-text {
    order: -1;
  }
  .about-col-visual {
    order: 0;
  }
  .about-media {
    max-width: none;
    margin: 0 auto;
  }
  .about-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }
  .about-tile--main {
    grid-column: 1 / -1;
    grid-row: 1;
    max-height: none;
    min-height: 220px;
    aspect-ratio: 16/10;
  }
  .about-tile--a {
    grid-column: 1;
    grid-row: 2;
  }
  .about-tile--b {
    grid-column: 2;
    grid-row: 2;
  }
  .about-tile--stat {
    grid-column: 1 / -1;
    grid-row: 3;
    min-height: 100px;
  }
  .legal-card {
    margin-top: 22px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .about-section .wrap {
    overflow-x: hidden;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .cc-cards {
    height: auto;
    min-height: 0;
  }
  .cc-card {
    flex: 0 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bot .wrap {
    flex-direction: column;
    text-align: center;
  }
  .proj-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-duo {
    grid-template-columns: 1fr;
  }
  .cnt-form {
    padding: 24px 20px;
  }
}

/* 576 */
@media (max-width: 576px) {
  .catalog-head {
    max-width: 100%;
  }
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
  }
  .catalog-toolbar .catalog-search {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
  }
  .catalog-search {
    border-radius: 14px;
  }
  .catalog-pdf-btn {
    justify-content: center;
    width: 100%;
  }
  .wrap {
    padding: 0 18px;
  }
  .srv-grid {
    grid-template-columns: 1fr;
  }
  .proj-grid {
    grid-template-columns: 1fr;
  }
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    justify-content: center;
  }
  .hero-title {
    letter-spacing: -0.5px;
  }
  .hero-right {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  /* Hero mosaic: 1 cột — tránh chồng lấn / tràn khi lưới 2×2 quá chật */
  .hero-mosaic {
    max-width: 100%;
    gap: 12px;
    grid-template-columns: 1fr;
  }
  .mosaic-gcn {
    position: relative;
    top: auto;
    right: auto;
    justify-self: start;
    grid-column: 1;
    grid-row: 1;
    margin: 0 0 2px 0;
    padding: 6px 10px;
    font-size: 9px;
  }
  .mosaic-a,
  .mosaic-b,
  .mosaic-c,
  .mosaic-d {
    grid-column: 1;
    max-height: none;
    min-height: 0;
    align-self: stretch;
    aspect-ratio: 16/10;
  }
  .mosaic-a {
    grid-row: 2;
  }
  .mosaic-b {
    grid-row: 3;
  }
  .mosaic-c {
    grid-row: 4;
  }
  .mosaic-d {
    grid-row: 5;
  }
  .mosaic-chip {
    position: relative;
    left: auto;
    bottom: auto;
    grid-column: 1;
    grid-row: 6;
    max-width: none;
    margin-top: 2px;
    padding: 10px 14px;
    gap: 10px;
    animation: none;
  }
  .mosaic-chip i {
    font-size: 22px;
  }
  .btn-hdr {
    display: none;
  }
  .logo-wrap {
    max-width: calc(100% - 56px);
    gap: 10px;
  }
  .site-header .logo-img {
    width: 52px;
    height: 52px;
  }
  .site-header .logo-text {
    min-height: 52px;
  }
  .heading {
    font-size: 24px;
  }
  .news-item {
    flex-direction: column;
    gap: 14px;
  }
  .news-date {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    width: auto;
    align-self: flex-start;
  }
  .news-date .d {
    font-size: 22px;
  }
  .ticker--top .ticker-inner {
    min-height: 48px;
  }
  .ticker-content span {
    padding: 0 40px;
    font-size: 12.5px;
  }
  .proj-grid {
    grid-template-columns: 1fr;
  }
  /* Bảng danh mục: cho phép xuống dòng + cuộn ngang trong khung */
  .ctbl {
    font-size: 12.5px;
  }
  .ctbl thead th {
    white-space: normal;
    padding: 9px 8px;
    font-size: 10px;
    letter-spacing: 0.6px;
    line-height: 1.35;
  }
  .ctbl td {
    padding: 10px 8px;
    font-size: 12.5px;
  }
  .ctbl td:last-child {
    min-width: 0;
  }
}

/* ── 24. UTILITIES ──────────────────────────────────────────── */
.mt-2 {
  margin-top: 8px;
}
.mt-3 {
  margin-top: 16px;
}
.mt-4 {
  margin-top: 24px;
}
.mt-5 {
  margin-top: 32px;
}
.mt-6 {
  margin-top: 48px;
}
.mb-6 {
  margin-bottom: 48px;
}
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.gap-3 {
  gap: 16px;
}
.w-100 {
  width: 100%;
}

/* row grid helper */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -14px;
}
.col-6 {
  width: 50%;
  padding: 0 14px;
}
.col-5 {
  width: 41.666%;
  padding: 0 14px;
}
.col-7 {
  width: 58.333%;
  padding: 0 14px;
}
@media (max-width: 768px) {
  .col-6,
  .col-5,
  .col-7 {
    width: 100%;
  }
}
/* =========================================
   GIAO DIỆN CHUNG
========================================= */
.modern-showcase {
  position: relative;
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- DẢI BĂNG (RIBBON) --- */
.showcase-ribbon {
  background: linear-gradient(135deg, #d90429 0%, #8d0801 100%);
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px 8px 0 0;
  font:
    800 18px/1 "Inter",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 10px 20px rgba(217, 4, 41, 0.3);
  position: relative;
  z-index: 10;
  margin-bottom: -20px; /* Kéo ribbon lún nhẹ vào khối ảnh */
  display: flex;
  align-items: center;
  gap: 10px;
}

.text-gold {
  color: #ffb703;
}
/* =========================================
   HỆ THỐNG LƯỚI ĐÈ (OVERLAPPING GRID)
========================================= */
.showcase-grid {
  display: grid;
  /* Chia 10 cột để tạo các điểm neo lưới cho thẻ ảnh xếp chéo nhau */
  grid-template-columns: repeat(10, 1fr);
  grid-auto-rows: minmax(40px, auto);
  width: 100%;
  gap: 15px;
  position: relative;
  z-index: 1;
}

/* Định vị trí từng thẻ theo cột (tạo độ so le) */
.sc-item-1 {
  grid-column: 1 / 7;
  grid-row: 1 / span 5;
  z-index: 4;
}
.sc-item-2 {
  grid-column: 3 / 11;
  grid-row: 3 / span 5;
  z-index: 3;
}
.sc-item-3 {
  grid-column: 2 / 8;
  grid-row: 6 / span 5;
  z-index: 4;
}
.sc-item-4 {
  grid-column: 3 / 11;
  grid-row: 9 / span 5;
  z-index: 5;
}

/* --- STYLE CỦA TỪNG THẺ ẢNH --- */
.sc-card {
  position: relative;
  border-radius: 16px;
  border: 4px solid rgba(255, 255, 255, 0.95); /* Viền trắng dày nổi bật */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  background: #f8f9fa;
  aspect-ratio: 16/9;

  /* Hiệu ứng trôi nổi độc lập */
  animation: floatCards 6s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

/* Delay nhịp lượn sóng cho từng ảnh để chúng không lêm/xuống cùng lúc */
.sc-item-1 {
  animation-delay: 0s;
}
.sc-item-2 {
  animation-delay: 1.5s;
}
.sc-item-3 {
  animation-delay: 0.7s;
}
.sc-item-4 {
  animation-delay: 2s;
}

/* Trạng thái Hover: Dừng trôi, phóng to và nổi lên trên cùng */
.sc-card:hover {
  animation-play-state: paused;
  transform: translateY(-10px) scale(1.05) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  border-color: #ffb703;
  z-index: 10 !important;
}

.sc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================
   HIỆU ỨNG KÍNH MỜ (GLASSMORPHISM LABEL)
========================================= */
.sc-glass-label {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;

  /* Cốt lõi của Glassmorphism */
  background: rgba(11, 19, 43, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);

  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font:
    700 13px/1.2 "Inter",
    sans-serif;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* =========================================
   THẺ CHỨNG NHẬN ISO
========================================= */
.showcase-cert {
  margin-top: -20px; /* Đè lên khối ảnh trên */
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 10px 24px 10px 10px;
  border-radius: 50px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  animation: floatCards 5s ease-in-out infinite reverse;
}

.cert-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #ffb703, #fb8500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(251, 133, 0, 0.4);
}

.cert-text strong {
  display: block;
  font:
    800 14px/1.2 "Inter",
    sans-serif;
  color: #1d3557;
}

.cert-text span {
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================
   KEYFRAMES & RESPONSIVE
========================================= */
@keyframes floatCards {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Tablet (Xếp lại lưới mỏng hơn) */
@media (max-width: 992px) {
  .sc-glass-label {
    width: 95%;
    font-size: 11px;
    padding: 8px;
  }
  .sc-item-1 {
    grid-column: 1 / 8;
    grid-row: 1 / span 4;
  }
  .sc-item-2 {
    grid-column: 4 / 11;
    grid-row: 3 / span 4;
  }
  .sc-item-3 {
    grid-column: 1 / 8;
    grid-row: 5 / span 4;
  }
  .sc-item-4 {
    grid-column: 4 / 11;
    grid-row: 7 / span 4;
  }
}

/* Mobile (Gỡ lưới đè, xếp thành tầng dọc lợp ngói) */
/* =========================================
   MOBILE CỰC MƯỢT (FIX LỖI CHE CHỮ)
========================================= */
@media (max-width: 768px) {
  .showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px;
  }

  .sc-card {
    /* Đè sâu hơn một chút (-40px) để hiệu ứng 3D rõ rệt hơn */
    margin-bottom: -40px;
    aspect-ratio: 16/10; /* Kéo khung ảnh bớt dài để phù hợp màn hình dọc */
    border-width: 3px; /* Giảm độ dày viền trắng cho đỡ thô */
  }

  /* BÍ QUYẾT: Đảo ngược phân tầng z-index. 
     Thẻ số 1 (trên cùng) sẽ nằm lớp cao nhất, đè lên đỉnh thẻ số 2.
     Do đó, chữ ở đáy thẻ số 1 sẽ KHÔNG bao giờ bị che! */
  .sc-item-1 {
    z-index: 10;
  }
  .sc-item-2 {
    z-index: 9;
  }
  .sc-item-3 {
    z-index: 8;
  }
  .sc-item-4 {
    z-index: 7;
    margin-bottom: 0; /* Thẻ cuối không cần đè */
  }

  /* Tinh chỉnh lại kích thước nhãn kính mờ cho đỡ chật chội */
  .sc-glass-label {
    width: 90%;
    bottom: 10px;
    padding: 8px 10px;
    font-size: 10px;
    gap: 5px;
  }

  .showcase-cert {
    margin-top: 30px; /* Đẩy thẻ ISO xích xuống để tách biệt khỏi khối ảnh */
    padding: 8px 20px 8px 8px;
  }

  .cert-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}
.showcase-ribbon {
  background: linear-gradient(135deg, #d90429, #6a040f);
  font-size: clamp(14px, 1.2vw, 18px);
  padding: 10px clamp(16px, 2vw, 28px);
  border-radius: 10px 10px 0 0;

  box-shadow: 0 10px 25px rgba(217, 4, 41, 0.35);
}
