/* ==========================================================================
   STYLE.CSS - BẢNG CHUẨN THIẾT KẾ DÙNG CHUNG (DESIGN SYSTEM & TOKENS)
   Dự án: Công ty Luật TNHH Sài Gòn 48 (ctyluatsg)
   Font tiêu đề: Mulish (Google Fonts)
   Font nội dung: SVN-Gilroy (SVN-Gilroy Full)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. @FONT-FACE ĐỊNH NGHĨA FONT NỘI DUNG: SVN-GILROY (FULL 20 WEIGHTS)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy Thin Italic.otf') format('opentype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy Xlight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy Xlight Italic.otf') format('opentype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy Light Italic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy Medium Italic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy SemiBold Italic.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy Bold Italic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy XBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy XBold Italic.otf') format('opentype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy Heavy.otf') format('opentype');
  font-weight: 850;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy Heavy Italic.otf') format('opentype');
  font-weight: 850;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/SVN-Gilroy Black Italic.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. HỆ THỐNG BIẾN TOÀN CỤC CHUẨN (:root) - MÀU SẮC, FONT, FONT WEIGHT, FONT SIZE
   -------------------------------------------------------------------------- */
:root {
  /* BẢNG MÀU CHUẨN (COLOR PALETTE THEO LOGO) */
  --color-primary: #283890;
  /* Xanh lam nhận diện thương hiệu theo Logo */
  --color-primary-rgb: 40, 56, 144;
  --color-primary-hover: #1c296d;
  --color-primary-light: #f0f4fd;
  --color-primary-pink: #eef2fc;
  /* Nền pastel xanh sáng nhạt */
  --color-secondary: #764b28;
  /* Màu đồng/caramel theo viền vòng tròn Logo */
  --color-secondary-hover: #5d3a1e;
  --color-dark: #0e1638;
  /* Xanh than đậm quý phái cho tiêu đề & menu */
  --color-heading: #0e1638;
  --color-text: #1a202c;
  --color-text-secondary: #4a5568;
  --color-text-muted: #718096;
  --color-bg-light: #ededed;
  /* Nền xám nhạt section 2, section 6 */
  --color-bg-white: #ffffff;
  --color-border: #e5e7eb;
  --color-border-dark: #000000;

  /* BẢNG FONT CHUẨN (FONTS) */
  --font-heading: 'Mulish', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'SVN-Gilroy', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* BẢNG FONT WEIGHT CHUẨN */
  --fw-thin: 100;
  --fw-xlight: 200;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-xbold: 800;
  --fw-heavy: 850;
  --fw-black: 900;

  /* BẢNG FONT SIZE CHUẨN (fz) */
  --fz-xs: 0.75rem;
  /* 12px */
  --fz-sm: 0.875rem;
  /* 14px */
  --fz-base: 1rem;
  /* 16px */
  --fz-md: 1.125rem;
  /* 18px */
  --fz-lg: 1.25rem;
  /* 20px */
  --fz-xl: 1.5rem;
  /* 24px */
  --fz-2xl: 1.875rem;
  /* 30px */
  --fz-3xl: 2.25rem;
  /* 36px */
  --fz-4xl: 2.75rem;
  /* 44px */
  --fz-5xl: 3.25rem;
  /* 52px */
  --fz-hero: 3.75rem;
  /* 60px */

  /* LINE HEIGHTS */
  --lh-none: 1;
  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  /* CONTAINER SIZES */
  --container-max: 1270px;
  --container-narrow: 1100px;
  --container-form: 800px;

  /* TRANSITIONS & SHADOWS */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-header: 0 5px 20px rgba(0, 0, 0, 0.07);
}

/* --------------------------------------------------------------------------
   3. BASE RESET & TYPOGRAPHY
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fz-base);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-bg-white);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* TIÊU ĐỀ: BẮT BUỘC DÙNG MULISH VỚI FONT-WEIGHT CHUẨN & KHOẢNG CÁCH DÒNG/CHỮ SÁT NHAU (TIGHT TYPOGRAPHY) */
h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: var(--font-heading) !important;
  font-weight: var(--fw-xbold);
  color: var(--color-heading);
  letter-spacing: -0.035em;
  margin-top: 0;
}

