:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text: #1a2b42;
  --muted: #5a6b82;
  --border: rgba(26, 43, 66, 0.1);

  /* Bảng màu đỏ chủ đạo */
  --red-700: #7a1823;
  --red-600: #8f1e2b;
  --red-500: #a82535;
  --red-400: #b83542;
  --red-300: #cc5a66;
  --red-soft: rgba(168, 37, 53, 0.08);
  --red-soft-strong: rgba(168, 37, 53, 0.14);
  --red-glow: rgba(168, 37, 53, 0.28);

  --accent: var(--red-500);
  --accent-light: var(--red-400);
  --accent-dark: var(--red-700);
  --accent-hover: var(--red-600);

  --header-bg: rgba(255, 255, 255, 0.97);
  --header-text: #1a2b42;
  --header-muted: #5a6b82;
  --header-border: rgba(26, 43, 66, 0.08);
  --header-accent: var(--red-500);
  --header-accent-hover: var(--red-700);
  --brand-color: var(--red-500);
  --dropdown-shadow: 0 24px 60px rgba(15, 29, 49, 0.14);

  --font-sans: "Be Vietnam Pro", system-ui, sans-serif;
  --font-display: "Be Vietnam Pro", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}
main {
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.container {
  width: min(1360px, calc(100% - 2rem));
  margin: 0 auto;
}

/* ===== HEADER BAR ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 4px 24px rgba(15, 29, 49, 0.06);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(15, 29, 49, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--header-text);
}
.brand picture,
.footer-brand picture {
  display: contents;
}
.brand-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(190px, 44vw);
  object-fit: contain;
}
.brand-logo--footer {
  height: 52px;
  max-width: 220px;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.mobile-nav-header,
.mobile-nav-parent-row,
.nav-backdrop {
  display: none;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--header-text);
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover,
.nav-item.is-open > .nav-link,
.nav-item.is-open > .nav-link-dropdown {
  color: var(--header-accent);
  background: var(--red-soft);
}
.nav-link-icon {
  padding: 0.55rem 0.65rem;
  color: var(--header-accent);
}
.nav-link-icon svg { width: 20px; height: 20px; }
.nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
}
.nav-item.is-open .nav-chevron { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 320px;
  max-width: 420px;
  padding-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.dropdown-panel--mega {
  left: 0;
  transform: none;
  min-width: 640px;
  max-width: min(780px, calc(100vw - 2rem));
}
.nav-item.is-open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%);
}
.nav-item.is-open .dropdown-panel--mega {
  transform: none;
}
.dropdown-inner {
  background: #fff;
  border: 1px solid var(--header-border);
  border-radius: 16px;
  box-shadow: var(--dropdown-shadow);
  overflow: hidden;
  animation: dropdownFade 0.3s ease;
}
.dropdown-inner--mega {
  display: block;
}
@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown-header {
  padding: 1rem 1.15rem 0.65rem;
  border-bottom: 1px solid var(--header-border);
}
.dropdown-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--header-muted);
}
.dropdown-label-link {
  display: inline-block;
  transition: color 0.2s ease;
}
.dropdown-label-link:hover {
  color: var(--header-accent);
}
.dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  display: grid;
  gap: 0.15rem;
}
.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  color: var(--header-text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.dropdown-link:hover {
  background: linear-gradient(90deg, var(--red-soft), rgba(168, 37, 53, 0.04));
  color: var(--header-accent);
  transform: translateX(4px);
}
.dropdown-link-text { flex: 1; }
.dropdown-arrow {
  width: 16px;
  height: 16px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
  color: var(--header-accent);
}
.dropdown-link:hover .dropdown-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Mega menu 2 cột */
.mega-menu {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(300px, 1fr);
  min-height: 280px;
}
.mega-menu-left {
  border-right: 1px solid var(--header-border);
  background: #fff;
}
.mega-menu-left .dropdown-header {
  border-bottom: 1px solid var(--header-border);
}
.mega-menu-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  display: grid;
  gap: 0.1rem;
}
.mega-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.78rem 0.9rem;
  border-radius: 10px;
  color: var(--header-text);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.mega-menu-item.is-active .mega-menu-link,
.mega-menu-link:hover {
  background: linear-gradient(90deg, var(--red-soft), rgba(168, 37, 53, 0.04));
  color: var(--header-accent);
}
.mega-menu-chevron {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--header-accent);
  opacity: 0.7;
}
.mega-menu-right {
  position: relative;
  padding: 1.15rem 1.35rem 1.25rem;
  background: linear-gradient(180deg, #fff 0%, rgba(168, 37, 53, 0.02) 100%);
}
.mega-panel {
  display: none;
}
.mega-panel.is-active {
  display: block;
  animation: dropdownFade 0.25s ease;
}
.mega-panel-title {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--header-text);
  line-height: 1.35;
  transition: color 0.2s ease;
}
.mega-panel-title:hover {
  color: var(--header-accent);
}
.mega-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}
.mega-panel-list a {
  display: block;
  padding: 0.55rem 0;
  color: var(--header-text);
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(26, 43, 66, 0.06);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mega-panel-list a:hover {
  color: var(--header-accent);
  padding-left: 0.35rem;
}
.mega-panel-empty {
  margin: 0;
  color: var(--header-muted);
  font-size: 0.9rem;
}
.mega-menu-mobile-panel {
  display: none;
}
.mobile-mega-parent-row {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.search-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(26, 43, 66, 0.05);
  color: var(--header-text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.search-btn:hover {
  background: var(--red-soft-strong);
  color: var(--brand-color);
}
.search-btn svg { width: 20px; height: 20px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  border-radius: 4px;
  padding: 0.82rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button-icon {
  display: inline-flex;
  width: 1.05em;
  height: 1.05em;
}
.button-icon svg {
  width: 100%;
  height: 100%;
}
.button:hover { transform: translateY(-2px); }
.button:focus,
.button:focus-visible,
.button:active {
  outline: none;
}
.button:active {
  transform: translateY(0);
}
.button-primary {
  background: linear-gradient(90deg, var(--red-600), var(--red-400));
  color: #fff;
  box-shadow: 0 8px 24px var(--red-glow);
}
.button-primary:hover {
  background: linear-gradient(90deg, var(--red-700), var(--red-500));
}
.button-primary:active {
  box-shadow: 0 4px 14px var(--red-glow);
}
.button-secondary {
  border: 2px solid var(--accent);
  background: #fff;
  color: var(--accent);
}
.button-secondary:hover {
  background: var(--red-soft);
  border-color: var(--red-600);
  color: var(--red-600);
}
.button-secondary--on-dark {
  border-color: rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #fff;
}
.button-secondary--on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}
.button-cta {
  border-radius: 4px;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: var(--header-accent);
  box-shadow: 0 8px 24px var(--red-glow);
}
.button-cta:hover {
  background: var(--header-accent-hover);
  box-shadow: 0 12px 28px rgba(122, 24, 35, 0.35);
}
.button-cta:active {
  box-shadow: 0 4px 14px var(--red-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: rgba(26, 43, 66, 0.06);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--header-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== PAGE CONTENT ===== */
.hero {
  padding: 4rem 0 4.5rem;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero-copy {
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-card {
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.site-header {
  animation: headerSlideDown 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes headerSlideDown {
  from { transform: translateY(-12px); }
  to   { transform: translateY(0); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

/* Homepage hero — full-bleed night photo */
.hero--home {
  position: relative;
  isolation: isolate;
  min-height: clamp(28rem, 78vh, 42rem);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  background: #0f1d31;
}
.hero-home-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-home-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero-home-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(15, 29, 49, 0.9) 0%,
      rgba(15, 29, 49, 0.78) 34%,
      rgba(15, 29, 49, 0.35) 62%,
      rgba(15, 29, 49, 0.14) 82%,
      transparent 100%
    ),
    linear-gradient(180deg, rgba(15, 29, 49, 0.28) 0%, transparent 40%, rgba(15, 29, 49, 0.5) 100%);
}
.hero-home-inner {
  /* Giữ .container width — không set width:100% (chữ sát mép) */
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding-top: clamp(3.5rem, 8vw, 5.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.hero-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  width: 100%;
}
.hero-home-copy h1 {
  color: #fff;
  max-width: 16ch;
}
.hero-home-lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
}
.hero-home-stats {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem 1.35rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 29, 49, 0.55);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
.hero-home-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}
.hero-home-stat + .hero-home-stat {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-home-stat-icon {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 4px;
  color: #f0a8b0;
  background: rgba(168, 37, 53, 0.22);
  overflow: hidden;
}
.hero-home-stat-icon svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  transform: translate(-50%, -50%);
}
.hero-home-stat strong {
  display: block;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.15;
  color: #fff;
  font-family: var(--font-display);
}
.hero-home-stat-label {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

/* Home — Tầm nhìn / Sứ mệnh: style 3 photo + glass + values bar */
.home-vision-block--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0f1d31;
}
.home-vision-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-vision-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.home-vision-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15, 29, 49, 0.48) 0%, rgba(15, 29, 49, 0.62) 45%, rgba(15, 29, 49, 0.88) 100%),
    linear-gradient(105deg, rgba(122, 24, 35, 0.22) 0%, transparent 58%);
}
.home-vision-inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(3rem, 7vw, 4.5rem);
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
}
.home-vision-head {
  max-width: 40rem;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}
.home-vision-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8a0a8;
}
.home-vision-title {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}
.home-vision-lead {
  margin: 0.7rem 0 0;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
}
.home-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: stretch;
}
.home-vision-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  min-height: 100%;
  padding: clamp(1.4rem, 2.8vw, 2rem);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 29, 49, 0.48);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.home-vision-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 6px;
  color: #fff;
  background: var(--red-600);
  box-shadow: 0 8px 18px rgba(122, 24, 35, 0.35);
}
.home-vision-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}
.home-vision-label {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0a8b0;
}
.home-vision-headline {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}
.home-vision-rule {
  display: block;
  width: 2.5rem;
  height: 2px;
  margin: 0.15rem 0 0.1rem;
  background: var(--red-500);
  border-radius: 999px;
}
.home-vision-body,
.home-vision-body.article-content {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}
.home-vision-body p,
.home-vision-body.article-content p,
.home-vision-body.article-content li,
.home-vision-body.article-content h2,
.home-vision-body.article-content h3,
.home-vision-body.article-content h4 {
  margin: 0 0 0.65rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.home-vision-body p:last-child,
.home-vision-body.article-content p:last-child {
  margin-bottom: 0;
}
.home-vision-body a,
.home-vision-body.article-content a {
  color: #f0c36a;
}
.home-vision-body.article-content a:hover {
  color: #fff;
}

/* Thanh 4 giá trị */
.home-vision-values {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 18, 30, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.home-vision-values-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.home-vision-value {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}
.home-vision-value-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 6px;
  border: 1px solid rgba(240, 168, 176, 0.55);
  color: #f0a8b0;
  background: rgba(168, 37, 53, 0.18);
}
.home-vision-value-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}
.home-vision-value-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}
.home-vision-value-copy strong {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.home-vision-value-copy span {
  font-size: 0.84rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .home-vision-values-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .home-vision-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .home-vision-inner {
    padding-top: 2.25rem;
    padding-bottom: 1.5rem;
  }
  .home-vision-panel {
    padding: 1.25rem 1.15rem;
  }
  .home-vision-headline {
    font-size: 1.12rem;
  }
  .home-vision-body,
  .home-vision-body.article-content {
    font-size: 0.92rem;
  }
  .home-vision-values-inner {
    gap: 0.85rem;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
  }
}
@media (max-width: 420px) {
  .home-vision-values-inner {
    grid-template-columns: 1fr;
  }
}

/* Vision style C — asymmetric cream left + navy/red right + portrait */
.home-vision-block--asymmetric {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fff;
}
.home-vision-block--asymmetric::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  z-index: 0;
  /* Đỏ nhạt brand — mockup mockup-vision-backdrop-light-red.png */
  background: linear-gradient(
    155deg,
    #f8eef0 0%,
    #f3e4e7 42%,
    #efd9dd 100%
  );
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(8%, 0, 0) scaleX(0.94);
  transform-origin: 100% 50%;
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}
.home-vision-block--asymmetric.is-revealed::before {
  opacity: 1;
  transform: none;
}
.home-vision-block--asymmetric .home-vision-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(2.75rem, 6vw, 4rem);
  padding-bottom: clamp(2.25rem, 5vw, 3.25rem);
}
.home-vision-block--asymmetric .home-vision-stage {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
  min-height: 0;
}
.home-vision-block--asymmetric .home-vision-copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  background: transparent;
}
.home-vision-block--asymmetric .home-vision-head {
  margin-bottom: 1.5rem;
}
.home-vision-block--asymmetric .home-vision-title {
  color: var(--text);
}
.home-vision-block--asymmetric .home-vision-head-rule {
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.85rem;
  background: var(--red-500);
  border-radius: 999px;
}
.home-vision-block--asymmetric .home-vision-stack {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.home-vision-block--asymmetric .home-vision-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  padding: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.home-vision-block--asymmetric .home-vision-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 8px;
  background: var(--red-500);
  box-shadow: 0 8px 18px rgba(168, 37, 53, 0.28);
}
.home-vision-block--asymmetric .home-vision-label {
  margin: 0 0 0.35rem;
  color: var(--red-500);
}
.home-vision-block--asymmetric .home-vision-headline {
  margin: 0 0 0.45rem;
  color: var(--text);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}
.home-vision-block--asymmetric .home-vision-body,
.home-vision-block--asymmetric .home-vision-body.article-content {
  color: #4b5563;
  font-size: 0.9rem;
}
.home-vision-block--asymmetric .home-vision-body p,
.home-vision-block--asymmetric .home-vision-body.article-content p,
.home-vision-block--asymmetric .home-vision-body.article-content li {
  color: #4b5563;
}
.home-vision-block--asymmetric .home-vision-body a,
.home-vision-block--asymmetric .home-vision-body.article-content a {
  color: var(--red-500);
}
.home-vision-block--asymmetric .home-vision-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(26, 43, 66, 0.1);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.home-vision-block--asymmetric .home-vision-value {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}
.home-vision-block--asymmetric .home-vision-value-icon {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--red-500);
}
.home-vision-block--asymmetric .home-vision-value-copy strong {
  color: var(--text);
  font-size: 0.78rem;
}
.home-vision-block--asymmetric .home-vision-value-copy span {
  color: #6b7280;
  font-size: 0.75rem;
}
.home-vision-block--asymmetric .home-vision-portrait {
  position: relative;
  z-index: 1;
  margin: 0;
  margin-right: -0.5rem;
  justify-self: end;
  align-self: start;
  width: min(100%, 483px);
  max-width: 483px;
  pointer-events: none;
}
.home-vision-block--asymmetric .home-vision-backdrop {
  position: absolute;
  left: 50%;
  top: 8%;
  z-index: 0;
  width: min(118%, 28rem);
  height: min(78%, 32rem);
  transform: translateX(-50%);
  pointer-events: none;
}
.home-vision-block--asymmetric .home-vision-backdrop-logo {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(92%, 22rem);
  height: auto;
  max-height: 88%;
  object-fit: contain;
  opacity: 0.14;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 1px rgba(168, 37, 53, 0.1));
  animation: home-vision-logo-float 8.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes home-vision-logo-float {
  0%,
  100% {
    transform: translate(-50%, calc(-50% - 0.55rem));
  }
  50% {
    transform: translate(-50%, calc(-50% + 0.55rem));
  }
}
.home-vision-block--asymmetric .home-vision-portrait-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: min(620px, 78vh);
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 14px 28px rgba(26, 43, 66, 0.16));
  -webkit-mask-image: linear-gradient(
    to top,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 5%,
    rgba(0, 0, 0, 0.65) 12%,
    #000 20%,
    #000 100%
  );
  mask-image: linear-gradient(
    to top,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 5%,
    rgba(0, 0, 0, 0.65) 12%,
    #000 20%,
    #000 100%
  );
}

@media (max-width: 980px) {
  .home-vision-block--asymmetric::before {
    width: 100%;
    clip-path: none;
    opacity: 0.55;
  }
  .home-vision-block--asymmetric .home-vision-stage {
    grid-template-columns: 1fr;
    min-height: 0;
    align-items: stretch;
  }
  .home-vision-block--asymmetric .home-vision-portrait {
    order: -1;
    justify-self: center;
    width: min(248px, 64%);
    max-width: 248px;
    margin-bottom: 0.35rem;
    margin-right: 0;
  }
  .home-vision-block--asymmetric .home-vision-backdrop {
    width: min(130%, 16rem);
    height: min(85%, 18rem);
    top: 4%;
  }
  .home-vision-block--asymmetric .home-vision-backdrop-logo {
    width: min(100%, 12rem);
    opacity: 0.12;
  }
  .home-vision-block--asymmetric .home-vision-portrait-img {
    max-height: min(300px, 38vh);
    filter: drop-shadow(0 12px 20px rgba(26, 43, 66, 0.14));
  }
  .home-vision-block--asymmetric .home-vision-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .home-vision-block--asymmetric .home-vision-panel {
    grid-template-columns: 1fr;
  }
  .home-vision-block--asymmetric .home-vision-portrait {
    width: min(210px, 58%);
    max-width: 210px;
  }
  .home-vision-block--asymmetric .home-vision-backdrop-logo {
    width: min(100%, 10rem);
  }
  .home-vision-block--asymmetric .home-vision-portrait-img {
    max-height: min(255px, 34vh);
  }
}

/* AOS custom — Vision C: hai bên đối nhau */
[data-aos="vision-from-left"] {
  opacity: 0;
  transform: translate3d(-48px, 18px, 0);
  transition-property: transform, opacity;
}
[data-aos="vision-from-left"].aos-animate {
  opacity: 1;
  transform: none;
}
[data-aos="vision-from-right"] {
  opacity: 0;
  transform: translate3d(56px, 28px, 0) scale(0.92);
  transform-origin: 50% 100%;
  transition-property: transform, opacity;
}
[data-aos="vision-from-right"].aos-animate {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .home-vision-block--asymmetric::before {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .home-vision-block--asymmetric .home-vision-backdrop-logo {
    animation: none;
    transform: translate(-50%, -50%);
  }
  [data-aos="vision-from-left"],
  [data-aos="vision-from-right"] {
    opacity: 1;
    transform: none;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--header-accent);
  font-weight: 700;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--text);
}
h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 0.5rem 0 1rem;
  font-weight: 700;
  color: #0f1d31;
}
h2 { font-weight: 700; color: #0f1d31; }
h3 { font-weight: 600; color: #1a2b42; }
.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 620px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap; }
.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-points li {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(15, 29, 49, 0.06);
}
.hero-card, .info-card, .step-card, .testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(15, 29, 49, 0.08);
}
.hero-card { padding: 1.75rem; position: relative; overflow: hidden; }
.hero-card p { color: var(--muted); }
.card-glow {
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--red-soft-strong), transparent 70%);
  filter: blur(6px);
}
.stat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.2rem; }
.stat-list strong {
  display: block;
  font-size: 1.6rem;
  color: var(--accent);
}
.stat-list span { color: var(--muted); font-size: 0.9rem; }
.section { padding: 4.5rem 0; }
.alt-bg { background: var(--surface-2); }
.section-heading { max-width: 720px; margin-bottom: 2rem; }
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0.4rem 0 0; }
.section-heading p.eyebrow { margin-bottom: 0.25rem; }
.card-grid, .steps-grid { display: grid; gap: 1.25rem; }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ===== FEATURED SERVICES ===== */
.services-section {
  scroll-margin-top: 84px;
  background: #fff;
}
.services-section > .container {
  padding-top: 1.5rem;
}

