*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
:root {
  --bg: #dddddd;
  --white: #ffffff;
  --navy: #222758;
  --purple: #9151DB;
  --purple-light: #b07de8;
  --purple-dim: rgba(145,81,219,0.10);
  --text: #222758;
  --text-light: #5a607a;
  --text-muted: #8890aa;
  --border: #c4c4cc;
  --card-shadow: 0 1px 4px rgba(0,0,0,0.09), 0 4px 16px rgba(0,0,0,0.06);
  --radius: 12px;
  --radius-lg: 16px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* GOV STRIPE */
.gov-stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--purple) 100%);
  flex-shrink: 0;
}

/* HEADER */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img { width: 100px; height: 34px; object-fit: contain; }

.site-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.main-nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--purple-dim); color: var(--purple); }
.main-nav a.active { background: var(--purple-dim); color: var(--purple); }
.nav-cta-btn {
  background: var(--purple);
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 100px !important;
  transition: background 0.18s !important;
}
.nav-cta-btn:hover { background: var(--purple-light) !important; }

/* MOBILE NAV */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  padding: 4px;
}
@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 16px;
    gap: 2px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  }
  .main-nav.open { display: flex; }
  .main-nav a { border-radius: 8px; }
  .nav-cta-btn { text-align: center; }
}

/* BREADCRUMB */
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}
.breadcrumb-inner a { color: var(--purple); text-decoration: none; font-weight: 700; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--border); }

/* PAGE HERO */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 48px 32px;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.62);
  max-width: 560px;
  line-height: 1.7;
}

/* MAIN CONTENT */
main { flex: 1; padding: 40px 32px; }
.content-inner { max-width: 1200px; margin: 0 auto; }

/* SECTION LABEL */
.section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* CARD GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .card-grid, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .card-grid, .card-grid-4, .card-grid-2 { grid-template-columns: 1fr; }
  main { padding: 28px 16px; }
  .page-hero { padding: 36px 20px; }
  .header-inner { padding: 0 20px; }
}

.humano-card {
  font-size: 27px;
  line-height: 1.2;
  text-align: center;
}

/* NAV CARD (hub cards) */
.nav-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--card-shadow);
  border: 1.5px solid transparent;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.nav-card:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(145,81,219,0.14);
}
.nav-card-icon {
  width: 44px; height: 44px;
  background: var(--purple-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.nav-card-icon svg {
  width: 22px; height: 22px;
  stroke: var(--purple);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.2px;
}
.nav-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}
.nav-card-arrow {
  position: absolute;
  top: 24px; right: 22px;
  color: var(--purple);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-card:hover .nav-card-arrow { opacity: 1; transform: translate(2px, -2px); }
.nav-card .badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
}
.badge-active { background: #dcfce7; color: #15803d; }
.badge-soon { background: #f3f4f6; color: var(--text-muted); }

/* INFO CARD */
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
  border-left: 4px solid var(--purple);
}
.info-card h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.info-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* STEP CARD */
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 16px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-content h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.step-content p { font-size: 13px; color: var(--text-light); line-height: 1.65; }

/* HIGHLIGHT CARD */
.highlight-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
}
.highlight-card h3 { font-size: 18px; font-weight: 900; margin-bottom: 10px; letter-spacing: -0.5px; }
.highlight-card p { font-size: 14px; color: rgba(255,255,255,0.62); line-height: 1.7; }

/* STAT CARD */
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--card-shadow);
  text-align: center;
}
.stat-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num span { color: var(--purple); }
.stat-label { font-size: 13px; color: var(--text-light); font-weight: 600; line-height: 1.5; }

/* CONTACT CARD */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.contact-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--purple-dim);
  display: flex; align-items: center; justify-content: center;
}
.contact-card-icon svg { width: 24px; height: 24px; stroke: var(--purple); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h3 { font-size: 15px; font-weight: 800; color: var(--navy); }
.contact-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.contact-card a.btn-contact {
  display: inline-block;
  margin-top: 4px;
  background: var(--purple);
  color: white;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.18s;
}
.contact-card a.btn-contact:hover { background: var(--purple-light); }

/* PROFILE CARD */
.profile-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
}
.profile-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.profile-avatar {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: white;
  flex-shrink: 0;
}
.profile-card h3 { font-size: 15px; font-weight: 800; color: var(--navy); }
.profile-card .profile-role { font-size: 12px; color: var(--text-muted); font-weight: 600; margin-top: 2px; }
.profile-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.profile-list li {
  font-size: 13px;
  color: var(--text-light);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.profile-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--purple);
}

/* SPACING UTIL */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* ALERT */
.info-alert {
  background: rgba(145,81,219,0.08);
  border: 1px solid rgba(145,81,219,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.6;
}
.info-alert strong { color: var(--purple); }

/* FULL-WIDTH CARD */
.full-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
}
.full-card h2 { font-size: 22px; font-weight: 900; color: var(--navy); letter-spacing: -0.8px; margin-bottom: 12px; }
.full-card p { font-size: 15px; color: var(--text-light); line-height: 1.75; max-width: 680px; }

/* FOOTER */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 40px 32px 32px;
  margin-top: auto;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-logo img { width: 100px; height: 34px; object-fit: contain; }
.footer-logo-text { font-size: 18px; font-weight: 800; color: white; letter-spacing: -0.3px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.42); padding-left: 44px; }
.footer-links-wrap { display: flex; gap: 48px; }
.footer-col h4 { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 12px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; font-weight: 600; transition: color 0.18s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1200px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links-wrap { flex-direction: column; gap: 24px; }
}

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }