@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --pi-primary: #0F766E;
  --pi-primary-dark: #115E59;
  --pi-accent: #EA580C;
  --pi-accent-dark: #C2410C;
  --pi-bg: #FBFAF7;
  --pi-surface: #FFFFFF;
  --pi-text: #1C1917;
  --pi-muted: #57534E;
  --pi-border: #E7E5E4;
  --pi-hero-overlay: linear-gradient(120deg, rgba(15,76,71,.82), rgba(17,46,42,.70));
  --pi-shadow: 0 1px 3px rgba(0,0,0,.06);
  --pi-shadow-hover: 0 6px 18px rgba(0,0,0,.08);
  --pi-radius-card: 12px;
  --pi-radius-btn: 8px;
  --pi-maxw: 1140px;
  --pi-font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --pi-font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--pi-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--pi-text);
  background: var(--pi-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--pi-font-head);
  line-height: 1.2;
  color: var(--pi-text);
  margin: 0 0 .5em;
}

h1 { font-size: 2.25rem; font-weight: 800; }
h2 { font-size: 1.6rem; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1rem; }

a { color: var(--pi-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

ul, ol { margin: 0 0 1rem; padding-left: 1.4rem; }
li { margin-bottom: .4rem; }

.container {
  width: 100%;
  max-width: var(--pi-maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pi-primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--pi-radius-btn);
  z-index: 1200;
}
.skip-link:focus { left: 12px; top: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pi-font-head);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  padding: 13px 20px;
  border-radius: var(--pi-radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
  transition: background-color .18s ease-out, transform .18s ease-out, box-shadow .18s ease-out, color .18s ease-out;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--pi-accent); color: #fff; }
.btn-primary:hover { background: var(--pi-accent-dark); box-shadow: var(--pi-shadow-hover); }
.btn-secondary {
  background: transparent;
  color: var(--pi-primary);
  border-color: var(--pi-primary);
}
.btn-secondary:hover { background: var(--pi-primary); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.22); }

.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251,250,247,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--pi-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pi-font-head);
  font-weight: 800;
  color: var(--pi-text);
  font-size: 1.1rem;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--pi-primary);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.brand-mark .icon { width: 22px; height: 22px; }
.brand-sub { display: block; font-size: .72rem; font-weight: 500; color: var(--pi-muted); font-family: var(--pi-font-body); }

.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}
.nav-center a, .nav-dropdown > button {
  font-family: var(--pi-font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--pi-text);
  padding: 10px 12px;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-center a:hover, .nav-dropdown > button:hover { background: rgba(15,118,110,.08); color: var(--pi-primary); text-decoration: none; }
.nav-center a[aria-current="page"] { color: var(--pi-primary); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 290px;
  background: var(--pi-surface);
  border: 1px solid var(--pi-border);
  border-radius: var(--pi-radius-card);
  box-shadow: var(--pi-shadow-hover);
  padding: 8px;
  display: none;
  flex-direction: column;
  z-index: 1100;
}
.nav-dropdown-menu.open { display: flex; }
.nav-dropdown-menu a {
  display: block;
  padding: 9px 12px;
  font-size: .88rem;
  font-weight: 500;
  font-family: var(--pi-font-body);
  border-radius: 6px;
}
.nav-dropdown-menu a:hover { background: rgba(15,118,110,.08); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--pi-border);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--pi-text);
}

.hero {
  position: relative;
  background-image: var(--pi-hero-overlay), url('../img/hero-jalur-belajar.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-inner { max-width: 640px; padding: 64px 0; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pi-font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: 2.75rem; margin-bottom: 16px; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,.92); margin-bottom: 28px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  counter-reset: step;
}
.hero-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 220px;
}
.hero-step-num {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--pi-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--pi-font-head);
  font-weight: 700;
  flex-shrink: 0;
}
.hero-step-txt strong { display: block; font-family: var(--pi-font-head); font-weight: 600; font-size: .95rem; }
.hero-step-txt span { font-size: .82rem; color: rgba(255,255,255,.8); }

