/* ============================================
   BAP Website Prototype — Wave 1 Homepage
   Colors matched to BAP logo (navy + green)
   ============================================ */

:root {
  --bap-navy: #1E3A5F;
  --bap-navy-dark: #142844;
  --bap-navy-deep: #0F1F37;
  --bap-green: #52A736;
  --bap-green-dark: #3F8628;
  --bap-teal: #2EA3C7;
  --bap-orange: #F39C12;
  --slate: #2C3E50;
  --slate-soft: #4A5C6E;
  --mist: #F5F7FA;
  --mist-warm: #FAFBFC;
  --line: #E2E8EF;
  --white: #FFFFFF;
  --rmutk-red: #C8102E;

  --font-thai: 'IBM Plex Sans Thai', 'Sarabun', sans-serif;
  --font-eng: 'IBM Plex Sans', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(30, 58, 95, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 58, 95, 0.10);
  --shadow-lg: 0 20px 48px rgba(30, 58, 95, 0.14);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-thai), var(--font-eng);
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--bap-green), var(--bap-teal));
  z-index: 1000;
  transition: width 0.05s linear;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: padding 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  padding: 10px 0;
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-bap-img {
  height: 60px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}
.site-header.scrolled .brand-bap-img { height: 50px; }

.nav-primary {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-primary a {
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s, padding 0.3s ease, font-size 0.3s ease;
  position: relative;
}
.site-header.scrolled .nav-primary a {
  padding: 8px 14px;
  font-size: 14px;
}
.nav-primary a:hover { color: var(--bap-navy); background: var(--mist); }
.nav-primary a.active {
  color: var(--bap-navy);
  background: var(--mist);
}
.nav-primary a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--bap-green);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  display: flex;
  background: var(--mist);
  border-radius: var(--radius-pill);
  padding: 3px;
}
.lang-switch button,
.lang-switch a {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-soft);
  border-radius: var(--radius-pill);
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  background: transparent;
  display: inline-block;
  line-height: 1;
}
.lang-switch button.active,
.lang-switch a.active {
  background: var(--bap-navy);
  color: var(--white);
}
.lang-switch a:not(.active):hover { color: var(--bap-navy); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: var(--bap-green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(82, 167, 54, 0.35);
}
.btn-primary:hover {
  background: var(--bap-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(82, 167, 54, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--bap-navy);
  border: 1.5px solid var(--bap-navy);
}
.btn-ghost:hover {
  background: var(--bap-navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-arrow { transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Mobile menu toggle */
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--bap-navy);
  border-radius: 2px;
  transition: transform 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background: var(--bap-navy-deep);
  color: var(--white);
}
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 20% 30%, rgba(82, 167, 54, 0.35) 0px, transparent 50%),
    radial-gradient(at 80% 20%, rgba(46, 163, 199, 0.30) 0px, transparent 50%),
    radial-gradient(at 60% 80%, rgba(82, 167, 54, 0.20) 0px, transparent 50%),
    radial-gradient(at 30% 90%, rgba(46, 163, 199, 0.25) 0px, transparent 50%);
  animation: meshFloat 20s ease-in-out infinite;
  opacity: 0.9;
}
@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-2%, 2%) scale(1.05); }
  66% { transform: translate(2%, -1%) scale(0.98); }
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(82, 167, 54, 0.4);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.1s ease forwards;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--bap-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(82, 167, 54, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(82, 167, 54, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(82, 167, 54, 0); }
  100% { box-shadow: 0 0 0 0 rgba(82, 167, 54, 0); }
}
.hero h1 {
  font-size: clamp(38px, 6.5vw, 76px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease forwards;
  /* Promote to its own layer so gradient-clipped accents rasterize correctly
     on first paint (fixes text clipping at top until a scroll forces a repaint). */
  will-change: transform, opacity;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--bap-green), var(--bap-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: clamp(16px, 1.6vw, 20px);
  color: rgba(255, 255, 255, 0.78);
  max-width: 680px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s ease forwards;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s ease forwards;
}
.hero-ctas .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.hero-ctas .btn-ghost:hover {
  background: var(--white);
  color: var(--bap-navy);
  border-color: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1s 1.2s ease forwards;
}
.hero-stat .num {
  font-size: 36px;
  font-weight: 700;
  color: var(--bap-green);
  line-height: 1;
}
.hero-stat .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-arrow-motif {
  position: absolute;
  right: -80px;
  top: 30%;
  width: 460px;
  height: 460px;
  opacity: 0.10;
  pointer-events: none;
  animation: floatNudge 6s ease-in-out infinite;
}
@keyframes floatNudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ============================================
   SECTION COMMON
   ============================================ */
section { padding: 100px 0; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bap-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--bap-green);
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--bap-navy);
  letter-spacing: -0.01em;
  max-width: 760px;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 17px;
  color: var(--slate-soft);
  max-width: 680px;
}
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-eyebrow,
.section-head.center .section-title,
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   3-STAGE PIPELINE
   ============================================ */
