:root {
  --royal-980: #040a17;
  --royal-960: #061125;
  --royal-940: #091937;
  --royal-920: #0d2348;
  --royal-900: #112c59;
  --royal-860: #183a70;
  --gold-100: #fbf3dc;
  --gold-200: #f3dfab;
  --gold-300: #e0c37a;
  --gold-400: #cb9f4d;
  --gold-500: #a97a32;
  --gold-600: #7f5c28;
  --text: #f4efdf;
  --text-soft: #ddd4bd;
  --muted: #b3bdd1;
  --muted-soft: #8b96ad;
  --border: rgba(221, 195, 122, 0.3);
  --border-strong: rgba(243, 223, 171, 0.48);
  --panel: rgba(11, 25, 54, 0.9);
  --panel-strong: rgba(9, 20, 44, 0.96);
  --panel-soft: rgba(18, 40, 79, 0.74);
  --shadow: 0 28px 70px rgba(1, 7, 20, 0.42);
  --radius: 28px;
  --radius-sm: 20px;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Noto Sans Khmer", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(224, 195, 122, 0.1), transparent 18%),
    radial-gradient(circle at 20% 18%, rgba(243, 223, 171, 0.08), transparent 26%),
    linear-gradient(180deg, #06112a 0%, #081733 22%, #0a1f45 54%, #07162f 100%);
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    linear-gradient(90deg, transparent 0, rgba(224, 195, 122, 0.04) 14%, transparent 28%),
    linear-gradient(0deg, transparent 0, rgba(243, 223, 171, 0.03) 18%, transparent 42%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 108px,
      rgba(243, 223, 171, 0.025) 108px,
      rgba(243, 223, 171, 0.025) 109px
    );
  opacity: 0.85;
}

body::after {
  background:
    linear-gradient(135deg, transparent 0%, rgba(224, 195, 122, 0.05) 50%, transparent 100%);
  mask-image:
    radial-gradient(circle at top left, black, transparent 52%),
    radial-gradient(circle at bottom right, black, transparent 48%);
  mask-composite: intersect;
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(5, 12, 27, 0.96), rgba(8, 18, 40, 0.94));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(243, 223, 171, 0.12);
  box-shadow: 0 10px 36px rgba(2, 8, 23, 0.28);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(243, 223, 171, 0.9), transparent);
}

