:root {
  --navy: #071A2C;
  --navy-2: #0D2A45;
  --navy-3: #123A5C;
  --cyan: #00BCD9;
  --cyan-light: #4DD8EC;
  --cyan-pale: #E7FAFD;
  --sky-1: #CFF6FB;
  --sky-2: #6FE0EE;
  --ink: #0E1F2E;
  --slate: #4B5D6B;
  --slate-light: #7C8C98;
  --paper: #F4F8FA;
  --white: #FFFFFF;
  --line: #E1E8ED;
  --font-display: 'Poppins', 'Noto Sans Khmer', sans-serif;
  --font-body: 'Inter', 'Noto Sans Khmer', sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.km body { font-family: var(--font-body); }
html.km .nav-links a,
html.km .btn,
html.km .eyebrow,
html.km .card h3,
html.km .sec-count,
html.km .pt-item,
html.km .c-lbl { letter-spacing: 0 !important; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: var(--cyan-light); box-shadow: 0 8px 20px rgba(0,188,217,0.3); }
.btn-ghost-light { background: rgba(255,255,255,0.08); color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); }
.btn-outline-dark { background: rgba(7,26,44,0.06); color: var(--navy); border: 1px solid rgba(7,26,44,0.25); padding: 11px 20px; font-size: 13.5px; }
.btn-outline-dark:hover { background: rgba(7,26,44,0.12); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nav-brand img { width: 30px; }
.nav-wordmark { font-family: var(--font-display); line-height: 1.1; display: flex; flex-direction: column; }
.nav-wordmark b { font-size: 14px; font-weight: 700; color: var(--navy); letter-spacing: 0.3px; }
.nav-wordmark i { font-style: normal; font-size: 8px; font-weight: 500; letter-spacing: 3px; color: var(--cyan); }
.nav-links { display: flex; gap: 30px; flex: 1; justify-content: center; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.lang-toggle {
  display: flex;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 3px;
}
.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-btn.active { background: var(--navy); color: var(--white); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ===== Eyebrow / section headings ===== */
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--cyan-light); }
.eyebrow-dark { color: var(--navy); opacity: 0.75; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.3;
  color: var(--navy);
  max-width: 680px;
  margin: 0 0 18px 0;
}
.section-title span { color: var(--cyan); }
.section-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate);
  max-width: 640px;
  margin: 0 0 48px 0;
}

.subhead { margin-bottom: 24px; }
.subhead-spaced { margin-top: 56px; }
.subhead h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 6px 0;
}
.subhead p { font-size: 14px; color: var(--slate-light); margin: 0; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  overflow: hidden;
  padding: 120px 0 100px 0;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-facet {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.09);
  clip-path: polygon(30% 0%, 100% 0%, 100% 70%, 70% 100%, 0% 100%, 0% 30%);
}
.hero-facet.f1 { width: 560px; height: 560px; right: -160px; top: -200px; }
.hero-facet.f2 { width: 400px; height: 400px; right: -100px; top: -130px; border-color: rgba(0,188,217,0.22); }
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,188,217,0.18) 0%, rgba(0,188,217,0) 70%);
  right: -260px; top: -260px;
}
.hero-wm {
  position: absolute;
  width: 340px;
  opacity: 0.05;
  left: -60px;
  bottom: -80px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.2;
  color: var(--white);
  max-width: 780px;
  margin: 0 0 22px 0;
}
.hero-title span { color: var(--cyan); }
.hero-desc {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0 0 36px 0;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-tags { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.16); }
.hero-tag { font-family: var(--font-display); font-size: 12.5px; color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 8px; }
.hero-tag::before { content: ''; width: 7px; height: 7px; background: var(--cyan); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--paper); }

/* ===== Stats ===== */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 44px 0 64px 0;
}
.stat { border-top: 2px solid var(--cyan); padding-top: 14px; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--navy); }
.stat .lbl { font-size: 13.5px; color: var(--slate); line-height: 1.5; margin-top: 4px; }

/* ===== Map grid (about) ===== */
.map-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.map-tile {
  background: var(--navy);
  border-radius: 10px;
  padding: 22px 18px;
  color: var(--white);
  min-height: 150px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.map-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(7,26,44,0.22); }
.map-tile:nth-child(4n+2) { background: var(--navy-2); }
.map-tile:nth-child(4n+3) { background: var(--navy-3); }
.map-tile:nth-child(4n+4) { background: var(--navy-2); }
.map-tile .mt-icon { color: var(--cyan-light); margin-bottom: 14px; }
.map-tile .mt-icon svg { width: 26px; height: 26px; }
.map-tile .mt-title { font-family: var(--font-display); font-weight: 600; font-size: 14px; line-height: 1.35; }
.map-tile .mt-n { font-family: var(--font-display); font-size: 11.5px; color: rgba(255,255,255,0.5); margin-top: 10px; }