/* About page – editorial hero */
.about-hero {
  isolation: isolate;
  background: #0c183d;
}

.about-hero h1 {
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.about-hero h1,
.about-hero .font-heading {
  color: #fff;
}

.about-hero__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url('../images/banner-saigon48.png') center / cover no-repeat;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 20, 60, .97) 0%, rgba(10, 26, 71, .9) 38%, rgba(10, 22, 56, .52) 72%, rgba(7, 17, 45, .62) 100%);
}

.about-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #f8d780;
  font-size: var(--fz-xs);
  font-weight: 800;
  letter-spacing: .18em;
}

.about-hero__breadcrumb {
  color: rgba(225, 233, 255, .8);
}

.about-hero__eyebrow::before {
  content: '';
  width: 2rem;
  height: 2px;
  background: #f8d780;
}

.about-hero__manifesto {
  padding: 2rem;
  border: 1px solid rgba(248, 215, 128, .5);
  border-top: 2px solid #f8d780;
  border-radius: 28px 28px 0 0;
  background: rgba(8, 22, 58, .87);
  box-shadow: 18px 18px 0 rgba(2, 10, 44, .35);
  backdrop-filter: blur(10px);
}

.about-hero__scales {
  position: absolute;
  right: 1.15rem;
  top: 1.2rem;
  width: 5.2rem;
  color: rgba(248, 215, 128, .45);
}

.about-hero__case-label {
  color: #f8d780;
  font-size: var(--fz-xs);
  font-weight: 800;
  letter-spacing: .18em;
}

.about-hero__rule {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 5px;
  background: #f8d780;
}

@media (max-width: 1023px) {
  .about-hero__manifesto {
    display: none !important;
  }

  .about-hero__rule {
    display: none !important;
  }
}

@media (min-width: 1024px) {

  /* The case card sits directly on the hero's gold baseline. */
  .about-hero__manifesto {
    margin-bottom: -75px;
  }
}

@media (min-width: 1280px) {
  .about-hero h1 {
    font-size: 3.15rem;
    line-height: 1.18;
    letter-spacing: -0.025em;
  }
}

/* --------------------------------------------------------------------------
   5. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header-main {
  height: 90px;
  transition: all var(--transition-normal);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 1023px) {
  .header-main {
    height: 70px;
  }
}

.header-main.is-sticky {
  height: 70px;
  box-shadow: var(--shadow-header);
}

.nav-link-item {
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 0.9375rem;
  color: var(--color-dark);
  transition: color var(--transition-fast);
  position: relative;
  padding: 8px 12px;
}

.nav-link-item:hover,
.nav-link-item.active {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   5.1 HEADER TRANSPARENT (Dành cho trang Giới thiệu & hero tối màu)
   -------------------------------------------------------------------------- */
.header-main.header-main--transparent {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-main.header-main--transparent .nav-link-item {
  color: rgba(255, 255, 255, 0.92);
}

.header-main.header-main--transparent .nav-link-item:hover {
  color: #fcd34d;
}

.header-main.header-main--transparent .nav-link-item.active {
  color: #fbbf24;
}

.header-main.header-main--transparent .nav-link-item.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background-color: #fbbf24;
  border-radius: 2px;
}

