:root {
  --navy: #0b1b34;
  --navy-2: #122544;
  --navy-3: #1a3358;
  --white: #ffffff;
  --lime: #c9e265;
  --lime-soft: rgba(201, 226, 101, 0.16);
  --paper: #f7f8fa;
  --cream: #f4f1ea;
  --orange: #f5a623;
  --orange-2: #f58b23;
  --indigo: #6c5ce7;
  --indigo-soft: #efeaff;
  --green: #2e9b4f;
  --green-deep: #237a3e;
  --ink: #1b1f2a;
  --sky: #5b8def;
  --line: #e4e7ec;
  --muted: #5c6570;
  --shadow: 0 18px 50px rgba(11, 27, 52, 0.12);
  --radius: 18px;
  --header: 76px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

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

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

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

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--lime);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 80;
}

.skip:focus {
  top: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(11, 27, 52, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  min-width: 180px;
}

.brand img,
.brand svg {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
}

.brand-copy strong {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.brand-copy span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

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

.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 10px 12px;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--white);
}

.nav a.is-active {
  color: var(--white);
  border-bottom-color: var(--lime);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(108, 92, 231, 0.18), transparent 28%),
    radial-gradient(circle at 15% 80%, rgba(46, 155, 79, 0.12), transparent 32%),
    linear-gradient(160deg, var(--navy) 0%, #091525 58%, #132c4f 100%);
  color: var(--white);
  padding: 72px 0 88px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.hero-kicker {
  margin: 0 0 22px;
  color: var(--lime);
  font-size: 18px;
  font-weight: 500;
}

.creds {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.82);
}

.creds li {
  margin-bottom: 6px;
}

.creds strong {
  color: var(--white);
  font-weight: 600;
}

.quote {
  margin: 0;
  padding: 6px 0 6px 18px;
  border-left: 3px solid var(--orange);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.45;
}

.quote span {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-style: normal;
  color: var(--lime);
  letter-spacing: 0.02em;
}