/* ===== Section head w/ badge (category sections) ===== */
.sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.sec-head-spaced { margin-top: 64px; }
.sec-badge {
  width: 54px; height: 54px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy-2), var(--navy));
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan-light);
}
.sec-badge svg { width: 27px; height: 27px; }
.sec-head h2 { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--navy); margin: 0; }
.sec-head .sec-count { font-family: var(--font-display); font-size: 12.5px; color: var(--slate-light); margin-top: 4px; }

/* ===== Grid / cards ===== */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  clip-path: polygon(0 14px, 14px 0, 100% 0, 100% 100%, 0 100%);
  padding: 26px 26px 24px 26px;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.section-alt .card { background: var(--white); }
.card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--navy-3));
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(7,26,44,0.08); border-color: rgba(0,188,217,0.35); }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; color: var(--navy); margin: 0 0 8px 0; line-height: 1.4; }
.card p { font-size: 14px; line-height: 1.65; color: var(--slate); margin: 0; }

/* ===== Row list (compliance / cyber services) ===== */
.rowlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 8px; }
.rowlist .item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rowlist .item .mk {
  width: 24px; height: 24px;
  flex: 0 0 auto;
  margin-top: 2px;
  border-radius: 6px;
  background: var(--cyan-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
}
.rowlist .item .mk svg { width: 13px; height: 13px; }
.rowlist .item .tx { font-size: 14px; line-height: 1.6; color: var(--ink); }
.rowlist .item .tx b { font-family: var(--font-display); font-weight: 600; display: block; font-size: 15px; margin-bottom: 3px; color: var(--navy); }

.tagline { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.pt-item { font-family: var(--font-display); font-size: 13px; color: var(--slate); display: flex; align-items: center; gap: 8px; }
.pt-item::before { content: ''; width: 7px; height: 7px; background: var(--cyan); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }

/* ===== Deliverable box ===== */
.deliverable-box { margin-top: 40px; padding: 30px 32px; background: var(--navy); border-radius: 10px; color: var(--white); }
.deliverable-box .db-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; margin-bottom: 20px; color: var(--cyan-light); }
.deliverable-box .db-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.deliverable-box .db-n { font-family: var(--font-display); font-size: 13.5px; color: rgba(255,255,255,0.9); font-weight: 600; margin-bottom: 6px; }
.deliverable-box .db-d { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ===== Why grid ===== */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why-card { padding: 24px 26px; border: 1px solid var(--line); border-radius: 6px; transition: box-shadow 0.18s ease, transform 0.18s ease; }
.why-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(7,26,44,0.08); }
.why-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; color: var(--navy); margin: 0 0 8px 0; display: flex; align-items: center; gap: 10px; }
.why-card h4 svg { width: 20px; height: 20px; color: var(--cyan); flex: 0 0 auto; }
.why-card p { font-size: 13.8px; color: var(--slate); line-height: 1.65; margin: 0; }

/* ===== CTA / contact ===== */
.cta {
  position: relative;
  background: linear-gradient(165deg, var(--sky-1) 0%, var(--sky-2) 50%, var(--cyan) 100%);
  padding: 96px 0 64px 0;
  overflow: hidden;
}
.cta-wm { position: absolute; width: 380px; opacity: 0.16; right: -70px; top: -110px; }
.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.3;
  color: var(--navy);
  max-width: 640px;
  margin: 0;
  position: relative; z-index: 2;
}
.cta-title span { color: var(--white); }

.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 56px 0; position: relative; z-index: 2; }
.step { padding-top: 14px; border-top: 1px solid rgba(7,26,44,0.25); }
.step .step-n { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--navy); opacity: 0.6; margin-bottom: 8px; }
.step .step-t { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.step .step-d { font-size: 13.5px; line-height: 1.6; color: var(--navy); opacity: 0.68; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid rgba(7,26,44,0.2);
  border-bottom: 1px solid rgba(7,26,44,0.2);
  position: relative; z-index: 2;
}
.contact-grid .c-lbl { font-family: var(--font-display); font-size: 11.5px; letter-spacing: 1.2px; color: var(--navy); opacity: 0.72; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.contact-grid .c-val { font-size: 14px; color: var(--navy); line-height: 1.6; }
.contact-grid .c-val a { text-decoration: underline; text-underline-offset: 2px; }

.pdf-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; position: relative; z-index: 2; }

/* ===== Footer ===== */
.footer { background: var(--navy); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 24px; }
.footer-brand .nav-wordmark b { color: var(--white); }
.footer-note { font-size: 12px; color: rgba(255,255,255,0.45); max-width: 460px; text-align: right; line-height: 1.6; margin: 0; }

/* ===== Icon svg default ===== */
.icon { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .map-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 40px; }
  .section-title { font-size: 28px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px 24px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .rowlist { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .map-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .deliverable-box .db-grid { grid-template-columns: 1fr; }
  .hero { padding: 100px 0 72px 0; }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 15px; }
  .cta-title { font-size: 28px; }
  .section { padding: 64px 0; }
  .nav-actions { gap: 10px; }
  .nav-actions .btn-sm { display: none; }
}

@media (max-width: 480px) {
  .map-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .pdf-row { flex-direction: column; align-items: stretch; }
}