/* ===== SERVICES TICKER (sát đáy hero) ===== */
.services-ticker {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 3.1rem;
  background: rgba(12, 20, 32, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.services-ticker-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.85rem 1.15rem;
  background: var(--red-600);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}
.services-ticker-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.services-ticker-track {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: max-content;
  height: 100%;
  padding: 0 1.25rem;
  animation: services-ticker-scroll 38s linear infinite;
}
.services-ticker:hover .services-ticker-track {
  animation-play-state: paused;
}
@keyframes services-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.services-ticker-item {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}
.services-ticker-item:hover {
  color: #f0c36a;
}
.services-ticker-dot {
  flex-shrink: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}
.services-ticker-dot--accent {
  background: #e8b84a;
}

@media (max-width: 640px) {
  .services-ticker {
    flex-direction: column;
    min-height: 0;
  }
  .services-ticker-label {
    justify-content: center;
    width: 100%;
    padding: 0.55rem 0.85rem;
    font-size: 0.7rem;
  }
  .services-ticker-track {
    gap: 0.9rem;
    padding: 0.7rem 1rem;
  }
  .services-ticker-item {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-ticker-track {
    animation: none;
  }
}

/* ===== PARTNERS MARQUEE ===== */
.partners-section {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background: #fff;
}
.partners-marquee-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: center;
  overflow: hidden;
  padding-top: 1.25rem;
  padding-bottom: 1.75rem;
  /* Dùng .container — sát mép nội dung như section dưới (testimonials) */
}
.partners-marquee-title {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 2.05rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.partners-marquee-brand {
  color: var(--red-500);
  white-space: nowrap;
}
.partners-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners-marquee-track {
  display: flex;
  align-items: center;
  gap: 3.25rem;
  width: max-content;
  animation: partners-marquee-scroll 35s linear infinite;
}
.partners-marquee-wrap:hover .partners-marquee-track {
  animation-play-state: paused;
}
@keyframes partners-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.partner-logo-item {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 260px;
  height: 130px;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: transparent;
}
.partner-logo-item img {
  max-height: 88px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}
.partner-logo-item:hover img {
  opacity: 1;
}
.testimonial-empty {
  text-align: center;
  color: var(--muted);
  margin: 1rem 0 0;
}
.testimonial-card-stars .star-half {
  opacity: 0.55;
}
.testimonial-card-stars .star-empty {
  opacity: 0.22;
}

.services-section-heading {
  text-align: center;
  margin-bottom: 2rem;
}
.services-section-heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-500);
}
/* Bento: full width; card thường gần vuông (thấp hơn 3:4); featured rộng +25%, cao đúng 2 hàng */
.services-bento {
  --svc-gap: 1rem;
  --svc-feat-fr: 1.25;
  --svc-side-fr: 3;
  --svc-card-ratio: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 3fr);
  gap: var(--svc-gap);
  align-items: start;
  width: 100%;
  container-type: inline-size;
  container-name: services-bento;
}
.services-side {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: var(--svc-gap);
  min-width: 0;
}
.services-empty {
  text-align: center;
  color: var(--muted);
}
.service-card {
  position: relative;
  border-radius: 8px;
  height: auto;
  overflow: hidden;
  min-height: 0;
  box-shadow: 0 10px 28px rgba(15, 29, 49, 0.12);
  border: 1px solid transparent;
}
.services-side .service-card {
  aspect-ratio: var(--svc-card-ratio);
  width: 100%;
}
.service-card--featured {
  /* Rộng hơn card thường 25% (1.25fr); cao = đúng 2 hàng side + gap */
  width: 100%;
  aspect-ratio: auto;
  height: calc(2 * (100cqw / (var(--svc-feat-fr) + var(--svc-side-fr))) + var(--svc-gap));
  min-height: 0;
  max-height: none;
  align-self: start;
  border-color: rgba(168, 37, 53, 0.65);
  box-shadow: 0 14px 36px rgba(15, 29, 49, 0.18);
}
.service-card-link {
  display: block;
  height: 100%;
  color: #fff;
  position: relative;
}
.service-card-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.service-card-media img,
.service-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.55s ease;
}
.service-card-placeholder {
  background: linear-gradient(135deg, #1a2b42 0%, #2d4a6f 55%, var(--red-600) 120%);
}
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 29, 49, 0.18) 10%, rgba(15, 29, 49, 0.78) 100%);
  transition: background 0.35s ease;
}
.service-card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem 1rem 1rem;
}
.service-card--featured .service-card-content {
  padding: 1.35rem 1.25rem 1.25rem;
}
.service-card-number {
  position: absolute;
  left: 0.9rem;
  top: 0.75rem;
  font-size: clamp(2.2rem, 3vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(168, 37, 53, 0.9);
  paint-order: stroke fill;
  pointer-events: none;
  transition: transform 0.3s ease, -webkit-text-stroke-color 0.3s ease;
}
.service-card--featured .service-card-number {
  font-size: clamp(3rem, 4.2vw, 4rem);
  top: 1rem;
  left: 1.1rem;
}
.service-card-copy {
  position: relative;
  z-index: 1;
}
.service-card-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.96);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card--featured .service-card-title {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  max-width: 16ch;
}
/* Mô tả + nút: ẩn dưới, hover trượt từ dưới lên */
.service-card-reveal {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(1.15rem);
  transition:
    grid-template-rows 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.service-card-reveal-inner {
  min-height: 0;
  overflow: hidden;
}
.service-card-desc {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.service-card--featured .service-card-desc {
  -webkit-line-clamp: 3;
  line-clamp: 3;
  font-size: 0.88rem;
}
.service-card-cta--btn {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.75rem;
  padding: 0.55rem 0.95rem;
  border-radius: 4px;
  background: var(--red-600);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(122, 24, 35, 0.35);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.service-card--featured .service-card-cta--btn {
  margin-top: 1rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.78rem;
}
.service-card-tab {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--red-600);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  transition: background 0.25s ease, opacity 0.3s ease, filter 0.25s ease;
}
.service-card-tab::before {
  content: "›";
  position: absolute;
  right: 0.3rem;
  bottom: 0.05rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}
@media (hover: hover) {
  .service-card:hover .service-card-media img,
  .service-card:hover .service-card-placeholder {
    transform: scale(1.08);
  }
  .service-card:hover .service-card-overlay {
    background: linear-gradient(180deg, rgba(15, 29, 49, 0.1) 5%, rgba(15, 29, 49, 0.82) 100%);
  }
  .service-card:hover .service-card-number {
    -webkit-text-stroke-color: var(--red-500);
    transform: translateY(-2px);
  }
  .service-card:hover .service-card-title {
    transform: translateY(-4px);
  }
  .service-card:hover .service-card-reveal {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .service-card:hover .service-card-cta--btn {
    background: var(--red-700);
    box-shadow: 0 10px 24px rgba(122, 24, 35, 0.42);
  }
  .service-card:hover .service-card-tab {
    opacity: 0;
  }
}
@media (max-width: 1024px) {
  .services-bento {
    --svc-feat-fr: 1.25;
    --svc-side-fr: 2;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr);
  }
  .services-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* 2 cột side: mỗi ô = 1fr trong tổng 3.25fr */
  .service-card--featured {
    height: calc(2 * (100cqw / 3.25) + var(--svc-gap));
  }
}
@media (max-width: 900px) {
  .services-bento {
    grid-template-columns: 1fr;
  }
  .service-card--featured {
    aspect-ratio: var(--svc-card-ratio);
    height: auto;
    max-width: min(360px, 100%);
    margin-inline: auto;
  }
  .services-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .services-featured {
    margin-inline: -1rem;
  }
  .services-bento {
    display: flex;
    width: 100%;
    max-width: none;
    gap: 0.85rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    padding: 0.15rem 1rem 0.55rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .services-bento::-webkit-scrollbar {
    display: none;
  }
  .services-side {
    display: contents;
  }
  .services-bento .service-card {
    flex: 0 0 min(72vw, 280px);
    width: min(72vw, 280px);
    aspect-ratio: var(--svc-card-ratio);
    min-height: 0;
    height: auto;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .service-card--featured {
    /* Mobile: card 1 lớn hơn ~25% */
    flex-basis: min(90vw, 350px);
    width: min(90vw, 350px);
    aspect-ratio: var(--svc-card-ratio);
    height: auto;
    max-width: none;
    margin-inline: 0;
  }
  .service-card-content {
    min-height: 100%;
    justify-content: flex-end;
    padding: 4.75rem 1.05rem 1.15rem;
  }
  .service-card-number {
    top: 0.85rem;
    left: 0.9rem;
    font-size: clamp(3.2rem, 14vw, 4rem);
  }
  /* Touch: luôn hiện mô tả + nút */
  .service-card-reveal {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .service-card-desc {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
  .service-card-tab {
    display: none;
  }
}
@media (max-width: 560px) {
  .services-bento .service-card {
    flex-basis: min(78vw, 260px);
    width: min(78vw, 260px);
  }
  .service-card--featured {
    flex-basis: min(92vw, 320px);
    width: min(92vw, 320px);
  }
}

.testimonial-marquees {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: stretch;
  max-width: 72rem;
  margin-inline: auto;
}
.testimonial-marquees--vertical {
  height: min(52rem, 82vh);
}
.testimonial-marquee {
  width: 100%;
  height: 100%;
  min-height: 0;
}
.testimonials-section {
  background: #fff;
  overflow: hidden;
}
.testimonials-head {
  text-align: center;
  margin-bottom: 2.25rem;
}
.testimonials-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 800;
  color: var(--red-500);
  line-height: 1.25;
}
.testimonials-head p {
  margin: 0.65rem auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.6;
}
.testimonial-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.testimonial-marquee.is-looping {
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
}
.testimonial-marquee.is-looping .testimonial-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  height: max-content;
  animation: testimonial-marquee-scroll 50s linear infinite;
  will-change: transform;
}
.testimonial-marquee--reverse.is-looping .testimonial-grid {
  animation-name: testimonial-marquee-scroll-reverse;
}
.testimonial-marquees:hover .testimonial-marquee.is-looping .testimonial-grid {
  animation-play-state: paused;
}
.testimonial-card--chat {
  flex: 0 0 auto;
  width: var(--testimonial-card-width, 100%);
  max-width: 274px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 29, 49, 0.18), 0 4px 12px rgba(15, 29, 49, 0.08);
}
.testimonial-chat-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: none;
  background: #f4f5f7;
}
.testimonial-card-fallback {
  margin: 0;
  padding: 1.5rem 1.25rem;
  border-radius: 16px;
  background: #f0f2f5;
  border: 1px solid rgba(26, 43, 66, 0.08);
  min-height: 16rem;
}
.testimonial-card-fallback .testimonial-card-name {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--text);
}
.testimonial-card-fallback .testimonial-card-role {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.testimonial-card-fallback p {
  margin: 0.85rem 0 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.65;
}
.info-card, .step-card, .testimonial-card { padding: 1.5rem; }
.info-card p, .step-card p, .testimonial-card { color: var(--muted); }
.info-card:hover, .step-card:hover {
  transform: translateY(-4px);
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 16px 40px rgba(15, 29, 49, 0.12);
}
.step-card span { color: var(--accent); font-weight: 800; font-size: 1.2rem; }
.testimonial-card--chat {
  padding: 0;
  color: inherit;
}
@keyframes testimonial-marquee-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@keyframes testimonial-marquee-scroll-reverse {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background: #0b1628;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: 2.25rem 2rem;
  padding: 3.25rem 0 2.5rem;
}
.footer-col {
  min-width: 0;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-brand-blurb {
  margin: 0 0 1.25rem;
  max-width: 22rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 1rem 0 1.25rem;
}
.footer-heading {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.footer-heading-accent {
  color: #fff;
}
.footer-contact-list,
.footer-nav-list,
.footer-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-contact-list li,
.footer-nav-list > li {
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.65;
}
.footer-contact-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.footer-contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  color: var(--red-500);
}
.footer-contact-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.footer-contact-list strong {
  color: #fff;
  font-weight: 600;
}
.footer-contact-list a,
.footer-nav-list a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}
.footer-contact-list a:hover,
.footer-nav-list a:hover {
  color: #fff;
}
.footer-contact-note {
  opacity: 0.72;
  font-size: 0.86rem;
  display: block;
}
.footer-nav-item.has-children .footer-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.footer-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-nav-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}
.footer-nav-item.is-open .footer-nav-toggle svg {
  transform: rotate(180deg);
}
.footer-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}
.footer-submenu {
  margin-top: 0.45rem;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  display: none;
}
.footer-nav-item.is-open .footer-submenu {
  display: block;
}
.footer-submenu li {
  margin-bottom: 0.45rem;
}
.footer-submenu a {
  font-size: 0.88rem;
  opacity: 0.9;
}
.footer-sub-item.has-children .footer-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}
.footer-sub-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.footer-sub-toggle svg {
  width: 11px;
  height: 11px;
  transition: transform 0.2s ease;
}
.footer-sub-item.has-children.is-open .footer-sub-toggle svg {
  transform: rotate(180deg);
}
.footer-sub-submenu {
  list-style: none;
  margin: 0.35rem 0 0.15rem;
  padding: 0 0 0 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
}
.footer-sub-item.has-children.is-open .footer-sub-submenu {
  display: block;
}
.footer-sub-submenu li {
  margin-bottom: 0.35rem;
}
.footer-sub-submenu a {
  font-size: 0.84rem;
  opacity: 0.88;
}
.footer-commitment {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}
.footer-commitment-quote {
  color: #fff;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer-social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}
.footer-social-link svg {
  width: 18px;
  height: 18px;
}
.footer-social-facebook,
.footer-social-email,
.footer-social-phone,
.footer-social-linkedin,
.footer-social-instagram,
.footer-social-youtube {
  background: transparent;
}
.footer-empty {
  opacity: 0.65;
  font-size: 0.88rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0 1.35rem;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}
.footer-bottom p {
  margin: 0;
  text-align: left;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}
.footer-bottom-links a {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover {
  color: #fff;
}

/* ===== PAGE WITH SIDEBAR ===== */
.page-with-sidebar {
  padding: 2.5rem 0 3rem;
  background: #fff;
}
.page-with-sidebar:has(.content-hero-header) {
  padding-top: 0;
}

/* Header nền ảnh — full-bleed hero (kiểu Giới thiệu / Lạc Việt) */
.content-hero-header {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin: 0 0 2rem;
  min-height: clamp(14rem, 36vh, 20rem);
  background: #f3f5f8;
}
.content-hero-header-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.content-hero-header-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Nhích xuống: ưu tiên thân trên + cán cân */
  object-position: right 18%;
  opacity: 0.72;
  filter: saturate(0.92);
}
.content-hero-header-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
/* Cùng lề ngang với .container nội dung (không width:100% — sẽ nuốt margin container) */
.content-hero-header-inner {
  position: relative;
  z-index: 2;
  width: min(1360px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
  padding-top: 1.75rem;
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.content-hero-header-copy {
  max-width: min(40rem, 100%);
}
.content-hero-header-title {
  margin: 0.45rem 0 0.65rem;
  font-size: clamp(1.75rem, 3.6vw, 2.45rem);
  line-height: 1.2;
  font-weight: 800;
}
.content-hero-header .article-breadcrumb {
  margin-bottom: 1.1rem;
}

/* Follow FB/Zalo + rating + share (dưới tiêu đề bài/trang) */
.content-share-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.85rem 0 0.35rem;
}
.content-follow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.content-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem 0.4rem 0.4rem;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.3;
  transition: background 0.2s ease, transform 0.2s ease;
}
.content-follow-btn--facebook {
  background: #1877f2;
}
.content-follow-btn--facebook:hover {
  background: #1464d0;
  color: #fff;
}
.content-follow-btn--zalo {
  background: #0068ff;
}
.content-follow-btn--zalo:hover {
  background: #0056d6;
  color: #fff;
}
.content-follow-icon {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.content-follow-icon--zalo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content-follow-text strong {
  font-weight: 700;
}
.content-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.content-rating-stars {
  display: inline-flex;
  gap: 0.12rem;
  color: #f5b301;
}
.content-rating-stars svg {
  display: block;
}
.content-rating-label {
  font-size: 0.92rem;
  color: var(--muted, #6b7280);
}
.content-share-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.content-share-label {
  font-size: 0.92rem;
  color: var(--muted, #6b7280);
}
.content-share-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.content-share-icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.content-share-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}
.content-share-icon:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  color: #fff;
}
.content-share-icon--facebook {
  background: #1877f2;
}
.content-share-icon--instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af);
}
.content-share-icon--linkedin {
  background: #0a66c2;
}
.content-hero-header--dark .content-rating-label,
.content-hero-header--dark .content-share-label {
  color: rgba(245, 247, 250, 0.78);
}
.article-header .content-share-bar {
  margin-top: 1rem;
}

/* Light: nền sáng + fade trắng trái mạnh hơn (chữ tối, tượng phải mờ) */
.content-hero-header--light .content-hero-header-fade {
  background: linear-gradient(
    95deg,
    #f7f8fa 0%,
    #f7f8fa 42%,
    rgba(247, 248, 250, 0.92) 56%,
    rgba(247, 248, 250, 0.55) 72%,
    rgba(247, 248, 250, 0.22) 88%,
    transparent 100%
  );
}
.content-hero-header--dark .content-hero-header-media img {
  opacity: 0.85;
}
.content-hero-header--light .content-hero-header-title,
.content-hero-header--light .article-meta,
.content-hero-header--light .article-breadcrumb,
.content-hero-header--light .article-breadcrumb a,
.content-hero-header--light .article-breadcrumb span {
  color: var(--text);
}
.content-hero-header--light .article-category-badge {
  background: rgba(168, 37, 53, 0.1);
  color: var(--red-600, #8f1e2b);
}

/* Dark: scrim navy như about-hero */
.content-hero-header--dark {
  background: #0f1d31;
}
.content-hero-header--dark .content-hero-header-fade {
  background:
    linear-gradient(
      105deg,
      rgba(15, 29, 49, 0.9) 0%,
      rgba(15, 29, 49, 0.72) 36%,
      rgba(15, 29, 49, 0.28) 62%,
      transparent 100%
    ),
    linear-gradient(180deg, rgba(15, 29, 49, 0.2) 0%, transparent 40%, rgba(15, 29, 49, 0.35) 100%);
}
.content-hero-header--dark .content-hero-header-title,
.content-hero-header--dark .article-meta,
.content-hero-header--dark .article-breadcrumb,
.content-hero-header--dark .article-breadcrumb a,
.content-hero-header--dark .article-breadcrumb span {
  color: #f5f7fa;
}
.content-hero-header--dark .article-breadcrumb a:hover {
  color: #fff;
}
.content-hero-header--dark .article-category-badge {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.content-hero-header-meta {
  opacity: 0.92;
}
@media (max-width: 720px) {
  .content-hero-header {
    min-height: clamp(12rem, 42vh, 16rem);
    align-items: flex-end;
  }
  .content-hero-header-media img {
    object-position: 78% 12%;
  }
  .content-hero-header--light .content-hero-header-fade {
    background: linear-gradient(
      180deg,
      rgba(247, 248, 250, 0.55) 0%,
      rgba(247, 248, 250, 0.82) 45%,
      #f7f8fa 78%
    );
  }
  .content-hero-header-copy {
    max-width: none;
  }
}

.page-with-sidebar-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
.page-with-sidebar-inner.has-sidebar {
  grid-template-columns: minmax(0, 1fr) min(320px, 100%);
  gap: 2rem;
}
.page-main {
  min-width: 0;
}
.page-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 1rem;
}
.sidebar-widget {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 29, 49, 0.06);
}
.sidebar-widget-header {
  background: linear-gradient(135deg, var(--red-700), var(--red-500));
  color: #fff;
  padding: 0.85rem 1rem;
}
.sidebar-widget-header h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}
.sidebar-services-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}
.sidebar-services-list a {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.65rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.45;
  transition: background 0.2s ease, color 0.2s ease;
}
.sidebar-services-list a:hover {
  background: var(--red-soft);
  color: var(--accent);
}
.sidebar-services-list svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--accent);
}
.sidebar-services-children {
  list-style: none;
  margin: 0;
  padding: 0 0 0.25rem 2.2rem;
}
.sidebar-services-children a {
  padding: 0.4rem 1rem 0.4rem 0;
  font-size: 0.84rem;
  color: var(--muted);
}
.sidebar-services-children a:hover {
  color: var(--accent);
  background: transparent;
}
.sidebar-empty {
  padding: 0.85rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.sidebar-recent-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}
.sidebar-recent-list li + li {
  border-top: 1px solid var(--border);
}
.sidebar-recent-list a {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}
.sidebar-recent-list a:hover {
  background: var(--red-soft);
  color: var(--accent);
}
.sidebar-recent-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}
.sidebar-recent-title::before {
  content: "›";
  margin-right: 0.35rem;
  color: var(--accent);
  font-weight: 700;
}
.sidebar-recent-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.sidebar-recent-date svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.sidebar-recent-list a:hover .sidebar-recent-date {
  color: var(--header-muted);
}

/* ===== PAGE BANNER ===== */
.page-banner {
  margin: 0 0 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 29, 49, 0.12);
}
.page-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
}

/* ===== SEARCH PANEL (sticky, no overlay) ===== */
.search-panel[hidden] {
  display: none;
}
.search-panel {
  position: fixed;
  top: calc(72px + 0.65rem);
  right: max(1rem, calc((100vw - 1360px) / 2 + 1rem));
  z-index: 110;
  width: min(22rem, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid rgba(15, 29, 49, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(15, 29, 49, 0.14);
  padding: 0.85rem 0.9rem 0.75rem;
}
.search-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.search-panel-header h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.search-panel-close {
  border: none;
  background: transparent;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0 0.15rem;
}
.search-panel-close:hover {
  color: var(--text);
}
.search-panel-field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: #f7f8fa;
}
.search-panel-field:focus-within {
  border-color: rgba(168, 37, 53, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(168, 37, 53, 0.08);
}
.search-panel-field-icon {
  display: grid;
  place-items: center;
  color: var(--muted);
  flex-shrink: 0;
}
.search-panel-field-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}
.search-panel-field input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  outline: none;
  color: var(--text);
}
.search-panel-suggest {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 0.55rem;
  max-height: min(18rem, 50vh);
  overflow-y: auto;
}
.search-panel-suggest[hidden] {
  display: none;
}
.search-panel-suggest-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.45rem 0.35rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.35;
}
.search-panel-suggest-item:hover {
  background: #f3f5f8;
  color: var(--text);
}
.search-panel-suggest-item svg {
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  color: var(--muted);
}
.search-panel-all {
  display: block;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(15, 29, 49, 0.08);
  text-align: center;
  color: var(--red-600, #8f1e2b);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.search-panel-all:hover {
  color: var(--red-500, #a82535);
}
.search-panel-all[hidden] {
  display: none;
}

/* ===== SEARCH RESULTS PAGE ===== */
.search-page {
  background: #f5f6f8;
  padding-bottom: 3rem;
}
.search-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 12.5rem;
  background-color: #fff;
  border-bottom: 1px solid rgba(15, 29, 49, 0.06);
  padding: 2.25rem 0 2rem;
}
.search-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/search-hero-banner.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.38;
  pointer-events: none;
}
.search-page-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.search-page-hero-copy {
  min-width: min(100%, 18rem);
  flex: 1;
}
.search-page-title {
  margin: 0.35rem 0 0.4rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}