.pipeline {
  background: var(--mist);
  position: relative;
  overflow: hidden;
}
.pipeline::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(82, 167, 54, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(46, 163, 199, 0.04) 0%, transparent 40%);
  pointer-events: none;
}
.pipeline .container { position: relative; }

.stage-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  position: relative;
}
.stage-track::before {
  content: "";
  position: absolute;
  top: 80px;
  left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--bap-navy), var(--bap-teal), var(--bap-green));
  opacity: 0.25;
  z-index: 0;
}
.stage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s, border-color 0.3s;
}
.stage-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.stage-card[data-stage="1"]:hover { border-color: var(--bap-navy); }
.stage-card[data-stage="2"]:hover { border-color: var(--bap-teal); }
.stage-card[data-stage="3"]:hover { border-color: var(--bap-green); }

.stage-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
}
.stage-card[data-stage="1"] .stage-num { background: var(--bap-navy); }
.stage-card[data-stage="2"] .stage-num { background: var(--bap-teal); }
.stage-card[data-stage="3"] .stage-num { background: var(--bap-green); }
.stage-num::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px dashed currentColor;
  opacity: 0.25;
}
.stage-card[data-stage="1"] .stage-num::after { color: var(--bap-navy); }
.stage-card[data-stage="2"] .stage-num::after { color: var(--bap-teal); }
.stage-card[data-stage="3"] .stage-num::after { color: var(--bap-green); }

.stage-name-en {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.stage-card[data-stage="1"] .stage-name-en { color: var(--bap-navy); }
.stage-card[data-stage="2"] .stage-name-en { color: var(--bap-teal); }
.stage-card[data-stage="3"] .stage-name-en { color: var(--bap-green); }

.stage-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--bap-navy);
  margin-bottom: 6px;
}
.stage-duration {
  display: inline-block;
  padding: 4px 12px;
  background: var(--mist);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-soft);
  margin-bottom: 20px;
}
.stage-desc {
  font-size: 15px;
  color: var(--slate-soft);
  margin-bottom: 24px;
}
.stage-bullets {
  list-style: none;
  margin-bottom: 24px;
}
.stage-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--slate);
  padding: 6px 0;
}
.stage-bullets li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-top: 9px;
  flex-shrink: 0;
}
.stage-card[data-stage="1"] .stage-bullets li::before { background: var(--bap-navy); }
.stage-card[data-stage="2"] .stage-bullets li::before { background: var(--bap-teal); }
.stage-card[data-stage="3"] .stage-bullets li::before { background: var(--bap-green); }

.stage-kpis {
  display: flex;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.stage-kpi { flex: 1; }
.stage-kpi .v {
  font-size: 22px;
  font-weight: 700;
  color: var(--bap-navy);
}
.stage-kpi .l {
  font-size: 11px;
  color: var(--slate-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ============================================
   FOCUS AREAS
   ============================================ */
.focus { background: var(--white); }
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.focus-tile {
  position: relative;
  padding: 32px 24px;
  background: var(--mist-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.focus-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bap-green), var(--bap-teal));
  opacity: 0;
  transition: opacity 0.4s;
}
.focus-tile > * { position: relative; z-index: 1; }
.focus-tile:hover {
  transform: translateY(-6px);
  border-color: transparent;
  color: var(--white);
}
.focus-tile:hover::before { opacity: 1; }
.focus-tile:hover .focus-num { color: rgba(255, 255, 255, 0.5); }
.focus-tile:hover .focus-desc { color: rgba(255, 255, 255, 0.85); }
.focus-icon {
  width: 44px; height: 44px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  color: var(--bap-navy);
  background: rgba(82, 167, 54, 0.10);
  border-radius: var(--radius-sm);
  transition: transform 0.4s, color 0.3s, background 0.3s;
}
.focus-icon svg { width: 24px; height: 24px; display: block; }
.focus-tile:hover .focus-icon {
  transform: scale(1.08) rotate(-3deg);
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}
.focus-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--bap-green);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  transition: color 0.3s;
}
.focus-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--bap-navy);
  margin-bottom: 6px;
  transition: color 0.3s;
}
.focus-tile:hover .focus-name { color: var(--white); }
.focus-name-en {
  font-size: 12px;
  color: var(--slate-soft);
  font-style: italic;
  margin-bottom: 12px;
  transition: color 0.3s;
}
.focus-tile:hover .focus-name-en { color: rgba(255, 255, 255, 0.7); }
.focus-desc {
  font-size: 13px;
  color: var(--slate-soft);
  transition: color 0.3s;
}

