/* =========================================================
   Lintas Bumi Edukasi — style.css
   Mobile-first: gaya dasar untuk layar kecil, lalu
   @media (min-width: ...) menambah aturan untuk layar lebar.
   ========================================================= */


/* ---------- 1. TOKEN DESAIN (variabel warna, font, ukuran) ---------- */
:root {
  /* Warna brand */
  --navy: #003A96;
  --navy-deep: #002E7A;   /* panel di atas navy */
  --navy-ink: #00215A;    /* footer, teks di atas kuning */
  --blue: #0B63F6;
  --yellow: #F2C94C;
  --red: #C9343F;
  --green: #4CC86A;
  --purple: #6B2FF5;

  /* Warna netral */
  --bg: #F1F4F9;
  --surface: #FFFFFF;
  --tint: #E4EBF6;        /* latar ikon heksagon, strip legalitas */
  --ink: #1A1F2E;
  --ink-2: #5B6474;
  --line: #D5DDEA;
  --on-navy: #FFFFFF;
  --on-navy-2: #C9D6F2;   /* teks sekunder di latar navy (bukan abu-abu) */
  --line-navy: rgba(255, 255, 255, 0.16);

  /* Font */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Ukuran & ritme */
  --gutter: 20px;
  --container: 1200px;
  --header-h: 68px;
  --radius: 14px;
  --radius-sm: 8px;
  --section-pad: clamp(4rem, 3rem + 5vw, 7.5rem);

  /* Gerak: ease-out eksponensial */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Warna cincin fokus (diganti per section) */
  --focus: var(--blue);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}
@media (min-width: 1080px) {
  :root { --header-h: 76px; }
}


/* ---------- 2. RESET RINGAN & DASAR ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--navy) var(--bg);
}

/* Scroll halus hanya jika pengguna tidak meminta gerak minimal */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

button, input, select, textarea { font: inherit; color: inherit; }

/* Warna seleksi teks mengikuti brand */
::selection { background: var(--yellow); color: var(--navy-ink); }

/* Cincin fokus yang jelas untuk navigasi keyboard */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Angka rata (tabular) untuk nomor telepon / NIB */
.num { font-variant-numeric: tabular-nums; }

/* Sembunyikan secara visual, tetap terbaca pembaca layar */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Ikon garis: warna mengikuti teks (currentColor) */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--yellow);
  color: var(--navy-ink);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}


/* ---------- 3. TIPOGRAFI BERSAMA ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 104%;
  font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

/* Titik di akhir heading: ciri khas brand */
.dot { color: var(--blue); }

.subhead {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.body-lg {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 62ch;
}
.body-lg + .body-lg { margin-top: 1rem; }

@media (min-width: 768px) {
  .body-lg { font-size: 1.125rem; }
}


/* ---------- 4. TOMBOL & TAUTAN ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.625rem 1.125rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn-lg { min-height: 54px; padding: 0.875rem 1.5rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--yellow); color: var(--navy-ink); }
.btn-primary:hover { background: #F7D873; }

.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--on-navy); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); }
.btn-navy[disabled] { opacity: 0.6; cursor: progress; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--blue);
}
.text-link .icon { transition: transform 0.25s var(--ease-out); }
.text-link:hover .icon { transform: translateX(3px); }
.text-link.on-navy { color: var(--on-navy); }


/* ---------- 5. HEKSAGON (bentuk dasar brand) ---------- */
/* Heksagon "flat-top": lebar : tinggi = 1 : 0.866 */
.hex-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 55px;
  flex-shrink: 0;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--tint);
  color: var(--navy);
}
.hex-icon .icon { width: 28px; height: 28px; }

/* Daftar dengan bullet heksagon */
.hex-list { list-style: none; padding: 0; }
.hex-list li {
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.55;
}
.hex-list li + li { margin-top: 0.875rem; }
.hex-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 13px;
  height: 11.25px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--blue);
}
.hex-list-onnavy li { color: var(--on-navy); font-size: 1.0625rem; }
.hex-list-onnavy li::before { background: var(--yellow); }
.hex-list-sm li { font-size: 0.9375rem; color: var(--ink-2); }
.hex-list-sm li + li { margin-top: 0.5rem; }
.hex-list-sm li::before { width: 10px; height: 8.66px; top: 0.5em; }