.header-main.header-main--transparent .nav-dropdown-arrow {
  color: rgba(255, 255, 255, 0.75);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.header-main.header-main--transparent .group:hover .nav-dropdown-arrow,
.header-main.header-main--transparent .nav-link-item.active .nav-dropdown-arrow {
  color: #fbbf24;
}

.header-main.header-main--transparent .header-action-btn {
  color: #ffffff;
  transition: color var(--transition-fast);
}

.header-main.header-main--transparent .header-action-btn:hover {
  color: #fbbf24;
}

.header-main.header-main--transparent .header-logo {
  transition: filter var(--transition-normal);
}

.header-main.header-main--transparent:not(.is-sticky) .header-logo {
  filter: brightness(0) invert(1);
}

/* Khi Header Transparent cuộn chuột (is-sticky) -> chuyển sang nền sáng đục chuẩn */
.header-main.header-main--transparent.is-sticky {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: var(--shadow-header);
}

.header-main.header-main--transparent.is-sticky .nav-link-item {
  color: var(--color-dark);
}

.header-main.header-main--transparent.is-sticky .nav-link-item:hover,
.header-main.header-main--transparent.is-sticky .nav-link-item.active {
  color: var(--color-primary);
}

.header-main.header-main--transparent.is-sticky .nav-link-item.active::after {
  background-color: var(--color-primary);
}

.header-main.header-main--transparent.is-sticky .nav-dropdown-arrow {
  color: #6b7280;
}

.header-main.header-main--transparent.is-sticky .group:hover .nav-dropdown-arrow,
.header-main.header-main--transparent.is-sticky .nav-link-item.active .nav-dropdown-arrow {
  color: var(--color-primary);
}

.header-main.header-main--transparent.is-sticky .header-action-btn {
  color: #374151;
}

.header-main.header-main--transparent.is-sticky .header-action-btn:hover {
  color: var(--color-primary);
}

.header-main.header-main--transparent.is-sticky .header-logo {
  filter: none;
}

/* --------------------------------------------------------------------------
   5.2 SUBPAGE HERO BANNER (Dành cho Dịch vụ, Luật sư, CẨM NANG PHÁP LÝ, Liên hệ)
   -------------------------------------------------------------------------- */
.subpage-hero {
  position: relative;
  overflow: hidden;
  background-color: #0c183d;
  isolation: isolate;
  --hero-bottom-color: #fff;
}

.subpage-hero__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url('../images/banner-saigon48.png') center / cover no-repeat;
}

.subpage-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 20, 60, 0.96) 0%, rgba(10, 26, 71, 0.88) 40%, rgba(10, 22, 56, 0.58) 75%, rgba(7, 17, 45, 0.68) 100%);
}

/* SVG mask cuts a layered diagonal edge from the photograph into the next section. */
.subpage-hero::before,
.subpage-hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: auto 0 -1px;
  height: clamp(40px, 5vw, 80px);
  pointer-events: none;
}