.search-page-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.search-page-form {
  flex: 0 1 22rem;
  width: min(22rem, 100%);
}
.search-page-field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  border: 1px solid rgba(15, 29, 49, 0.1);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 29, 49, 0.06);
}
.search-page-field:focus-within {
  border-color: rgba(168, 37, 53, 0.4);
  box-shadow: 0 0 0 3px rgba(168, 37, 53, 0.08);
}
.search-page-field-icon {
  display: grid;
  place-items: center;
  color: var(--muted);
}
.search-page-field-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}
.search-page-field input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  outline: none;
}
.search-page-cats {
  background: #fff;
  border-bottom: 1px solid rgba(15, 29, 49, 0.08);
}
.search-page-cats-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  justify-content: center;
  padding: 0.85rem 0;
}
.search-page-cat {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}
.search-page-cat:hover {
  color: var(--red-600, #8f1e2b);
}
.search-page-cat.is-active {
  color: var(--red-600, #8f1e2b);
  font-weight: 700;
  border-bottom-color: var(--red-500, #a82535);
}
.search-page-body {
  padding-top: 1.75rem;
}
.search-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}
.search-result-card {
  background: #fff;
  border: 1px solid rgba(15, 29, 49, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.search-result-card:hover {
  box-shadow: 0 10px 28px rgba(15, 29, 49, 0.1);
  transform: translateY(-2px);
}
.search-result-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.search-result-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8ebf0;
}
.search-result-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.search-result-card-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, #e8ebf0 0%, #dfe3ea 50%, #eef1f5 100%);
}
.search-result-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 0.95rem 1.05rem;
  flex: 1;
}
.search-result-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red-600, #8f1e2b);
}
.search-result-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.search-result-card-excerpt {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin-top: 2rem;
}
.search-pagination-nav,
.search-pagination-page {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.35rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
}
.search-pagination-nav:hover,
.search-pagination-page:hover {
  color: var(--red-600, #8f1e2b);
}
.search-pagination-page.is-active {
  color: var(--red-500, #a82535);
  font-weight: 800;
}
.search-pagination-nav.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}
.search-pagination-ellipsis {
  color: var(--muted);
  padding: 0 0.15rem;
}
.search-empty {
  margin: 2rem 0;
  text-align: center;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .search-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .search-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-panel {
    right: 1rem;
    left: 1rem;
    width: auto;
  }
}
@media (max-width: 560px) {
  .search-page-grid {
    grid-template-columns: 1fr;
  }
  .search-page-hero-inner {
    align-items: stretch;
  }
  .search-page-form {
    width: 100%;
    flex: 1 1 auto;
  }
}

.article-listing-eyebrow {
  margin: 0.55rem 0 0;
  color: var(--red-600, #8f1e2b);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.consultation-modal[hidden] {
  display: none;
}
.consultation-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.consultation-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 29, 49, 0.5);
}
.consultation-modal-panel {
  position: relative;
  width: min(630px, 100%);
  margin: 0;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(15, 29, 49, 0.18);
  overflow: hidden;
}
.consultation-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.7rem;
  z-index: 2;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.92;
}
.consultation-modal-close:hover {
  opacity: 1;
}
.consultation-modal-header {
  padding: 0.85rem 1.15rem;
  background: linear-gradient(135deg, var(--red-700), var(--red-500));
  color: #fff;
}
.consultation-modal-eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.88rem;
  opacity: 0.9;
}
.consultation-hotline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
}
.consultation-hotline svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.consultation-modal-body {
  padding: 1rem 1.3rem 1.25rem;
}
.consultation-modal-body h2 {
  margin: 0 0 0.75rem;
  font-size: 1.12rem;
  font-weight: 700;
}
.consultation-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.15rem;
}
.consultation-field-full {
  grid-column: 1 / -1;
}
.consultation-field label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #37352f;
}
.consultation-label-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #a9a9a9;
}
.consultation-field .required {
  color: #b02a37;
}
.consultation-field input,
.consultation-field select,
.consultation-field textarea {
  width: 100%;
  border: 1px solid #e1e1e0;
  border-radius: 5px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 0.95rem;
  color: #37352f;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.consultation-field input::placeholder,
.consultation-field textarea::placeholder {
  color: #a9a9a9;
}
.consultation-field input:focus,
.consultation-field select:focus,
.consultation-field textarea:focus {
  outline: none;
  border-color: #37352f;
  box-shadow: none;
}
.consultation-field select {
  appearance: none;
  padding-right: 2rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23A9A9A9' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-color: #fff;
}
.consultation-field textarea {
  resize: vertical;
  min-height: 5rem;
  line-height: 1.5;
}
.consultation-error {
  margin: 0.28rem 0 0;
  color: #b02a37;
  font-size: 0.75rem;
  line-height: 1.3;
}
.consultation-error:empty {
  display: none;
}
.consultation-form-message {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
}
.consultation-form-message.is-success {
  color: #2e7d32;
}
.consultation-form-message.is-error {
  color: #b02a37;
}
.button.consultation-submit {
  width: 100%;
  margin-top: 1.05rem;
  padding: 0.85rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  background: #b02a37;
  box-shadow: none;
  transform: none;
}
.button.consultation-submit:hover {
  background: #961f2c;
  color: #fff;
  box-shadow: none;
  transform: none;
}
.button.consultation-submit:active {
  background: #7f1a25;
  box-shadow: none;
  transform: none;
}
.consultation-submit svg {
  width: 17px;
  height: 17px;
}
.consultation-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
@media (max-width: 540px) {
  .consultation-form-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .consultation-modal-body {
    padding: 0.85rem 0.95rem 1rem;
  }
}
body.consultation-modal-open {
  overflow: hidden;
}

.search-inline-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}
.search-inline-form input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
}
.search-results-summary {
  color: var(--muted);
  margin-top: 0.5rem;
}
.search-results-list {
  display: grid;
  gap: 1rem;
}
.search-result-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: #fff;
}
.search-result-category {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.search-result-item h2 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}
.search-result-item h2 a:hover {
  color: var(--accent);
}
.search-result-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.search-result-link {
  display: inline-block;
  margin-top: 0.65rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
}
.search-empty {
  color: var(--muted);
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
  color: var(--muted);
}
.pagination a {
  color: var(--accent);
  font-weight: 600;
}
.section-compact {
  padding: 0;
}

/* ===== FLOATING ACTIONS ===== */
.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.floating-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 29, 49, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: floatingWiggle 3.2s ease-in-out infinite;
  cursor: pointer;
}
.floating-action:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(15, 29, 49, 0.22);
}
.floating-action:nth-child(1) { animation-delay: 0s; }
.floating-action:nth-child(2) { animation-delay: 0.4s; }
.floating-action:nth-child(3) { animation-delay: 0.8s; }
.floating-action:nth-child(4) { animation-delay: 1.2s; animation: none; }
.floating-action > svg:not(.floating-progress) {
  width: 22px;
  height: 22px;
}
.floating-action-zalo {
  background: #0068ff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}
.floating-zalo-text {
  line-height: 1;
}
.floating-action-messenger {
  background: linear-gradient(135deg, #0099ff, #006aff);
}
.floating-action-phone {
  background: linear-gradient(135deg, var(--red-700), var(--red-500));
}
.floating-action-phone svg {
  color: #fff;
  fill: #fff;
  stroke: none;
}
.floating-action-top {
  position: relative;
  background: #fff;
  color: var(--muted);
  animation: none;
  overflow: visible;
}
.floating-action-top[hidden] {
  display: none;
}
.floating-progress {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  pointer-events: none;
}
.floating-progress-bg {
  stroke: rgba(26, 43, 66, 0.14);
}
.floating-progress-fill {
  stroke: var(--accent);
  transition: stroke-dashoffset 0.12s linear;
}
.floating-top-arrow {
  position: relative;
  z-index: 1;
  width: 20px !important;
  height: 20px !important;
}
@keyframes floatingWiggle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.cta-panel {
  background: linear-gradient(135deg, var(--red-soft), rgba(168, 37, 53, 0.04));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
}
.cta-panel h2 { margin-top: 0; }
.cta-panel p { color: var(--muted); }

/* ===== CONTACT PAGE ===== */
.contact-page {
  padding-bottom: 0;
}
.contact-page-top {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}
.contact-page-header {
  margin-top: 0.5rem;
  max-width: 42rem;
}
.contact-page-header h1 {
  margin: 0.35rem 0 0.75rem;
  color: var(--text);
}
.contact-page-company {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--red-500);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.contact-page-intro {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}
.contact-page-intro p:last-child {
  margin-bottom: 0;
}
.contact-page-main {
  padding: 1.5rem 0 3rem;
}
.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 1.5rem;
  align-items: start;
}
.contact-page-aside,
.contact-page-form-panel {
  background: #fff;
  border: 1px solid rgba(26, 43, 66, 0.08);
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
}
.contact-page-tagline {
  margin: 0 0 0.55rem;
  font-weight: 700;
  color: var(--text);
  font-size: 1.05rem;
}
.contact-page-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}
.contact-page-office {
  margin-bottom: 1.25rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(168, 37, 53, 0.06), rgba(26, 43, 66, 0.04));
}
.contact-page-office-title {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-500);
}
.contact-page-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}
.contact-page-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}
.contact-page-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red-500);
}
.contact-page-detail-icon svg {
  width: 1rem;
  height: 1rem;
}
.contact-page-detail-body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.contact-page-details strong {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.contact-page-details a {
  color: var(--text);
  font-weight: 600;
}
.contact-page-details a:hover {
  color: var(--red-500);
}
.contact-page-note {
  display: block !important;
  font-size: 0.88rem !important;
  color: var(--muted) !important;
  padding-top: 0.15rem;
}
.contact-page-channels {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}
.contact-page-channel {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(26, 43, 66, 0.1);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.contact-page-channel:hover {
  border-color: rgba(168, 37, 53, 0.28);
  box-shadow: 0 8px 20px rgba(168, 37, 53, 0.08);
  transform: translateY(-1px);
}
.contact-page-channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--red-soft);
  color: var(--red-500);
}
.contact-page-channel-icon svg {
  width: 20px;
  height: 20px;
}
.contact-page-channel-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}
.contact-page-channel-text strong {
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--text);
}
.contact-page-channel-text span {
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--muted);
}
.contact-page-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.contact-page-social a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 43, 66, 0.12);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.contact-page-social a:hover {
  border-color: var(--red-500);
  color: var(--red-500);
  background: rgba(168, 37, 53, 0.04);
}
.contact-page-form-title {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: var(--text);
}
.contact-page-form-panel .consultation-submit {
  width: 100%;
}
.contact-page-map {
  padding: 0 0 3.5rem;
}
.contact-page-map-heading {
  max-width: 40rem;
  margin-bottom: 1.25rem;
}
.contact-page-map-heading h2 {
  margin: 0.35rem 0 0.55rem;
}
.contact-page-map-heading p {
  margin: 0;
  color: var(--muted);
}
.contact-page-map-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(26, 43, 66, 0.1);
  background: #e8eef5;
  aspect-ratio: 21 / 9;
  min-height: 280px;
}
.contact-page-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 900px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
  .contact-page-map-frame {
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 640px) {
  .contact-page-aside,
  .contact-page-form-panel {
    padding: 1.2rem 1rem;
    border-radius: 14px;
  }
  .contact-page-form-panel .consultation-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== HOME CONTACT SECTION ===== */
/* Base (light card) — careers/detail.html (band + card trắng 2 cột) */
.home-contact {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}
.home-contact-band {
  background: linear-gradient(135deg, #1a2b42 0%, #243a57 55%, var(--red-700) 130%);
  color: #fff;
  padding: 2.75rem 0 5.5rem;
}
.home-contact-band-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.home-contact-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
}
.home-contact-band h2 {
  margin: 0;
  max-width: 28rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.25;
  color: #fff;
}
.home-contact-quote {
  margin: 0.85rem 0 0;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
}
.home-contact-card-wrap {
  margin-top: -3.25rem;
  padding-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}
.home-contact-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(320px, 1.15fr);
  gap: 0;
  background: #fff;
  border: 1px solid #e1e1e0;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(55, 53, 47, 0.06);
  overflow: hidden;
}
.home-contact-aside {
  padding: 2.15rem 1.85rem 2.15rem 2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-right: 1px solid #e1e1e0;
}
.home-contact-tagline {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: #37352f;
}
.home-contact-lead {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #787774;
}
.home-contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.home-contact-channel {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border: 1px solid #e1e1e0;
  border-radius: 5px;
  background: #fff;
  color: #37352f;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.home-contact-channel:hover {
  border-color: #d3d1cb;
  background: #fafafa;
}
.home-contact-channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 5px;
  flex-shrink: 0;
  background: rgba(176, 42, 55, 0.08);
  color: #b02a37;
}
.home-contact-channel-icon svg {
  width: 18px;
  height: 18px;
}
.home-contact-channel-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.home-contact-channel-text strong {
  font-size: 0.94rem;
  line-height: 1.3;
  font-weight: 650;
  color: #37352f;
}
.home-contact-channel-text span {
  font-size: 0.84rem;
  line-height: 1.35;
  color: #787774;
}
.home-contact-form-panel {
  padding: 2.15rem 2rem 2rem;
  background: #fff;
}
.home-contact-form-title {
  margin: 0 0 1.15rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: #37352f;
}
.home-contact-form-panel .consultation-submit {
  margin-top: 1.15rem;
}

@media (max-width: 900px) {
  .home-contact-band {
    padding: 2rem 0 4.5rem;
  }
  .home-contact-card-wrap {
    margin-top: -2.5rem;
    padding-bottom: 2.5rem;
  }
  .home-contact-card {
    grid-template-columns: 1fr;
  }
  .home-contact-aside {
    border-right: none;
    border-bottom: 1px solid #e1e1e0;
    padding: 1.5rem 1.25rem;
  }
  .home-contact-form-panel {
    padding: 1.5rem 1.25rem 1.4rem;
  }
}

@media (max-width: 560px) {
  .home-contact-channels {
    gap: 0.7rem;
  }
  .home-contact-channel {
    padding: 0.85rem 0.9rem;
  }
  .home-contact-form-panel .consultation-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Biến thể ảnh nền — trang chủ / service landing (`.home-contact--photo`), dùng chung tên class
   với biến thể trên nhưng override qua scope để không ảnh hưởng careers/detail.html */
.home-contact--photo {
  position: relative;
  overflow: visible;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  color: #fff;
}
.home-contact-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-contact-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.home-contact-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(18, 8, 10, 0.95) 0%, rgba(102, 22, 30, 0.86) 48%, rgba(12, 5, 6, 0.9) 100%);
}
.home-contact--photo .home-contact-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(260px, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: end;
  overflow: visible;
}
.home-contact--photo .home-contact-portrait {
  margin: 0 -1.25rem;
  align-self: end;
  justify-self: center;
  width: calc(100% + 2.5rem);
  max-width: 440px;
  pointer-events: none;
}
.home-contact--photo .home-contact-portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(640px, 78vh);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}
.home-contact--photo .home-contact-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.home-contact--photo .home-contact-copy h2 {
  margin: 0 0 0.9rem;
  max-width: 26rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.28;
  color: #fff;
}
.home-contact--photo .home-contact-quote {
  margin: 0 0 1.1rem;
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.82);
}
.home-contact--photo .home-contact-lead {
  margin: 0 0 1.85rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.68);
}
.home-contact--photo .home-contact-channel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.home-contact--photo .home-contact-channel:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-1px);
}
.home-contact--photo .home-contact-channel-icon {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.home-contact--photo .home-contact-channel-text strong {
  color: #fff;
}
.home-contact--photo .home-contact-channel-text span {
  color: rgba(255, 255, 255, 0.6);
}
.home-contact--photo .home-contact-form-panel {
  background: rgba(15, 12, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.home-contact--photo .home-contact-form-title {
  color: #fff;
}
.home-contact--photo .consultation-field label {
  color: rgba(255, 255, 255, 0.85);
}
.home-contact--photo .consultation-label-icon {
  color: rgba(255, 255, 255, 0.5);
}
.home-contact--photo .consultation-field input,
.home-contact--photo .consultation-field select,
.home-contact--photo .consultation-field textarea {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}
.home-contact--photo .consultation-field input::placeholder,
.home-contact--photo .consultation-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.home-contact--photo .consultation-field input:focus,
.home-contact--photo .consultation-field select:focus,
.home-contact--photo .consultation-field textarea:focus {
  border-color: rgba(255, 255, 255, 0.6);
}
.home-contact--photo .consultation-field select {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}
.home-contact--photo .consultation-field select option {
  color: #1a1a1a;
}
.home-contact--photo .consultation-error {
  color: #ffb4b4;
}
.home-contact--photo .consultation-form-message.is-success {
  color: #8be28b;
}
.home-contact--photo .consultation-form-message.is-error {
  color: #ffb4b4;
}

@media (max-width: 1100px) {
  .home-contact--photo .home-contact-inner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .home-contact--photo .home-contact-copy h2,
  .home-contact--photo .home-contact-quote,
  .home-contact--photo .home-contact-lead {
    max-width: none;
  }
  .home-contact--photo .home-contact-portrait {
    margin: 0 auto;
    width: 100%;
    max-width: 300px;
    align-self: center;
  }
  .home-contact--photo .home-contact-portrait img {
    max-height: 400px;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.4));
  }
}

/* Biến thể sáng — mockup B (trang chủ / service landing). Không đụng careers. */
.home-contact--light {
  --hc-bg: #ffffff;
  --hc-bg-end: #ffffff;
  --hc-left: #122033; /* navy gần footer */
  --hc-muted: #6b7280;
  --hc-lead: #4b5563;
  --hc-sub: #9ca3af;
  --hc-label: #374151;
  --hc-line: #e5e7eb;
  --hc-zalo: #0068ff;
  --hc-wash:
    linear-gradient(
      155deg,
      rgba(18, 32, 51, 0.9) 0%,
      rgba(18, 32, 51, 0.78) 48%,
      rgba(11, 22, 40, 0.88) 78%,
      rgba(168, 37, 53, 0.22) 100%
    ),
    url("../img/home-hero.png");
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.75rem) 0;
  color: var(--text);
  background: #fff;
}
/* Soft photo wash — chỉ nửa trái, chữ vẫn đọc được */
.home-contact--light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 48%;
  z-index: 0;
  background-color: var(--hc-left);
  background-image: var(--hc-wash);
  background-size: cover;
  background-position: 32% 42%;
  pointer-events: none;
}
.home-contact--light .home-contact-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(340px, 1.25fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
}
.home-contact--light .home-contact-copy {
  position: relative;
  z-index: 3;
  max-width: 28rem;
  background: transparent;
  color: #fff;
  --hc-muted: rgba(255, 255, 255, 0.78);
  --hc-lead: rgba(255, 255, 255, 0.88);
  --hc-sub: rgba(255, 255, 255, 0.65);
}
.home-contact--light .home-contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.home-contact--light .home-contact-eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  flex-shrink: 0;
  background: var(--red-500);
}
.home-contact--light .home-contact-copy h2 {
  margin: 0 0 0.85rem;
  max-width: 22rem;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1.28;
  font-weight: 700;
  color: #fff;
}
.home-contact--light .home-contact-quote {
  margin: 0 0 0.85rem;
  max-width: 26rem;
  font-size: 0.98rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--hc-muted);
}
.home-contact--light .home-contact-lead {
  margin: 0 0 1.5rem;
  max-width: 26rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--hc-lead);
}
.home-contact--light .home-contact-channels {
  gap: 1.15rem;
}
.home-contact--light .home-contact-channel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  align-items: center;
  gap: 1rem;
}
.home-contact--light .home-contact-channel:hover {
  background: transparent;
  border: 0;
  transform: none;
}
.home-contact--light .home-contact-channel:hover .home-contact-channel-icon {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.home-contact--light .home-contact-channel-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  color: var(--red-500);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: box-shadow 0.15s ease;
}
.home-contact--light .home-contact-channel-icon svg,
.home-contact--light .home-contact-channel-icon img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.home-contact--light .home-contact-channel--zalo .home-contact-channel-text strong,
.home-contact--light .home-contact-channel--messenger .home-contact-channel-text strong {
  color: #fff;
}
.home-contact--light .home-contact-channel--hotline .home-contact-channel-text strong {
  color: #fff;
}
.home-contact--light .home-contact-channel--hotline .home-contact-channel-icon {
  color: var(--red-500);
}
.home-contact--light .home-contact-channel-text strong {
  font-size: 0.94rem;
  font-weight: 700;
  color: #fff;
}
.home-contact--light .home-contact-channel-text span {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--hc-sub);
}
.home-contact--light .home-contact-channel-phone {
  font-size: 0.98rem !important;
  font-weight: 700;
  color: var(--red-300) !important;
}
.home-contact--light .home-contact-form-panel {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: clamp(1.55rem, 2.8vw, 2.05rem);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(26, 43, 66, 0.08);
  border: 1px solid rgba(26, 43, 66, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.home-contact--light .consultation-field textarea {
  min-height: 6.5rem;
}
.home-contact--light .consultation-form-grid {
  gap: 1.15rem 1.25rem;
}
.home-contact--light .home-contact-form-panel .consultation-submit {
  margin-top: 1.25rem;
  width: 100%;
  justify-content: center;
  border-radius: 8px;
  background: var(--red-500);
}
.home-contact--light .consultation-label-icon {
  display: none;
}
.home-contact--light .consultation-field label {
  color: var(--hc-label);
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.2rem;
}
.home-contact--light .consultation-field input,
.home-contact--light .consultation-field select,
.home-contact--light .consultation-field textarea {
  border: 0;
  border-bottom: 1px solid var(--hc-line);
  border-radius: 0;
  padding: 0.55rem 0;
  background-color: transparent;
  color: var(--text);
  box-shadow: none;
}
.home-contact--light .consultation-field input::placeholder,
.home-contact--light .consultation-field textarea::placeholder {
  color: #a9a9a9;
}
.home-contact--light .consultation-field input:focus,
.home-contact--light .consultation-field select:focus,
.home-contact--light .consultation-field textarea:focus {
  border-color: transparent;
  border-bottom-color: var(--text);
  box-shadow: none;
}
.home-contact--light .consultation-field select {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239CA3AF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.25rem;
}
.home-contact--light .consultation-field select option {
  color: var(--text);
}
.home-contact--light .consultation-error {
  color: var(--red-500);
}
.home-contact--light .consultation-form-message.is-success {
  color: #15803d;
}
.home-contact--light .consultation-form-message.is-error {
  color: var(--red-500);
}
.home-contact--light .home-contact-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--hc-sub);
  text-align: center;
}
.home-contact--light .home-contact-privacy-icon {
  display: inline-flex;
  color: var(--hc-sub);
  flex-shrink: 0;
}
.home-contact--light .home-contact-privacy-icon svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 1099px) and (min-width: 769px) {
  .home-contact--light .home-contact-inner {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
  }
  .home-contact--light .home-contact-copy {
    max-width: none;
  }
  .home-contact--light .home-contact-copy h2,
  .home-contact--light .home-contact-quote,
  .home-contact--light .home-contact-lead {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .home-contact--light {
    padding: 0 0 2.75rem;
    background: #fff;
  }
  .home-contact--light::before {
    display: none;
  }
  .home-contact--light .home-contact-inner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .home-contact--light .home-contact-copy {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 1.5rem;
    padding: 2.5rem max(1rem, calc((100vw - min(1360px, 100vw - 2rem)) / 2 + 1rem)) 2rem;
    background-color: var(--hc-left);
    background-image: var(--hc-wash);
    background-size: cover;
    background-position: 40% 35%;
  }
  .home-contact--light .home-contact-copy h2,
  .home-contact--light .home-contact-quote,
  .home-contact--light .home-contact-lead {
    max-width: none;
  }
  .home-contact--light .consultation-form-grid {
    grid-template-columns: 1fr;
  }
  .home-contact--light .consultation-field textarea {
    min-height: 5rem;
  }
}

@media (max-width: 480px) {
  .home-contact--light .home-contact-copy h2 {
    font-size: 1.55rem;
  }
  .home-contact--light .home-contact-channel-icon {
    width: 56px;
    height: 56px;
  }
  .home-contact--light .home-contact-channel-icon svg,
  .home-contact--light .home-contact-channel-icon img {
    width: 26px;
    height: 26px;
  }
}

.text-accent { color: var(--accent); }

/* ===== ARTICLES ===== */
.featured-articles-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.featured-articles-head-copy h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  line-height: 1.2;
}
.featured-articles-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.featured-articles-eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.featured-articles-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.35rem;
  flex: 1 1 320px;
}
.category-tab--featured {
  padding: 0.35rem 0 0.55rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: none;
  border-bottom: 3px solid transparent;
}
.category-tab--featured:hover {
  color: var(--accent);
  background: transparent;
  box-shadow: none;
  border-bottom-color: rgba(168, 37, 53, 0.35);
}
.category-tab--featured.is-active {
  color: var(--accent);
  background: transparent;
  box-shadow: none;
  border-bottom-color: var(--accent);
}
.featured-article-card {
  width: 100%;
  min-width: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 29, 49, 0.07);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.featured-article-card:hover {
  box-shadow: 0 16px 36px rgba(122, 24, 35, 0.16);
  transform: translateY(-3px);
}
.featured-article-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.featured-article-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.featured-article-card-media img,
.featured-article-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.featured-article-card-placeholder {
  background: linear-gradient(135deg, #dce3ec 0%, #eef2f7 45%, var(--red-soft) 100%);
}
.featured-article-card:hover .featured-article-card-media img,
.featured-article-card:hover .featured-article-card-placeholder {
  transform: scale(1.1);
}
.featured-article-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 1.15rem 1rem;
  background: #eef1f5;
  transition: background 0.35s ease, color 0.35s ease;
}
.featured-article-card:hover .featured-article-card-body {
  background: linear-gradient(135deg, var(--red-700), var(--red-500));
}
.featured-article-card-content {
  transition: transform 0.35s ease;
}
.featured-article-card:hover .featured-article-card-content {
  transform: translateY(-5px);
}
.featured-article-card-category {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.35s ease;
}
.featured-article-card:hover .featured-article-card-category {
  color: rgba(255, 255, 255, 0.82);
}
.featured-article-card-title {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.35s ease;
}
.featured-article-card:hover .featured-article-card-title {
  color: #fff;
}
.featured-article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}
.featured-article-card-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  flex-shrink: 0;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.featured-article-card-arrow svg {
  width: 15px;
  height: 15px;
}
.featured-article-card:hover .featured-article-card-arrow {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: translate(2px, -2px);
}
.featured-article-card-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.35s ease;
}
.featured-article-card-date svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.featured-article-card:hover .featured-article-card-date {
  color: rgba(255, 255, 255, 0.88);
}