/* ---------- 6. HEADER & NAVIGASI ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--on-navy);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
  --focus: var(--yellow);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-navy);
  box-shadow: 0 6px 24px rgba(0, 33, 90, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--on-navy);
  text-decoration: none;
}
/* Logo lengkap (ikon + tulisan). Lebar mengikuti tinggi agar proporsi tetap. */
.brand-logo { height: 46px; width: auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--on-navy);
  font-weight: 600;
  cursor: pointer;
}

/* Menu mobile: panel layar penuh di bawah header */
.site-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  padding: 1rem var(--gutter) 2rem;
  background: var(--navy);
  overflow-y: auto;
}
.site-nav.is-open { display: flex; flex-direction: column; gap: 1.5rem; }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line-navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--on-navy);
  text-decoration: none;
}
.nav-list a[aria-current="true"] { color: var(--yellow); }
.nav-cta { align-self: flex-start; }

/* Tanpa JavaScript: tampilkan menu biasa (tidak bisa dibuka-tutup) */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-nav { display: block; position: static; padding: 0; background: none; }
html:not(.js) .nav-list { display: flex; flex-wrap: wrap; gap: 0 1rem; }
html:not(.js) .nav-list a { font-size: 0.875rem; border: 0; padding: 0.25rem 0; }
html:not(.js) .nav-cta { display: none; }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav,
  html:not(.js) .site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: static;
    padding: 0;
    background: none;
    overflow: visible;
  }
  .nav-list { display: flex; gap: 1.75rem; }
  .nav-list a,
  html:not(.js) .nav-list a {
    padding: 0.25rem 0;
    border: 0;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--on-navy-2);
    text-decoration: underline 2px transparent;
    text-underline-offset: 0.5em;
    transition: color 0.2s, text-decoration-color 0.2s;
  }
  .nav-list a:hover { color: #fff; }
  .nav-list a[aria-current="true"] { color: #fff; text-decoration-color: var(--yellow); }
  .nav-cta, html:not(.js) .nav-cta { display: inline-flex; align-self: auto; }
  .brand-logo { height: 56px; }
}


/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header-h));
  background: var(--navy);
  color: var(--on-navy);
  overflow: hidden;
  --focus: var(--yellow);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: clamp(2.25rem, 1rem + 4vh, 4.5rem);
  padding-bottom: 2rem;
}