/* ============================================
   AUDIENCE DOORWAYS
   ============================================ */
.audience {
  background: linear-gradient(180deg, var(--white) 0%, var(--mist) 100%);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.audience-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d;
  position: relative;
}
.audience-card:hover { box-shadow: var(--shadow-lg); }
.audience-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: transform 0.3s;
}
.audience-icon svg { width: 28px; height: 28px; display: block; }
.audience-card:hover .audience-icon { transform: scale(1.1); }
.audience-card:nth-child(1) .audience-icon { background: rgba(30, 58, 95, 0.1); color: var(--bap-navy); }
.audience-card:nth-child(2) .audience-icon { background: rgba(82, 167, 54, 0.12); color: var(--bap-green); }
.audience-card:nth-child(3) .audience-icon { background: rgba(46, 163, 199, 0.12); color: var(--bap-teal); }
.audience-card:nth-child(4) .audience-icon { background: rgba(243, 156, 18, 0.12); color: var(--bap-orange); }

.audience-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--bap-navy);
  margin-bottom: 8px;
}
.audience-desc {
  font-size: 14px;
  color: var(--slate-soft);
  margin-bottom: 20px;
  min-height: 60px;
}
.audience-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bap-green);
  transition: gap 0.2s;
}
.audience-card:hover .audience-link { gap: 12px; }

/* ============================================
   IMPACT METRICS
   ============================================ */
.impact {
  background: var(--bap-navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.impact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(82, 167, 54, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 50%, rgba(46, 163, 199, 0.10) 0%, transparent 50%);
}
.impact .container { position: relative; }
.impact .section-title { color: var(--white); }
.impact .section-eyebrow { color: var(--bap-green); }
.impact .section-eyebrow::before { background: var(--bap-green); }
.impact .section-sub { color: rgba(255, 255, 255, 0.7); }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.metric {
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: transform 0.3s, background 0.3s;
}
.metric:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
}
.metric-num {
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(120deg, var(--bap-green), var(--bap-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric-unit {
  font-size: 22px;
  color: var(--bap-green);
  font-weight: 600;
  margin-left: 4px;
}
.metric-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 12px;
}
.metric-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* ============================================
   NEWS
   ============================================ */
.news { background: var(--white); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
/* ---- Photography slot (reusable) ----
   Usage:
     <div class="photo-slot" data-aspect="16:9" data-size="1200×675">
       <img src="..." alt="..." />   ← when image provided, hides the indicator
     </div>
   Empty slots display dimensions overlay so designers know what to supply. */
.photo-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bap-navy), var(--bap-teal));
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.photo-slot::before {
  /* texture overlay so gradient doesn't look flat */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.10) 0%, transparent 50%);
  z-index: 0;
}
.photo-slot-indicator {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.photo-slot-indicator svg { width: 14px; height: 14px; }
.photo-slot:has(img) .photo-slot-indicator { display: none; }
/* Variant tints for color variety in news grid */
.photo-slot.tint-teal { background: linear-gradient(135deg, var(--bap-green), var(--bap-teal)); }
.photo-slot.tint-warm { background: linear-gradient(135deg, var(--bap-orange), var(--bap-green)); }
.news-body { padding: 24px; }
.news-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--mist);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--bap-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.news-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--bap-navy);
  line-height: 1.4;
  margin-bottom: 10px;
}
.news-date {
  font-size: 13px;
  color: var(--slate-soft);
}