.category-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  flex: 1;
  pointer-events: auto;
}
.category-tab {
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 1;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, background 0.2s;
}
.category-tab:hover,
.category-tab.is-active {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 16px var(--red-soft);
}
.category-tab.is-active {
  background: rgba(168, 37, 53, 0.04);
}
.category-view-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.category-view-more:hover {
  background: var(--accent);
  color: #fff;
  transform: translateX(2px);
}
.category-view-more svg {
  width: 18px;
  height: 18px;
}
.article-panels {
  position: relative;
  min-height: 200px;
}
.article-panel {
  display: none;
}
.article-panel.is-active {
  display: block;
  animation: tabFadeIn 0.28s ease;
}
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.article-empty {
  grid-column: 1 / -1;
  color: var(--muted);
  text-align: center;
  padding: 2rem 0;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
/* Homepage tin nổi bật: 4 cột full hàng (specificity > .article-grid) */
.article-grid.article-grid--featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  width: 100%;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15, 29, 49, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 29, 49, 0.12);
}
.article-card-link {
  display: block;
  height: 100%;
  color: inherit;
}
.article-card-cover {
  min-height: 180px;
  padding: 1.25rem;
  background: linear-gradient(135deg, #1a2b42 0%, #2d4a6f 55%, var(--accent) 120%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.article-card-cover--image {
  min-height: 0;
  padding: 0;
  background: var(--surface-2);
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.article-card-cover--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.article-card:hover .article-card-cover--image img {
  transform: scale(1.04);
}
.article-card-body .article-card-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text);
}
.article-card-cover::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, transparent 50%, rgba(168, 37, 53, 0.85) 50%);
}
.article-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
}
.article-card-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
  color: #fff;
}
.article-card-body {
  padding: 1.1rem 1.2rem 1.25rem;
}
.article-card-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}
.article-card-body p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
}
.article-card-cta {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}
.section-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}
.article-page {
  padding: 2.5rem 0 3rem;
  background: #fff;
}
.article-container {
  max-width: 860px;
}
.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}
.article-breadcrumb a:hover { color: var(--accent); }
.article-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0.5rem 0 1rem;
}
.article-category-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.article-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-excerpt {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 1.25rem 0 1.75rem;
  line-height: 1.75;
}
.article-cover {
  margin: 0 0 1.75rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 29, 49, 0.12);
}
.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Mục lục bài viết — auto từ h1/h2/h3 */
.article-toc {
  margin: 0 0 1.75rem;
  border: 1px solid rgba(168, 37, 53, 0.18);
  border-radius: 10px;
  background: rgba(168, 37, 53, 0.05);
  box-shadow: none;
  overflow: hidden;
}
.article-toc-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  padding: 1rem 1.15rem 0.55rem;
}
.article-toc-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red-600, #8f1e2b);
}
.article-toc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.15rem 0.25rem;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--red-500, #a82535);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.article-toc-toggle:hover {
  color: var(--red-600, #8f1e2b);
  opacity: 0.85;
}
.article-toc-toggle svg {
  width: 16px;
  height: 16px;
  display: block;
}
.article-toc-toggle-chevron {
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}
.article-toc-toggle-chevron svg {
  width: 13px;
  height: 13px;
}
.article-toc.is-collapsed .article-toc-toggle-chevron {
  transform: rotate(-90deg);
}
.article-toc-panel {
  border-top: none;
  padding: 0.15rem 1.15rem 1rem;
}
.article-toc.is-collapsed .article-toc-panel {
  display: none;
}
.article-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-toc-item + .article-toc-item > .article-toc-row {
  border-top: none;
}
.article-toc-row {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}
.article-toc-link {
  flex: 1;
  min-width: 0;
  padding: 0.28rem 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
  text-decoration: none;
  transition: color 0.2s ease;
}
.article-toc-link:hover {
  color: var(--red-600, #8f1e2b);
}
.article-toc-list--nested {
  padding: 0 0 0.2rem 1.15rem;
}
.article-toc-list--nested .article-toc-item + .article-toc-item > .article-toc-row {
  border-top: none;
}
.article-toc-list--nested .article-toc-link {
  padding-top: 0.22rem;
  padding-bottom: 0.22rem;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text);
}
.article-toc-branch {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0.1rem 0 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.article-toc-branch svg {
  width: 15px;
  height: 15px;
  display: block;
  transition: transform 0.2s ease;
}
.article-toc-branch:hover {
  color: var(--red-600, #8f1e2b);
  background: rgba(168, 37, 53, 0.08);
}
.article-toc-item.has-children:not(.is-open) > .article-toc-row .article-toc-branch svg {
  transform: rotate(-90deg);
}
.article-toc-item.has-children:not(.is-open) > .article-toc-list--nested {
  display: none;
}
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  scroll-margin-top: 5.5rem;
}

.article-content {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.85;
}
.article-content h1 {
  color: var(--text);
  line-height: 1.3;
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  font-size: 1.55rem;
}
.article-content > *:first-child {
  margin-top: 0;
}
.article-content > *:last-child {
  margin-bottom: 0;
}
.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--text);
  line-height: 1.35;
  font-weight: 700;
}
.article-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}
.article-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
  font-size: 1.18rem;
}
.article-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}
.article-content p {
  margin: 0 0 1rem;
}
.article-content ul,
.article-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}
.article-content li + li {
  margin-top: 0.35rem;
}
.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-content a:hover {
  color: var(--text);
}
.article-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: var(--red-soft);
  border-radius: 0 12px 12px 0;
  color: var(--muted);
}
.article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  border-radius: 12px;
}
.article-content figure {
  margin: 1.5rem 0;
}
/* CKEditor 5 resize: figure.image_resized + style="width:…%" — img full khung figure */
.article-content figure.image_resized {
  max-width: 100%;
  box-sizing: border-box;
}
.article-content figure.image_resized img {
  width: 100%;
  height: auto;
}
/* CKEditor 5 imageStyle: alignLeft / alignCenter / alignRight */
.article-content figure.image-style-align-center {
  margin-left: auto;
  margin-right: auto;
}
.article-content figure.image-style-align-left {
  float: left;
  margin: 0.35rem 1.25rem 1rem 0;
  clear: left;
}
.article-content figure.image-style-align-right {
  float: right;
  margin: 0.35rem 0 1rem 1.25rem;
  clear: right;
}
.article-content::after {
  content: "";
  display: table;
  clear: both;
}
.article-content figure img {
  margin: 0 auto;
  border-radius: 12px 12px 0 0;
}
.article-content figure:not(:has(figcaption)) img {
  border-radius: 12px;
}
.article-content figcaption {
  margin: 0;
  padding: 0.7rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--muted);
  background: var(--surface-2);
  border-radius: 0 0 12px 12px;
}
.article-content table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: 0.95rem;
  overflow-x: auto;
  display: block;
}
.article-content th,
.article-content td {
  border: 1px solid var(--header-border);
  padding: 0.65rem 0.85rem;
  text-align: left;
}
.article-content th {
  background: var(--red-soft);
  font-weight: 700;
}
.article-content hr {
  border: none;
  border-top: 1px solid var(--header-border);
  margin: 2rem 0;
}
.article-content mark,
.article-content .marker-yellow {
  background-color: #fff59d;
  padding: 0 0.15em;
  border-radius: 2px;
}
.article-content .marker-green {
  background-color: #c8e6c9;
  padding: 0 0.15em;
  border-radius: 2px;
}
.article-content .marker-pink {
  background-color: #f8bbd0;
  padding: 0 0.15em;
  border-radius: 2px;
}
.article-content .marker-blue {
  background-color: #bbdefb;
  padding: 0 0.15em;
  border-radius: 2px;
}
.article-content .text-align-left {
  text-align: left;
}
.article-content .text-align-center {
  text-align: center;
}
.article-content .text-align-right {
  text-align: right;
}
.article-content .text-align-justify {
  text-align: justify;
}
.article-content sub,
.article-content sup {
  font-size: 0.75em;
  line-height: 0;
}
.article-content code {
  padding: 0.15em 0.35em;
  border-radius: 4px;
  background: var(--surface-2);
  font-size: 0.9em;
}

/* Team page */
.team-org {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.team-level {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem 1.75rem;
  width: 100%;
  justify-items: center;
}
.team-level-single {
  grid-template-columns: minmax(220px, 260px);
  justify-content: center;
}
.employee-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 260px;
}
.employee-photo {
  position: relative;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface-2);
}
.employee-photo::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.employee-card:hover .employee-photo::before,
.employee-card:focus-within .employee-photo::before {
  height: 100%;
}
.employee-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.employee-card:hover .employee-photo img {
  transform: translateY(-4px) scale(1.03);
}
.employee-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #e8eef5, #f7f9fc);
  color: var(--accent);
  font-size: 2.2rem;
  font-weight: 800;
}
.employee-info {
  margin-top: 1rem;
  width: 100%;
}
.employee-level {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.employee-name {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.35;
}
.employee-position {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.employee-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}
.employee-contact a {
  font-size: 0.84rem;
  color: var(--muted);
  transition: color 0.2s ease;
}
.employee-contact a:hover {
  color: var(--accent);
}
.employee-bio {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}
.team-empty {
  color: var(--muted);
  padding: 2rem 0;
}

@media (max-width: 1100px) {
  .article-grid.article-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .featured-articles-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .featured-articles-tabs {
    justify-content: flex-start;
    flex: none;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }
  .category-tab--featured {
    flex-shrink: 0;
  }
  /* Tin nổi bật mobile: slide ngang thay hàng dọc */
  #bai-viet .article-panel {
    margin-inline: -1rem;
  }
  .article-grid.article-grid--featured {
    display: flex;
    width: 100%;
    gap: 0.85rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    padding: 0.15rem 1rem 0.55rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .article-grid.article-grid--featured::-webkit-scrollbar {
    display: none;
  }
  .article-grid.article-grid--featured .featured-article-card {
    flex: 0 0 min(78vw, 280px);
    width: min(78vw, 280px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (max-width: 1024px) {
  .partners-marquee-wrap {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-top: 1rem;
  }
  .partners-marquee-title {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  .page-with-sidebar-inner {
    grid-template-columns: 1fr;
  }
  .page-with-sidebar-inner.has-sidebar {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .page-sidebar {
    position: static;
    order: 2;
  }
  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-inner {
    gap: 0.65rem;
    min-height: 60px;
  }
  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }
  .brand-logo {
    height: 40px;
    max-width: min(160px, 40vw);
  }
  .header-actions {
    margin-left: auto;
    flex-shrink: 0;
    gap: 0.4rem;
  }
  .header-actions .button-cta {
    padding: 0.52rem 0.95rem;
    font-size: 0.82rem;
    box-shadow: 0 4px 14px var(--red-glow);
  }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    display: block;
    width: min(420px, calc(100vw - 48px));
    height: 100dvh;
    background: #fff;
    border-left: 1px solid var(--header-border);
    box-shadow: -16px 0 40px rgba(15, 29, 49, 0.18);
    padding: 0;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s;
    z-index: 102;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .main-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    display: block;
    width: 100%;
    height: 100dvh;
    padding: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.54);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s;
    z-index: 101;
    cursor: default;
  }
  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  body.nav-open {
    overflow: hidden;
  }
  .mobile-nav-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 0.6rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--header-border);
  }
  .mobile-nav-brand {
    display: inline-flex;
    align-items: center;
  }
  .mobile-nav-brand .brand-logo {
    height: 44px;
    max-width: 160px;
  }
  .mobile-nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--header-text);
    cursor: pointer;
  }
  .mobile-nav-close:hover {
    color: var(--header-accent);
    background: var(--red-soft);
  }
  .mobile-nav-close svg {
    width: 26px;
    height: 26px;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }
  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--header-border);
  }
  .desktop-nav-dropdown-toggle {
    display: none;
  }
  .mobile-nav-parent-row {
    display: flex;
    align-items: stretch;
    min-height: 56px;
  }
  .mobile-nav-parent-link {
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
    padding: 0.9rem 0 0.9rem 1rem;
    color: var(--header-text);
    font-size: 1rem;
    font-weight: 500;
  }
  .mobile-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    flex: 0 0 56px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--header-text);
    cursor: pointer;
  }
  .mobile-submenu-toggle .nav-chevron {
    width: 20px;
    height: 20px;
  }
  .mobile-nav-parent-link:hover,
  .mobile-submenu-toggle:hover,
  .nav-item.is-open > .mobile-nav-parent-row .mobile-nav-parent-link,
  .nav-item.is-open > .mobile-nav-parent-row .mobile-submenu-toggle {
    color: var(--header-accent);
  }
  .nav-link,
  .nav-link-dropdown {
    width: 100%;
    justify-content: space-between;
    min-height: 56px;
    padding: 0.9rem 1rem;
    border-radius: 0;
    font-size: 1rem;
  }
  .nav-link:hover,
  .nav-item.is-open > .nav-link,
  .nav-item.is-open > .nav-link-dropdown {
    background: #fff;
  }
  .nav-item-home .nav-link {
    justify-content: flex-start;
  }
  .dropdown-panel {
    position: static;
    left: auto;
    transform: none;
    min-width: 100%;
    max-width: none;
    width: 100%;
    padding-top: 0;
    display: block;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.24s ease,
      visibility 0.4s,
      margin-top 0.4s ease;
  }
  .nav-item.is-open .dropdown-panel {
    left: auto;
    transform: none;
    max-height: 1600px;
    margin-top: 0.25rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .dropdown-inner {
    box-shadow: none;
    border: 1px solid var(--header-border);
    animation: none;
  }
  .dropdown-header {
    display: none;
  }
  .dropdown-panel--mega {
    min-width: 100%;
    max-width: none;
    left: auto;
    transform: none;
  }
  .mega-menu {
    display: block;
    min-height: 0;
  }
  .mega-menu-left {
    border-right: none;
  }
  .mega-menu-right {
    display: none;
  }
  .mega-menu-link.has-panel {
    display: none;
  }
  .mobile-mega-parent-row {
    display: flex;
    align-items: stretch;
    min-height: 50px;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .mobile-mega-parent-link {
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
    padding: 0.72rem 0 0.72rem 0.9rem;
    color: var(--header-text);
    font-size: 0.92rem;
    font-weight: 500;
  }
  .mobile-mega-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    flex: 0 0 50px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--header-accent);
    cursor: pointer;
  }
  .mobile-mega-toggle .mega-menu-chevron {
    width: 20px;
    height: 20px;
  }
  .mega-menu-item.is-open > .mobile-mega-parent-row,
  .mobile-mega-parent-row:hover {
    background: linear-gradient(90deg, var(--red-soft), rgba(168, 37, 53, 0.04));
    color: var(--header-accent);
  }
  .mega-menu-item.is-open > .mobile-mega-parent-row .mobile-mega-parent-link,
  .mobile-mega-parent-row:hover .mobile-mega-parent-link {
    color: var(--header-accent);
  }
  .mega-menu-mobile-panel {
    display: block;
    max-height: 0;
    margin: 0 0 0 0.85rem;
    padding: 0 0 0 0.75rem;
    border-left: 2px solid var(--header-border);
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.22s ease,
      margin 0.35s ease,
      padding 0.35s ease;
  }
  .mega-menu-item.is-open .mega-menu-mobile-panel {
    max-height: 800px;
    margin: 0.15rem 0 0.35rem 0.85rem;
    padding: 0.35rem 0 0.35rem 0.75rem;
    opacity: 1;
  }
  .mega-menu-item.is-open .mega-menu-chevron {
    transform: rotate(90deg);
  }
  .mega-menu-mobile-panel .mega-panel-title {
    display: none;
  }
  .mega-menu-mobile-panel .mega-panel-list a {
    font-size: 0.88rem;
    padding: 0.45rem 0;
  }
  .nav-toggle { display: flex; }
  .search-btn { display: none; }
}

@media (max-width: 720px) {
  .partner-logo-item {
    width: 132px;
    height: 68px;
    padding: 0.35rem 0.45rem;
  }
  .partner-logo-item img {
    max-height: 44px;
    max-width: 110px;
  }
  .partners-marquee-track {
    gap: 0.85rem;
  }
  .partners-marquee-title {
    font-size: clamp(1.25rem, 4.5vw, 1.55rem);
  }
}
@media (max-width: 560px) {
  .partner-logo-item {
    width: 112px;
    height: 58px;
    padding: 0.3rem 0.4rem;
  }
  .partner-logo-item img {
    max-height: 38px;
    max-width: 96px;
  }
  .partners-marquee-track {
    gap: 0.65rem;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 0.45rem;
    min-height: 56px;
  }
  .brand-logo {
    height: 36px;
    max-width: min(140px, 38vw);
  }
  .header-actions .button-cta {
    padding: 0.48rem 0.75rem;
    font-size: 0.78rem;
  }
  .nav-toggle {
    width: 36px;
    height: 36px;
  }
  .main-nav {
    width: min(360px, calc(100vw - 40px));
  }
  .mobile-nav-header {
    min-height: 60px;
  }
  .mobile-nav-brand .brand-logo {
    height: 38px;
  }
}

@media (max-width: 360px) {
  .header-actions .button-cta {
    display: none;
  }
}

@media (max-width: 860px) {
  .floating-actions {
    right: 0.75rem;
    bottom: 0.85rem;
    gap: 0.5rem;
  }
  .floating-action {
    width: 44px;
    height: 44px;
  }
  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
  }
  .hero-grid, .card-grid, .steps-grid, .article-grid:not(.article-grid--featured) {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 3rem; }
  .hero--home {
    min-height: auto;
    align-items: stretch;
  }
  .hero-home-inner {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }
  .hero-home-grid {
    grid-template-columns: 1fr;
  }
  .hero-home-copy h1 {
    max-width: none;
  }
  .hero-home-stats {
    max-width: 28rem;
  }
  .category-tabs-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .category-tabs {
    justify-content: flex-start;
  }
  .category-view-more {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero--home .hero-actions {
    flex-direction: row;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 1.35rem;
  }
  /* line-height cố định để <button> và <a> cao bằng nhau (~44px chạm tay) */
  .hero--home .button {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.7rem 0.85rem;
    font-size: 0.92rem;
    line-height: 1.35;
    gap: 0.35rem;
  }
  .hero--home .button-secondary--on-dark {
    border-width: 1px;
  }
  /* Ảnh nền sáng lấn vào cột chữ khi màn hẹp → tăng scrim theo chiều dọc */
  .hero-home-scrim {
    background: linear-gradient(
      180deg,
      rgba(15, 29, 49, 0.86) 0%,
      rgba(15, 29, 49, 0.7) 45%,
      rgba(15, 29, 49, 0.86) 100%
    );
  }
}

/* Máy rất hẹp: 2 nút cạnh nhau sẽ tràn chữ → xếp dọc nhưng giữ chiều cao gọn */
@media (max-width: 344px) {
  .hero--home .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero--home .button {
    flex: 0 0 auto;
  }
}