.hero-title {
  max-width: 1000px;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 104%;
  font-size: clamp(2.25rem, 1rem + 4.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero-title .dot { color: var(--yellow); }

.hero-lead {
  max-width: 60ch;
  margin-top: 1.5rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--on-navy-2);
}

.hero-actions { margin-top: 1.75rem; }

/* Pemilih jenis institusi: segmented control (satu bar, pilih satu).
   Sudut 8px dan garis tepi sama dengan tombol ghost agar satu keluarga. */
.segment { border: 0; margin: 0; padding: 0; min-width: 0; }
/* Label setara teks pilihan (putih, semibold) agar label + bar terbaca satu kesatuan */
.segment-legend {
  padding: 0;
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--on-navy);
}
.segment-options {
  display: flex;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.segment-option { position: relative; display: flex; flex: 1 1 auto; cursor: pointer; }
/* Garis pemisah tipis di antara pilihan */
.segment-option + .segment-option { border-left: 1px solid rgba(255, 255, 255, 0.3); }
.segment-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.segment-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: var(--on-navy);
  transition: background-color 0.2s, color 0.2s;
}
.segment-option:hover span { background: rgba(255, 255, 255, 0.08); }
.segment-option input:checked + span { background: #fff; color: var(--navy); }
/* Cincin fokus di dalam bar (karena bar memakai overflow: hidden) */
.segment-option input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: -3px; border-radius: 6px; }
@media (min-width: 640px) {
  .segment-options { display: inline-flex; width: auto; }
  .segment-option span { padding-inline: 1.25rem; white-space: nowrap; }
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
@media (min-width: 640px) {
  .cta-row { flex-direction: row; flex-wrap: wrap; }
}

/* Heksagon garis dekoratif di kanan atas (layar lebar saja) */
.hero-hexes {
  display: none;
  position: absolute;
  top: 2rem;
  right: -60px;
  width: min(36vw, 480px);
  fill: none;
  stroke: rgba(255, 255, 255, 0.09);
  stroke-width: 1.5;
}
@media (min-width: 900px) { .hero-hexes { display: block; } }

/* Skyline selalu berada di bawah teks (tidak menimpa).
   flex-grow: jika layar tinggi (tablet), skyline membesar mengisi ruang kosong. */
.skyline {
  width: 100%;
  flex: 1 0 clamp(140px, 24vh, 300px);
  max-height: 46vh;
}


/* ---------- 8. SECTION UMUM ---------- */
.section { padding-block: var(--section-pad); scroll-margin-top: var(--header-h); }
.legal { scroll-margin-top: var(--header-h); }
.section-light { background: var(--bg); }
.section-white { background: var(--surface); }
.section-navy {
  background: var(--navy);
  color: var(--on-navy);
  --focus: var(--yellow);
}
.section-navy .section-title { color: var(--yellow); }
.section-navy .section-title .dot { color: #fff; }
.section-navy .subhead { color: var(--yellow); }
.section-navy .subhead .dot { color: #fff; }
.on-navy-2 { color: var(--on-navy-2); }


/* ---------- 9. KONTEKS (layout editorial dua kolom) ---------- */
.split { display: grid; gap: 1.5rem; }
.split-head { margin-bottom: 0; }

.lead-xl {
  max-width: 34ch;
  margin-bottom: 1.75rem;
  font-size: clamp(1.375rem, 1rem + 1.4vw, 2rem);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}
/* Stabilo kuning tipis di bawah kalimat kunci */
.lead-xl mark {
  color: inherit;
  background: linear-gradient(transparent 64%, rgba(242, 201, 76, 0.6) 64%);
}

@media (min-width: 1024px) {
  .split { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
  .split-head { position: sticky; top: calc(var(--header-h) + 2rem); }
}


/* ---------- 10. TANTANGAN ---------- */
.challenge-grid { display: grid; gap: 1rem; }
.challenge {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--on-navy);
}
/* Ikon garis kuning, tanpa wadah */
.challenge-icon { width: 44px; height: 44px; color: var(--yellow); stroke-width: 1.4; }
.challenge-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 1rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--navy-ink);
}
.callout-hex { width: 36px; height: 31px; flex-shrink: 0; margin-top: 0.3em; fill: var(--navy); }
.callout p {
  max-width: 60ch;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
  text-wrap: pretty;
}

@media (min-width: 640px) {
  .challenge-grid { grid-template-columns: repeat(2, 1fr); }
  .challenge { min-height: 220px; }
}
@media (min-width: 1100px) {
  .challenge-grid { grid-template-columns: repeat(4, 1fr); }
  .challenge { min-height: 280px; }
}


/* ---------- 11. PERAN & POSITIONING ---------- */
.role-grid { display: grid; gap: 3rem; }
.role-main .body-lg { margin-bottom: 1.75rem; }

.role-quote {
  position: relative;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  border-radius: var(--radius);
  background: var(--navy-deep);
}
.role-quote blockquote { margin: 0; }
.role-quote p {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.625rem, 1rem + 2.4vw, 2.625rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
/* Tanda kutip besar kuning */
.role-quote p::before {
  content: "\201C";
  display: block;
  height: 0.55em;
  margin-bottom: 0.15em;
  font-size: 2.6em;
  line-height: 1;
  color: var(--yellow);
}

.help-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line-navy);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
}
.help-list li:last-child { border-bottom: 1px solid var(--line-navy); }
.help-mark {
  width: 18px;
  height: 15.6px;
  flex-shrink: 0;
  margin-top: 0.2em;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--c);
}