/* ============================================
   PARTNERS
   ============================================ */
.partners {
  background: var(--mist);
  padding: 60px 0;
}
.partners-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
}
.partner-logo {
  flex: 0 0 auto;
  width: 160px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
  overflow: hidden;
}
.partner-logo:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  transform: translateY(-2px);
}
.partner-logo img {
  width: 100%;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  display: block;
}

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--bap-navy) 0%, var(--bap-navy-deep) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(82, 167, 54, 0.25), transparent 70%);
  border-radius: 50%;
}
.cta-strip .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-strip h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  max-width: 650px;
}
.cta-strip .btn-primary {
  background: var(--white);
  color: var(--bap-navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.cta-strip .btn-primary:hover {
  background: var(--bap-green);
  color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bap-navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-bap-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--bap-green); }
.footer-col p { font-size: 14px; line-height: 1.7; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-visits {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.footer-visits::before {
  content: "\1F4CA";
  font-size: 14px;
  opacity: 0.9;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .nav-primary, .lang-switch, .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .stage-track { grid-template-columns: 1fr; }
  .stage-track::before { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .focus-grid, .audience-grid, .metrics-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 60px; }
  section { padding: 70px 0; }
  .partners-row { gap: 12px; }
  .partner-logo { width: 130px; height: 60px; padding: 8px 12px; }
  .partner-logo img { max-height: 36px; }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-hero {
  position: relative;
  padding: 180px 0 80px;
  background: var(--bap-navy-deep);
  color: var(--white);
  overflow: hidden;
}
.page-hero .hero-mesh { opacity: 0.7; }
.page-hero .hero-grid-overlay { opacity: 0.4; }
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.page-hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--bap-green);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.page-hero .lead {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255, 255, 255, 0.78);
  max-width: 680px;
}

/* Vision & Mission */
.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.vision-card {
  padding: 40px 36px;
  background: linear-gradient(135deg, var(--bap-navy), var(--bap-navy-deep));
  border-radius: var(--radius-lg);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.vision-card::before {
  content: "";
  position: absolute;
  top: -50%; right: -30%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(82, 167, 54, 0.25), transparent 70%);
  border-radius: 50%;
}
.vision-card .label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--bap-green);
  text-transform: uppercase;
  margin-bottom: 14px;
  position: relative;
}
.vision-card h3 {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
  position: relative;
}

.missions {
  display: grid;
  gap: 18px;
}
.mission-item {
  display: flex;
  gap: 20px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.3s, transform 0.3s;
}
.mission-item:hover {
  border-color: var(--bap-green);
  transform: translateX(4px);
}
.mission-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(82, 167, 54, 0.12);
  color: var(--bap-green);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.mission-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--bap-navy);
  margin-bottom: 4px;
}
.mission-body p {
  font-size: 14px;
  color: var(--slate-soft);
  line-height: 1.6;
}

/* Objectives */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.objective {
  position: relative;
  padding: 36px 32px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.objective:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--bap-green);
}
.objective .big-num {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--bap-green), var(--bap-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.objective h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--bap-navy);
  margin-bottom: 12px;
  line-height: 1.4;
}
.objective p {
  font-size: 14px;
  color: var(--slate-soft);
  line-height: 1.7;
}

/* Team */
.team {
  background: var(--mist);
}
.team-group {
  margin-bottom: 64px;
}
.team-group:last-child { margin-bottom: 0; }
.team-group-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.team-group-title h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--bap-navy);
  white-space: nowrap;
}
.team-group-title .label-en {
  font-size: 12px;
  font-weight: 600;
  color: var(--bap-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.team-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.team-photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bap-navy), var(--bap-teal));
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-photo .photo-slot-indicator {
  position: relative;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.95);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(6px);
}
.team-photo .photo-slot-indicator svg { width: 12px; height: 12px; }
.team-body {
  padding: 18px 20px 22px;
}
.team-role {
  font-size: 11px;
  font-weight: 600;
  color: var(--bap-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.team-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--bap-navy);
  line-height: 1.4;
  margin-bottom: 4px;
}
.team-title {
  font-size: 13px;
  color: var(--slate-soft);
  line-height: 1.5;
}