/* ===== SERVICE LANDING ===== */
.service-landing {
  background: var(--bg);
}
.svc-section {
  padding: 4rem 0;
}
.svc-section-heading {
  max-width: 760px;
  margin: 0 auto 2.25rem;
  text-align: center;
}
.svc-section-heading h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.25;
}
.svc-section-heading p {
  margin: 0;
  color: var(--muted);
}
.svc-hero {
  padding: 2rem 0 3.5rem;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.svc-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
.svc-hero-copy h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.2;
}
.svc-hero-lead {
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.svc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.svc-hero-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.svc-badge-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 28px rgba(15, 29, 49, 0.06);
}
.svc-badge-card strong {
  display: block;
  color: var(--red-700);
  margin-bottom: 0.2rem;
}
.svc-badge-card span {
  color: var(--muted);
  font-size: 0.92rem;
}
.svc-why-grid,
.svc-timeline-grid,
.svc-requirements-grid,
.svc-benefits-grid,
.svc-process-grid {
  display: grid;
  gap: 1rem;
}
.svc-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-timeline-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-requirements-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-why-card,
.svc-timeline-card,
.svc-req-card,
.svc-benefit-card,
.svc-process-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 10px 28px rgba(15, 29, 49, 0.05);
}
.svc-why-card h3,
.svc-timeline-card h3,
.svc-req-card h3,
.svc-benefit-card h3,
.svc-process-card h3 {
  margin: 0.55rem 0 0.5rem;
  font-size: 1.05rem;
}
.svc-why-card p,
.svc-timeline-card p,
.svc-req-card p,
.svc-benefit-card p,
.svc-process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.svc-why-num,
.svc-req-card > span,
.svc-benefit-card > span,
.svc-process-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-700);
  font-weight: 700;
  font-size: 0.85rem;
}
.svc-timeline-step {
  display: inline-block;
  color: var(--red-600);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}
.svc-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}
.svc-deliverables span {
  background: #fff;
  border: 1px dashed rgba(168, 37, 53, 0.25);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
}
.svc-pricing {
  background: #fff;
}
.svc-process-flow {
  background: #fff;
}
.svc-process-flow-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  position: relative;
  padding-top: 0.25rem;
}
.svc-process-flow-track::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(168, 37, 53, 0.15), rgba(168, 37, 53, 0.35), rgba(168, 37, 53, 0.15));
  z-index: 0;
}
.svc-process-flow-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.svc-process-flow-marker-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.svc-process-flow-marker {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--red-700);
  background: #fff;
  border: 2px solid rgba(168, 37, 53, 0.35);
  box-shadow: 0 8px 20px rgba(15, 29, 49, 0.06);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.svc-process-flow-step:hover .svc-process-flow-marker {
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 28px var(--red-glow);
}
.svc-process-flow-step h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  line-height: 1.35;
  text-align: center;
  min-height: 2.7rem;
}
.svc-process-flow-intro {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: center;
  min-height: 4.5rem;
}
.svc-process-flow-box {
  flex: 1;
  background: #fff9f8;
  border: 1px solid rgba(168, 37, 53, 0.1);
  border-radius: 14px;
  padding: 1rem 1rem 1.05rem;
}
.svc-process-flow-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.svc-process-flow-box li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.svc-process-flow-box li:last-child {
  margin-bottom: 0;
}
.svc-process-flow-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--red-500);
  transform: rotate(45deg);
}
.svc-process-flow-box strong {
  color: var(--text);
}
.svc-pricing-tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: var(--surface-2);
  margin: 0 auto 2rem;
  width: fit-content;
}
.svc-pricing-panel {
  display: none;
  width: 100%;
}
.svc-pricing-panel.is-active {
  display: block;
}
.svc-pricing-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.svc-pricing-tab.is-active {
  background: #fff;
  color: var(--red-700);
  box-shadow: 0 8px 24px rgba(15, 29, 49, 0.08);
}
.svc-pricing-tab-icon {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: inherit;
}
.svc-pricing-tab-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.svc-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.svc-pricing-grid--single {
  grid-template-columns: minmax(280px, 420px);
  justify-content: center;
}
.svc-package-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: 0 12px 32px rgba(15, 29, 49, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.svc-package-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 37, 53, 0.22);
  box-shadow: 0 18px 40px rgba(15, 29, 49, 0.1);
}
.svc-package-card.is-recommended {
  border-color: rgba(168, 37, 53, 0.35);
  box-shadow: 0 18px 42px rgba(168, 37, 53, 0.12);
}
.svc-package-ribbon {
  position: absolute;
  top: 0.85rem;
  right: -0.35rem;
  background: var(--red-600);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 8px 8px 0 8px;
  box-shadow: 0 8px 18px rgba(168, 37, 53, 0.25);
}
.svc-package-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.svc-package-icon,
.svc-package-icon-img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.svc-package-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red-600);
}
.svc-package-icon svg {
  width: 22px;
  height: 22px;
}
.svc-package-icon-img {
  object-fit: contain;
  border-radius: 12px;
}
.svc-package-name {
  margin: 0;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.svc-package-desc {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.svc-package-price-old {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}
.svc-package-price-old span:first-child {
  text-decoration: line-through;
}
.svc-package-discount {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: var(--red-soft-strong);
  color: var(--red-700);
  font-size: 0.78rem;
  font-weight: 700;
}
.svc-package-price-current {
  margin: 0 0 0.85rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.svc-package-price-current strong {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  color: var(--red-700);
  line-height: 1.1;
}
.svc-package-price-current span {
  color: var(--muted);
  font-size: 0.92rem;
}
.svc-package-label {
  margin: 0 0 1rem;
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.svc-package-cta {
  width: 100%;
  margin-bottom: 1rem;
}
.svc-package-includes {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.svc-package-includes-title {
  margin: 0 0 0.65rem;
  font-weight: 700;
  font-size: 0.92rem;
}
.svc-package-includes-body {
  color: var(--muted);
  font-size: 0.92rem;
}
.svc-package-includes-body ul {
  margin: 0;
  padding-left: 1.1rem;
}
.svc-package-includes-body li {
  margin-bottom: 0.35rem;
}
.svc-pricing-note {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.92rem;
}
.svc-pricing-note ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}
.svc-empty-note {
  text-align: center;
  color: var(--muted);
}
.svc-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}
.svc-faq-item {
  background: #fff;
  border: 1px solid rgba(26, 43, 66, 0.08);
  border-radius: 16px;
  padding: 0 1.25rem;
  box-shadow: 0 4px 16px rgba(15, 29, 49, 0.03);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
.svc-faq-item:hover {
  border-color: rgba(168, 37, 53, 0.16);
  box-shadow: 0 12px 30px rgba(15, 29, 49, 0.07);
}
.svc-faq-item.is-open {
  background: linear-gradient(180deg, #fff9f8 0%, #fff 55%);
  border-color: rgba(168, 37, 53, 0.22);
  box-shadow: 0 14px 34px rgba(168, 37, 53, 0.1);
}
.svc-faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1.1rem 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font: inherit;
  text-align: left;
}
.svc-faq-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.3s ease;
}
.svc-faq-item.is-open .svc-faq-title {
  color: var(--red-400);
}
.svc-faq-item.is-open .svc-faq-trigger {
  border-bottom: 1px solid rgba(168, 37, 53, 0.14);
}
.svc-faq-toggle {
  position: relative;
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  color: var(--red-500);
  transition: color 0.3s ease;
}
.svc-faq-item.is-open .svc-faq-toggle {
  color: var(--red-400);
}
.svc-faq-toggle::before,
.svc-faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.svc-faq-toggle::before {
  width: 100%;
  height: 2px;
}
.svc-faq-toggle::after {
  width: 2px;
  height: 100%;
}
.svc-faq-item.is-open .svc-faq-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}
.svc-faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-faq-item.is-open .svc-faq-panel {
  grid-template-rows: 1fr;
}
.svc-faq-panel-inner {
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease 0.05s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
}
.svc-faq-item.is-open .svc-faq-panel-inner {
  opacity: 1;
  transform: translateY(0);
}
.svc-faq-panel-inner p {
  margin: 0;
  padding: 1rem 0 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}
.svc-faq-panel-inner strong {
  color: var(--text);
}

.svc-compare {
  background: #fff;
}
.svc-compare-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(26, 43, 66, 0.1);
  box-shadow: 0 16px 40px rgba(15, 29, 49, 0.06);
  margin-bottom: 1.75rem;
  -webkit-overflow-scrolling: touch;
}
.svc-compare-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.svc-compare-table thead th {
  background: linear-gradient(135deg, var(--red-700), var(--red-500));
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 0.95rem 1rem;
  white-space: nowrap;
}
.svc-compare-table thead th:first-child {
  border-radius: 17px 0 0 0;
}
.svc-compare-table thead th:last-child {
  border-radius: 0 17px 0 0;
}
.svc-compare-table tbody th,
.svc-compare-table tbody td {
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(26, 43, 66, 0.06);
  vertical-align: top;
  line-height: 1.45;
}
.svc-compare-table tbody th {
  text-align: left;
  font-weight: 700;
  color: var(--text);
  background: #fff;
  min-width: 11rem;
}
.svc-compare-table tbody td {
  color: var(--muted);
  background: #fff;
}
.svc-compare-table tbody tr:nth-child(even) th,
.svc-compare-table tbody tr:nth-child(even) td {
  background: #f8fafc;
}
.svc-compare-accent {
  color: var(--red-600);
  font-weight: 700;
}
.svc-recommend {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(280px, 1.05fr);
  gap: 1.25rem;
  align-items: stretch;
  background: linear-gradient(180deg, #fff9f8 0%, #f4f6f9 100%);
  border: 1px solid rgba(168, 37, 53, 0.12);
  border-radius: 20px;
  padding: 1.35rem;
  box-shadow: 0 14px 36px rgba(15, 29, 49, 0.05);
}
.svc-recommend-select-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  justify-content: center;
}
.svc-recommend-select-col h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
}
.svc-recommend-select {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(168, 37, 53, 0.22);
  background:
    #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a82535' d='M1.4.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E")
    no-repeat right 1rem center;
  border-radius: 12px;
  padding: 0.95rem 2.5rem 0.95rem 1rem;
  font: inherit;
  font-weight: 600;
  color: var(--red-600);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(168, 37, 53, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.svc-recommend-select:focus {
  outline: none;
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.svc-recommend-panel-wrap {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(26, 43, 66, 0.08);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 8px 22px rgba(15, 29, 49, 0.04);
  min-height: 220px;
}
.svc-recommend-panel[hidden] {
  display: none;
}
.svc-recommend-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.svc-recommend-panel li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.svc-recommend-panel li:last-child {
  margin-bottom: 0;
}
.svc-recommend-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-400);
}
.svc-recommend-panel strong {
  color: var(--text);
}
.svc-recommend-panel.is-entering {
  animation: svcRecommendIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes svcRecommendIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.service-landing .home-trust {
  background: var(--surface-2);
}
.service-landing .home-contact {
  margin-top: 0;
}
.svc-legal {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(168, 37, 53, 0.06), transparent 70%),
    var(--surface-2);
}
.svc-legal-heading h2 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.svc-legal-heading p {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.02rem;
  color: var(--muted);
}
.svc-legal-list {
  max-width: 840px;
  margin: 0.5rem auto 0;
  display: grid;
  gap: 0.75rem;
}
.svc-legal-item {
  background: #fff;
  border: 1px solid rgba(26, 43, 66, 0.08);
  border-radius: 16px;
  padding: 0 1.25rem;
  box-shadow: 0 4px 16px rgba(15, 29, 49, 0.03);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}
.svc-legal-item:hover {
  border-color: rgba(168, 37, 53, 0.16);
  box-shadow: 0 12px 30px rgba(15, 29, 49, 0.07);
  transform: translateY(-1px);
}
.svc-legal-item.is-open {
  background: linear-gradient(180deg, #fff9f8 0%, #fff 55%);
  border-color: rgba(168, 37, 53, 0.22);
  box-shadow: 0 14px 34px rgba(168, 37, 53, 0.1);
  transform: none;
}
.svc-legal-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1.1rem 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font: inherit;
  text-align: left;
}
.svc-legal-title {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.3s ease;
}
.svc-legal-item.is-open .svc-legal-title {
  color: var(--red-400);
}
.svc-legal-item.is-open .svc-legal-trigger {
  border-bottom: 1px solid rgba(168, 37, 53, 0.14);
}
.svc-legal-toggle {
  position: relative;
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  color: var(--red-500);
  transition: color 0.3s ease, transform 0.3s ease;
}
.svc-legal-item.is-open .svc-legal-toggle {
  color: var(--red-400);
}
.svc-legal-toggle::before,
.svc-legal-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.svc-legal-toggle::before {
  width: 100%;
  height: 2px;
}
.svc-legal-toggle::after {
  width: 2px;
  height: 100%;
}
.svc-legal-item.is-open .svc-legal-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}
.svc-legal-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-legal-item.is-open .svc-legal-panel {
  grid-template-rows: 1fr;
}
.svc-legal-panel-inner {
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease 0.05s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
}
.svc-legal-item.is-open .svc-legal-panel-inner {
  opacity: 1;
  transform: translateY(0);
}
.svc-legal-item ul {
  margin: 0;
  padding: 1rem 0 1.2rem;
  list-style: none;
}
.svc-legal-item li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.35s ease, color 0.2s ease;
}
.svc-legal-item.is-open li {
  opacity: 1;
  transform: translateY(0);
}
.svc-legal-item.is-open li:nth-child(1) { transition-delay: 0.08s; }
.svc-legal-item.is-open li:nth-child(2) { transition-delay: 0.14s; }
.svc-legal-item.is-open li:nth-child(3) { transition-delay: 0.2s; }
.svc-legal-item li:last-child {
  margin-bottom: 0;
}
.svc-legal-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-300);
  box-shadow: 0 0 0 3px rgba(168, 37, 53, 0.1);
}
.svc-legal-item li strong {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .svc-hero-grid,
  .svc-why-grid,
  .svc-timeline-grid,
  .svc-requirements-grid,
  .svc-benefits-grid,
  .svc-process-grid,
  .svc-pricing-grid,
  .svc-process-flow-track {
    grid-template-columns: 1fr 1fr;
  }
  .svc-process-flow-track::before {
    display: none;
  }
  .svc-process-flow-intro,
  .svc-process-flow-step h3 {
    min-height: 0;
  }
  .svc-pricing-grid--single {
    grid-template-columns: 1fr;
  }
  .svc-recommend {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .svc-hero-grid,
  .svc-why-grid,
  .svc-timeline-grid,
  .svc-requirements-grid,
  .svc-benefits-grid,
  .svc-process-grid,
  .svc-pricing-grid,
  .svc-process-flow-track {
    grid-template-columns: 1fr;
  }
  .svc-pricing-tabs {
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    border-radius: 999px;
  }
  .svc-pricing-tab {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    padding: 0.7rem 0.45rem;
    font-size: 0.86rem;
    white-space: nowrap;
  }
  .svc-recommend {
    padding: 1rem;
  }
  .svc-compare-table {
    font-size: 0.86rem;
  }
  .testimonial-marquees {
    gap: 1rem;
    max-width: none;
  }
  .testimonial-marquees--vertical {
    height: min(32rem, 72vh);
  }
  .testimonial-grid,
  .testimonial-marquee.is-looping .testimonial-grid {
    gap: 1rem;
  }
  .testimonial-card--chat {
    max-width: 205px;
  }
}

@media (max-width: 420px) {
  .svc-pricing-tab {
    gap: 0.3rem;
    padding-inline: 0.3rem;
    font-size: 0.78rem;
  }
  .svc-pricing-tab-icon {
    width: 1rem;
    height: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-marquees--vertical {
    height: auto;
    max-height: min(36rem, 72vh);
    overflow-y: auto;
  }
  .testimonial-marquee {
    overflow: visible;
    height: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .testimonial-marquee .testimonial-grid {
    animation: none;
  }
}

/* ===== HOME TRUST & PROCESS ===== */
.home-trust-head,
.home-process-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}
.home-trust-head h2,
.home-process-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.25;
}
.home-trust-head p,
.home-process-head p {
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
}
.home-process-head {
  text-align: center;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0.55rem;
  margin-bottom: 2.75rem;
}
.home-process-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  color: var(--text);
  font-weight: 800;
  max-width: min(52rem, 100%);
  text-wrap: balance;
}
.home-process-brand {
  white-space: nowrap;
}
.home-process-head p {
  max-width: 38rem;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.65;
}
.home-process {
  position: relative;
  overflow: hidden;
  /* Trắng trên → đỏ nhạt chân (tách Vision đỏ nhạt phía trên, kiểu Lac Viet) */
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 38%,
    #faf6f7 68%,
    #f7eef0 100%
  );
}
.home-process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
  position: relative;
  z-index: 1;
}
.home-process-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.5rem 1.35rem 1.55rem 1.45rem;
  background: #fff;
  border: 1px solid rgba(26, 43, 66, 0.08);
  border-left: 4px solid var(--red-500);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 29, 49, 0.05);
  cursor: pointer;
  outline: none;
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease,
    opacity 0.28s ease,
    background-color 0.28s ease;
}
.home-process-grid:has(.home-process-item.is-focused) .home-process-item:not(.is-focused) {
  opacity: 0.52;
  transform: scale(0.985);
}
.home-process-item.is-active,
.home-process-item.is-focused,
.home-process-item:focus-visible {
  border-color: rgba(168, 37, 53, 0.35);
  border-left-color: var(--red-500);
  box-shadow: 0 18px 40px rgba(168, 37, 53, 0.16);
  transform: translateY(-5px);
  background: #fffafb;
}
.home-process-item.is-focused {
  box-shadow:
    0 18px 40px rgba(168, 37, 53, 0.18),
    0 0 0 2px rgba(168, 37, 53, 0.22);
}
/* Path node on left rail (desktop) */
.home-process-item::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: var(--red-500);
  box-shadow: 0 0 0 3px rgba(168, 37, 53, 0.16);
  z-index: 2;
  opacity: 0.8;
  transition: opacity 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}