/* Gold accent slant behind the front cut (SVG inlined so the mask also works over file://) */
.subpage-hero::before {
  background: rgba(251, 191, 36, 0.35);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath d='M0 96L1440 0V96Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath d='M0 96L1440 0V96Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.subpage-hero::after {
  background: var(--hero-bottom-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath d='M0 96L1440 36V96Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath d='M0 96L1440 36V96Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.subpage-hero--lightgray {
  --hero-bottom-color: var(--color-bg-light);
}

@media (max-width: 639px) {

  .subpage-hero::before,
  .subpage-hero::after {
    height: 30px;
  }
}

/* --------------------------------------------------------------------------
   5.3 LEGAL INDEX (Trang Dịch vụ: mục lục dịch vụ dạng hàng mở rộng)
   -------------------------------------------------------------------------- */
.legal-index {
  background: #fff;
}

.legal-index__head {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 3rem;
  border-bottom: 3px solid #0e1638;
}

@media (min-width: 1024px) {
  .legal-index__head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.legal-index__group {
  padding: 3.5rem 0;
  border-bottom: 1px solid #e2e6ef;
}

.legal-index__group:nth-child(odd) {
  background: #f4f6fa;
}

.legal-index__aside {
  position: relative;
}

@media (min-width: 1024px) {
  .legal-index__aside {
    position: sticky;
    top: 7rem;
  }
}

/* Số lĩnh vực dạng chữ viền: điểm nhấn thị giác thay cho ảnh */
.legal-index__gnum {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px var(--color-primary);
  letter-spacing: -0.04em;
}

.legal-index__glink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid var(--color-secondary);
  color: #0e1638;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  transition: gap 0.2s ease, color 0.2s ease;
}

.legal-index__glink:hover {
  gap: 0.85rem;
  color: var(--color-secondary);
}

.legal-index__list {
  border-top: 2px solid #0e1638;
}

.legal-row {
  border-bottom: 1px solid #d5dbe8;
  background: #fff;
  transition: background-color 0.25s ease;
}

.legal-row__head {
  display: grid;
  grid-template-columns: 3rem 1fr 2.5rem;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.legal-row__head::-webkit-details-marker {
  display: none;
}

.legal-row__num {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-secondary);
  letter-spacing: 0.05em;
}

.legal-row__title {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 700;
  line-height: 1.35;
  color: #0e1638;
}

/* Nút +/− vuông, đổi màu khi mở */
.legal-row__toggle {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid #0e1638;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.3s ease;
}

.legal-row__toggle::before,
.legal-row__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.9rem;
  height: 2px;
  background: #0e1638;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, background-color 0.25s ease;
}

.legal-row__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.legal-row__head:hover {
  background: #0e1638;
}

.legal-row__head:hover .legal-row__title {
  color: #fff;
}

.legal-row__head:hover .legal-row__num {
  color: #fbbf24;
}

.legal-row__head:hover .legal-row__toggle {
  border-color: #fbbf24;
}

.legal-row__head:hover .legal-row__toggle::before,
.legal-row__head:hover .legal-row__toggle::after {
  background: #fbbf24;
}

.legal-row[open] {
  box-shadow: inset 4px 0 0 var(--color-secondary);
}

.legal-row[open] .legal-row__toggle {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}

.legal-row[open] .legal-row__toggle::before,
.legal-row[open] .legal-row__toggle::after {
  background: #fff;
}

.legal-row[open] .legal-row__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.legal-row__body {
  padding: 0 1.25rem 1.75rem calc(1.25rem + 3rem + 1rem);
  animation: legalRowIn 0.3s ease;
}

.legal-row__points {
  display: grid;
  gap: 0.75rem 2rem;
  font-size: 0.9rem;
  color: #374151;
}

@media (min-width: 640px) {
  .legal-row__points {
    grid-template-columns: 1fr 1fr;
  }
}

.legal-row__points li {
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.5;
}

.legal-row__points li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--color-secondary);
}

.legal-row__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #0e1638;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background-color 0.2s ease;
}

.legal-row__cta:hover {
  background: var(--color-secondary);
}

@media (max-width: 639px) {
  .legal-row__head {
    grid-template-columns: 2.25rem 1fr 2.25rem;
    gap: 0.75rem;
    padding: 1.1rem 0.75rem;
  }

  .legal-row__toggle {
    width: 2.25rem;
    height: 2.25rem;
  }

  .legal-row__body {
    padding: 0 0.75rem 1.5rem;
  }
}

@keyframes legalRowIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   5.4 PROCESS TRACK (Trang Dịch vụ: quy trình 4 bước dạng đường tiến trình)
   -------------------------------------------------------------------------- */
.process-track {
  position: relative;
  overflow: hidden;
  background: #0e1638;
  color: #fff;
}

/* Lưới mảnh phía sau tạo cảm giác bản vẽ kỹ thuật */
.process-track::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.process-track>* {
  position: relative;
}

.process-track__head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 1024px) {
  .process-track__head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.process-track__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: start;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid #fbbf24;
  color: #fbbf24;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.process-track__cta:hover {
  background: #fbbf24;
  color: #0e1638;
}

.process-track__steps {
  display: grid;
  grid-template-columns: 1fr;
  list-style: none;
}

.process-step {
  position: relative;
  padding: 0 0 2.5rem 2.75rem;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
}

.process-step:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