/* Governance */
.governance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.committee-card {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s;
}
.committee-card:hover { border-color: var(--bap-green); }
.committee-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--bap-navy);
  margin-bottom: 20px;
}
.committee-card h3 .badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--bap-green);
  background: rgba(82, 167, 54, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.committee-list {
  list-style: none;
}
.committee-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  color: var(--slate);
}
.committee-list li:last-child { border-bottom: 0; }
.committee-list li::before {
  content: "▸";
  color: var(--bap-green);
  margin-top: 2px;
  flex-shrink: 0;
}

/* Regulations / docs list */
.regulations {
  background: var(--white);
}
.reg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.reg-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  background: var(--mist);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: all 0.3s;
  cursor: pointer;
}
.reg-item:hover {
  background: var(--white);
  border-color: var(--bap-green);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.reg-num {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--bap-green);
  font-size: 13px;
  min-width: 28px;
}
.reg-text {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .vision-mission { grid-template-columns: 1fr; gap: 32px; }
  .objectives-grid { grid-template-columns: 1fr; }
  .team-grid, .team-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .governance-grid { grid-template-columns: 1fr; }
  .reg-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .team-grid, .team-grid.cols-3 { grid-template-columns: 1fr; }
  .page-hero { padding: 140px 0 60px; }
}

/* ============================================
   PROGRAM (STAGE) DETAIL PAGES
   ============================================ */
.stage-hero {
  position: relative;
  padding: 180px 0 100px;
  overflow: hidden;
  color: var(--white);
}
.stage-hero[data-stage="1"] { background: linear-gradient(135deg, var(--bap-navy-deep), var(--bap-navy)); }
.stage-hero[data-stage="2"] { background: linear-gradient(135deg, #0F4357, var(--bap-teal)); }
.stage-hero[data-stage="3"] { background: linear-gradient(135deg, #1F4D17, var(--bap-green)); }
.stage-hero .hero-mesh,
.stage-hero .hero-grid-overlay { opacity: 0.4; }
.stage-hero-content { position: relative; z-index: 2; max-width: 880px; }
.stage-hero .stage-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.stage-hero .stage-tag .num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.stage-hero[data-stage="1"] .stage-tag .num { color: var(--bap-navy); }
.stage-hero[data-stage="2"] .stage-tag .num { color: var(--bap-teal); }
.stage-hero[data-stage="3"] .stage-tag .num { color: var(--bap-green-dark); }
.stage-hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.stage-hero .lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
  margin-bottom: 36px;
}
.stage-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.stage-hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.stage-hero .btn-ghost:hover {
  background: var(--white);
  color: var(--bap-navy);
  border-color: var(--white);
}

/* Quick-facts bar */
.facts-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-top: -50px;
  margin-bottom: 80px;
  padding: 30px 40px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 3;
}
.fact { text-align: left; }
.fact .label {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.fact .value {
  font-size: 22px;
  font-weight: 700;
  color: var(--bap-navy);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.fact .value .sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-soft);
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--bap-green);
  box-shadow: var(--shadow-md);
}
.benefit-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--bap-green);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}
.benefit-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--bap-navy);
  margin-bottom: 10px;
}
.benefit-card p {
  font-size: 14px;
  color: var(--slate-soft);
  line-height: 1.65;
}

/* Process timeline */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--bap-navy), var(--bap-teal), var(--bap-green));
}
.timeline-item {
  position: relative;
  padding: 0 0 36px 32px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--bap-green);
  box-shadow: 0 0 0 4px var(--white);
}
.timeline-week {
  font-size: 12px;
  font-weight: 700;
  color: var(--bap-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.timeline-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--bap-navy);
  margin-bottom: 8px;
}
.timeline-item p {
  font-size: 14.5px;
  color: var(--slate-soft);
  line-height: 1.7;
  margin-bottom: 8px;
}
.timeline-item .deliverables {
  list-style: none;
  margin-top: 8px;
}
.timeline-item .deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--slate);
  padding: 4px 0;
}
.timeline-item .deliverables li::before {
  content: "→";
  color: var(--bap-green);
  font-weight: 700;
  flex-shrink: 0;
}