@media (min-width: 1024px) {
  .role-grid {
    grid-template-columns: 1.1fr 1fr;
    grid-template-areas: "main quote" "help quote";
    column-gap: 4rem;
    row-gap: 3.5rem;
  }
  .role-main { grid-area: main; }
  .role-help { grid-area: help; }
  .role-quote { grid-area: quote; align-self: center; }
}


/* ---------- 12. FOKUS LAYANAN (pilar) ---------- */
.pillars { display: grid; gap: 1.25rem; }
.pillar {
  position: relative;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.pillar-hex {
  display: block;
  width: 44px;
  height: 38px;
  margin-bottom: 1.25rem;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--c);
}
.pillar-title {
  margin-bottom: 0.875rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.pillar > p { color: var(--ink-2); font-size: 0.975rem; }
.pillar-list { list-style: none; margin-top: 1rem; padding: 0; }
.pillar-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.pillar-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 10px;
  height: 8.66px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--c);
}

@media (min-width: 768px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .pillars { grid-template-columns: repeat(4, 1fr); } }


/* ---------- 13. USE CASE ---------- */
.usecase-grid { display: grid; gap: 1rem; grid-auto-flow: dense; }
/* Ikon di samping judul (bukan ditumpuk di atasnya) */
.usecase {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg);
}
.usecase-title {
  padding-top: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  text-wrap: pretty;
}
.usecase-wide .usecase-title { margin-bottom: 0.875rem; }

.tag-list { margin-top: 0.875rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-list li {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 500;
}

.usecase-cta {
  flex-direction: column;
  justify-content: space-between;
  background: var(--navy);
  color: var(--on-navy);
  --focus: var(--yellow);
}
.usecase-cta p { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.usecase-cta .text-link { color: var(--yellow); }

@media (min-width: 768px) {
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .usecase-wide { grid-column: span 2; }
  .usecase-cta { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .usecase-grid { grid-template-columns: repeat(3, 1fr); }
  .usecase-cta { grid-column: span 1; }
}


/* ---------- 14. PENDEKATAN KERJA (anak tangga) ---------- */
.steps { display: grid; gap: 0.75rem; }
.step {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
}
.step-num {
  min-width: 2.2ch;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}
.step p { font-weight: 600; font-size: 1.0625rem; line-height: 1.4; }

/* Desktop: 5 kolom yang naik bertahap seperti anak tangga */
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 1rem; align-items: end; }
  .step {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.75rem 1.5rem;
    min-height: calc(13rem + var(--n, 0) * 2.25rem);
  }
  .step-num { font-size: clamp(3rem, 1rem + 3vw, 4rem); }
  .step:nth-child(1) { --n: 0; }
  .step:nth-child(2) { --n: 1; }
  .step:nth-child(3) { --n: 2; }
  .step:nth-child(4) { --n: 3; }
  .step:nth-child(5) { --n: 4; }
}


/* ---------- 15. ENGAGEMENT JOURNEY (momen khas: 7 menara) ---------- */
.journey-section { overflow: hidden; }
.journey-head { margin-bottom: 3rem; }
.journey-head .section-title { margin-bottom: 1rem; }

.journey { display: grid; gap: 2rem; }

/* MOBILE: heksagon di kiri, teks di kanan, menara = batang horizontal */
.stage {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-areas: "hex text" ". tower";
  column-gap: 1rem;
  row-gap: 0.875rem;
}
.stage-build { display: contents; }
.stage-text { grid-area: text; }

/* Garis penghubung antar tahap (mobile) */
.stage:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 27.5px;
  top: 56px;
  bottom: -1.75rem;
  width: 1px;
  background: var(--line-navy);
}

.stage-hex {
  grid-area: hex;
  display: grid;
  place-items: center;
  width: 56px;
  height: 48px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--yellow);
  color: var(--navy-ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
}

.tower {
  grid-area: tower;
  position: relative;
  display: block;
  height: 14px;
  width: calc(22% + var(--i) * 11%);
  max-width: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #0A4FCC, #2F7BFF);
  transform-origin: left center;
}

