:root {
  --ink: #17214c;
  --ink-soft: #536078;
  --primary: #3157ff;
  --primary-dark: #2444d4;
  --purple: #7047eb;
  --coral: #ff775f;
  --yellow: #ffc857;
  --cream: #fff8f1;
  --lavender: #f3f5ff;
  --white: #ffffff;
  --line: #e6e9f5;
  --success: #24a66a;
  --shadow-sm: 0 12px 35px rgba(23, 33, 76, .08);
  --shadow-lg: 0 30px 80px rgba(23, 33, 76, .14);
  --radius-sm: 16px;
  --radius-md: 26px;
  --radius-lg: 40px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(49, 87, 255, .18); }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  background: var(--ink); color: white; padding: 12px 16px; border-radius: 12px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section-pad { padding: 110px 0; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: rgba(255,255,255,.82); backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent; transition: .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(23,33,76,.05); }
.nav-wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand img { width: 218px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 700; }
.main-nav a { position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--primary); transition: width .2s ease; }
.main-nav a:hover::after { width: 100%; }
.nav-cta { background: var(--ink); color: white; padding: 12px 20px; border-radius: 999px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: var(--lavender); padding: 11px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 999px; transition: .2s ease; }

.hero { position: relative; min-height: 820px; padding-top: 170px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 48px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 3px; border-radius: 999px; background: currentColor; }
.hero h1, .section-heading h2, .join h2, .contact h2 { margin: 22px 0; letter-spacing: -.045em; line-height: 1.04; }
.hero h1 { font-size: clamp(48px, 6vw, 80px); max-width: 760px; }
.hero h1 em { display: block; font-style: normal; color: var(--primary); }
.hero-lead { color: var(--ink-soft); font-size: 19px; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border: 0; border-radius: 16px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 14px 28px rgba(49,87,255,.24); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 18px 34px rgba(49,87,255,.30); }
.btn-ghost { background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-light { background: white; color: var(--primary); }
.full { width: 100%; }
.hero-trust { display: flex; align-items: center; gap: 13px; color: var(--ink-soft); font-size: 13px; }
.hero-trust strong, .hero-trust span { display: block; }
.hero-trust strong { color: var(--ink); font-size: 14px; }
.trust-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--success); background: rgba(36,166,106,.1); font-weight: 900; }
.hero-visual { position: relative; z-index: 2; min-width: 0; }
.hero-art-frame { position: relative; isolation: isolate; width: min(100%, 690px); margin-inline: auto; }
.hero-art-frame::before { content: ""; position: absolute; z-index: -1; inset: 10% 6% 9%; border-radius: 42% 58% 54% 46% / 48% 42% 58% 52%; background: linear-gradient(145deg, rgba(49,87,255,.09), rgba(255,200,87,.12) 55%, rgba(255,119,95,.10)); filter: blur(4px); }
.hero-art-frame picture { display: block; }
.hero-art-frame img { width: 100%; height: auto; filter: drop-shadow(0 28px 45px rgba(23,33,76,.10)); transform: translateZ(0); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.glow-one { width: 420px; height: 420px; background: rgba(49,87,255,.08); left: -180px; top: 100px; }
.glow-two { width: 330px; height: 330px; background: rgba(255,119,95,.09); right: -100px; bottom: 20px; }

.purpose-strip { position: relative; z-index: 3; margin-top: -34px; }
.purpose-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); color: white; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.purpose-grid div { display: flex; align-items: center; gap: 16px; padding: 29px 32px; border-right: 1px solid rgba(255,255,255,.12); }
.purpose-grid div:last-child { border: 0; }
.purpose-grid span { color: var(--yellow); font-size: 13px; font-weight: 900; }
.purpose-grid strong { font-size: 16px; }

.about { background: linear-gradient(180deg, white 0%, #fbfbff 100%); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.section-heading h2, .join h2, .contact h2 { font-size: clamp(38px, 4.4vw, 60px); }
.about-copy { color: var(--ink-soft); font-size: 18px; }
.about-copy p { margin: 0 0 22px; }
.about-copy strong { color: var(--ink); }
.legal-note { display: flex; gap: 14px; margin-top: 34px; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); font-size: 13px; }
.legal-note > span { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--lavender); color: var(--primary); font-weight: 900; }
.legal-note p { margin: 0; }