.hero-panel {
  position: relative;
  background: linear-gradient(180deg, #fffdf8 0%, #f3eee4 100%);
  border-radius: 28px;
  min-height: 420px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  display: grid;
  place-items: center;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.hero-panel::before {
  width: 90px;
  height: 90px;
  right: 24px;
  top: 24px;
  background: radial-gradient(circle at 30% 30%, #9fdf8a, #2e9b4f);
  opacity: 0.35;
}

.hero-panel::after {
  width: 18px;
  height: 140px;
  left: 22px;
  bottom: 28px;
  background: linear-gradient(#8b5a2b, #c08a4a 40%, #5c3a1e);
  border-radius: 4px;
  box-shadow: 22px 0 0 #4a5d8a, 44px 10px 0 #8a3a3a;
}

.hero-brand {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  background: var(--white);
  border-radius: 22px;
  padding: 36px 40px;
  box-shadow: var(--shadow);
}

.hero-brand img {
  width: 100%;
  height: auto;
  max-height: 280px;
  margin: 0 auto;
  object-fit: contain;
}

.section {
  padding: 88px 0;
}

.section.paper {
  background: var(--paper);
}

.section-title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 600;
  text-align: center;
}

.section-lead {
  margin: 0 auto 42px;
  max-width: 680px;
  text-align: center;
  color: var(--muted);
}

.triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.triad article {
  padding: 8px 28px;
  text-align: center;
}

.triad article + article {
  border-left: 1px solid var(--line);
}

.icon-orb {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.icon-orb svg {
  width: 28px;
  height: 28px;
}

.orb-orange { background: #fff3de; color: var(--orange); }
.orb-indigo { background: var(--indigo-soft); color: var(--indigo); }
.orb-green { background: #e6f6eb; color: var(--green); }
.orb-sky { background: #e8f0ff; color: var(--sky); }
.orb-ink { background: #eceef2; color: var(--ink); }

.triad h3,
.card h3,
.inst-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.triad p,
.card p,
.dark-card p,
.inst-card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 520px;
}

.light-pane,
.dark-pane {
  padding: 72px 48px;
}

.light-pane {
  background: var(--paper);
}

.dark-pane {
  background: var(--navy);
  color: var(--white);
}

.pane-title {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
}

.cards-3 {
  display: grid;
  gap: 16px;
}

.card,
.resource-card,
.dark-card,
.enfoque-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.resource-card:hover,
.dark-card:hover,
.enfoque-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.card svg {
  width: 28px;
  height: 28px;
  color: var(--indigo);
}

.cards-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 14px;
}

.dark-card {
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px 16px 22px;
  min-height: 220px;
}

.dark-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--white);
}

.dark-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.institutions {
  background: var(--white);
}

.inst-intro {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 40px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
}

.inst-intro .btn {
  white-space: nowrap;
}

.inst-intro p {
  margin: 8px 0 0;
  color: var(--muted);
}

.inst-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.inst-card {
  padding: 8px 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(180deg, var(--orange), var(--orange-2));
  box-shadow: 0 10px 24px rgba(245, 139, 35, 0.28);
}

.btn-green {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 24px rgba(46, 155, 79, 0.22);
}

.btn-green:hover {
  background: var(--green-deep);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}

.contact {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.contact-box,
.wa-box {
  border-radius: 24px;
  padding: 36px;
}

.contact-box {
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.contact-list a,
.contact-list span {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 2px;
  background: transparent;
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--navy);
}

.form-status {
  margin: 12px 0 0;
  min-height: 1.4em;
  font-size: 14px;
}

.form-status.ok { color: var(--green); }
.form-status.err { color: #b42318; }

.wa-box {
  background: linear-gradient(180deg, #34a853, var(--green-deep));
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.wa-box h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 32px;
}

.wa-box .btn {
  margin-top: 22px;
  background: var(--white);
  color: var(--green-deep);
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.8fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-family: var(--serif);
  letter-spacing: 0.08em;
}

.site-footer .tag {
  color: var(--lime);
  font-size: 14px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
}

.copy {
  margin: 18px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 56px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 48px);
}

.page-hero p {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
}

.chip {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  color: var(--muted);
}

.chip.is-on,
.chip:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.resource-card .thumb {
  height: 140px;
  display: grid;
  place-items: center;
  color: var(--white);
}

.resource-card .body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--navy);
}

.resource-card h2 {
  margin: 0;
  font-size: 20px;
  font-family: var(--serif);
}

.resource-card a {
  color: var(--navy);
  font-weight: 600;
}

.prose h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
  margin: 8px 0 18px;
}

.resource-card .body p {
  color: var(--muted);
  flex: 1;
}

.laws {
  display: grid;
  gap: 12px;
}

.law {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.law button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 20px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.law h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.law .meta {
  color: var(--muted);
  font-size: 14px;
}

.law-panel {
  display: none;
  padding: 0 22px 22px;
  color: var(--muted);
}

.law.is-open .law-panel {
  display: block;
}

.disclaimer {
  margin-top: 36px;
  padding: 18px 20px;
  background: #fff8e8;
  border-left: 4px solid var(--orange);
  color: #6b5420;
  border-radius: 8px;
}

.cta-band {
  margin-top: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: 22px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 36px 0 12px;
}

.prose p,
.prose li {
  color: #3d4450;
}

.enfoque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.enfoque-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.timeline article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 360px);
  background: var(--navy);
  color: var(--white);
  transform: translateX(110%);
  transition: transform 0.28s ease;
  z-index: 70;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer.is-open {
  transform: none;
}

.drawer a {
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 24, 0.46);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 60;
}

.backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.float-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
}

@media (max-width: 1024px) {
  .cards-5,
  .inst-grid,
  .resource-grid,
  .enfoque-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .inst-intro,
  .split,
  .hero-grid,
  .contact-grid,
  .footer-grid,
  .cta-band,
  .timeline article {
    grid-template-columns: 1fr;
  }

  .light-pane,
  .dark-pane {
    padding: 48px 28px;
  }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .site-header:not(:has(.menu-btn)) .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .site-header:not(:has(.menu-btn)) .nav a {
    font-size: 12px;
    padding: 8px;
  }
  .triad { grid-template-columns: 1fr; }
  .triad article + article { border-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .form-grid,
  .cards-5,
  .inst-grid,
  .resource-grid,
  .enfoque-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding: 48px 0 56px; }
  .section { padding: 64px 0; }
}

@media print {
  .site-header,
  .site-footer,
  .float-wa,
  .menu-btn,
  .btn { display: none !important; }
  body { background: white; }
}