.nav {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand img {
  width: 116px;
  height: 116px;
  padding: 0;
  border-radius: 28px;
  background: transparent;
  border: 1px solid rgba(224, 195, 122, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 22px 42px rgba(2, 8, 22, 0.24);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(243, 223, 171, 0.04);
  border: 1px solid rgba(243, 223, 171, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.lang-switch button {
  appearance: none;
  border: 0;
  min-width: 60px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: transparent;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.lang-switch button:hover {
  background: rgba(243, 223, 171, 0.08);
  color: var(--gold-100);
}

.lang-switch button.active {
  color: #0d1831;
  background: linear-gradient(180deg, var(--gold-200), var(--gold-400));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    0 8px 18px rgba(169, 122, 50, 0.26);
}

.tri {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tri.center {
  align-items: center;
}

.tri .km,
.tri .zh,
.tri .en {
  display: block;
}

.tri .km {
  order: 1;
  font-family: "Noto Sans Khmer", "Khmer OS System", "Leelawadee UI", sans-serif;
  font-weight: 800;
  color: var(--text);
}

.tri .zh {
  order: 2;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-soft);
}

.tri .en {
  order: 3;
  color: var(--muted);
}

body[data-lang="km"] .tri .zh,
body[data-lang="km"] .tri .en,
body[data-lang="zh"] .tri .km,
body[data-lang="zh"] .tri .en,
body[data-lang="en"] .tri .km,
body[data-lang="en"] .tri .zh {
  display: none;
}

body[data-lang="zh"] .tri .zh,
body[data-lang="en"] .tri .en {
  color: var(--text);
}

.tri-brand {
  gap: 5px;
}

.tri-brand .km {
  font-size: 30px;
  line-height: 1.14;
  color: var(--gold-100);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(5, 12, 30, 0.26);
}

.tri-brand .zh,
.tri-brand .en {
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  color: var(--gold-300);
}

.tri-brand .en {
  text-transform: uppercase;
  font-family: "Times New Roman", Georgia, serif;
}

.tri-nav .km {
  font-size: 17px;
  line-height: 1.06;
  font-weight: 800;
}

.tri-nav .zh,
.tri-nav .en {
  font-size: 12px;
  line-height: 1.08;
  letter-spacing: 0.06em;
}

.tri-eyebrow .km {
  font-size: 16px;
  line-height: 1.16;
}

.tri-eyebrow .zh,
.tri-eyebrow .en {
  font-size: 12px;
  line-height: 1.18;
}

.tri-title .km {
  font-size: 1em;
  line-height: 1.18;
}

.tri-title .zh,
.tri-title .en {
  font-size: 0.72em;
  line-height: 1.22;
}

.tri-copy .km {
  font-size: 21px;
  line-height: 1.82;
}

.tri-copy .zh,
.tri-copy .en {
  font-size: 16px;
  line-height: 1.88;
}

.tri-mini .km {
  font-size: 14px;
  line-height: 1.2;
  color: var(--gold-300);
}

.tri-mini .zh,
.tri-mini .en {
  font-size: 11px;
  line-height: 1.15;
  color: var(--gold-300);
  letter-spacing: 0.08em;
}

.tri-strong .km {
  font-size: 25px;
  line-height: 1.34;
  color: var(--gold-100);
}

.tri-strong .zh,
.tri-strong .en {
  font-size: 18px;
  line-height: 1.36;
}

.tri-btn {
  text-align: center;
}

.tri-btn .km {
  font-size: 17px;
  line-height: 1.12;
}

.tri-btn .zh,
.tri-btn .en {
  font-size: 13px;
  line-height: 1.12;
}

.tri-value .km {
  font-size: 24px;
  line-height: 1.26;
  color: var(--gold-100);
}

.tri-value .zh,
.tri-value .en {
  font-size: 17px;
  line-height: 1.28;
}

body[data-lang="zh"] .tri-brand .zh,
body[data-lang="en"] .tri-brand .en {
  font-size: 29px;
  line-height: 1.14;
  font-weight: 800;
  color: var(--gold-200);
}

body[data-lang="zh"] .tri-nav .zh,
body[data-lang="en"] .tri-nav .en {
  font-size: 17px;
  line-height: 1.06;
  font-weight: 700;
}

body[data-lang="zh"] .tri-eyebrow .zh,
body[data-lang="en"] .tri-eyebrow .en {
  font-size: 16px;
  line-height: 1.16;
  font-weight: 700;
}

body[data-lang="zh"] .tri-title .zh,
body[data-lang="en"] .tri-title .en {
  font-size: 1em;
  line-height: 1.18;
  font-weight: 700;
}

body[data-lang="zh"] .tri-copy .zh,
body[data-lang="en"] .tri-copy .en {
  font-size: 21px;
  line-height: 1.82;
}

body[data-lang="zh"] .tri-mini .zh,
body[data-lang="en"] .tri-mini .en {
  font-size: 14px;
  line-height: 1.2;
  color: var(--gold-300);
}

body[data-lang="zh"] .tri-strong .zh,
body[data-lang="en"] .tri-strong .en {
  font-size: 25px;
  line-height: 1.34;
  font-weight: 800;
  color: var(--gold-100);
}

body[data-lang="zh"] .tri-btn .zh,
body[data-lang="en"] .tri-btn .en {
  font-size: 17px;
  line-height: 1.12;
  font-weight: 700;
}

body[data-lang="zh"] .tri-value .zh,
body[data-lang="en"] .tri-value .en {
  font-size: 24px;
  line-height: 1.26;
  font-weight: 800;
  color: var(--gold-100);
}

.hero,
.section {
  padding: 42px 0;
}

.hero {
  padding-top: 78px;
  padding-bottom: 26px;
}

.hero-grid,
.grid-2,
.grid-3,
.grid-4,
.contact-grid,
.footer-grid,
.metric-grid {
  display: grid;
  gap: 22px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.38fr) minmax(320px, 0.78fr);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.contact-grid,
.footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.panel,
.directory,
.contact-card,
.banner {
  position: relative;
  overflow: hidden;
  padding: 36px;
  background:
    linear-gradient(180deg, rgba(15, 34, 72, 0.96), rgba(8, 20, 43, 0.96)),
    linear-gradient(90deg, rgba(243, 223, 171, 0.05), transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card::before,
.panel::before,
.directory::before,
.contact-card::before,
.banner::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(243, 223, 171, 0.08);
  border-radius: calc(var(--radius) - 10px);
  pointer-events: none;
}

.card::after,
.panel::after,
.directory::after,
.contact-card::after,
.banner::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold-200), rgba(201, 168, 76, 0.2));
  opacity: 0.92;
}

.hero-card {
  min-height: 100%;
  background:
    radial-gradient(circle at right center, rgba(224, 195, 122, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(16, 38, 80, 0.98), rgba(8, 20, 43, 0.98));
}

.hero-card::before,
.page-hero::before {
  inset: 16px;
}

.hero-card::after,
.page-hero::after {
  width: 5px;
}

.hero-card > *,
.page-hero > * {
  position: relative;
  z-index: 1;
}

.hero-card .badge-row:last-of-type {
  padding-top: 6px;
}

.brand-plate {
  margin-bottom: 28px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
}

.brand-plate img {
  width: min(100%, 440px);
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 34px;
  border: 1px solid rgba(243, 223, 171, 0.14);
  box-shadow:
    0 28px 70px rgba(1, 7, 20, 0.34),
    0 0 0 1px rgba(243, 223, 171, 0.06);
}

.hero-card::selection,
.page-hero::selection {
  background: rgba(243, 223, 171, 0.24);
}

.hero-card::before {
  background-image:
    linear-gradient(90deg, transparent, transparent),
    url("/ic_group_official_mark.svg");
  background-repeat: no-repeat;
  background-size: 446px;
  background-position: right -84px center;
  border: 1px solid rgba(243, 223, 171, 0.08);
}

.page-hero {
  background:
    radial-gradient(circle at right center, rgba(224, 195, 122, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(14, 32, 67, 0.98), rgba(8, 20, 43, 0.98));
}

.page-hero::before {
  background-image:
    linear-gradient(90deg, transparent, transparent),
    url("/ic_group_official_mark.svg");
  background-repeat: no-repeat;
  background-size: 366px;
  background-position: right -76px center;
  border: 1px solid rgba(243, 223, 171, 0.08);
}

.directory,
.banner {
  background:
    linear-gradient(180deg, rgba(15, 34, 72, 0.98), rgba(10, 24, 51, 0.98)),
    linear-gradient(90deg, rgba(243, 223, 171, 0.05), transparent);
}

.item,
.metric {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(20, 42, 83, 0.72), rgba(12, 27, 57, 0.82));
  border: 1px solid rgba(243, 223, 171, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 14px 32px rgba(2, 9, 24, 0.22);
}

.item::before,
.metric::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  border-top: 1px solid rgba(243, 223, 171, 0.34);
  border-right: 1px solid rgba(243, 223, 171, 0.34);
  opacity: 0.8;
}

.eyebrow,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid rgba(243, 223, 171, 0.22);
}

.eyebrow {
  color: var(--gold-200);
  background: rgba(243, 223, 171, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pill {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.03);
}

.hero h2,
.page-hero h2 {
  margin: 24px 0 18px;
  font-size: clamp(38px, 5.3vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero h2 span,
.page-hero h2 span,
.section-head h3 span,
.accent {
  color: var(--gold-200);
}

.hero p,
.page-hero p,
.section-head p,
.item p,
.copy,
.lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.92;
  color: var(--text-soft);
}

.muted {
  color: var(--muted-soft);
}

.badge-row,
.action-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.badge-row,
.tag-row {
  margin-top: 24px;
}

.action-row {
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(2, 8, 22, 0.18);
}

.btn-primary {
  color: #08162f;
  background: linear-gradient(180deg, var(--gold-200), var(--gold-400));
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-secondary {
  color: var(--gold-100);
  background: rgba(243, 223, 171, 0.05);
  border-color: rgba(243, 223, 171, 0.24);
}

.btn:hover {
  filter: brightness(1.03);
}

.metric .label,
.item .mini,
.section-kicker {
  font-size: 12px;
  color: var(--gold-300);
  letter-spacing: 0.12em;
}

.metric strong {
  display: block;
  margin-top: 10px;
  font-size: 36px;
  color: var(--gold-100);
  line-height: 1.08;
}

.metric span {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}

.section-head {
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 18px;
}

.section-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(240px, 100%);
  height: 1px;
  background: linear-gradient(90deg, rgba(243, 223, 171, 0.72), rgba(243, 223, 171, 0));
}

.section-head h3 {
  margin: 12px 0 0;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.14;
}

.item strong,
.contact-value {
  display: block;
  margin: 12px 0 10px;
  font-size: 22px;
  line-height: 1.42;
}

.tri-list {
  display: grid;
  gap: 18px;
}

.tri-list .tri {
  padding-left: 24px;
  position: relative;
}

.tri-list .tri::before,
.checklist li::before {
  content: "";
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: linear-gradient(180deg, var(--gold-200), var(--gold-400));
  position: absolute;
  left: 0;
  top: 13px;
  box-shadow: 0 0 0 5px rgba(243, 223, 171, 0.06);
}

.quote {
  position: relative;
  padding: 34px 34px 34px 42px;
  font-size: 24px;
  line-height: 1.8;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(15, 33, 70, 0.94), rgba(9, 20, 45, 0.94));
  border: 1px solid rgba(243, 223, 171, 0.22);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 4px;
  background: linear-gradient(180deg, var(--gold-200), rgba(201, 168, 76, 0.18));
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 15px;
}

.checklist li {
  padding-left: 24px;
  position: relative;
  color: var(--text-soft);
  line-height: 1.9;
  font-size: 17px;
}

.notice {
  margin-top: 20px;
  padding: 20px 22px;
  border-left: 3px solid var(--gold-300);
  background: rgba(243, 223, 171, 0.05);
  color: var(--text-soft);
  line-height: 1.86;
}

.contact-value {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 800;
  word-break: break-word;
  color: var(--gold-100);
}

.footer {
  padding: 12px 0 50px;
  color: var(--muted);
}

.footer .wrap {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid rgba(243, 223, 171, 0.14);
}

.footer .wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 180px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(243, 223, 171, 0.85), transparent);
}

@media (max-width: 1180px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .hero-card::before,
  .page-hero::before {
    background-size: 280px;
    background-position: right -70px top 22px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero,
  .section {
    padding: 28px 0;
  }

  .hero {
    padding-top: 42px;
  }

  .card,
  .panel,
  .directory,
  .contact-card,
  .banner,
  .quote {
    padding: 24px;
  }

  .brand {
    gap: 0;
    padding: 0;
  }

  .brand img {
    width: 84px;
    height: 84px;
    border-radius: 22px;
  }

  .nav-actions {
    justify-content: stretch;
  }

  .lang-switch {
    width: 100%;
    justify-content: space-between;
  }

  .lang-switch button {
    flex: 1;
    min-width: 0;
    padding: 0 10px;
  }

  .tri-brand .km {
    font-size: 24px;
  }

  .tri-brand .zh,
  .tri-brand .en {
    font-size: 14px;
  }

  .hero h2,
  .page-hero h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero p,
  .page-hero p,
  .section-head p,
  .item p,
  .copy,
  .lead {
    font-size: 16px;
  }

  .tri-copy .km {
    font-size: 18px;
  }

  .tri-copy .zh,
  .tri-copy .en {
    font-size: 14px;
  }

  body[data-lang="zh"] .tri-brand .zh,
  body[data-lang="en"] .tri-brand .en {
    font-size: 24px;
  }

  body[data-lang="zh"] .tri-copy .zh,
  body[data-lang="en"] .tri-copy .en {
    font-size: 18px;
  }

  .hero-card::before,
  .page-hero::before {
    background-size: 180px;
    background-position: right -34px top 18px;
  }

  .brand-plate {
    margin-bottom: 22px;
    padding: 0;
  }

  .brand-plate img {
    width: min(100%, 320px);
    border-radius: 24px;
  }
}