.stage-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.125rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--yellow);
}
.stage-sub { margin-top: 0.15rem; font-weight: 600; color: #fff; }
.stage-points {
  list-style: none;
  margin-top: 0.5rem;
  padding: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--on-navy-2);
}
.stage-points li { position: relative; padding-left: 0.9rem; }
.stage-points li + li { margin-top: 0.25rem; }
.stage-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--on-navy-2);
  opacity: 0.6;
}

/* DESKTOP: 7 kolom, menara vertikal makin tinggi, berdiri di satu garis tanah */
@media (min-width: 1024px) {
  .journey { grid-template-columns: repeat(7, 1fr); gap: 0; }
  .stage {
    display: flex;
    flex-direction: column;
  }
  .stage:not(:last-child)::before { display: none; }

  .stage-build {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    height: 430px;
    padding-inline: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);  /* garis tanah */
  }
  .tower {
    width: 100%;
    max-width: none;
    height: calc(70px + var(--i) * 44px);
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #2F7BFF 0%, #0B63F6 45%, #0A4FCC 100%);
    transform-origin: center bottom;
    transition: filter 0.3s;
  }
  /* Jendela gedung: garis horizontal × garis vertikal (mask) = kotak jendela */
  .tower::before {
    content: "";
    position: absolute;
    inset: 16px 14px 14px;
    background: repeating-linear-gradient(180deg, rgba(220, 233, 255, 0.28) 0 7px, transparent 7px 17px);
    -webkit-mask: repeating-linear-gradient(90deg, #000 0 7px, transparent 7px 15px);
    mask: repeating-linear-gradient(90deg, #000 0 7px, transparent 7px 15px);
  }
  /* Menara terakhir (CONTINUE) diberi atap kuning: kemitraan jangka panjang */
  .stage:last-child .tower { box-shadow: inset 0 5px 0 var(--yellow); }
  .stage:hover .tower { filter: brightness(1.12); }

  .stage-text { padding: 1.25rem 0.5rem 0; }
  .stage-name { font-size: 1rem; }
  .stage-sub { font-size: 0.9375rem; line-height: 1.35; margin-top: 0.3rem; }
  .stage-points { font-size: 0.875rem; }
}

/* Animasi "membangun" menara: hanya jika JS aktif & gerak diizinkan */
.motion-ok .tower { transition: transform 1.1s var(--ease-out) calc(var(--i) * 110ms), filter 0.3s; }
.motion-ok .stage-hex { transition: opacity 0.5s ease-out, transform 0.6s var(--ease-out); transition-delay: calc(var(--i) * 110ms + 450ms); }
.motion-ok .journey:not(.is-built) .tower { transform: scaleX(0.04); }
.motion-ok .journey:not(.is-built) .stage-hex { opacity: 0; transform: translateY(10px); }
@media (min-width: 1024px) {
  .motion-ok .journey:not(.is-built) .tower { transform: scaleY(0.02); }
}


/* ---------- 16. PORTOFOLIO (galeri) ---------- */
.gallery { display: grid; gap: 1.5rem 1.25rem; }
.gallery-item { display: flex; flex-direction: column; }
.gallery-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tint);
  aspect-ratio: 4 / 3;
}
.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.gallery-item:hover .gallery-media img { transform: scale(1.03); }
.gallery-caption { padding-top: 0.875rem; }
.gallery-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
}
.gallery-meta { margin-top: 0.2rem; font-size: 0.875rem; color: var(--ink-2); }

@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  /* Foto pertama dibuat besar (2 kolom × 2 baris) */
  .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery-item:first-child .gallery-media { flex: 1; aspect-ratio: auto; min-height: 320px; }
  .gallery-item:first-child .gallery-title { font-size: 1.375rem; }
}


