@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root{--blue:#20357e;--dark:#162c63;--lime:#b9c51d;--green:#789b12;--muted:#59677f;--light:#f2f6fb}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:16px/1.65 'DM Sans',Arial,sans-serif;color:#263752;background:white}a{color:var(--blue)}a:focus-visible,button:focus-visible{outline:3px solid var(--lime);outline-offset:3px}.container{width:min(1160px,calc(100% - 40px));margin:auto}.site-header{background:white;box-shadow:0 1px 12px #1b37600e;position:relative;z-index:10}.nav{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand img{width:244px;max-width:40vw;height:auto;display:block}.menu{display:flex;align-items:center;gap:32px}.menu a{text-decoration:none;font-weight:700;color:var(--dark);white-space:nowrap}.menu a:hover,.menu a[aria-current=page]{color:var(--green)}.social{display:flex;gap:12px}.social a{font-weight:800;text-decoration:none;border:1px solid #d5dff0;border-radius:7px;padding:3px 9px}.menu-toggle{display:none;background:white;border:1px solid #ccd6e5;border-radius:7px;padding:7px 12px;font-size:23px;color:var(--blue)}.hero{background:linear-gradient(90deg,#fff 0%,#fff 36%,#ffffffdf 51%,#ffffff00 74%),url('../img/educacion-ekuitas.webp') right center/auto 100% no-repeat,#f8f9f5;min-height:420px;display:flex;align-items:center}.hero .container{padding:54px 0}.hero-copy{max-width:625px}.eyebrow{color:var(--green);font-weight:800;letter-spacing:.09em;text-transform:uppercase;font-size:.82rem}h1{font-size:clamp(2.4rem,4.6vw,4.3rem);line-height:1.12;letter-spacing:-.04em;color:var(--dark);margin:12px 0 22px}h1 span{color:var(--green)}h2{font-size:clamp(1.7rem,3vw,2.35rem);line-height:1.2;color:var(--dark);letter-spacing:-.02em;margin:0 0 18px}h3{font-size:1.16rem;color:var(--dark);margin:0 0 8px}.hero p{font-size:1.14rem;max-width:535px}.btn{display:inline-block;background:var(--blue);color:white;border:0;border-radius:30px;padding:12px 24px;font:700 1rem 'DM Sans',Arial,sans-serif;text-decoration:none;cursor:pointer}.btn:hover{background:#10245c}.btn.outline{color:var(--blue);background:white;border:1px solid var(--blue)}.section{padding:70px 0}.section.alt{background:var(--light)}.intro{max-width:760px;margin:0 auto 38px;text-align:center}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.feature,.institution{padding:28px 24px;border:1px solid #e1e8f0;border-radius:14px;background:white}.feature .symbol{font-size:2rem;color:var(--green);line-height:1.2;margin-bottom:14px}.feature p,.institution p{margin:0;color:var(--muted)}.institution{border-top:4px solid var(--lime)}.institution .symbol{color:var(--green);font-size:1.7rem;margin-bottom:8px}.cta{background:var(--dark);color:white;padding:50px 0;text-align:center}.cta h2{color:white}.cta p{max-width:720px;margin:0 auto 25px}.site-footer{background:#172d5d;color:white;padding:32px 0}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:25px;flex-wrap:wrap}.site-footer a{color:white}.footer-links{display:flex;gap:16px;flex-wrap:wrap}.page-hero{background:var(--light);padding:65px 0}.page-hero h1{font-size:clamp(2rem,4vw,3.3rem);margin:0 0 10px}.page-hero p{max-width:780px;font-size:1.1rem}.content{max-width:850px}.content h2{margin-top:32px}.content p,.content li{color:#42536c}.note{background:#fff8e9;border-left:4px solid #c48c28;padding:14px 20px;border-radius:5px}.cookie-banner{position:fixed;bottom:16px;left:16px;right:16px;z-index:50;display:flex;gap:20px;align-items:center;justify-content:space-between;background:white;box-shadow:0 10px 40px #091a4250;border:1px solid #d4deeb;border-radius:15px;padding:20px 25px;max-width:1250px;margin:auto}.cookie-banner[hidden]{display:none}.cookie-banner p{margin:3px 0 0;font-size:.9rem}.cookie-actions{display:flex;gap:10px;flex-shrink:0}.cookie-actions .btn{font-size:.9rem;padding:10px 19px}.small{font-size:.9rem;color:var(--muted)}.contact-options{display:flex;gap:20px;flex-wrap:wrap}.contact-options a{font-weight:700}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:850px){.nav{min-height:75px}.menu-toggle{display:block}.menu{display:none;position:absolute;left:0;right:0;top:100%;padding:20px;background:white;box-shadow:0 10px 15px #11234b15;flex-direction:column;align-items:stretch;gap:15px}.menu.open{display:flex}.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{background:linear-gradient(90deg,#fffffff5,#ffffffc4),url('../img/educacion-ekuitas.webp') right center/cover no-repeat}.hero .container{padding:65px 0}.cookie-banner{flex-direction:column;align-items:stretch}}@media(max-width:580px){.grid,.grid.four{grid-template-columns:1fr}.brand img{width:200px;max-width:65vw}.section{padding:48px 0}.cookie-actions{flex-wrap:wrap}.cookie-actions .btn{flex:1}.hero{min-height:400px}.hero p{font-size:1rem}.footer-inner{align-items:flex-start;flex-direction:column}}
/* Ekuitas 1.1: slideshow and contact form */
.hero{position:relative;isolation:isolate;background:#f8f9f5;overflow:hidden}.hero:before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(90deg,#fff 0%,#fff 33%,#ffffffdd 52%,#ffffff00 83%),var(--slide-image,url('../img/educacion-ekuitas.webp'));background-position:center,right center;background-size:cover,cover;background-repeat:no-repeat;transition:opacity .35s}.hero-slideshow-controls{display:flex;gap:10px;margin-top:22px}.slide-dot{width:13px;height:13px;border-radius:50%;background:#cbd6e2;border:2px solid var(--blue);cursor:pointer;padding:0}.slide-dot.active{background:var(--green);border-color:var(--green)}.home-social-links{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:24px}.home-social-links a{color:white;font-weight:700;border:1px solid #ffffff88;padding:7px 18px;border-radius:25px}.contact-form{display:grid;gap:10px;max-width:680px;padding:26px;background:#f7f9fc;border:1px solid #dce5ef;border-radius:16px}.contact-form label{font-weight:700;color:var(--dark)}.contact-form input,.contact-form textarea{font:inherit;width:100%;border:1px solid #b7c5d5;border-radius:8px;padding:11px 13px;background:white}.contact-form :is(input,textarea):focus{outline:2px solid var(--green);outline-offset:1px}.contact-form .btn{justify-self:start}.form-privacy{font-size:.9rem}.trap{position:absolute!important;left:-99999px!important;height:1px;overflow:hidden}#form-feedback{font-weight:700}#form-feedback.error{color:#a02020}#form-feedback.success{color:#166a38}@media(prefers-reduced-motion:reduce){.hero:before{transition:none}}

/* Ekuitas 1.3 — galería principal */
.hero{position:relative;isolation:isolate;background:#f8f9f5;overflow:hidden}
.hero-slides{position:absolute;inset:0;z-index:-1;pointer-events:none}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .8s ease-in-out;background-position:right center;background-size:auto 100%;background-repeat:no-repeat;will-change:opacity}
.hero-slide.is-active{opacity:1}
.hero::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,#fff 0%,#fff 36%,#ffffffed 51%,#ffffff00 80%)}
.hero>.container{position:relative;z-index:1}
@media(max-width:760px){.hero-slide{background-position:center center;background-size:cover}.hero::before{background:linear-gradient(90deg,#fffffff5,#ffffffcf)}}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none}}

/* Ekuitas 1.4: fotografías un 15% más oscuras y logotipos oficiales */
.hero-slide{filter:brightness(.85)}
.social,.home-social-links{align-items:center;gap:18px}
.social a,.home-social-links a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:48px;padding:8px;border:0;border-radius:8px;background:#fff;text-decoration:none}
.social-logo{display:block;width:32px;height:32px;object-fit:contain}
.social-logo--youtube{width:112px;height:auto}
.home-social-links a{padding:10px 14px}
.home-social-links .social-logo{width:36px;height:36px}
.home-social-links .social-logo--youtube{width:128px;height:auto}
.social a:hover,.home-social-links a:hover{box-shadow:0 0 0 2px var(--lime)}
/* Ekuitas 1.5: redes sociales compactas en celulares */
@media(max-width:580px){
  .home-social-links{gap:10px}
  .home-social-links a{min-width:44px;min-height:44px;padding:6px 8px}
  .home-social-links .social-logo{width:24px;height:24px;max-width:100%;object-fit:contain}
  .home-social-links .social-logo--youtube{width:86px;height:auto}
}