.home-process-item.is-active::before,
.home-process-item.is-focused::before,
.home-process-item:focus-visible::before {
  opacity: 1;
  transform: scale(1.15);
  box-shadow: 0 0 0 5px rgba(168, 37, 53, 0.28);
}
/* Dashed path to next card (desktop 4-col only) */
.home-process-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 2px);
  width: calc(1.35rem - 4px);
  height: 2px;
  margin-top: -1px;
  background-image: linear-gradient(
    90deg,
    rgba(168, 37, 53, 0.42) 0 45%,
    transparent 45% 100%
  );
  background-size: 10px 2px;
  background-repeat: repeat-x;
  z-index: 2;
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.28s ease, filter 0.28s ease;
}
.home-process-item.is-active:not(:last-child)::after,
.home-process-item.is-focused:not(:last-child)::after,
.home-process-item:focus-visible:not(:last-child)::after {
  opacity: 1;
  filter: brightness(1.05);
  animation: home-process-path-flow 0.7s linear infinite;
}
@keyframes home-process-path-flow {
  from { background-position: 0 0; }
  to { background-position: 10px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home-process-item.is-active:not(:last-child)::after,
  .home-process-item.is-focused:not(:last-child)::after,
  .home-process-item:focus-visible:not(:last-child)::after {
    animation: none;
  }
}
.home-process-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.home-process-num {
  font-size: clamp(2.65rem, 4.2vw, 3.45rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 2px var(--red-500);
  paint-order: stroke fill;
  transition: color 0.28s ease, -webkit-text-stroke-color 0.28s ease;
}
@supports not (-webkit-text-stroke: 2px red) {
  .home-process-num {
    color: var(--red-500);
  }
}
.home-process-item.is-active .home-process-num,
.home-process-item.is-focused .home-process-num,
.home-process-item:focus-visible .home-process-num {
  color: var(--red-500);
  -webkit-text-stroke-color: var(--red-500);
}
.home-process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  color: var(--red-500);
  background: rgba(168, 37, 53, 0.07);
  transition: background-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}
.home-process-icon svg {
  width: 1.85rem;
  height: 1.85rem;
  stroke-width: 1.75;
}
.home-process-item.is-active .home-process-icon,
.home-process-item.is-focused .home-process-icon,
.home-process-item:focus-visible .home-process-icon {
  background: rgba(168, 37, 53, 0.14);
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(168, 37, 53, 0.18);
}
.home-process-item h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}
.home-process-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.home-process-item p strong {
  color: var(--text);
  font-weight: 700;
}
.home-process-underline {
  display: block;
  width: 2.35rem;
  height: 2px;
  margin: 0.1rem 0 0.15rem;
  background: #c4a574;
  border-radius: 999px;
  transition: width 0.28s ease, background-color 0.28s ease;
}
.home-process-item.is-active .home-process-underline,
.home-process-item.is-focused .home-process-underline,
.home-process-item:focus-visible .home-process-underline {
  width: 3.25rem;
  background: var(--red-500);
}
.home-process-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
.home-process-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 14rem;
  border-radius: 4px;
  padding-inline: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--red-500);
  box-shadow: 0 10px 24px rgba(168, 37, 53, 0.22);
}
.home-process-cta-btn:hover {
  background: #961f2c;
}
.home-process-cta-arrow {
  display: inline-flex;
  width: 1.05rem;
  height: 1.05rem;
}
.home-process-cta-arrow svg {
  width: 100%;
  height: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .home-process-grid:has(.home-process-item:hover) .home-process-item:not(:hover):not(.is-focused) {
    opacity: 0.52;
    transform: scale(0.985);
  }
  .home-process-item:hover {
    border-color: rgba(168, 37, 53, 0.35);
    border-left-color: var(--red-500);
    box-shadow: 0 18px 40px rgba(168, 37, 53, 0.16);
    transform: translateY(-5px);
    background: #fffafb;
  }
  .home-process-item:hover::before {
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 0 0 5px rgba(168, 37, 53, 0.28);
  }
  .home-process-item:hover:not(:last-child)::after {
    opacity: 1;
    filter: brightness(1.05);
    animation: home-process-path-flow 0.7s linear infinite;
  }
  .home-process-item:hover .home-process-num {
    color: var(--red-500);
    -webkit-text-stroke-color: var(--red-500);
  }
  .home-process-item:hover .home-process-icon {
    background: rgba(168, 37, 53, 0.14);
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(168, 37, 53, 0.18);
  }
  .home-process-item:hover .home-process-underline {
    width: 3.25rem;
    background: var(--red-500);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-process-item:hover:not(:last-child)::after {
    animation: none;
  }
}

@media (max-width: 980px) {
  .home-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .home-process-item::before,
  .home-process-item:not(:last-child)::after {
    display: none;
  }
  .home-process-num {
    font-size: clamp(2.15rem, 5vw, 2.65rem);
    -webkit-text-stroke-width: 1.6px;
  }
  .home-process-icon {
    width: 2.65rem;
    height: 2.65rem;
  }
  .home-process-icon svg {
    width: 1.55rem;
    height: 1.55rem;
  }
  .home-process-item.is-active,
  .home-process-item.is-focused,
  .home-process-item:focus-visible {
    transform: translateY(-3px);
  }
}

@media (max-width: 560px) {
  .home-process-grid {
    grid-template-columns: 1fr;
  }
  .home-process-item {
    padding: 1.2rem 1.1rem 1.25rem 1.2rem;
  }
  .home-process-num {
    font-size: 2.35rem;
  }
  .home-process-icon {
    width: 2.85rem;
    height: 2.85rem;
  }
  .home-process-icon svg {
    width: 1.65rem;
    height: 1.65rem;
  }
  .home-process-cta {
    margin-top: 2rem;
  }
  .home-process-cta-btn {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
  }
  .home-process-brand {
    white-space: normal;
  }
}

.home-trust {
  /* clip ngang (card desktop chồi mép). Lưu ý: overflow-x ≠ visible
     khiến overflow-y compute thành auto — đủ padding ở stage để không cắt pedestal. */
  overflow-x: clip;
  /* Trắng trên → đỏ nhạt chân (cùng hướng Process, nhạt hơn — tránh đụng backdrop) */
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 42%,
    #fcfafb 72%,
    #faf6f7 100%
  );
}
.home-trust-head {
  text-align: center;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0.65rem;
  margin-bottom: 2.75rem;
}
.home-trust-head .eyebrow {
  margin-bottom: 0.15rem;
  color: var(--red-500);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.14em;
  font-weight: 800;
}
.home-trust-head h2 {
  font-size: clamp(2.05rem, 4vw, 2.95rem);
  line-height: 1.2;
}
.home-trust-head p {
  max-width: 40rem;
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.65;
}
.home-trust-stage {
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding-bottom: 1.5rem;
}
.home-trust-figure {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: min(52%, 39rem);
  margin: 0 auto;
  min-height: clamp(36rem, 72vh, 52rem);
}
.home-trust-backdrop {
  position: absolute;
  left: 50%;
  top: 4%;
  z-index: 0;
  /* Chỉ panel đỏ rộng ~+30%; portrait giữ size cũ */
  width: min(140%, 44rem);
  height: min(82%, 44rem);
  transform: translateX(-50%);
  pointer-events: none;
}
.home-trust-backdrop-panel {
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  /* Wash lệch phải — tránh «mặt trời» đăng giữa lưng */
  background:
    radial-gradient(ellipse 55% 50% at 78% 40%, rgba(168, 37, 53, 0.12), transparent 68%),
    linear-gradient(180deg, #f7eef0 0%, #f3e8ea 48%, #efe4e6 100%);
  box-shadow: inset 0 0 0 1px rgba(168, 37, 53, 0.06);
}
.home-trust-backdrop-logo {
  position: absolute;
  left: auto;
  right: 4%;
  top: 38%;
  /* Lệch phải; size vừa — không phủ cả lưng */
  width: min(48%, 17rem);
  height: auto;
  max-height: 52%;
  object-fit: contain;
  opacity: 0.12;
  transform: translateY(-50%);
  filter: drop-shadow(0 0 1px rgba(168, 37, 53, 0.12));
  animation: home-trust-logo-float 8.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes home-trust-logo-float {
  0%,
  100% {
    transform: translateY(calc(-50% - 0.55rem));
  }
  50% {
    transform: translateY(calc(-50% + 0.55rem));
  }
}
.home-trust-col {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: min(36%, 26.5rem);
  transform: translateY(-50%);
}
.home-trust-col--left {
  left: -0.75rem;
}
.home-trust-col--right {
  right: -0.75rem;
}
.home-trust-portrait {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: 36.5rem;
  /* Chân / eo đè mép trên bục — đứng trên pedestal, không «dán» ngang bụng */
  margin: 0 auto -5.5rem;
}
.home-trust-portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(62rem, 90vh);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 14px 28px rgba(8, 14, 28, 0.22));
}
/* Bục 3D chữ nhật (PNG) — rộng, overlay thoáng, logo cao = khối chữ */
.home-trust-pedestal {
  position: relative;
  z-index: 2;
  width: min(108%, 36rem);
  margin: 0 auto;
  padding: 0 0 0.65rem;
  filter: drop-shadow(0 12px 20px rgba(15, 29, 49, 0.16));
}
.home-trust-pedestal-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}
.home-trust-pedestal-overlay {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 18%;
  bottom: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem 0.85rem;
  pointer-events: none;
}
.home-trust-pedestal-brand {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: #fff;
  pointer-events: auto;
  max-width: 100%;
  width: 100%;
}
.home-trust-pedestal-logo {
  /* Cao ≈ tổng 3 dòng chữ bên phải */
  width: auto !important;
  height: 4.6rem !important;
  max-height: 4.6rem;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.home-trust-pedestal-text {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
  flex: 1;
}
.home-trust-pedestal-text strong {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.3;
}
.home-trust-pedestal-text span {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.94;
  line-height: 1.35;
}
.home-trust-pedestal-link {
  margin-top: 0.55rem;
  padding-bottom: 0.15rem;
  width: fit-content;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}
.home-trust-pedestal-link:hover,
.home-trust-pedestal-link:focus-visible {
  opacity: 1;
  outline: none;
}
.home-trust-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  height: auto;
  padding: 1.45rem 1.35rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 29, 49, 0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.home-trust-card:hover {
  border-color: rgba(168, 37, 53, 0.22);
  box-shadow: 0 14px 34px rgba(168, 37, 53, 0.1);
  transform: translateY(-2px);
}
.home-trust-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.home-trust-icon svg {
  width: 22px;
  height: 22px;
}
.home-trust-card > div:last-child {
  min-width: 0;
  flex: 1;
}
.home-trust-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  line-height: 1.3;
}
.home-trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .home-trust-backdrop-logo {
    animation: none;
    transform: translateY(-50%);
  }
  .home-process-item {
    transition: none;
  }
}

@media (max-width: 1200px) {
  .home-trust-figure {
    width: min(48%, 34rem);
    min-height: clamp(32rem, 64vh, 46rem);
  }
  .home-trust-backdrop {
    width: min(145%, 40rem);
    height: min(80%, 38rem);
  }
  .home-trust-col {
    width: min(34%, 23rem);
  }
  .home-trust-portrait {
    max-width: 31rem;
    margin-bottom: -4.75rem;
  }
  .home-trust-portrait img {
    max-height: min(50rem, 82vh);
  }
  .home-trust-pedestal {
    width: min(110%, 32rem);
  }
}

@media (max-width: 980px) {
  .home-trust-stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.85rem;
    align-items: start;
  }
  .home-trust-figure {
    grid-column: 1 / -1;
    width: min(100%, 28rem);
    min-height: 0;
    justify-self: center;
  }
  .home-trust-backdrop {
    top: 2%;
    width: min(100%, 22rem);
    height: 72%;
    min-height: 16rem;
  }
  .home-trust-backdrop-logo {
    right: 2%;
    width: min(44%, 13.5rem);
    max-height: 46%;
    opacity: 0.11;
  }
  .home-trust-col {
    position: static;
    width: auto;
    max-width: none;
    transform: none;
    display: contents;
  }
  .home-trust-portrait {
    max-width: 20rem;
    margin-bottom: -3.6rem;
  }
  .home-trust-portrait img {
    max-height: min(28rem, 48vh);
  }
  .home-trust-pedestal {
    width: min(100%, 26rem);
    min-height: 0;
    padding: 0 0 0.5rem;
  }
  .home-trust-pedestal-overlay {
    left: 5%;
    right: 5%;
    top: 16%;
    bottom: 18%;
    padding: 0.4rem 0.75rem 0.65rem;
  }
  .home-trust-pedestal-logo {
    height: 3.6rem !important;
    max-height: 3.6rem;
  }
  .home-trust-pedestal-brand {
    gap: 0.85rem;
  }
  .home-trust-pedestal-text strong {
    font-size: 0.95rem;
  }
  .home-trust-pedestal-text span {
    font-size: 0.72rem;
    letter-spacing: 0.03em;
  }
  .home-trust-pedestal-link {
    margin-top: 0.4rem;
    font-size: 0.72rem;
  }
  .home-trust-card {
    padding: 1.2rem 1.1rem;
  }
}

@media (max-width: 720px) {
  .home-process-cta {
    margin-top: 1.75rem;
  }
}

@media (max-width: 560px) {
  .home-trust-stage {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .home-trust-head {
    margin-bottom: 1.75rem;
    gap: 0.45rem;
    padding-inline: 0.25rem;
  }
  .home-trust-head .eyebrow {
    font-size: 0.88rem;
    letter-spacing: 0.1em;
  }
  .home-trust-head h2 {
    font-size: clamp(1.7rem, 7.2vw, 2.15rem);
  }
  .home-trust-head p {
    font-size: 0.95rem;
    max-width: none;
  }
  .home-trust-figure {
    width: min(100%, 17.5rem);
  }
  .home-trust-portrait {
    max-width: 15.5rem;
    margin-bottom: -2.85rem;
  }
  .home-trust-portrait img {
    max-height: min(20rem, 42vh);
  }
  .home-trust-pedestal {
    width: min(108%, 19rem);
    min-height: 0;
    padding: 0 0 0.35rem;
  }
  .home-trust-pedestal-overlay {
    left: 4%;
    right: 4%;
    top: 14%;
    bottom: 16%;
    padding: 0.35rem 0.55rem 0.55rem;
  }
  .home-trust-pedestal-brand {
    gap: 0.65rem;
  }
  .home-trust-pedestal-logo {
    width: auto !important;
    height: 3.1rem !important;
    max-height: 3.1rem;
  }
  .home-trust-pedestal-text strong {
    font-size: 0.8rem;
  }
  .home-trust-pedestal-text span {
    font-size: 0.64rem;
    letter-spacing: 0.02em;
  }
  .home-trust-pedestal-link {
    font-size: 0.68rem;
    margin-top: 0.35rem;
  }
  .home-trust-card {
    padding: 1.1rem 1rem;
    gap: 0.75rem;
  }
  .home-trust-icon {
    width: 42px;
    height: 42px;
  }
  .home-trust-icon svg {
    width: 20px;
    height: 20px;
  }
  .home-trust-card h3 {
    font-size: 1.02rem;
  }
  .home-trust-card p {
    font-size: 0.9rem;
  }
}

/* ===== CAREERS / TUYỂN DỤNG ===== */
.careers-page {
  padding-bottom: 4rem;
}
.careers-page-top {
  padding-top: 1.5rem;
}
.careers-page-header {
  max-width: 44rem;
  margin: 1.5rem 0 2.5rem;
}
.careers-page-header h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  color: var(--text);
}
.careers-page-intro {
  color: var(--muted);
  font-size: 1.05rem;
}
.careers-page-intro p:last-child {
  margin-bottom: 0;
}
.careers-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 1.75rem 2rem;
  align-items: start;
}
.careers-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 1.35rem;
}
.careers-section-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}
.careers-location-filter select {
  min-width: 11.5rem;
  padding: 0.65rem 2.2rem 0.65rem 0.9rem;
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23a82535' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  appearance: none;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.careers-location-filter select:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--red-soft);
}
.careers-benefits-panel {
  padding: 1.4rem 1.35rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(15, 29, 49, 0.06);
  position: sticky;
  top: 5.5rem;
}
.careers-benefits-title {
  margin: 0 0 1rem;
  font-size: 1.12rem;
  line-height: 1.35;
}
.careers-benefits-list,
.careers-benefits-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.careers-benefits-list li,
.careers-benefits-content ul li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.45;
}
.careers-benefits-list li::before,
.careers-benefits-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.2 4.8 8.5 9.5 3.5' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.careers-benefits-content p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}
.careers-pagination {
  margin-top: 1.5rem;
}
.careers-job-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}
.careers-job-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.careers-job-card:hover {
  border-color: rgba(168, 37, 53, 0.28);
  box-shadow: 0 16px 40px rgba(15, 29, 49, 0.08);
  transform: translateY(-2px);
}
.careers-job-card-body {
  flex: 1 1 16rem;
  min-width: 0;
}
.careers-job-card-status {
  margin-bottom: 0.65rem;
}
.careers-job-card-title {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  line-height: 1.35;
}
.careers-job-card-title a:hover {
  color: var(--accent);
}
.careers-job-card-summary {
  margin: 0 0 0.85rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.careers-job-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.careers-job-meta li {
  position: relative;
}
.careers-job-meta li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.55rem;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
  transform: translateY(-50%);
}
.careers-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.careers-badge-open {
  color: #1f6b3a;
  background: rgba(31, 107, 58, 0.1);
}
.careers-badge-closed {
  color: var(--muted);
  background: var(--surface-2);
}
.careers-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding: 0.75rem 1.2rem;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(168, 37, 53, 0.22);
}
.careers-apply-btn svg {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 0.2s ease;
}
.careers-apply-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(168, 37, 53, 0.28);
}
.careers-apply-btn:hover svg {
  transform: translateX(3px);
}
.careers-apply-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.careers-apply-btn-block {
  width: 100%;
  justify-content: center;
}
.careers-empty {
  color: var(--muted);
  padding: 1.5rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 14px;
}
.careers-page-after {
  margin-top: 3rem;
}

.careers-detail {
  padding: 1.5rem 0 0;
  background-color: #fff;
}
.careers-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 2rem;
  margin: 1.25rem 0 3rem;
  align-items: start;
}
.careers-detail-header h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.2;
}
.careers-detail-content {
  margin-top: 1.75rem;
}
.careers-aside-panel {
  padding: 1.35rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 1rem;
  position: sticky;
  top: 5.5rem;
}
.careers-aside-title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}
.careers-aside-facts {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}
.careers-aside-facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}
.careers-aside-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--red-soft);
  color: var(--accent);
}
.careers-aside-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}
.careers-aside-facts div {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}
.careers-aside-label {
  font-size: 0.8rem;
  color: var(--muted);
}
.careers-aside-facts strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.careers-aside-closed {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}
.careers-related {
  margin: 0.5rem 0 0;
  padding: 2.75rem 0 3rem;
  background: linear-gradient(180deg, #f3f5f8 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}
.careers-related-heading {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.25;
  color: var(--red-500, #a82535);
}
.careers-related-slider {
  position: relative;
}
.careers-related-viewport {
  overflow: hidden;
  padding: 0.5rem 0 1rem;
  cursor: grab;
  touch-action: pan-y;
}
.careers-related-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.careers-related-viewport.is-dragging a {
  pointer-events: none;
}
.careers-related-track {
  display: flex;
  gap: 1.15rem;
  will-change: transform;
}
.careers-related-slide {
  flex: 0 0 min(820px, calc(100% - 2.75rem));
  max-width: 100%;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.careers-related-slide.is-active .careers-related-card {
  box-shadow: 0 18px 44px rgba(15, 29, 49, 0.12);
  border-color: rgba(168, 37, 53, 0.18);
}
.careers-related-slide:not(.is-active) {
  opacity: 0.72;
  transform: scale(0.965);
}
.careers-related-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem 1.45rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(26, 43, 66, 0.08);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(15, 29, 49, 0.08);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.careers-related-card-title {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  line-height: 1.35;
  text-transform: uppercase;
}
.careers-related-card-title a:hover {
  color: var(--accent);
}
.careers-related-card-summary {
  margin: 0;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.careers-related-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(26, 43, 66, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
}
.careers-related-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
}
.careers-related-dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(26, 43, 66, 0.18);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.careers-related-dot.is-active {
  width: 1.55rem;
  background: var(--accent);
}
.careers-related-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.careers-apply-section {
  margin-top: 1rem;
}
.careers-apply-section--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.careers-apply-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.careers-apply-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.careers-apply-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    115deg,
    rgba(18, 8, 10, 0.94) 0%,
    rgba(102, 22, 30, 0.88) 48%,
    rgba(12, 5, 6, 0.92) 100%
  );
  pointer-events: none;
}
.careers-apply-section--photo .home-contact-band,
.careers-apply-section--photo .home-contact-card-wrap {
  position: relative;
  z-index: 2;
}
.careers-apply-section--photo .home-contact-band {
  background: transparent;
}
.careers-apply-hint {
  margin: 0.4rem 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}
.careers-cv-dropzone {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1.5px dashed rgba(168, 37, 53, 0.35);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(168, 37, 53, 0.04) 0%, #fff 100%);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.careers-cv-dropzone:hover,
.careers-cv-dropzone:focus-within {
  border-color: var(--accent);
  background: rgba(168, 37, 53, 0.06);
  box-shadow: 0 8px 20px rgba(168, 37, 53, 0.08);
}
.careers-cv-dropzone.is-filled {
  border-style: solid;
  border-color: rgba(168, 37, 53, 0.45);
}
.careers-cv-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.careers-cv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--red-soft);
  color: var(--accent);
}
.careers-cv-icon svg {
  width: 22px;
  height: 22px;
}
.careers-cv-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.careers-cv-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--accent);
}
.careers-cv-filename {
  font-size: 0.86rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.careers-job-form .consultation-submit {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .careers-page-layout,
  .careers-detail-layout {
    grid-template-columns: 1fr;
  }
  .careers-benefits-panel,
  .careers-aside-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .careers-job-card {
    padding: 1.2rem;
  }
  .careers-apply-btn {
    width: 100%;
    justify-content: center;
  }
  .careers-list-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .careers-location-filter select {
    width: 100%;
  }
}

/* ===== SECTION NAVIGATOR (reusable scrollspy) ===== */
.section-navigator {
  position: fixed;
  top: 50%;
  right: 0.4rem;
  z-index: 1090;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  pointer-events: none;
}
.section-navigator[hidden] {
  display: none !important;
}
.section-navigator-mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(26, 43, 66, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 10px 28px rgba(15, 29, 49, 0.14);
  cursor: pointer;
  pointer-events: auto;
}
.section-navigator-mobile-toggle-icon,
.section-navigator-mobile-toggle-icon::before,
.section-navigator-mobile-toggle-icon::after {
  display: block;
  width: 14px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
}
.section-navigator-mobile-toggle-icon {
  position: relative;
}
.section-navigator-mobile-toggle-icon::before,
.section-navigator-mobile-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.section-navigator-mobile-toggle-icon::before { top: -5px; }
.section-navigator-mobile-toggle-icon::after { top: 5px; }
.section-navigator.is-open .section-navigator-mobile-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.section-navigator-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  padding: 0.55rem 0.2rem;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.18s ease, visibility 0.18s;
}
.section-navigator.is-open .section-navigator-rail {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.section-navigator-tick {
  position: relative;
  width: 34px;
  height: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.section-navigator-tick::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 18px;
  height: 1px;
  border-radius: 999px;
  background: rgba(26, 43, 66, 0.32);
  transform: translateY(-50%);
}
.section-navigator-tick:hover,
.section-navigator-tick:focus-visible {
  outline: none;
}
.section-navigator-tick.is-active::after {
  width: 18px;
  background: rgba(26, 43, 66, 0.7);
}
.section-navigator-panel {
  position: fixed;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%) translateX(calc(100% + 1rem));
  width: min(340px, calc(100vw - 1rem));
  max-height: min(76vh, 560px);
  overflow: auto;
  padding: 0.8rem 0.65rem;
  border: 1px solid rgba(26, 43, 66, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 29, 49, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition:
    opacity 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.32s;
}
.section-navigator-panel::-webkit-scrollbar {
  display: none;
}
.section-navigator.is-open .section-navigator-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}
.section-navigator-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}
.section-navigator-link {
  display: block;
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.section-navigator-link:hover,
.section-navigator-link:focus-visible {
  background: rgba(26, 43, 66, 0.05);
  outline: none;
}
.section-navigator-link.is-active {
  background: rgba(26, 43, 66, 0.08);
  color: #111827;
  font-weight: 700;
}
[data-section-nav-label] {
  scroll-margin-top: 96px;
}

@media (max-width: 1024px) {
  .section-navigator {
    right: 0.35rem;
  }
  .section-navigator-panel {
    width: min(320px, calc(100vw - 0.75rem));
  }
}

@media (max-width: 720px) {
  [data-section-nav-label] {
    scroll-margin-top: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-navigator-tick,
  .section-navigator-rail,
  .section-navigator-panel,
  .section-navigator-link {
    transition: none;
  }
}

/* ===== ABOUT / GIỚI THIỆU FAMILY ===== */
.about-page {
  padding-bottom: 0;
  background: linear-gradient(180deg, #f8fafc 0%, var(--bg) 12%, #fff 100%);
}
.about-page-top {
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}
.about-page-header {
  margin: 0.75rem 0 1.5rem;
  max-width: 42rem;
}
.about-page-header h1 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  color: var(--text);
}
.about-page-intro {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.about-page-intro p:last-child {
  margin-bottom: 0;
}
.about-section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.3;
}

/* Full-bleed hero — Về chúng tôi */
.about-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(22rem, 58vh, 34rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0f1d31;
}
.about-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.about-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(15, 29, 49, 0.88) 0%,
      rgba(15, 29, 49, 0.72) 32%,
      rgba(15, 29, 49, 0.28) 58%,
      rgba(15, 29, 49, 0.08) 78%,
      transparent 100%
    ),
    linear-gradient(180deg, rgba(15, 29, 49, 0.25) 0%, transparent 35%, rgba(15, 29, 49, 0.45) 100%);
}
.about-hero-inner {
  position: relative;
  z-index: 2;
  /* Giữ .container: không override width 100% (chữ dính mép màn hình) */
  padding-top: 1.75rem;
  padding-bottom: clamp(2rem, 5vw, 3.25rem);
}
.about-hero .article-breadcrumb {
  margin-bottom: 1.25rem;
}
.about-hero .article-breadcrumb,
.about-hero .article-breadcrumb a,
.about-hero .article-breadcrumb span {
  color: rgba(255, 255, 255, 0.78);
}
.about-hero .article-breadcrumb a:hover {
  color: #fff;
}
.about-hero-copy {
  max-width: 34rem;
}
.about-hero-eyebrow {
  color: #f0a8b0;
}
.about-hero-copy h1 {
  margin: 0.4rem 0 0.85rem;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.15;
  color: #fff;
  font-weight: 800;
}
.about-hero-lead,
.about-hero-lead p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.7;
  max-width: 32rem;
}
.about-hero-lead p + p {
  margin-top: 0.65rem;
}