/* Mốc vuông trên đường tiến trình */
.process-step__node {
  position: absolute;
  top: 0;
  left: -9px;
  width: 16px;
  height: 16px;
  border: 2px solid #fbbf24;
  background: #0e1638;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.process-step__num {
  display: block;
  margin: -0.4rem 0 1rem;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35);
  letter-spacing: -0.03em;
  transition: -webkit-text-stroke-color 0.25s ease;
}

.process-step__title {
  margin-bottom: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.process-step__desc {
  max-width: 22rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(219, 228, 255, 0.7);
}

.process-step:hover .process-step__node {
  background: #fbbf24;
  transform: rotate(45deg);
}

.process-step:hover .process-step__num {
  -webkit-text-stroke-color: #fbbf24;
}

/* Desktop: đường tiến trình nằm ngang, 5 cột ngăn bằng vạch dọc */
@media (min-width: 1024px) {
  .process-track__steps {
    grid-template-columns: repeat(5, 1fr);
    border-top: 2px solid rgba(255, 255, 255, 0.15);
  }

  .process-step,
  .process-step:last-child {
    padding: 2.75rem 1.25rem 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .process-step:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .process-step__node {
    top: -9px;
    left: 1.25rem;
  }

  .process-step:first-child .process-step__node {
    left: 0;
  }

  /* Đoạn đường đã "đi qua" sáng lên khi hover */
  .process-step::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: width 0.4s ease;
  }

  .process-step:hover::before {
    width: 100%;
  }

  .process-step__num {
    font-size: 4rem;
  }

  .process-step__title {
    font-size: 1.05rem;
  }

  .process-step__desc {
    font-size: 0.85rem;
  }
}

@media (min-width: 1280px) {
  .process-step,
  .process-step:last-child {
    padding: 2.75rem 1.5rem 0.5rem;
  }

  .process-step__node {
    left: 1.5rem;
  }

  .process-step__num {
    font-size: 4.5rem;
  }

  .process-step__title {
    font-size: 1.15rem;
  }

  .process-step__desc {
    font-size: 0.875rem;
  }
}

/* --------------------------------------------------------------------------
   5.5 CTA PHOTO (Khối kêu gọi liên hệ có ảnh trụ sở làm nền)
   -------------------------------------------------------------------------- */
.cta-photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #0e1638;
}

.cta-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('../images/about.png') center 40% / cover no-repeat;
}

.cta-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 22, 56, 0.92) 0%, rgba(14, 22, 56, 0.78) 50%, rgba(14, 22, 56, 0.94) 100%);
}

/* --------------------------------------------------------------------------
   5.6 CONTACT DESK (Trang Liên hệ: thẻ thông tin + phiếu yêu cầu + bản đồ)
   -------------------------------------------------------------------------- */
.contact-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .contact-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

/* Thẻ thông tin và phiếu ghép thành một khối bo góc */
.contact-desk {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(14, 22, 56, 0.35);
}

@media (min-width: 1024px) {
  .contact-desk {
    grid-template-columns: 5fr 7fr;
  }
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 1.5rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(251, 191, 36, 0.18), transparent 45%),
    linear-gradient(160deg, #1a2766 0%, #0e1638 70%);
  color: #fff;
}

@media (min-width: 640px) {
  .contact-card {
    padding: 3rem 2.5rem;
  }
}

.contact-card__label {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.14);
  color: #fbbf24;
  font-size: var(--fz-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card__list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.contact-card__list>li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 0.2s ease;
}

.contact-card__list>li:hover {
  background: rgba(255, 255, 255, 0.1);
}

.contact-card__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: #fbbf24;
  color: #0e1638;
  font-size: 1rem;
}

.contact-card__key {
  display: block;
  margin-bottom: 0.15rem;
  color: rgba(219, 228, 255, 0.65);
  font-size: 0.75rem;
}

.contact-card__val {
  display: block;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.4;
  transition: color 0.2s ease;
}

a.contact-card__val:hover {
  color: #fbbf24;
}

