:root {
    --indigo: #2f2f72;
    --indigo-dark: #25255d;
    --cyan: #27dce8;
    --ink: #242848;
    --muted: #63677c;
    --paper: #f6f7fb;
    --white: #fff;
    --line: rgba(37, 37, 93, .14);
    --radius: 22px;
    --shadow: 0 22px 60px rgba(27, 31, 75, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Roboto, Arial, sans-serif; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 104px 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Questrial, Roboto, sans-serif; font-weight: 400; }
h2 { margin-bottom: 28px; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.03; letter-spacing: -.035em; }
p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.eyebrow { margin-bottom: 18px; color: var(--cyan); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.dark { color: var(--indigo); }

.site-header { position: absolute; z-index: 10; top: 0; left: 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.18); color: white; }
.header-inner { display: flex; min-height: 104px; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 220px; max-height: 92px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a:not(.button) { position: relative; text-decoration: none; font-size: .92rem; }
.main-nav > a:not(.button)::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; background: var(--cyan); content: ''; transform: scaleX(0); transition: transform .2s; }
.main-nav > a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px auto; background: #fff; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: .92rem; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-outline { border-color: rgba(255,255,255,.75); color: #fff; }
.button-outline:hover, .button-light { color: var(--indigo); background: #fff; }
.button-cyan { color: var(--indigo-dark); background: var(--cyan); }
.button-light { border-color: white; }
.button-dark { color: white; background: var(--indigo-dark); }
.button-outline-dark { border-color: var(--indigo-dark); color: var(--indigo-dark); }

.hero { position: relative; min-height: 760px; overflow: hidden; color: white; background: var(--indigo); }
.hero::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(38,38,95,1) 0%, rgba(38,38,95,.96) 41%, rgba(38,38,95,.55) 67%, rgba(38,38,95,.25)); content: ''; }
.hero-image { position: absolute; inset: 0 0 0 38%; background: url('../images/impulso/hero.avif') center/cover no-repeat; }
.hero-content { position: relative; z-index: 2; display: flex; min-height: 760px; padding-top: 145px; padding-bottom: 55px; flex-direction: column; align-items: flex-start; justify-content: center; }
.hero h1 { max-width: 740px; margin-bottom: 28px; font-size: clamp(4rem, 7.3vw, 7.1rem); line-height: .88; letter-spacing: -.055em; }
.hero h1 span { color: var(--cyan); }
.hero-lead { max-width: 650px; margin-bottom: 32px; color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 48px; }
.institution-logos { width: min(510px, 78vw); max-height: 56px; object-fit: contain; object-position: left center; }

.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.intro-copy > p:not(.eyebrow) { max-width: 580px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--indigo); font-weight: 700; text-decoration: none; }
.text-link span { font-size: 1.4rem; transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }
.intro-visual { position: relative; padding: 0 0 60px 60px; }
.intro-visual > img { width: 100%; height: 560px; border-radius: var(--radius); object-fit: cover; object-position: 50% 38%; box-shadow: var(--shadow); }
.stats-card { position: absolute; z-index: 2; bottom: 0; left: 0; width: min(410px, 82%); padding: 29px 32px; border-radius: 18px; color: var(--indigo-dark); background: var(--cyan); box-shadow: var(--shadow); }
.stats-card > div { display: grid; grid-template-columns: 95px 1fr; align-items: center; padding: 13px 0; border-bottom: 1px solid rgba(37,37,93,.17); }
.stats-card > div:last-child { border: 0; }
.stats-card strong { font-family: Questrial, sans-serif; font-size: 2rem; }
.stats-card span { font-size: .9rem; }

.statement { color: white; background: var(--indigo); }
.statement-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 95px; align-items: end; }
.statement h2 { margin: 0; color: white; }
.statement p { color: rgba(255,255,255,.75); }
.statement p:last-child { margin-bottom: 0; }