.programs { background: #fff; }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.program-card { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 12px 40px rgba(23,33,76,.055); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.program-card:hover { transform: translateY(-6px); border-color: rgba(49,87,255,.24); box-shadow: var(--shadow-lg); }
.program-card-featured { grid-column: span 2; display: grid; grid-template-columns: 110px 1fr; gap: 26px; align-items: start; background: linear-gradient(135deg, #f3f5ff 0%, #fff 58%, #fff8f1 100%); border-color: rgba(49,87,255,.15); }
.program-badge { position: absolute; top: 22px; right: 22px; padding: 7px 11px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.program-icon { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 22px; background: var(--primary); color: #fff; font-weight: 950; font-size: 22px; box-shadow: 0 14px 28px rgba(49,87,255,.20); }
.program-kicker { display: inline-block; margin-bottom: 8px; color: var(--primary); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .10em; }
.program-card h3 { margin: 0 0 12px; font-size: 26px; line-height: 1.15; letter-spacing: -.025em; }
.program-card p { flex: 1; margin: 0 0 20px; color: var(--ink-soft); font-size: 15px; }
.program-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.program-meta span { padding: 7px 10px; border-radius: 999px; background: rgba(49,87,255,.08); color: var(--primary); font-size: 11px; font-weight: 800; }
.program-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 0; border: 0; background: transparent; color: var(--primary); font-weight: 850; text-align: left; }
.program-link:hover { color: var(--primary-dark); }
.program-note { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-top: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--lavender); }
.program-note-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--primary); color: #fff; font-size: 24px; font-weight: 900; }
.program-note strong, .program-note span { display: block; }
.program-note span { margin-top: 3px; color: var(--ink-soft); font-size: 13px; }
.btn-small { min-height: 46px; padding-inline: 18px; }
.icon-green { color: #168d5b; background: rgba(36,166,106,.11); }

.actions { background: var(--lavender); }
.section-heading.center { max-width: 840px; margin: 0 auto 52px; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading.center p { max-width: 680px; margin: 0 auto; color: var(--ink-soft); }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 360px; background: white; border: 1px solid rgba(49,87,255,.08); border-radius: 26px; padding: 28px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.service-number { position: absolute; top: 20px; right: 24px; color: #bdc4db; font-size: 12px; font-weight: 900; }
.service-icon { width: 58px; height: 58px; border-radius: 19px; display: grid; place-items: center; margin-bottom: 34px; font-size: 22px; font-weight: 900; }
.icon-blue { color: var(--primary); background: rgba(49,87,255,.10); }
.icon-coral { color: var(--coral); background: rgba(255,119,95,.11); }
.icon-yellow { color: #a66e00; background: rgba(255,200,87,.22); }
.icon-purple { color: var(--purple); background: rgba(112,71,235,.11); }
.service-card h3 { font-size: 23px; line-height: 1.2; margin: 0 0 15px; }
.service-card p { color: var(--ink-soft); font-size: 15px; }
.service-tag { position: absolute; left: 28px; bottom: 26px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); }

.manifesto { padding-top: 70px; padding-bottom: 70px; }
.manifesto-card { position: relative; overflow: hidden; text-align: center; background: var(--cream); border-radius: var(--radius-lg); padding: 72px 80px; }
.manifesto-card::after { content: ""; position: absolute; width: 210px; height: 210px; right: -60px; bottom: -95px; background: var(--yellow); border-radius: 50%; opacity: .25; }
.manifesto-card p { position: relative; z-index: 2; max-width: 880px; margin: 0 auto 18px; font-size: clamp(28px, 3.5vw, 48px); font-weight: 800; line-height: 1.18; letter-spacing: -.03em; }
.manifesto-card span { position: relative; z-index: 2; color: var(--ink-soft); font-weight: 700; }
.manifesto-mark { position: absolute; top: -20px; left: 45px; color: var(--coral); font-size: 170px; font-family: Georgia, serif; line-height: 1; opacity: .20; }

.join { background: var(--primary); color: white; overflow: hidden; }
.join-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: center; }
.eyebrow.light { color: var(--yellow); }
.join-copy p { color: rgba(255,255,255,.76); font-size: 18px; max-width: 640px; margin-bottom: 30px; }
.join-options { display: grid; gap: 14px; }
.join-option { display: flex; align-items: flex-start; gap: 20px; padding: 23px; border-radius: 21px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); }
.join-option > span { flex: 0 0 40px; height: 40px; display: grid; place-items: center; background: rgba(255,255,255,.12); border-radius: 12px; color: var(--yellow); font-size: 12px; font-weight: 900; }
.join-option strong, .join-option small { display: block; }
.join-option strong { font-size: 17px; }
.join-option small { margin-top: 3px; color: rgba(255,255,255,.68); }

.contact { background: #fbfbff; }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: center; }
.contact-copy > p { color: var(--ink-soft); font-size: 18px; max-width: 520px; }
.contact-list { display: grid; gap: 12px; margin-top: 34px; }
.contact-list > a, .contact-list > div { display: flex; align-items: center; gap: 14px; }
.contact-list > a > span, .contact-list > div > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: white; border: 1px solid var(--line); color: var(--primary); font-weight: 900; }
.contact-list small, .contact-list strong { display: block; }
.contact-list small { color: var(--ink-soft); }
.contact-list strong { font-size: 15px; }
.contact-form { background: white; border: 1px solid var(--line); border-radius: 28px; padding: 32px; box-shadow: var(--shadow-lg); }
.form-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; font-weight: 900; font-size: 21px; }
.status-dot { display: flex; align-items: center; gap: 7px; color: var(--success); font-size: 12px; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(36,166,106,.1); }
.contact-form label { display: grid; gap: 8px; margin-bottom: 16px; font-size: 13px; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #fbfbff; color: var(--ink); padding: 14px 15px; outline: none; transition: .2s ease; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(49,87,255,.10); background: white; }
.form-note { margin: 12px 0 0; color: var(--ink-soft); font-size: 11px; text-align: center; }

.site-footer { background: var(--ink); color: white; padding: 66px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .65fr .65fr; gap: 70px; padding-bottom: 45px; }
.footer-brand img { width: 230px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { max-width: 340px; color: rgba(255,255,255,.62); }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links strong { margin-bottom: 6px; }
.footer-links a { color: rgba(255,255,255,.62); font-size: 14px; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: 12px; }


.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 950; display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px; border-radius: 999px; background: #16a765; color: #fff; box-shadow: 0 16px 38px rgba(22,167,101,.28); font-size: 14px; }
.whatsapp-float span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.17); }
.mobile-contact-bar { display: none; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 1200; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--ink); color: white; padding: 13px 18px; border-radius: 13px; box-shadow: var(--shadow-lg); transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .10s; }.delay-2 { transition-delay: .18s; }.delay-3 { transition-delay: .26s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
  .section-pad { padding: 86px 0; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; top: 84px; left: 20px; right: 20px; display: grid; gap: 4px; padding: 15px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); transform: translateY(-12px) scale(.98); opacity: 0; pointer-events: none; transition: .2s ease; }
  .main-nav.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 12px; }
  .main-nav a::after { display: none; }
  .nav-cta { text-align: center; margin-top: 5px; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 145px; min-height: auto; }
  .hero-grid, .about-grid, .join-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 28px; }
  .hero-copy { text-align: center; }
  .hero-lead, .hero-trust { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 720px; margin: 0 auto; }
  .hero-art-frame { width: min(100%, 700px); }
  .purpose-grid { grid-template-columns: 1fr; }
  .purpose-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .about-grid, .join-grid, .contact-grid { gap: 46px; }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-card-featured { grid-column: span 2; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; gap: 30px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section-pad { padding: 72px 0; }
  .nav-wrap { height: 72px; }
  .site-header .brand img { width: 184px; }
  .main-nav { top: 72px; }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: clamp(40px, 12.5vw, 58px); }
  .hero-art-frame { width: 108%; margin-left: -4%; }
  .hero-lead { font-size: 17px; }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .hero-trust { text-align: left; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card-featured { grid-column: auto; display: flex; gap: 0; }
  .program-card-featured .program-icon { margin-bottom: 24px; }
  .program-badge { top: 18px; right: 18px; font-size: 9px; }
  .program-note { grid-template-columns: auto 1fr; }
  .program-note .btn { grid-column: 1 / -1; }
  .purpose-strip { margin-top: -12px; }
  .purpose-grid div { padding: 22px; }
  .cards-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 315px; }
  .manifesto-card { padding: 60px 24px; }
  .join h2, .contact h2, .section-heading h2 { font-size: 39px; }
  .contact-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .whatsapp-float { display: none; }
  .mobile-contact-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; display: grid; grid-template-columns: .78fr 1.22fr; gap: 8px; padding: 9px 10px calc(9px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); border-top: 1px solid var(--line); backdrop-filter: blur(16px); }
  .mobile-contact-bar a { min-height: 48px; display: grid; place-items: center; border-radius: 14px; font-size: 13px; font-weight: 900; }
  .mobile-contact-bar a:first-child { background: var(--lavender); color: var(--primary); }
  .mobile-contact-bar a:last-child { background: #16a765; color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 390px) {
  .site-header .brand img { width: 168px; }
  .hero { padding-top: 108px; }
  .hero h1 { font-size: 39px; }
  .hero-lead { font-size: 16px; }
  .hero-trust { align-items: flex-start; }
  .section-heading h2, .join h2, .contact h2 { font-size: 35px; }
  .program-card { padding: 23px; }
  .program-card h3 { font-size: 24px; }
  .contact-list strong { overflow-wrap: anywhere; }
}