.contact-card__val--big {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.contact-card__hours {
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.contact-card__hours dl>div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  font-size: 0.85rem;
}

.contact-card__hours dt {
  color: rgba(219, 228, 255, 0.75);
}

.contact-card__hours dd {
  font-weight: 700;
  text-align: right;
}

.contact-form {
  padding: 2.5rem 1.5rem;
  background: #fff;
}

@media (min-width: 640px) {
  .contact-form {
    padding: 3rem;
  }
}

/* Hai nhãn dạng viên thuốc đầu phiếu */
.contact-form__stamp {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: var(--fz-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form__stamp span {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

.contact-form__stamp span:first-child {
  background: #eef2fc;
  color: var(--color-primary);
}

.contact-form__stamp span:last-child {
  background: #f6efe8;
  color: var(--color-secondary);
}

.contact-form__step {
  margin-bottom: 2rem;
}

.contact-form__step legend {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  color: #0e1638;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
}

.contact-form__step legend span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
  background: #0e1638;
  color: #fbbf24;
  font-size: 0.8rem;
}

/* Ô nhập dạng khối có nền, không viền */
.contact-field {
  display: block;
}

.contact-field>span {
  display: block;
  margin-bottom: 0.45rem;
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid transparent;
  border-radius: 0.85rem;
  background: #f4f6fa;
  color: #0e1638;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field textarea {
  resize: vertical;
}

.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
  background: #eef1f7;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(40, 56, 144, 0.1);
}

.contact-field:focus-within>span {
  color: var(--color-primary);
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px -12px rgba(118, 75, 40, 0.6);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-form__submit:hover {
  background: var(--color-secondary-hover);
  transform: translateY(-1px);
}

.contact-form__submit:disabled {
  opacity: 0.7;
}

/* Bản đồ tràn ngang, thẻ chỉ đường nổi bên trên */
.contact-map {
  position: relative;
  height: 460px;
  background: #e5e7eb;
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(0.6);
}

.contact-map__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2rem;
  pointer-events: none;
}

.contact-map__card {
  max-width: 22rem;
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: #0e1638;
  box-shadow: 0 24px 48px -20px rgba(14, 22, 56, 0.6);
  pointer-events: auto;
}

.contact-map__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: #fbbf24;
  color: #0e1638;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.contact-map__btn:hover {
  background: #fff;
}

@media (min-width: 1024px) {
  .contact-map__inner {
    align-items: center;
    padding-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   6. CUSTOM COMPONENTS THEO MẪU GỐC CỦA CONSULTANT.MATBAO.WEBSITE
   -------------------------------------------------------------------------- */
/* Banner Section Red Circle Background */
.mbws_background-circle {
  position: relative;
}

.mbws_background-circle::before {
  position: absolute;
  content: "";
  width: 230px;
  height: 230px;
  background-color: var(--color-primary);
  border-radius: 50%;
  top: -105px;
  right: 105px;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .mbws_background-circle::before {
    width: 150px;
    height: 150px;
    top: -50px;
    right: 20px;
  }
}

/* Subtitle Pill Header */
.mbws_subtitle {
  position: relative;
  padding-left: 50px;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: var(--fz-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mbws_subtitle::before {
  position: absolute;
  content: "";
  width: 35px;
  height: 10px;
  border: 1px solid var(--color-secondary);
  border-radius: 10px;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
}

/* Button Pills */
.btn-pill-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  color: #ffffff;
  padding: 10px 28px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-pill-dark:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 56, 144, 0.3);
}

.btn-pill-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 10px 28px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-pill-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 56, 144, 0.4);
}

/* Comment Box in Section 3 */
.mbws_comment-col {
  border-radius: 70px;
  border: 1px solid #000000;
  padding: 70px 50px 60px !important;
  background-color: #ffffff;
  transition: all var(--transition-normal);
}

.mbws_comment-col:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-color: var(--color-primary);
}

/* FAQ Accordion Styling */
.accordion-item {
  border-bottom: 1px solid #d1d5db;
  transition: all var(--transition-fast);
}