.section { padding: 72px 0; }
.section-tight { padding: 52px 0; }
.section-alt { background: var(--pi-surface); }

.section-head { max-width: 680px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--pi-font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pi-accent-dark);
  margin-bottom: 12px;
}
.section-head p { color: var(--pi-muted); font-size: 1.05rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--pi-surface);
  border: 1px solid var(--pi-border);
  border-radius: var(--pi-radius-card);
  box-shadow: var(--pi-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease-out, box-shadow .2s ease-out;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--pi-shadow-hover); }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; background: #e8efed; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-tag {
  font-family: var(--pi-font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--pi-primary);
  margin-bottom: 8px;
}
.card-body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card-body h3 a { color: var(--pi-text); }
.card-body h3 a:hover { color: var(--pi-primary); text-decoration: none; }
.card-body p { color: var(--pi-muted); font-size: .94rem; margin-bottom: 14px; }
.card-meta { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--pi-muted); }
.card-link {
  margin-top: 14px;
  font-family: var(--pi-font-head);
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pi-primary);
}

.pillar {
  background: var(--pi-surface);
  border: 1px solid var(--pi-border);
  border-radius: var(--pi-radius-card);
  padding: 26px 24px;
  box-shadow: var(--pi-shadow);
  transition: transform .2s ease-out, box-shadow .2s ease-out;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--pi-shadow-hover); }