/* Two-column split (eligibility vs not-for) */
.split-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.split-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.split-card.eligible { background: rgba(82, 167, 54, 0.06); border-color: rgba(82, 167, 54, 0.3); }
.split-card.not-for { background: var(--mist-warm); }
.split-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--bap-navy);
  margin-bottom: 18px;
}
.split-card .badge-ok,
.split-card .badge-not {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}
.split-card .badge-ok { background: var(--bap-green); color: var(--white); }
.split-card .badge-not { background: rgba(0, 0, 0, 0.1); color: var(--slate-soft); }
.split-card ul { list-style: none; }
.split-card li {
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.6;
}

/* KPI / outcome grid */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.outcome {
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--bap-green);
  box-shadow: var(--shadow-sm);
}
.outcome .v {
  font-size: 32px;
  font-weight: 700;
  color: var(--bap-navy);
  line-height: 1;
  margin-bottom: 8px;
}
.outcome .v .unit { font-size: 16px; color: var(--slate-soft); font-weight: 500; margin-left: 4px; }
.outcome .l { font-size: 13px; color: var(--slate-soft); }

/* FAQ accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--bap-navy);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--bap-green); }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--bap-green);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 40px 22px 0;
  font-size: 15px;
  color: var(--slate-soft);
  line-height: 1.7;
}

/* Programs overview (index page for /programs) */
.programs-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.program-promo {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  color: var(--white);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(.22, 1, .36, 1);
  display: flex;
  flex-direction: column;
  min-height: 380px;
}
.program-promo:hover { transform: translateY(-6px); }
.program-promo[data-stage="1"] { background: linear-gradient(160deg, var(--bap-navy-deep), var(--bap-navy)); }
.program-promo[data-stage="2"] { background: linear-gradient(160deg, #0F4357, var(--bap-teal)); }
.program-promo[data-stage="3"] { background: linear-gradient(160deg, #1F4D17, var(--bap-green)); }
.program-promo::before {
  content: "";
  position: absolute;
  top: -30%; right: -20%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
  border-radius: 50%;
}
.program-promo > * { position: relative; }
.program-promo .stage-num {
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 16px;
}
.program-promo .stage-num::after { display: none; }
.program-promo h3 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}
.program-promo .stage-en {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
  margin-bottom: 16px;
}
.program-promo .duration {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}
.program-promo p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.88;
  margin-bottom: auto;
}
.program-promo .promo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  transition: gap 0.2s;
}
.program-promo:hover .promo-link { gap: 14px; }

/* ============================================
   MULTI-STEP APPLICATION FORM
   ============================================ */
.apply-wrap {
  max-width: 880px;
  margin: 0 auto;
}
.steps-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}
.step-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}
.step-pill .step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--slate-soft);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.3s;
}
.step-pill .step-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-soft);
}
.step-pill.active {
  background: rgba(82, 167, 54, 0.08);
  border-color: var(--bap-green);
}
.step-pill.active .step-num { background: var(--bap-green); color: var(--white); }
.step-pill.active .step-label { color: var(--bap-navy); }
.step-pill.complete .step-num {
  background: var(--bap-navy);
  color: var(--white);
}
.step-pill.complete .step-num::before { content: "✓"; }
.step-pill.complete .step-num span { display: none; }

.step-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  display: none;
}
.step-panel.active { display: block; animation: stepIn 0.4s ease; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.step-panel h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--bap-navy);
  margin-bottom: 8px;
}
.step-panel .step-sub {
  font-size: 15px;
  color: var(--slate-soft);
  margin-bottom: 32px;
}

/* Form fields */
.field { margin-bottom: 24px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--bap-navy);
  margin-bottom: 8px;
}
.field label .req { color: #DC3545; margin-left: 4px; }
.field .hint {
  font-size: 12.5px;
  color: var(--slate-soft);
  margin-top: 6px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="number"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--slate);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--bap-green);
  box-shadow: 0 0 0 3px rgba(82, 167, 54, 0.15);
}
.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}
.field.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 0;
}
.field.row > .field { margin-bottom: 24px; }