.accordion-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  padding: 18px 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: var(--fw-semibold);
  color: #111827;
  cursor: pointer;
  background: transparent;
  border: none;
  user-select: none;
}

.accordion-title * {
  pointer-events: none;
}

.accordion-title:hover {
  color: var(--color-primary);
}

.accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  width: 20px;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-in-out, opacity 0.3s ease, padding 0.3s ease;
  opacity: 0;
}

.accordion-content.is-open {
  max-height: 500px;
  opacity: 1;
  padding-bottom: 18px;
}

.accordion-content p {
  color: #4b5563;
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
}

/* Contact Form */
.form-input-control {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  background-color: transparent;
  border: 1px solid #000000;
  padding: 0 18px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: #000000;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-textarea-control {
  width: 100%;
  min-height: 160px;
  border-radius: 10px;
  background-color: transparent;
  border: 1px solid #000000;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: #000000;
  outline: none;
  resize: vertical;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input-control:focus,
.form-textarea-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(40, 56, 144, 0.15);
}

/* --------------------------------------------------------------------------
   7. FLOATING RIGHT NAVIGATION BULLETS (SCROLLSPY)
   -------------------------------------------------------------------------- */
.side-bullet-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 992px) {
  .side-bullet-nav {
    display: none;
  }
}

.side-bullet-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-bullet-link {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-primary);
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.side-bullet-link.is-active {
  background-color: transparent;
  border-color: var(--color-primary);
  transform: scale(1.3);
}

.side-bullet-tooltip {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #000000;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: var(--fw-medium);
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.side-bullet-item:hover .side-bullet-tooltip {
  opacity: 1;
  visibility: visible;
  right: 28px;
}

/* --------------------------------------------------------------------------
   8. BACK TO TOP BUTTON
   -------------------------------------------------------------------------- */
.back-to-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-normal);
}

.back-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   9. TESTIMONIAL CAROUSEL
   -------------------------------------------------------------------------- */
.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.testimonial-slide.is-active {
  display: block;
  opacity: 1;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(40, 56, 144, 0.25);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  padding: 0;
}

.slider-dot.is-active {
  background-color: var(--color-primary);
  transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   10. SEARCH DROPDOWN & OVERLAY
   -------------------------------------------------------------------------- */
.search-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 300px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 1000;
}

.search-dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   11. MOBILE DRAWER MENU
   -------------------------------------------------------------------------- */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background-color: #ffffff;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  padding: 24px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   12. SIGNATURE FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  color: #e8ecf7;
  background-color: #060b1c;
  background-image:
    linear-gradient(180deg, rgba(6, 11, 28, 0.72) 0%, rgba(6, 11, 28, 0.42) 45%, rgba(4, 7, 18, 0.90) 100%),
    url('../images/footer-bg.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  border-top: 0;
  --footer-mask-color: #ffffff;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 88% 80%, rgba(212, 175, 55, 0.12) 0%, transparent 45%);
}

/* Curved top mask */
.footer-mask-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
  margin-top: -1px;
}

.footer-mask-svg {
  display: block;
  width: 100%;
  height: 50px;
}

@media (min-width: 640px) {
  .footer-mask-svg {
    height: 75px;
  }
}

@media (min-width: 1024px) {
  .footer-mask-svg {
    height: 95px;
  }
}

.footer-mask-fill {
  fill: var(--footer-mask-color, #ffffff);
}

/* Crest and slogan under the curve */
.footer-crest-wrapper {
  position: relative;
  z-index: 2;
}

.footer-crest-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  font-size: 1.6rem;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.45));
}

.footer-crest-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  color: #f7dfa5;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.footer-crest-line {
  height: 1px;
  width: 40px;
  background: linear-gradient(90deg, transparent, #d4af37);
}