.pillar-ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(15,118,110,.1);
  color: var(--pi-primary);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.pillar-ic .icon { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pillar p { color: var(--pi-muted); font-size: .92rem; margin: 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.about-media img { border-radius: var(--pi-radius-card); box-shadow: var(--pi-shadow); }
.about-list { list-style: none; padding: 0; margin: 20px 0 0; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.about-list .icon { color: var(--pi-primary); margin-top: 3px; }

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.glossary-item {
  background: var(--pi-surface);
  border: 1px solid var(--pi-border);
  border-left: 4px solid var(--pi-primary);
  border-radius: var(--pi-radius-card);
  padding: 20px 22px;
}
.glossary-item dt { font-family: var(--pi-font-head); font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.glossary-item dd { margin: 0; color: var(--pi-muted); font-size: .92rem; }

.mission {
  background: var(--pi-primary-dark);
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.mission-media { min-height: 100%; }
.mission-media img { width: 100%; height: 100%; object-fit: cover; }
.mission-body { padding: 48px 44px; }
.mission-body h2 { color: #fff; }
.mission-body p { color: rgba(255,255,255,.88); }
.mission-body .eyebrow { color: #fdba74; }

.cta-band {
  background: linear-gradient(120deg, var(--pi-primary), var(--pi-primary-dark));
  color: #fff;
  border-radius: 18px;
  padding: 56px 44px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 600px; margin: 0 auto 26px; }
.cta-band .btn-secondary { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn-secondary:hover { background: #fff; color: var(--pi-primary-dark); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.site-footer {
  background: #14302C;
  color: rgba(255,255,255,.82);
  padding: 56px 0 28px;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .brand-mark { background: var(--pi-primary); }
.footer-brand span { color: #fff; font-family: var(--pi-font-head); font-weight: 800; font-size: 1.1rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; list-style: none; margin-bottom: 12px; }
.footer-contact { padding: 0; margin: 0; }
.footer-contact .icon { color: #5eead4; margin-top: 2px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(255,255,255,.62);
}
.footer-bottom button.linklike {
  background: none;
  border: none;
  color: rgba(255,255,255,.82);
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
}
.footer-bottom button.linklike:hover { color: #fff; }

.page-hero {
  background: linear-gradient(120deg, var(--pi-primary), var(--pi-primary-dark));
  color: #fff;
  padding: 64px 0 56px;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 640px; margin: 0; font-size: 1.08rem; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.78); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb span { margin: 0 6px; }

.article-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 40px; }
.article {
  background: var(--pi-surface);
  border: 1px solid var(--pi-border);
  border-radius: var(--pi-radius-card);
  padding: 40px;
  box-shadow: var(--pi-shadow);
  max-width: 820px;
  margin: 0 auto;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  color: var(--pi-muted);
  font-size: .88rem;
  margin-bottom: 22px;
}
.article-meta .chip {
  background: rgba(15,118,110,.1);
  color: var(--pi-primary);
  font-family: var(--pi-font-head);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .8rem;
}
.article-hero-img { border-radius: var(--pi-radius-card); margin-bottom: 28px; aspect-ratio: 16/8; object-fit: cover; width: 100%; }
.article h2 { margin-top: 36px; padding-top: 4px; }
.article h3 { margin-top: 26px; }
.article p, .article li { color: #292524; }
.article .lead { font-size: 1.12rem; color: var(--pi-muted); }
.callout {
  background: var(--pi-bg);
  border: 1px solid var(--pi-border);
  border-left: 4px solid var(--pi-accent);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 24px 0;
}
.callout strong { font-family: var(--pi-font-head); }
.callout.risk { border-left-color: #b45309; }
.callout .callout-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-family: var(--pi-font-head); font-weight: 700; }
.callout.risk .callout-head { color: #b45309; }

.summary-box {
  background: rgba(15,118,110,.06);
  border: 1px solid rgba(15,118,110,.2);
  border-radius: var(--pi-radius-card);
  padding: 24px;
  margin: 32px 0;
}
.summary-box h2 { margin-top: 0; }
.summary-box ul { margin-bottom: 0; }

.article-cta {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--pi-border);
  text-align: center;
}
.prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.prevnext a {
  border: 1px solid var(--pi-border);
  border-radius: var(--pi-radius-card);
  padding: 16px 18px;
  display: block;
  background: var(--pi-surface);
  transition: border-color .18s ease-out, box-shadow .18s ease-out;
}
.prevnext a:hover { border-color: var(--pi-primary); box-shadow: var(--pi-shadow); text-decoration: none; }
.prevnext .dir { font-size: .78rem; color: var(--pi-muted); font-family: var(--pi-font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.prevnext .ttl { font-family: var(--pi-font-head); font-weight: 600; color: var(--pi-text); display: block; margin-top: 4px; }
.prevnext .next { text-align: right; }

.contact-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.contact-info-card {
  background: var(--pi-surface);
  border: 1px solid var(--pi-border);
  border-radius: var(--pi-radius-card);
  padding: 24px;
  box-shadow: var(--pi-shadow);
}
.contact-info-card .pillar-ic { margin-bottom: 14px; }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-info-card p { margin: 0; color: var(--pi-muted); font-size: .92rem; }
.contact-info-card a { color: var(--pi-muted); }

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.contact-form-wrap, .contact-map-wrap {
  background: var(--pi-surface);
  border: 1px solid var(--pi-border);
  border-radius: var(--pi-radius-card);
  padding: 32px;
  box-shadow: var(--pi-shadow);
}
.contact-map-wrap { padding: 0; overflow: hidden; display: flex; flex-direction: column; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--pi-font-head);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--pi-font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--pi-border);
  border-radius: var(--pi-radius-btn);
  background: var(--pi-bg);
  color: var(--pi-text);
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--pi-primary);
  box-shadow: 0 0 0 3px rgba(15,118,110,.14);
  background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--pi-muted); margin-bottom: 18px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.field-error { color: #b91c1c; font-size: .82rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #b91c1c; }
.field.invalid .field-error { display: block; }

.map-frame { flex: 1; min-height: 360px; border: 0; width: 100%; }
.map-foot { padding: 16px 20px; border-top: 1px solid var(--pi-border); }

.map-embed { width: 100%; min-height: 360px; border: 0; display: block; }

.legal { max-width: 820px; margin: 0 auto; }
.legal .toc {
  background: var(--pi-surface);
  border: 1px solid var(--pi-border);
  border-radius: var(--pi-radius-card);
  padding: 22px 26px;
  margin-bottom: 36px;
}
.legal .toc h2 { font-size: 1.05rem; margin-bottom: 12px; }
.legal .toc ol { margin: 0; }
.legal .toc li { margin-bottom: 6px; }
.legal section { margin-bottom: 34px; }
.legal h2 { font-size: 1.4rem; margin-bottom: 10px; }
.legal h3 { font-size: 1.08rem; margin-top: 20px; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: .9rem;
}
.legal th, .legal td {
  border: 1px solid var(--pi-border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.legal th { background: rgba(15,118,110,.06); font-family: var(--pi-font-head); }
.legal .updated { color: var(--pi-muted); font-size: .9rem; margin-bottom: 28px; }
.table-scroll { overflow-x: auto; }
.inline-reopen {
  background: none;
  border: none;
  color: var(--pi-primary);
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
}

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1300;
  background: var(--pi-surface);
  border-top: 1px solid var(--pi-border);
  box-shadow: 0 -4px 18px rgba(0,0,0,.08);
  padding: 18px 0;
  display: none;
}
.cookie-bar.show { display: block; }
.cookie-bar-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-bar-text { flex: 1 1 360px; font-size: .9rem; color: var(--pi-muted); }
.cookie-bar-text strong { color: var(--pi-text); font-family: var(--pi-font-head); display: block; margin-bottom: 4px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 16px; font-size: .88rem; }

.cookie-panel { display: none; margin-top: 18px; border-top: 1px solid var(--pi-border); padding-top: 18px; }
.cookie-panel.open { display: block; }
.cookie-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--pi-border);
}
.cookie-row:last-child { border-bottom: none; }
.cookie-row-txt { flex: 1; }
.cookie-row-txt strong { font-family: var(--pi-font-head); }
.cookie-row-txt p { margin: 4px 0 0; font-size: .85rem; color: var(--pi-muted); }

.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute;
  inset: 0;
  background: #d6d3d1;
  border-radius: 999px;
  transition: background-color .18s ease-out;
}
.switch .slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .18s ease-out;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.switch input:checked + .slider { background: var(--pi-primary); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch input:disabled + .slider { background: var(--pi-primary); opacity: .6; cursor: not-allowed; }
.switch-locked { font-size: .76rem; color: var(--pi-muted); font-weight: 600; align-self: center; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,25,23,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1400;
  padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--pi-surface);
  border-radius: var(--pi-radius-card);
  max-width: 440px;
  width: 100%;
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--pi-shadow-hover);
}
.modal-ic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(15,118,110,.12);
  color: var(--pi-primary);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}
.modal-ic .icon { width: 28px; height: 28px; }
.modal h3 { margin-bottom: 8px; }
.modal p { color: var(--pi-muted); margin-bottom: 22px; }

.list-intro { margin-bottom: 8px; }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.4rem; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .mission { grid-template-columns: 1fr; }
  .mission-media { min-height: 240px; }
  .contact-split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  .hero h1 { font-size: 2.1rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .glossary-grid { grid-template-columns: 1fr; }
  .contact-info-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .nav-center, .nav-cta .btn-text-hide { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-center.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--pi-surface);
    border-bottom: 1px solid var(--pi-border);
    padding: 12px 20px 18px;
    gap: 2px;
    box-shadow: var(--pi-shadow-hover);
    margin: 0;
  }
  .nav-center.mobile-open a, .nav-center.mobile-open .nav-dropdown > button { width: 100%; text-align: left; }
  .nav-dropdown-menu { position: static; box-shadow: none; border: none; padding: 0 0 0 14px; min-width: auto; }
  .nav-dropdown-menu.open { display: flex; }
  .article { padding: 26px 20px; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext .next { text-align: left; }
  .section { padding: 52px 0; }
  .mission-body, .cta-band, .contact-form-wrap, .contact-map-wrap { padding: 30px 22px; }
  .map-frame, .map-embed { min-height: 280px; }
  .hero { min-height: 520px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .card:hover, .pillar:hover { transform: none; }
}