/* Vision hero — hành lang ánh sáng + motif lục giác */
.about-hero--vision {
  min-height: clamp(24rem, 64vh, 38rem);
}
.about-hero--vision .about-hero-media img {
  object-position: center center;
}
.about-hero-scrim--vision {
  background:
    linear-gradient(
      100deg,
      rgba(15, 29, 49, 0.9) 0%,
      rgba(15, 29, 49, 0.78) 28%,
      rgba(15, 29, 49, 0.35) 52%,
      rgba(15, 29, 49, 0.12) 72%,
      transparent 100%
    ),
    linear-gradient(180deg, rgba(15, 29, 49, 0.2) 0%, transparent 40%, rgba(15, 29, 49, 0.5) 100%);
}

/* Story — Về chúng tôi */
.about-story {
  padding: 2.5rem 0 2.5rem;
}
.about-story-single {
  max-width: 44rem;
}
.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
}
.about-story-body {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}
.about-story-figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 29, 49, 0.1);
  background: var(--surface-2);
}
.about-story-figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
}
.about-story-atmosphere {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(26, 43, 66, 0.08);
  background:
    linear-gradient(160deg, rgba(168, 37, 53, 0.1) 0%, rgba(26, 43, 66, 0.06) 45%, #fff 100%);
}
.about-story-atmosphere-brand {
  margin: 0 0 0.35rem;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--red-500);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.about-story-atmosphere-tag {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Values grid — nhịp home-trust */
.about-values {
  padding: 2.5rem 0 3rem;
  background: #fff;
}
.about-values-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
.about-values-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.25;
}
.about-values-head p {
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.about-value-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 29, 49, 0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.about-value-card:hover {
  border-color: rgba(168, 37, 53, 0.22);
  box-shadow: 0 14px 34px rgba(168, 37, 53, 0.1);
  transform: translateY(-2px);
}
.about-value-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-value-icon svg {
  width: 30px;
  height: 30px;
}
.about-value-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}
.about-value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Vision pillars */
.vision-pillars {
  padding: 1.25rem 0 2.5rem;
}
.vision-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.vision-pillar {
  padding: 2rem 1.75rem;
}
.vision-pillar + .vision-pillar {
  border-left: 1px solid rgba(168, 37, 53, 0.35);
}
.vision-pillar-label {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red-500);
}
.vision-pillar-body {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.55;
  color: #0f1d31;
}
.vision-pillar-body p {
  margin: 0 0 0.75rem;
}
.vision-pillar-body p:last-child {
  margin-bottom: 0;
}

/* Vision core values — khớp mockup: header đỏ + card hàng ngang */
.about-vision-values {
  padding: 3.25rem 0 3.5rem;
  background: #fff;
}
.about-vision-values-head {
  text-align: center;
  margin-bottom: 2.75rem;
}
.about-vision-values-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-500);
}
.about-vision-values-rule {
  display: block;
  width: 2.75rem;
  height: 2px;
  margin: 0.7rem auto 0.95rem;
  background: var(--red-500);
  border-radius: 999px;
}
.about-vision-values-head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  color: #0f1d31;
  line-height: 1.3;
}
.about-vision-values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 1.5rem;
  max-width: 68rem;
  margin-inline: auto;
}
.about-vision-value {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.85rem 1.6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 29, 49, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.about-vision-value:hover {
  border-color: rgba(168, 37, 53, 0.2);
  box-shadow: 0 12px 28px rgba(168, 37, 53, 0.08);
  transform: translateY(-2px);
}
.about-vision-value-num {
  flex-shrink: 0;
  min-width: 3.25rem;
  font-size: clamp(2.35rem, 3.2vw, 3rem);
  font-weight: 800;
  color: var(--red-500);
  letter-spacing: 0.02em;
  line-height: 1;
}
.about-vision-value-divider {
  flex-shrink: 0;
  width: 1px;
  align-self: stretch;
  background: var(--border);
}
.about-vision-value-main {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  min-width: 0;
  flex: 1;
}
.about-vision-value-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  margin-top: 0.15rem;
  color: #1a2b42;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-vision-value-icon svg {
  width: 36px;
  height: 36px;
  stroke: currentColor;
  stroke-width: 1.75;
}
.about-vision-value-body {
  min-width: 0;
}
.about-vision-value-body h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  color: #0f1d31;
}
.about-vision-value-body p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Team within about family */
.about-hero--team {
  min-height: clamp(22rem, 58vh, 34rem);
}
.about-hero-scrim--team {
  background:
    linear-gradient(
      100deg,
      rgba(11, 22, 40, 0.88) 0%,
      rgba(11, 22, 40, 0.62) 48%,
      rgba(11, 22, 40, 0.28) 100%
    );
}
.team-featured-section {
  padding: 3.25rem 0 1.5rem;
  background: #f5f7fa;
}
.team-featured {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2.5rem 3.5rem;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}
.team-featured-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #d8dee6;
  border-radius: 2px;
}
.team-featured-photo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3px;
  height: 42%;
  background: var(--accent);
  transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.team-featured:hover .team-featured-photo::after,
.team-featured:focus-within .team-featured-photo::after {
  height: 100%;
}
.team-featured-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-featured-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #e8eef5, #f7f9fc);
  color: var(--accent);
  font-size: 4rem;
  font-weight: 800;
}
.team-featured-honorific {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
}
.team-featured-name {
  position: relative;
  display: inline-block;
  margin: 0 0 0.65rem;
  padding-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.team-featured-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.team-featured:hover .team-featured-name::after,
.team-featured:focus-within .team-featured-name::after {
  width: 100%;
}
.team-featured-position {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
}
.team-featured-bio {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}
.team-featured-contact {
  margin-top: 1rem;
}
.team-members-section {
  padding: 2.75rem 0 3.25rem;
  background: #fff;
}
.team-members-head {
  margin: 0 auto 2rem;
  max-width: 920px;
  text-align: left;
}
.team-members-title {
  margin: 0;
  display: inline-block;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  color: var(--text);
  padding-bottom: 0.55rem;
  border-bottom: 3px solid var(--accent);
}
.about-page--team .team-org--members {
  margin: 0 auto;
  max-width: 920px;
}
.about-page--team .about-team-org {
  padding: 2rem 0 2.5rem;
}
.about-team-after {
  padding: 0 0 2rem;
}
.about-team-after .article-content {
  max-width: 44rem;
  margin: 0 auto;
  color: var(--muted);
}
.about-cta-bg--night img {
  object-position: center center;
}
.about-cta--city.about-cta--night {
  min-height: clamp(16rem, 32vw, 22rem);
  padding: 4.25rem 0;
}

/* Shared CTA */
.about-cta {
  position: relative;
  padding: 2.5rem 0 3.5rem;
  background: linear-gradient(180deg, #fff 0%, var(--surface-2) 100%);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.about-cta--city {
  padding: 3.5rem 0;
  border-top: none;
  background: #0f1d31;
}
.about-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-cta-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.about-cta-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(11, 22, 40, 0.88) 0%,
      rgba(11, 22, 40, 0.72) 42%,
      rgba(11, 22, 40, 0.45) 100%
    );
}
.about-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.about-cta--city .about-cta-inner {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.35rem;
}
.about-cta-copy {
  max-width: 36rem;
}
.about-cta-copy h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}
.about-cta--city .about-cta-copy h2 {
  color: #fff;
}
.about-cta-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.about-cta--city .about-cta-copy p {
  color: rgba(255, 255, 255, 0.86);
}
.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.about-cta--city .about-cta-actions .button,
.about-cta--city .button-cta-ghost {
  border-radius: 0;
}
.button-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(15, 29, 49, 0.35);
  color: #fff;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.button-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .about-story-grid,
  .about-values-head,
  .vision-pillars-grid,
  .about-values-grid,
  .about-vision-values-list,
  .team-featured {
    grid-template-columns: 1fr;
  }
  .team-featured {
    gap: 1.5rem;
    max-width: 420px;
  }
  .team-featured-photo {
    max-width: 360px;
    margin-inline: auto;
  }
  .team-featured-copy {
    text-align: center;
  }
  .team-featured-name::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .team-featured:hover .team-featured-name::after,
  .team-featured:focus-within .team-featured-name::after {
    width: 100%;
  }
  .team-featured-bio {
    margin-inline: auto;
  }
  .team-featured-contact {
    justify-items: center;
  }
  .about-hero--team {
    min-height: clamp(20rem, 70vh, 28rem);
  }
  .about-hero-scrim--team {
    background:
      linear-gradient(
        180deg,
        rgba(11, 22, 40, 0.55) 0%,
        rgba(11, 22, 40, 0.78) 55%,
        rgba(11, 22, 40, 0.9) 100%
      );
  }
  .vision-pillar + .vision-pillar {
    border-left: none;
    border-top: 1px solid rgba(168, 37, 53, 0.35);
  }
  .about-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-hero {
    min-height: clamp(20rem, 70vh, 28rem);
  }
  .about-hero--vision {
    min-height: clamp(22rem, 72vh, 30rem);
  }
  .about-hero-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(15, 29, 49, 0.55) 0%,
        rgba(15, 29, 49, 0.35) 40%,
        rgba(15, 29, 49, 0.82) 100%
      );
  }
  .about-hero-scrim--vision {
    background:
      linear-gradient(
        180deg,
        rgba(15, 29, 49, 0.5) 0%,
        rgba(15, 29, 49, 0.3) 38%,
        rgba(15, 29, 49, 0.88) 100%
      );
  }
}

@media (max-width: 640px) {
  .about-story-figure img,
  .about-story-atmosphere {
    min-height: 220px;
  }
  .vision-pillar {
    padding: 1.5rem 0;
  }
  .about-hero-copy {
    max-width: none;
  }
}

/* —— Employee portfolio (default — mockup Lý Thành Nhân) —— */
.emp-portfolio { color: var(--text); background: #fff; }
.emp-hero--default {
  background: #1a2b42;
  color: #fff;
  padding: 4.1rem 0 0;
  overflow: hidden;
}
.emp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.75rem 1.75rem;
  align-items: end;
}
.emp-hero-copy { padding: 1.85rem 0 4.1rem; }
.emp-hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.emp-hero-display {
  margin: 0 0 0.95rem;
  font-size: clamp(2.85rem, 6.5vw, 5.8rem);
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  max-width: 14ch;
}
.emp-hero-display span { color: #fff; }
.emp-hero-display em {
  font-style: normal;
  color: var(--red-500);
}
.emp-hero-name {
  margin: 0 0 1.75rem;
  font-size: clamp(1.5rem, 2.7vw, 1.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.emp-hero-honor { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.emp-hero-name strong { color: #fff; font-weight: 800; }
.emp-hero-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  max-width: 48rem;
}
.emp-hero-facts li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  font-size: 1.38rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}
.emp-hero-fact-icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  flex-shrink: 0;
}
.emp-hero-fact-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}
.emp-hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  justify-items: start;
  align-items: end;
  padding-left: 0;
}
.emp-hero-halo {
  position: absolute;
  width: min(96%, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red-500);
  left: 38%;
  top: 44%;
  transform: translate(-48%, -50%) scale(0.16);
  opacity: 0;
  z-index: 0;
}
.emp-hero-photo {
  position: relative;
  z-index: 1;
  width: min(100%, 450px);
  aspect-ratio: 4 / 5;
  margin-left: 0;
  transform: translateX(42%);
  opacity: 0;
}
.emp-hero-drop {
  opacity: 0;
  transform: translateY(-1.85rem);
}
.emp-hero.is-ready .emp-hero-drop {
  animation: emp-hero-drop 0.9s cubic-bezier(0.22, 1.35, 0.36, 1) forwards;
  animation-delay: calc(0.08s + var(--d, 0) * 0.11s);
}
.emp-hero.is-ready .emp-hero-photo {
  animation: emp-hero-slide 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}
.emp-hero.is-ready .emp-hero-halo {
  animation: emp-hero-halo 1.25s cubic-bezier(0.34, 1.45, 0.64, 1) 0.28s forwards;
}
@keyframes emp-hero-drop {
  0% { opacity: 0; transform: translateY(-1.85rem); }
  70% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes emp-hero-slide {
  0% { opacity: 0.55; transform: translateX(42%); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes emp-hero-halo {
  0% { opacity: 0; transform: translate(-48%, -50%) scale(0.16); }
  100% { opacity: 1; transform: translate(-48%, -50%) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .emp-hero-drop,
  .emp-hero-photo,
  .emp-hero-halo {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .emp-hero-halo {
    transform: translate(-48%, -50%) scale(1) !important;
  }
}
.emp-hero-photo img,
.emp-photo-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* PNG cutout — ngồi trên halo, không crop mép trong suốt */
.emp-hero-photo--cutout img {
  object-fit: contain;
  object-position: bottom center;
}
.emp-photo-placeholder {
  display: grid;
  place-items: center;
  background: #d8dee6;
  color: var(--accent);
  font-size: 3.5rem;
  font-weight: 800;
}

.emp-section { padding: 3rem 0; }
.emp-section--soft { background: #f4f6f9; }
.emp-section-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
}
.emp-section-title--dark { color: var(--text); }

/* Portfolio scroll-reveal — học vấn & đối tác */
.emp-reveal-section .emp-section-title--dark {
  opacity: 0;
  transform: translateY(1.1rem);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.emp-reveal-section .emp-section-title--dark::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  margin-top: 0.5rem;
  border-radius: 2px;
  background: var(--red-500);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}
.emp-reveal-section.is-inview .emp-section-title--dark {
  opacity: 1;
  transform: none;
}
.emp-reveal-section.is-inview .emp-section-title--dark::after {
  width: 2.75rem;
}
.emp-reveal-section .emp-edu-card--default {
  opacity: 0;
  transform: translateY(2rem) scale(0.95) rotateX(7deg);
  transform-origin: center bottom;
  filter: blur(5px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease,
    box-shadow 0.7s ease;
  transition-delay: calc(var(--reveal-i, 0) * 95ms + 90ms);
}
.emp-reveal-section.is-inview .emp-edu-card--default {
  opacity: 1;
  transform: none;
  filter: none;
}
.emp-reveal-section .emp-edu-icon {
  transform: scale(0.55) rotate(-14deg);
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--reveal-i, 0) * 95ms + 220ms);
}
.emp-reveal-section.is-inview .emp-edu-icon {
  transform: scale(1) rotate(0);
}
.emp-reveal-section .emp-edu-grid {
  perspective: 900px;
}
.emp-reveal-section .emp-logo-tile {
  opacity: 0;
  transform: translateY(1.35rem) scale(0.88);
  transition:
    opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.58s cubic-bezier(0.34, 1.45, 0.64, 1),
    box-shadow 0.58s ease;
  transition-delay: calc(var(--reveal-i, 0) * 75ms + 110ms);
}
.emp-reveal-section.is-inview .emp-logo-tile {
  opacity: 1;
  transform: none;
}
.emp-reveal-section .emp-logo-tile .emp-org-fallback,
.emp-reveal-section .emp-logo-tile .emp-org-logo {
  opacity: 0;
  transform: scale(0.45);
  transition:
    opacity 0.45s ease,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--reveal-i, 0) * 75ms + 200ms);
}
.emp-reveal-section.is-inview .emp-logo-tile .emp-org-fallback,
.emp-reveal-section.is-inview .emp-logo-tile .emp-org-logo {
  opacity: 1;
  transform: none;
}

.emp-edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.emp-edu-grid--3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.emp-edu-card--default {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.4rem 1.25rem 1.35rem;
  box-shadow: 0 8px 24px rgba(26, 43, 66, 0.06);
  text-align: center;
}
.emp-edu-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--red-500);
  color: #fff;
}
.emp-edu-card--default h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  color: var(--red-600);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.emp-period { margin: 0.2rem 0 0; font-size: 0.88rem; }
.emp-period--accent { color: var(--red-500); font-weight: 700; }
.emp-edu-school {
  margin: 0.45rem 0 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.4;
}

.emp-org-logo {
  display: block;
  max-height: 40px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
}
.emp-org-fallback {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: var(--red-soft-strong);
  color: var(--accent);
  font-weight: 800;
}
.emp-logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
}
.emp-logo-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 0.85rem;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  align-content: center;
  min-height: 110px;
  text-align: center;
}
.emp-logo-tile span { font-weight: 700; font-size: 0.85rem; line-height: 1.3; }
@media (max-width: 720px) {
  .emp-logo-row {
    display: flex;
    width: calc(100% + 2rem);
    margin-inline: -1rem;
    gap: 0.85rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    padding: 0.15rem 1rem 0.55rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .emp-logo-row::-webkit-scrollbar {
    display: none;
  }
  .emp-logo-row .emp-logo-tile {
    flex: 0 0 min(72vw, 200px);
    width: min(72vw, 200px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

/* Portfolio — Lĩnh vực + Kinh nghiệm (2 cột desktop, mockup icon-forward) */
.emp-expertise {
  background:
    linear-gradient(180deg, #f3f4f6 0%, #eceef2 100%);
  padding: 3.25rem 0;
}
.emp-expertise-grid {
  display: grid;
  gap: 1.75rem 2rem;
  align-items: start;
}
.emp-expertise-grid--split {
  grid-template-columns: minmax(20rem, 34%) minmax(0, 1fr);
  gap: clamp(1.75rem, 3vw, 3rem);
}
.emp-expertise-areas {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  min-width: 0;
}
.emp-expertise-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.2rem, 0.95rem + 0.85vw, 1.65rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  text-wrap: balance;
}
.emp-expertise-title::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.55rem;
  border-radius: 2px;
  background: var(--red-500);
}
.emp-field-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: 100%;
}
.emp-field-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.6rem 1rem 0.6rem 0.65rem;
  background: #fff;
  border: 1.5px solid rgba(168, 37, 53, 0.22);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(26, 43, 66, 0.05);
  text-decoration: none;
  color: inherit;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
a.emp-field-btn {
  cursor: pointer;
}
a.emp-field-btn:hover {
  background: rgba(168, 37, 53, 0.06);
  border-color: var(--red-500);
  box-shadow: 0 8px 22px rgba(168, 37, 53, 0.12);
  transform: translateY(-1px);
}
.emp-field-btn--static {
  cursor: default;
}
.emp-field-btn-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: rgba(168, 37, 53, 0.08);
  color: var(--red-500);
}
.emp-field-btn-icon .emp-field-icon-svg,
.emp-field-btn-icon .emp-field-icon-img {
  width: 1.35rem;
  height: 1.35rem;
}
.emp-field-btn-icon .emp-field-icon-svg svg {
  width: 100%;
  height: 100%;
}
.emp-field-btn-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(0.68rem, 0.62rem + 0.22vw, 0.78rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: var(--text);
  text-wrap: balance;
}
.emp-field-icon--lg {
  display: inline-grid;
  place-items: center;
  width: auto;
  height: auto;
  margin: 0 auto 0.85rem;
  border-radius: 0;
  background: transparent;
  color: var(--red-500);
}
.emp-field-icon-svg {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
}
.emp-field-icon-svg svg {
  width: 100%;
  height: 100%;
}
.emp-field-icon-img {
  width: 2.65rem;
  height: 2.65rem;
  object-fit: contain;
}
.emp-field-icon--lg .emp-field-icon-svg {
  width: 2.65rem;
  height: 2.65rem;
}
.emp-field-icon--lg .emp-field-icon-img {
  width: 2.65rem;
  height: 2.65rem;
}
.emp-field-card--tile h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1.35;
}