.footer-crest-line--right {
  background: linear-gradient(90deg, #d4af37, transparent);
}

@media (min-width: 640px) {
  .footer-crest-line {
    width: 90px;
  }
}

@media (min-width: 1024px) {
  .footer-crest-line {
    width: 120px;
  }
}

/* Main body */
.site-footer .footer-main {
  position: relative;
  z-index: 2;
  color: #e8ecf7;
  background: transparent;
}

.site-footer .footer-logo-card,
.site-footer .footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.site-footer .footer-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-footer a.group:hover .footer-logo-img {
  transform: scale(1.06);
}

.site-footer .footer-brand-name {
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.site-footer .footer-copy {
  color: #cbd5e1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Titles */
.footer-column-title {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.footer-title-bar {
  width: 28px;
  height: 2px;
  background: #d4af37;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* Nav list with chevrons */
.footer-nav-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #cbd5e1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
  padding-right: 6px;
}

.footer-nav-list li a i {
  font-size: 0.75rem;
  color: rgba(212, 175, 55, 0.7);
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-nav-list li a:hover {
  color: #f3d09a;
  transform: translateX(3px);
}

.footer-nav-list li a:hover i {
  color: #f3d09a;
  transform: translateX(2px);
}

/* Social round buttons */
.footer-social-round {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.footer-social-round:hover {
  background: #d4af37;
  border-color: #d4af37;
  color: #060b1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

/* Gold CTA button */
.footer-cta-gold {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 270px;
  padding: 9px 12px 9px 18px;
  background: linear-gradient(135deg, #f5d799 0%, #d4af37 55%, #c59b27 100%);
  color: #070d1e;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
}

.footer-cta-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45);
  background: linear-gradient(135deg, #fff0cb 0%, #dfba43 55%, #d4a92c 100%);
  color: #070d1e;
}

.footer-cta-gold__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #070d1e;
  color: #f5d799;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.footer-cta-gold:hover .footer-cta-gold__icon {
  transform: translateX(3px);
}

/* Bottom bar & Back to top */
.site-footer .footer-bottom {
  border-color: rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.site-footer .footer-bottom a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.site-footer .footer-bottom a:hover {
  color: #f3d09a;
}

.footer-back-to-top {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5d799 0%, #d4af37 100%);
  color: #070d1e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
}

.footer-back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
  color: #070d1e;
}

@media (max-width: 767px) {
  .site-footer {
    background-position: 75% bottom;
    background-size: cover;
  }
}

/* Page Giới thiệu background (panoramic banner-saigon48.png with gentle moderate blur) */
body.page-gioi-thieu {
  position: relative;
  background-color: #f8fafc;
}

body.page-gioi-thieu::before {
  content: '';
  position: fixed;
  inset: -15px;
  z-index: -10;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), url('../images/banner-saigon48.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(3px);
  transform: scale(1.02);
}

/* Section title banner & ribbon styles using project's official Mulish font */
.section-title-badge {
  display: inline-flex;
  align-items: center;
  background: #14204d;
  border-left: 4px solid #f59e0b;
  box-shadow: 0 10px 25px rgba(20, 32, 77, 0.25);
}

.section-title-badge h2 {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  color: #ffffff !important;
  margin: 0;
}

.section-title-ribbon {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.3);
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 20px 100%, 0 50%);
  padding-left: 2.25rem;
  transition: all 0.3s ease;
}

.section-title-ribbon:hover {
  filter: brightness(1.1);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   SCROLLREVEAL (Customization & FOUC Prevention)
   -------------------------------------------------------------------------- */
html.sr .load-hidden {
  visibility: hidden;
}

/* --------------------------------------------------------------------------
   BOX THỐNG KÊ TRUY CẬP (VISITOR STATISTICS WIDGET)
   -------------------------------------------------------------------------- */
#visitorStatsBox {
  background: linear-gradient(135deg, #1c296d 0%, #283890 55%, #0e1638 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 35px -10px rgba(14, 22, 56, 0.35);
}

#visitorStatsBox .stat-inner-frame {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

#visitorStatsBox .stat-digit-box {
  background: #ffffff;
  color: #283890;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15), inset 0 -2px 0 rgba(40, 56, 144, 0.15);
}