/* Radio cards for stage selection */
.stage-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stage-choice {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 24px 22px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}
.stage-choice input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.stage-choice:hover { border-color: rgba(82, 167, 54, 0.5); }
.stage-choice.checked {
  border-color: var(--bap-green);
  background: rgba(82, 167, 54, 0.05);
  box-shadow: 0 6px 18px rgba(82, 167, 54, 0.18);
}
.stage-choice .badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.stage-choice[data-stage="1"] .badge { background: rgba(30, 58, 95, 0.12); color: var(--bap-navy); }
.stage-choice[data-stage="2"] .badge { background: rgba(46, 163, 199, 0.12); color: var(--bap-teal); }
.stage-choice[data-stage="3"] .badge { background: rgba(82, 167, 54, 0.12); color: var(--bap-green-dark); }
.stage-choice h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--bap-navy);
  margin-bottom: 6px;
}
.stage-choice .duration {
  font-size: 13px;
  color: var(--slate-soft);
  margin-bottom: 12px;
}
.stage-choice p {
  font-size: 13.5px;
  color: var(--slate-soft);
  line-height: 1.55;
}

/* File upload */
.file-drop {
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
  position: relative;
}
.file-drop:hover { border-color: var(--bap-green); background: rgba(82, 167, 54, 0.04); }
.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file-drop-icon {
  width: 44px; height: 44px;
  margin: 0 auto 12px;
  background: var(--mist);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--bap-green);
}
.file-drop-text {
  font-size: 14px;
  color: var(--slate);
  font-weight: 600;
  margin-bottom: 4px;
}
.file-drop-hint {
  font-size: 12.5px;
  color: var(--slate-soft);
}
.file-drop.has-file { border-style: solid; border-color: var(--bap-green); background: rgba(82, 167, 54, 0.06); }
.file-drop.has-file .file-drop-text { color: var(--bap-green-dark); }

/* Checkboxes (consent) */
.check-row {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  background: var(--mist-warm);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  cursor: pointer;
}
.check-row input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--bap-green);
  flex-shrink: 0;
}
.check-row label {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.55;
  cursor: pointer;
}

/* Step nav buttons */
.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.step-actions .btn { padding: 12px 24px; }
.step-actions .btn-back {
  background: transparent;
  color: var(--slate-soft);
  border: 1px solid var(--line);
}
.step-actions .btn-back:hover {
  color: var(--bap-navy);
  border-color: var(--bap-navy);
}

/* Review (step 5) */
.review-block {
  padding: 22px 24px;
  background: var(--mist);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.review-block h4 {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--bap-navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.review-block h4 a {
  font-size: 12px;
  font-weight: 500;
  color: var(--bap-green);
  text-transform: none;
  letter-spacing: 0;
}
.review-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 6px 18px;
  font-size: 14px;
}
.review-grid dt { color: var(--slate-soft); }
.review-grid dd { color: var(--slate); font-weight: 500; }

/* Success state */
.apply-success {
  text-align: center;
  padding: 80px 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: none;
}
.apply-success.active { display: block; animation: stepIn 0.6s ease; }
.success-check {
  width: 88px; height: 88px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--bap-green);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 44px;
  font-weight: 700;
  animation: pulse-success 1.5s ease-in-out infinite;
}
@keyframes pulse-success {
  0%, 100% { box-shadow: 0 0 0 0 rgba(82, 167, 54, 0.4); }
  50% { box-shadow: 0 0 0 20px rgba(82, 167, 54, 0); }
}
.apply-success h2 {
  font-size: 32px;
  color: var(--bap-navy);
  margin-bottom: 16px;
}
.apply-success p {
  font-size: 16px;
  color: var(--slate-soft);
  margin-bottom: 8px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.apply-success .ref-code {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 24px;
  background: var(--mist);
  border-radius: var(--radius-pill);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--bap-navy);
  letter-spacing: 0.06em;
}

@media (max-width: 980px) {
  .facts-bar { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; }
  .split-two { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-overview { grid-template-columns: 1fr; }
  .stage-choices { grid-template-columns: 1fr; }
  .steps-indicator { flex-direction: column; gap: 6px; }
  .step-panel { padding: 32px 24px; }
  .field.row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .facts-bar { grid-template-columns: 1fr; margin-top: -30px; padding: 24px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .step-panel { padding: 24px 20px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================
   MOBILE NAV OVERLAY (WordPress theme addition)
   ============================================ */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(14, 28, 54, 0.97);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--white);
  font-size: 22px;
  font-weight: 500;
  text-align: center;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Bilingual post content ──────────────────────────────────────────────────── */
.lang-en .bap-lang-th { display: none; }
.lang-th .bap-lang-en { display: none; }