/* ---------- 17. FILOSOFI, VISI, MISI & NILAI ---------- */
.philosophy { display: grid; gap: 2.5rem; align-items: center; }
.philo-figure {
  display: grid;
  place-items: center;
  padding: clamp(2rem, 1rem + 4vw, 4rem);
  border-radius: var(--radius);
  background: var(--bg);
}
/* Tumpukan gambar: logo utuh di bawah, keping warna di atasnya (tersembunyi) */
.philo-mark { position: relative; width: min(100%, 300px); }
.philo-mark img { width: 100%; height: auto; }
.philo-base { transition: opacity 0.35s ease-out; }
.philo-piece { position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s ease-out; }
/* Saat satu warna dipilih: logo utuh diredupkan, keping yang dipilih tampil penuh */
.philosophy[data-active] .philo-base { opacity: 0.18; }
.philosophy[data-active="biru"] .philo-piece[data-piece="biru"],
.philosophy[data-active="merah"] .philo-piece[data-piece="merah"],
.philosophy[data-active="hijau"] .philo-piece[data-piece="hijau"],
.philosophy[data-active="kuning"] .philo-piece[data-piece="kuning"],
.philosophy[data-active="ungu"] .philo-piece[data-piece="ungu"] { opacity: 1; }

.color-legend { margin-top: 1.75rem; border-bottom: 1px solid var(--line); }
.swatch {
  display: grid;
  grid-template-columns: 22px 1fr;
  grid-template-areas: "chip name" ". meaning";
  column-gap: 0.875rem;
  row-gap: 0.15rem;
  align-items: center;
  width: 100%;
  padding: 0.875rem 0.75rem;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
}
.swatch:hover,
.swatch[aria-pressed="true"] { background: var(--bg); }
.swatch-chip {
  grid-area: chip;
  width: 22px;
  height: 19px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--c);
}
.swatch-name { grid-area: name; font-family: var(--font-display); font-weight: 800; }
.swatch-meaning { grid-area: meaning; color: var(--ink-2); font-size: 0.9375rem; }

@media (min-width: 640px) {
  .swatch { grid-template-columns: 22px 6rem 1fr; grid-template-areas: "chip name meaning"; }
}
@media (min-width: 1024px) {
  .philosophy { grid-template-columns: 5fr 7fr; gap: 4rem; }
}

.vm-grid { display: grid; gap: 1.25rem; margin-top: clamp(3.5rem, 3rem + 3vw, 5.5rem); }
.vision,
.mission { padding: clamp(1.75rem, 1rem + 2.5vw, 2.75rem); border-radius: var(--radius); }
.vision { background: var(--navy); color: var(--on-navy); }
.vision .subhead { color: var(--yellow); }
.vision .subhead .dot { color: #fff; }
.vision p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.625rem);
  line-height: 1.38;
  text-wrap: pretty;
}
.mission { background: var(--bg); }
.mission .hex-list li { font-size: 1.0625rem; }
@media (min-width: 1024px) { .vm-grid { grid-template-columns: 1fr 1fr; } }

.values-head { margin-top: clamp(3.5rem, 3rem + 3vw, 5.5rem); margin-bottom: 1.5rem; }
.values { display: grid; border-top: 1px solid var(--line); }
.value { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.value .hex-icon { margin-bottom: 1.125rem; }
.value-name {
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1875rem;
  line-height: 1.2;
}
.value p { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.55; }

@media (min-width: 640px) {
  .values { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
}
@media (min-width: 1024px) {
  .values { grid-template-columns: repeat(5, 1fr); column-gap: 0; border-bottom: 1px solid var(--line); }
  .value { padding: 2rem 1.5rem; border-bottom: 0; }
  .value + .value { border-left: 1px solid var(--line); }
  .value:first-child { padding-left: 0; }
}


/* ---------- 18. LEGALITAS (strip teks) ---------- */
.legal {
  padding-block: 1.5rem;
  background: var(--tint);
  border-block: 1px solid var(--line);
}
.legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}
.legal-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 38px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--navy);
  color: var(--yellow);
}
.legal-icon .icon { width: 20px; height: 20px; }
.legal-title { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; }
.legal-text { color: var(--ink); font-weight: 500; }