.eligibility { background: #fff; }
.eligibility > .shell > h2 { max-width: 720px; }
.eligibility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 55px; }
.eligibility article { padding: 35px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.eligibility article > span { display: block; margin-bottom: 45px; color: var(--cyan); font-family: Questrial, sans-serif; font-size: 2.2rem; }
.eligibility h3 { margin-bottom: 13px; font-size: 1.45rem; }
.eligibility p { margin: 0; font-size: .96rem; }

.benefits { color: white; background: var(--indigo-dark); }
.benefits h2 { max-width: 820px; color: white; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 55px; }
.benefit-card { min-height: 320px; padding: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.055); transition: background .2s, transform .2s; }
.benefit-card:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.benefit-top { display: flex; min-height: 85px; align-items: flex-start; justify-content: space-between; color: var(--cyan); font-family: Questrial, sans-serif; font-size: 1.5rem; }
.benefit-top img { width: 68px; height: 68px; object-fit: contain; filter: brightness(0) invert(1); }
.benefit-card h3 { margin-bottom: 15px; color: white; font-size: 1.55rem; line-height: 1.18; }
.benefit-card p { margin: 0; color: rgba(255,255,255,.67); font-size: .94rem; line-height: 1.55; }

.final-cta { padding: 70px 0; background: var(--paper); }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: 58px 64px; border-radius: var(--radius); background: var(--cyan); }
.cta-box h2 { max-width: 700px; margin: 0; font-size: clamp(2rem, 3.3vw, 3.4rem); }
.cta-box .eyebrow { color: var(--indigo); }
.cta-actions { display: flex; min-width: 225px; flex-direction: column; gap: 12px; }

.site-footer { padding: 75px 0 24px; color: white; background: #17183f; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: start; }
.footer-logo { width: 170px; margin-bottom: 22px; }
.footer-grid p { max-width: 480px; color: rgba(255,255,255,.6); font-size: .95rem; }
.footer-contact h2 { margin-bottom: 15px; font-size: 1.25rem; }
.footer-contact > a { color: white; text-decoration: none; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.socials img { width: 18px; height: 18px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.45); font-size: .78rem; }

@media (max-width: 960px) {
    .menu-toggle { position: relative; z-index: 12; display: block; }
    .main-nav { position: fixed; z-index: 11; inset: 0; display: flex; padding: 110px 28px 40px; flex-direction: column; align-items: stretch; gap: 12px; background: var(--indigo-dark); transform: translateX(100%); transition: transform .25s ease; }
    .main-nav.is-open { transform: translateX(0); }
    .main-nav > a:not(.button) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.13); font-size: 1.15rem; }
    .main-nav .button { margin-top: 15px; }
    .intro-grid, .statement-grid { grid-template-columns: 1fr; gap: 55px; }
    .statement-grid { align-items: start; }
    .eligibility-grid, .benefit-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-box { align-items: flex-start; flex-direction: column; }
    .cta-actions { width: 100%; flex-direction: row; }
    .cta-actions .button { flex: 1; }
}

@media (max-width: 640px) {
    .shell { width: min(100% - 32px, 1180px); }
    .section { padding: 72px 0; }
    .header-inner { min-height: 88px; }
    .brand img { width: 175px; max-height: 78px; }
    .hero, .hero-content { min-height: 700px; }
    .hero::before { background: linear-gradient(180deg, rgba(38,38,95,.76), rgba(38,38,95,.98) 48%, rgba(38,38,95,1)); }
    .hero-image { inset: 0 0 42%; opacity: .75; }
    .hero-content { justify-content: flex-end; padding-top: 110px; padding-bottom: 38px; }
    .hero h1 { margin-bottom: 20px; font-size: clamp(3.4rem, 17vw, 5rem); }
    .hero-lead { margin-bottom: 24px; font-size: 1rem; }
    .hero-actions { width: 100%; margin-bottom: 30px; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .institution-logos { width: 100%; }
    h2 { font-size: 2.45rem; }
    .intro-grid { gap: 45px; }
    .intro-visual { padding: 0 0 185px; }
    .intro-visual > img { height: 420px; }
    .stats-card { right: 12px; bottom: 0; left: 12px; width: auto; padding: 17px 24px; }
    .stats-card > div { grid-template-columns: 82px 1fr; padding: 8px 0; }
    .stats-card strong { font-size: 1.65rem; }
    .eligibility-grid, .benefit-grid { grid-template-columns: 1fr; }
    .eligibility-grid, .benefit-grid { margin-top: 38px; }
    .eligibility article { padding: 28px; }
    .eligibility article > span { margin-bottom: 25px; }
    .benefit-card { min-height: 0; }
    .cta-box { padding: 38px 26px; gap: 32px; }
    .cta-actions { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 38px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