.emp-expertise-xp .emp-xp-panel {
  max-width: none;
}
.emp-xp-panel {
  position: relative;
  margin: 0;
  padding: 1.75rem 1.75rem 1.75rem 2rem;
  background: #fff;
  border: 1px solid rgba(26, 43, 66, 0.08);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(26, 43, 66, 0.07);
  overflow: hidden;
}
.emp-xp-accent {
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 5px;
  border-radius: 0 4px 4px 0;
  background: var(--red-500);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.emp-expertise.is-inview .emp-xp-accent {
  transform: scaleY(1);
}
.emp-xp-body {
  position: relative;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
}
.emp-xp-body > *:first-child { margin-top: 0; }
.emp-xp-body > *:last-child { margin-bottom: 0; }
.emp-xp-body p {
  margin: 0 0 1rem;
  color: rgba(26, 43, 66, 0.88);
}
.emp-xp-body ul,
.emp-xp-body ol {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.emp-xp-body li {
  position: relative;
  padding: 0.15rem 0.25rem 0.15rem 1.85rem;
  color: rgba(26, 43, 66, 0.9);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.emp-expertise.is-inview .emp-xp-body li {
  opacity: 1;
  transform: none;
}
.emp-expertise.is-inview .emp-xp-body li:nth-child(1) { transition-delay: 0.05s; }
.emp-expertise.is-inview .emp-xp-body li:nth-child(2) { transition-delay: 0.1s; }
.emp-expertise.is-inview .emp-xp-body li:nth-child(3) { transition-delay: 0.15s; }
.emp-expertise.is-inview .emp-xp-body li:nth-child(4) { transition-delay: 0.2s; }
.emp-expertise.is-inview .emp-xp-body li:nth-child(5) { transition-delay: 0.25s; }
.emp-expertise.is-inview .emp-xp-body li:nth-child(6) { transition-delay: 0.3s; }
.emp-expertise.is-inview .emp-xp-body li:nth-child(7) { transition-delay: 0.35s; }
.emp-expertise.is-inview .emp-xp-body li:nth-child(8) { transition-delay: 0.4s; }
.emp-expertise.is-inview .emp-xp-body li:nth-child(9) { transition-delay: 0.45s; }
.emp-expertise.is-inview .emp-xp-body li:nth-child(n+10) { transition-delay: 0.5s; }
.emp-xp-body li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 2px solid var(--red-500);
  background:
    radial-gradient(circle at center, var(--text) 0 2.5px, transparent 2.6px);
  box-sizing: border-box;
}
.emp-xp-body strong,
.emp-xp-body b {
  color: var(--red-500);
  font-weight: 800;
}
.emp-xp-body a {
  color: var(--red-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .emp-expertise-grid--split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .emp-expertise-title {
    font-size: clamp(1.3rem, 4.5vw, 1.65rem);
  }
  .emp-field-stack {
    max-width: none;
  }
}
@media (min-width: 901px) and (max-width: 1080px) {
  .emp-expertise-grid--split {
    grid-template-columns: minmax(18.5rem, 38%) minmax(0, 1fr);
    gap: 1.75rem 2rem;
  }
  .emp-expertise-title {
    font-size: clamp(1.15rem, 1.05rem + 0.6vw, 1.45rem);
  }
}
@media (max-width: 560px) {
  .emp-field-stack {
    gap: 0.55rem;
  }
  .emp-xp-panel {
    padding: 1.35rem 1.15rem 1.35rem 1.35rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .emp-reveal-section .emp-section-title--dark,
  .emp-reveal-section .emp-edu-card--default,
  .emp-reveal-section .emp-edu-icon,
  .emp-reveal-section .emp-logo-tile,
  .emp-reveal-section .emp-logo-tile .emp-org-fallback,
  .emp-reveal-section .emp-logo-tile .emp-org-logo {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .emp-reveal-section .emp-section-title--dark::after {
    width: 2.75rem;
    transition: none;
  }
  .emp-xp-accent { transform: none; transition: none; }
  .emp-xp-body li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Portfolio contact — cùng phong cách city CTA tầm nhìn & sứ mệnh */
.emp-contact-band .about-cta-copy p { margin-bottom: 0.85rem; }
.emp-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}
.emp-contact-list a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.emp-contact-list a:hover { color: rgba(255, 255, 255, 0.88); }
.emp-contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}
.emp-contact-note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

a.team-featured { text-decoration: none; color: inherit; }
.team-featured-more {
  margin: 1rem 0 0;
  color: var(--accent);
  font-weight: 700;
}
a.employee-card { text-decoration: none; color: inherit; display: block; }

@media (max-width: 860px) {
  .emp-hero-grid { grid-template-columns: 1fr; }
  .emp-hero-copy { padding-bottom: 2rem; }
  .emp-hero-visual { min-height: 420px; order: -1; justify-items: center; }
  .emp-hero-photo { width: min(100%, 360px); margin: 0 auto; }
  .emp-hero-halo { width: min(88%, 390px); left: 50%; }
}

/* ===== Team page — grid cards (nad-01) ===== */
.team-page--grid {
  --team-navy: #1a2b42;
  --team-red: #a82535;
  --team-bg: #ffffff;
  --team-muted: #5a6b82;
  --team-line: #e6ebf2;
  background: var(--team-bg);
  color: var(--team-navy);
}

/* Intro — ĐỘI NGŨ | ảnh GĐ | LUẬT SƯ */
.team-intro {
  --team-scale-amp: 0.75rem;
  --team-scale-line-short: 0.28;
  position: relative;
  isolation: isolate;
  padding: 2rem 0 0;
  overflow: hidden;
  background: #f4f7fb;
}
.team-intro-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.team-intro-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.team-intro-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.35) 48%,
    rgba(255, 255, 255, 0.15) 100%
  );
}
.team-intro-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(286px, 462px) minmax(0, 1fr);
  gap: 0.75rem 1.25rem;
  align-items: center;
  min-height: clamp(480px, 68vh, 720px);
}
.team-intro-word {
  margin: 0;
  font-size: clamp(2.4rem, 5.5vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--team-navy);
}
.team-intro-word-swing {
  display: inline-block;
  will-change: transform, opacity;
}
.team-intro-word-swing::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 0.85rem;
  background: var(--team-red);
  transform: scaleX(var(--team-scale-line-short));
  will-change: transform;
}
.team-intro-word--left {
  justify-self: end;
  text-align: right;
  padding-right: 0.25rem;
}
.team-intro-word--left .team-intro-word-swing::after {
  transform-origin: right center;
}
.team-intro-word--right {
  justify-self: start;
  text-align: left;
  padding-left: 0.25rem;
}
.team-intro-word--right .team-intro-word-swing::after {
  transform-origin: left center;
}
/*
  Cán cân công lý — timeline (delay chung 0.5s, intro 1.7s):
  1) Ảnh GĐ xuất hiện trước (0s)
  2) Đội ngũ rơi xuống → nằm THẤP, giữ
  3) Luật sư bắt đầu rơi xuống THẤP ↔ Đội ngũ nhún LÊN (ngược pha)
  4) Sau intro: see-saw vô hạn — bên này lên thì bên kia xuống
  Gạch đỏ: xuống = scaleX(1) full chữ; lên = scaleX ngắn — cùng nhịp/tốc độ
*/
.team-intro-word--left .team-intro-word-swing {
  animation:
    teamScaleLeftIntro 1.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both,
    teamScaleSeeSawHigh 3.2s ease-in-out 2.2s infinite;
}
.team-intro-word--right .team-intro-word-swing {
  animation:
    teamScaleRightIntro 1.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both,
    teamScaleSeeSawLow 3.2s ease-in-out 2.2s infinite;
}
.team-intro-word--left .team-intro-word-swing::after {
  animation:
    teamScaleLeftLineIntro 1.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both,
    teamScaleLineSeeSawHigh 3.2s ease-in-out 2.2s infinite;
}
.team-intro-word--right .team-intro-word-swing::after {
  animation:
    teamScaleRightLineIntro 1.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both,
    teamScaleLineSeeSawLow 3.2s ease-in-out 2.2s infinite;
}

/* Featured portrait — cutout giữa, caption tên + chức danh */
.team-feat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 462px;
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
  background: transparent;
  overflow: visible;
  animation: teamIntroPersonIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes teamIntroPersonIn {
  from {
    opacity: 0;
    transform: translateY(1.75rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Đội ngũ: rơi → thấp → giữ → nhún lên khi Luật sư rơi */
@keyframes teamScaleLeftIntro {
  0% {
    opacity: 0;
    transform: translateY(calc(var(--team-scale-amp) * -3.8));
  }
  34% {
    opacity: 1;
    transform: translateY(var(--team-scale-amp));
  }
  52% {
    opacity: 1;
    transform: translateY(var(--team-scale-amp));
  }
  100% {
    opacity: 1;
    transform: translateY(calc(var(--team-scale-amp) * -1));
  }
}
/* Luật sư: chờ trên cao → rơi xuống thấp đúng lúc Đội ngũ nhún lên */
@keyframes teamScaleRightIntro {
  0%,
  52% {
    opacity: 0;
    transform: translateY(calc(var(--team-scale-amp) * -3.8));
  }
  53% {
    opacity: 0;
    transform: translateY(calc(var(--team-scale-amp) * -3.8));
  }
  100% {
    opacity: 1;
    transform: translateY(var(--team-scale-amp));
  }
}
/* See-saw: bắt đầu từ thế kết intro (trái cao / phải thấp), luôn ngược pha */
@keyframes teamScaleSeeSawHigh {
  0%,
  100% {
    transform: translateY(calc(var(--team-scale-amp) * -1));
  }
  50% {
    transform: translateY(var(--team-scale-amp));
  }
}
@keyframes teamScaleSeeSawLow {
  0%,
  100% {
    transform: translateY(var(--team-scale-amp));
  }
  50% {
    transform: translateY(calc(var(--team-scale-amp) * -1));
  }
}
/* Gạch đỏ đồng bộ: thấp = full (1), cao = ngắn */
@keyframes teamScaleLeftLineIntro {
  0% {
    transform: scaleX(0.2);
  }
  34%,
  52% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(var(--team-scale-line-short));
  }
}
@keyframes teamScaleRightLineIntro {
  0%,
  52% {
    transform: scaleX(0.2);
  }
  100% {
    transform: scaleX(1);
  }
}
@keyframes teamScaleLineSeeSawHigh {
  0%,
  100% {
    transform: scaleX(var(--team-scale-line-short));
  }
  50% {
    transform: scaleX(1);
  }
}
@keyframes teamScaleLineSeeSawLow {
  0%,
  100% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(var(--team-scale-line-short));
  }
}
@media (prefers-reduced-motion: reduce) {
  .team-intro-word--left .team-intro-word-swing,
  .team-intro-word--right .team-intro-word-swing,
  .team-intro-word--left .team-intro-word-swing::after,
  .team-intro-word--right .team-intro-word-swing::after,
  .team-feat-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .team-intro-word-swing::after {
    transform: scaleX(1);
  }
}
.team-feat-photo {
  position: relative;
  width: 100%;
  line-height: 0;
}
.team-feat-photo img {
  width: 100%;
  height: auto;
  max-height: clamp(528px, 75vh, 770px);
  object-fit: contain;
  object-position: center bottom;
  display: block;
  filter: drop-shadow(0 22px 40px rgba(26, 43, 66, 0.2));
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.65) 74%,
    rgba(0, 0, 0, 0.2) 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.65) 74%,
    rgba(0, 0, 0, 0.2) 88%,
    transparent 100%
  );
}
.team-feat-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--team-navy);
  font-size: 4rem;
  font-weight: 700;
}
.team-feat-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin-top: -2.5rem;
  padding: 0 0.5rem 1.25rem;
  text-align: center;
  pointer-events: none;
}
.team-feat-name {
  display: block;
  color: var(--team-navy);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}
.team-feat-role {
  display: block;
  color: var(--team-muted);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Staff — luxury staggered (nad-03 inspired, no GĐ) */
.team-staff--luxury {
  position: relative;
  margin-top: 0;
  padding: 3.75rem 0 4.5rem;
  overflow: hidden;
  background: #0e1828;
  color: #fff;
}
.team-staff-bg {
  position: absolute;
  inset: 0;
  /* Grid tile + repeat: section dài thêm nhân sự không bị zoom/crop xấu như cover */
  background-color: #0e1828;
  background-image:
    linear-gradient(180deg, rgba(14, 24, 40, 0.72), rgba(14, 24, 40, 0.88)),
    url("../img/team/team-staff-bg-grid.png");
  background-position: center top, center top;
  background-size: auto, 720px auto;
  background-repeat: no-repeat, repeat;
  pointer-events: none;
}
.team-staff-glow {
  position: absolute;
  inset: -18% 8% auto;
  height: 48%;
  background: radial-gradient(ellipse at 50% 0%, rgba(168, 37, 53, 0.16), transparent 64%);
  pointer-events: none;
  animation: teamStaffGlow 8s ease-in-out infinite alternate;
}
.team-staff-inner { position: relative; z-index: 1; }

.team-staff-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: 2rem 2.5rem;
  align-items: stretch;
  margin-bottom: 3rem;
}
.team-staff-title-wrap {
  position: relative;
  min-width: 0;
}
.team-staff-watermark {
  position: absolute;
  right: -0.15em;
  top: -0.2em;
  z-index: 0;
  font-size: clamp(6rem, 14vw, 10.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.9s ease 0.2s, transform 0.9s ease 0.2s;
}
.team-staff--luxury.is-gavel-in .team-staff-watermark {
  opacity: 1;
  transform: scale(1);
}
.team-staff-title {
  position: relative;
  z-index: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
}
.team-staff-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(-1.35rem) scaleY(1.18);
  transform-origin: top left;
}
.team-staff-idx {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--team-red, #a82535);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}
.team-staff-idx::after {
  content: "";
  width: 1.35rem;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
}
.team-staff-line-text { min-width: 0; }
/* Gõ búa — 3 dòng + số 01–03 đập xuống lần lượt */
.team-staff--luxury.is-gavel-in .team-staff-line {
  animation: teamStaffGavelSlam 0.58s cubic-bezier(0.18, 0.9, 0.22, 1.12) both;
}
.team-staff--luxury.is-gavel-in .team-staff-line:nth-child(1) { animation-delay: 0.04s; }
.team-staff--luxury.is-gavel-in .team-staff-line:nth-child(2) { animation-delay: 0.18s; }
.team-staff--luxury.is-gavel-in .team-staff-line:nth-child(3) { animation-delay: 0.32s; }
.team-staff-intro {
  align-self: center;
  padding: 1.25rem 1.35rem 1.35rem;
  border-left: 3px solid var(--team-red, #a82535);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateX(1.25rem);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.42s,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.42s;
}
.team-staff--luxury.is-gavel-in .team-staff-intro {
  opacity: 1;
  transform: translateX(0);
}
.team-staff-eyebrow {
  margin: 0 0 0.55rem;
  color: #e8a0a8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.team-staff-intro > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.7;
}

.team-staff-filters {
  --ink-left: 0px;
  --ink-width: 0px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  margin: 0 0 2rem;
  padding-bottom: 0.45rem;
}
.team-staff-filters::after {
  content: "";
  position: absolute;
  left: var(--ink-left);
  bottom: 0;
  width: var(--ink-width);
  height: 3px;
  background: var(--team-red, #a82535);
  border-radius: 2px;
  transition:
    left 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.team-staff-filter {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.5);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease;
}
.team-staff-filter:hover { color: #fff; }
.team-staff-filter.is-active {
  color: #fff;
}

.team-staff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
  max-width: none;
  margin: 0;
  perspective: 900px;
}
.team-staff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(36px) rotateX(9deg);
  transform-origin: center bottom;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
  transition-delay: var(--reveal-delay, 0ms);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.2),
    0 0 0 0 transparent;
}
.team-staff-card.is-revealed {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}
/* Deal deck — lọc tab: xẹp stack rồi rút bài mới */
.team-staff-card.is-dealing-out {
  opacity: 0;
  transform: translateY(18px) scale(0.9) rotate(-3deg);
  pointer-events: none;
  transition:
    opacity 0.28s cubic-bezier(0.4, 0, 1, 1),
    transform 0.28s cubic-bezier(0.4, 0, 1, 1);
  transition-delay: var(--deal-out-delay, 0ms);
}
.team-staff-card.is-dealing-in:not(.is-revealed) {
  opacity: 0;
  transform: translateY(-34px) scale(0.84) rotate(6deg);
  transition: none;
}
.team-staff-card.is-dealing-in.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.team-staff-card[hidden] { display: none !important; }
.team-staff-card:hover {
  transform: translateY(-5px) rotateX(0);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.34),
    0 0 0 2px var(--team-red, #a82535);
}
.team-staff-card.is-revealed:hover {
  transform: translateY(-5px) rotateX(0);
}

.team-staff-photo {
  position: relative;
  width: 100%;
  /* +20% height vs previous 5/3.5 */
  aspect-ratio: 5 / 4.2;
  overflow: hidden;
  background: #2a2d34;
}
.team-staff-photo::after {
  content: "NAD";
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  border: 2px solid rgba(168, 37, 53, 0.9);
  border-radius: 50%;
  color: rgba(168, 37, 53, 0.95);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(168, 37, 53, 0.12);
  opacity: 0;
  transform: scale(1.35) rotate(-22deg);
  transition:
    opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.team-staff-card:hover .team-staff-photo::after {
  opacity: 1;
  transform: scale(1) rotate(-14deg);
}
.team-staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}
.team-staff-card:hover .team-staff-photo img {
  transform: scale(1.05);
  filter: contrast(1.04) saturate(1.05);
}
.team-staff-photo-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #1a2b42, #314862);
  color: #fff;
  font-size: 2.5rem;
  font-weight: 600;
}

.team-staff-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.65rem 0.75rem 0.75rem;
  background: #fff;
}
.team-staff-role {
  margin: 0 0 0.2rem;
  color: var(--team-red, #a82535);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}
.team-staff-name {
  margin: 0 0 0.3rem;
  color: #111827;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}
.team-staff-bio {
  margin: 0 0 0.55rem;
  color: #5a6575;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.team-staff-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--team-red, #a82535);
  font-size: 0.8rem;
  font-weight: 700;
}
.team-staff-more-arrow {
  color: var(--team-red, #a82535);
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.team-staff-card:hover .team-staff-more-arrow {
  transform: translateX(0.55rem);
}

.team-staff-empty {
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

@keyframes teamStaffGlow {
  from { opacity: 0.55; transform: translateY(0); }
  to { opacity: 1; transform: translateY(12px); }
}
@keyframes teamStaffGavelSlam {
  0% {
    opacity: 0;
    transform: translateY(-1.45rem) scaleY(1.22);
  }
  72% {
    opacity: 1;
    transform: translateY(0.14rem) scaleY(0.94);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-staff-glow { animation: none; }
  .team-staff-line,
  .team-staff-watermark,
  .team-staff-intro {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
  .team-staff-filters::after { transition: none; }
  .team-staff-card,
  .team-staff-card.is-dealing-out,
  .team-staff-card.is-dealing-in:not(.is-revealed),
  .team-staff-card.is-dealing-in.is-revealed {
    opacity: 1;
    transform: none;
    transition: box-shadow 0.3s ease;
  }
  .team-staff-photo img,
  .team-staff-photo::after { transition: none; }
  .team-staff-card:hover .team-staff-photo img { transform: none; filter: none; }
  .team-staff-card:hover .team-staff-photo::after {
    opacity: 1;
    transform: scale(1) rotate(-14deg);
  }
  .team-staff-card.is-revealed:hover { transform: none; }
}

.team-after {
  padding: 0 0 2rem;
}

@media (max-width: 980px) {
  /* Giữ bố cục cán cân 3 cột — không xếp dọc (phá metaphor) */
  .team-intro {
    --team-scale-amp: 0.4rem;
    padding: 1.25rem 0 0;
  }
  .team-intro-inner {
    grid-template-columns: minmax(0, 1fr) minmax(165px, 50vw) minmax(0, 1fr);
    gap: 0.35rem 0.45rem;
    align-items: center;
    min-height: clamp(320px, 58vh, 480px);
    padding-top: 0.25rem;
  }
  .team-intro-word {
    font-size: clamp(1.05rem, 4.6vw, 1.85rem);
    letter-spacing: -0.03em;
    line-height: 1.28; /* tránh dấu ĐỘI/NGŨ, LUẬT/SƯ đè khi xuống hàng */
  }
  .team-intro-word-swing::after {
    height: 3px;
    margin-top: 0.45rem;
  }
  .team-intro-word--left {
    justify-self: end;
    text-align: right;
    padding-right: 0;
  }
  .team-intro-word--right {
    justify-self: start;
    text-align: left;
    padding-left: 0;
  }
  .team-feat-card {
    max-width: none;
    width: 100%;
  }
  .team-feat-photo img {
    max-height: clamp(286px, 51vh, 462px);
  }
  .team-feat-meta {
    margin-top: -1.75rem;
    padding-bottom: 0.85rem;
  }
  .team-feat-name {
    font-size: clamp(0.85rem, 3.4vw, 1.1rem);
  }
  .team-feat-role {
    font-size: 0.82rem;
  }
  .team-staff-head {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    margin-bottom: 2.5rem;
  }
  .team-staff-watermark {
    right: 0;
    font-size: clamp(4.5rem, 22vw, 7rem);
  }
  .team-staff-intro {
    transform: translateY(0.85rem);
  }
  .team-staff--luxury.is-gavel-in .team-staff-intro {
    transform: translateY(0);
  }
  .team-staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
}
@media (max-width: 420px) {
  .team-intro {
    --team-scale-amp: 0.28rem;
  }
  .team-intro-inner {
    grid-template-columns: minmax(0, 1fr) minmax(145px, 52vw) minmax(0, 1fr);
    gap: 0.2rem 0.3rem;
    min-height: clamp(280px, 54vh, 400px);
  }
  .team-intro-word {
    font-size: clamp(0.92rem, 4.2vw, 1.2rem);
    line-height: 1.32;
  }
  .team-feat-photo img {
    max-height: clamp(242px, 46vh, 352px);
  }
}
@media (max-width: 640px) {
  .team-staff--luxury { padding: 2.75rem 0 3.25rem; }
  .team-staff-filters { gap: 0.35rem 1rem; margin-bottom: 1.5rem; }
  .team-staff-filter { font-size: 0.95rem; }
  .team-staff-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .team-staff-title { font-size: clamp(1.55rem, 6.5vw, 2rem); }
}

/* ===== Custom gavel cursor (desktop) ===== */
.has-gavel-cursor,
.has-gavel-cursor * {
  cursor: none !important;
}
.has-gavel-cursor input,
.has-gavel-cursor textarea,
.has-gavel-cursor select,
.has-gavel-cursor [contenteditable='true'] {
  cursor: text !important;
}
.gavel-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  will-change: transform;
}
.gavel-cursor.is-on { opacity: 1; }
.gavel-cursor.is-typing { opacity: 0; }
.gavel-cursor-arm {
  position: absolute;
  left: -14px;
  top: -14px;
  width: 48px;
  height: 48px;
  /* Pivot gần núm cán — đầu búa (trên-trái) đập xuống */
  transform-origin: 66% 78%;
  filter: drop-shadow(0 2px 4px rgba(122, 24, 35, 0.45));
  transition: transform 0.12s ease;
}
.gavel-cursor-svg {
  display: block;
  width: 48px;
  height: 48px;
}
.gavel-cursor.is-slamming .gavel-cursor-arm {
  animation: gavelCursorSlam 0.38s cubic-bezier(0.15, 0.85, 0.25, 1.25) both;
}
.gavel-cursor-shock,
.gavel-cursor-ring {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.gavel-cursor-shock {
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  background: radial-gradient(circle, rgba(168, 37, 53, 0.55) 0%, transparent 70%);
}
.gavel-cursor-ring {
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 2px solid rgba(168, 37, 53, 0.85);
}
.gavel-cursor.is-impact .gavel-cursor-shock {
  animation: gavelShockBurst 0.4s ease-out both;
}
.gavel-cursor.is-impact .gavel-cursor-ring {
  animation: gavelRingBurst 0.45s ease-out both;
}
@keyframes gavelCursorSlam {
  0% {
    transform: rotate(28deg) translate3d(0, -10px, 0) scale(1.05);
  }
  38% {
    transform: rotate(-42deg) translate3d(-2px, 14px, 0) scale(1.18);
  }
  58% {
    transform: rotate(-28deg) translate3d(-1px, 8px, 0) scale(1.08);
  }
  78% {
    transform: rotate(-36deg) translate3d(-2px, 12px, 0) scale(1.12);
  }
  100% {
    transform: rotate(0deg) translate3d(0, 0, 0) scale(1);
  }
}
@keyframes gavelShockBurst {
  0% {
    opacity: 0.95;
    transform: scale(0.4);
  }
  100% {
    opacity: 0;
    transform: scale(3.4);
  }
}
@keyframes gavelRingBurst {
  0% {
    opacity: 1;
    transform: scale(0.35);
  }
  100% {
    opacity: 0;
    transform: scale(4.2);
  }
}
@media (prefers-reduced-motion: reduce) {
  .has-gavel-cursor,
  .has-gavel-cursor * { cursor: auto !important; }
  .gavel-cursor { display: none !important; }
}