/* ---------- 19. KONTAK ---------- */
.contact-intro { display: grid; gap: 1rem; }
.contact-intro .section-title { margin-bottom: 0; }
.closing {
  max-width: 32ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.375rem, 1rem + 1.6vw, 2.25rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.contact-grid { display: grid; gap: 3rem; margin-top: 3rem; }

.contact-list { font-style: normal; display: grid; gap: 1.25rem; }
.contact-item { display: flex; gap: 1rem; color: var(--on-navy-2); line-height: 1.6; }
.contact-item .icon { width: 22px; height: 22px; margin-top: 0.15em; color: var(--yellow); }
.contact-item a { color: #fff; }

.contact-wa { margin-top: 2rem; }

.map {
  margin-top: 2rem;
  margin-bottom: 0.875rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-navy);
  background: var(--navy-deep);
}
.map iframe { width: 100%; height: 100%; border: 0; }

/* Form putih di atas navy */
.contact-form {
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  --focus: var(--blue);
}
.form-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.2;
}
.form-note { margin: 0.4rem 0 1.5rem; font-size: 0.875rem; color: var(--ink-2); }

.field { margin-bottom: 1.125rem; }
.field label { display: block; margin-bottom: 0.4rem; font-size: 0.9375rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.875rem;
  border: 1px solid #BAC5D6;
  border-radius: var(--radius-sm);
  background: #FBFCFE;
  font-size: 1rem;
  line-height: 1.4;
  caret-color: var(--blue);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder,
.field textarea::placeholder { color: #6B7485; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #8E9BB2; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 99, 246, 0.22);
}
/* Panah dropdown kustom */
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003A96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 18px;
}
/* Status error */
.field [aria-invalid="true"] { border-color: var(--red); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(201, 52, 63, 0.2); }
.field-error { margin-top: 0.35rem; font-size: 0.875rem; font-weight: 500; color: #B0262F; }
.field-error:empty { display: none; }

.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.form-status:empty { display: none; }
.form-status {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.form-status.is-success { background: #E6F6EA; color: #17602D; }
.form-status.is-error { background: #FBEAEC; color: #8F1F27; }
.form-status a { font-weight: 600; }

@media (min-width: 1024px) {
  .contact-intro { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: end; }
  .contact-grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; margin-top: 4rem; }
}


/* ---------- 20. FOOTER ---------- */
.site-footer {
  background: var(--navy-ink);
  color: var(--on-navy-2);
  font-size: 0.9375rem;
  --focus: var(--yellow);
}
.footer-grid { display: grid; gap: 2.5rem; padding-block: 4rem 3rem; }
.footer-brand .brand-logo { height: 72px; }
.footer-tagline { margin-top: 1rem; color: var(--on-navy-2); }
.footer-head {
  margin-bottom: 0.875rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--yellow);
}
.footer-nav li + li { margin-top: 0.4rem; }
.footer-nav a, .footer-contact a { color: #fff; text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { text-decoration: underline; }
.footer-contact p + p { margin-top: 0.75rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.5rem 6rem;   /* ruang untuk tombol WA melayang */
  border-top: 1px solid var(--line-navy);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1.6fr; }
  .footer-bottom { padding-bottom: 1.75rem; }
}


/* ---------- 21. TOMBOL WHATSAPP MELAYANG ---------- */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1FAF55;    /* hijau WhatsApp, cukup gelap untuk ikon putih */
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s var(--ease-out), opacity 0.3s, visibility 0.3s;
  --focus: var(--navy);
}
.wa-float .icon { width: 28px; height: 28px; stroke-width: 1.7; }
.wa-float:hover { transform: translateY(-3px); }
/* Disembunyikan saat di hero & di section kontak (sudah ada tombol WA) */
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); }
@media (min-width: 768px) { .wa-float { right: 1.5rem; bottom: 1.5rem; } }


/* ---------- 22. ANIMASI MUNCUL SAAT SCROLL ---------- */
/* Konten tetap terlihat jika JS mati; kelas .motion-ok ditambahkan oleh main.js */
.motion-ok [data-reveal] {
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.motion-ok [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(18px); }

/* Hormati pengaturan "kurangi gerakan" di sistem operasi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
