:root{--purple:#6511a0;--dark:#381146;--lilac:#dcc8f5;--olive:#738c4c;--cream:#f8f4ef;--ink:#4b235e}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'Trebuchet MS',Arial,sans-serif;color:var(--ink);background:#fffafb}a{color:inherit}button{font:inherit;cursor:pointer}.header{height:88px;background:white;display:flex;align-items:center;justify-content:space-between;padding:10px max(5vw,20px);position:sticky;top:0;z-index:10;box-shadow:0 2px 18px #35124a0b}.brand img{width:57px;height:67px;object-fit:contain}.header nav{display:flex;gap:clamp(18px,4vw,65px)}nav a{text-decoration:none;font-weight:700;color:#5b2983;position:relative}nav a.active:after,nav a:hover:after{content:'';position:absolute;bottom:-8px;left:0;width:100%;height:3px;background:var(--olive)}.menu{display:none;background:transparent;border:0;color:var(--purple);font-weight:800}.wrap{max-width:1180px;margin:auto;padding:72px 26px}.hero{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center;min-height:520px}.eyebrow{color:var(--olive);font-weight:800;letter-spacing:.14em;text-transform:uppercase;font-size:13px}.hero h1{font-size:clamp(43px,6vw,83px);line-height:.98;letter-spacing:-.045em;color:var(--purple);margin:16px 0 26px}.hero p{font-size:19px;line-height:1.65;max-width:510px}.btn{display:inline-flex;align-items:center;gap:8px;border-radius:40px;padding:13px 24px;text-decoration:none;background:var(--olive);color:white;font-weight:800;border:2px solid var(--olive);transition:transform .2s,background .2s}.btn:hover{transform:translateY(-3px);background:#526e31}.btn.outline{background:transparent;color:var(--purple);border-color:var(--purple)}.hero-media{position:relative}.hero-media:before{content:'';position:absolute;inset:-25px -15px 30px 25px;background:var(--lilac);border-radius:42% 58% 57% 43%/42% 41% 59% 58%;transform:rotate(8deg)}.hero-media img{width:100%;height:420px;object-fit:cover;border-radius:40% 60% 55% 45%/48% 42% 58% 52%;position:relative;display:block}.decor{position:absolute;bottom:0;right:-12px;width:110px;height:110px;background:#c7d6b3;border-radius:60% 30% 60% 30%;opacity:.9}.stats{background:var(--lilac);display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:28px max(5vw,25px);text-align:center}.stat strong{display:block;color:var(--purple);font-size:38px}.stat span{font-size:14px;font-weight:700}.section-title{color:var(--purple);font-size:clamp(32px,4vw,52px);line-height:1.1;margin:0 0 22px}.intro{max-width:820px;font-size:17px;line-height:1.75}.feature{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.feature img{width:100%;height:350px;object-fit:cover;border-radius:45% 55% 55% 45%/55% 42% 58% 45%}.feature h2{font-size:45px;color:var(--purple)}.cards-section{background:var(--purple);padding:75px 0}.cards-section h2{color:white}.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.card{background:white;border-radius:25px;padding:16px;display:block;text-decoration:none;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-7px);box-shadow:0 16px 30px #220b3570}.card img{width:100%;height:245px;object-fit:cover;border-radius:17px}.card h3{color:var(--purple);font-size:23px;margin:16px 8px 8px}.card p{line-height:1.55;margin:8px;color:#5c4c61}.tag{display:inline-block;background:var(--lilac);color:var(--purple);padding:7px 15px;border-radius:30px;font-weight:800;font-size:12px;margin:10px 8px 0}.detail-hero{background:#fdf8fd}.detail-hero .hero{min-height:430px}.detail-hero h1{font-size:clamp(40px,5vw,66px)}.detail-copy{max-width:950px}.detail-copy p{line-height:1.85;font-size:17px}.pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:45px}.pillar{padding:20px 15px;text-align:center;border-right:1px solid #c9bdce}.pillar:last-child{border:0}.pillar .symbol{width:80px;height:80px;border-radius:42% 58% 35% 65%;background:var(--lilac);display:grid;place-items:center;font-size:38px;margin:0 auto 15px}.pillar h3{color:var(--purple);font-size:19px}.pillar p{line-height:1.6;font-size:14px}.team{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:30px}.person{text-align:center}.person img{width:100%;height:210px;object-fit:cover;border-radius:18px}.person strong{display:block;margin-top:12px;color:var(--purple)}.person small{display:block;margin-top:5px}.mission{display:grid;grid-template-columns:1fr 1fr;gap:20px}.mission article{border-radius:25px;padding:28px;background:var(--olive);color:white}.mission article:nth-child(2){background:var(--purple)}.mission h3{font-size:27px;margin:0 0 10px}.mission p{line-height:1.65}.footer{background:var(--purple);color:white;padding:50px 25px}.footwrap{max-width:1180px;margin:auto;display:flex;justify-content:space-between;gap:35px}.footlogo{display:flex;align-items:center;gap:15px}.footlogo img{width:75px;height:90px;object-fit:contain}.footlogo strong{font-size:32px;display:block}.footlogo small{letter-spacing:.07em}.footer h2{margin-top:0}.footer a{color:white}.back{display:inline-block;margin-bottom:24px;color:var(--purple);font-weight:700}.muted{color:#75687b}.notice{background:#f3e8fb;border-left:5px solid var(--olive);padding:20px;border-radius:12px}.reveal{animation:rise .5s both}@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media(max-width:760px){.header{height:75px}.brand img{width:46px;height:55px}.menu{display:block}.header nav{display:none;position:absolute;top:75px;left:0;right:0;background:white;padding:20px 26px;box-shadow:0 12px 20px #35124a19;flex-direction:column;gap:20px}.header nav.open{display:flex}.wrap{padding:48px 20px}.hero,.feature{grid-template-columns:1fr;gap:26px;min-height:unset}.hero h1{font-size:48px}.hero p{font-size:16px}.hero-media img{height:300px}.stats{grid-template-columns:repeat(2,1fr)}.stat strong{font-size:30px}.cards,.mission{grid-template-columns:1fr}.pillars{grid-template-columns:repeat(2,1fr)}.pillar:nth-child(2){border:0}.team{grid-template-columns:repeat(2,1fr)}.person img{height:180px}.footwrap{flex-direction:column}.feature img{height:280px}.detail-hero .hero{min-height:unset}}@media(max-width:410px){.pillars{grid-template-columns:1fr}.pillar{border:0;border-bottom:1px solid #d5c8d8}.hero h1{font-size:40px}}

/* Animaciones e iconografía editorial EEM */
@keyframes introTitle{from{opacity:0;transform:translateY(35px);filter:blur(7px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@keyframes breathe{0%,100%{border-radius:40% 60% 55% 45%/48% 42% 58% 52%}50%{border-radius:48% 52% 48% 52%/55% 50% 50% 45%}}
.hero-enter h1{animation:introTitle .9s cubic-bezier(.2,.8,.2,1) both}
.hero-enter .eyebrow{animation:introTitle .7s .12s both}
.hero-enter .btn{animation:introTitle .7s .35s both}
.hero-enter .hero-media{animation:introTitle 1s .22s both}
.hero-float{transform:translate(var(--mx,0),var(--my,0));transition:transform .45s ease}
.hero-media img{animation:breathe 9s ease-in-out infinite}
.scroll-reveal{opacity:0;transform:translateY(36px);transition:opacity .75s ease,transform .75s cubic-bezier(.2,.8,.2,1);transition-delay:var(--delay,0ms)}
.scroll-reveal.in-view{opacity:1;transform:translateY(0)}
.card{overflow:hidden;position:relative;transition:transform .35s,box-shadow .35s}
.card img{transition:transform .65s cubic-bezier(.2,.8,.2,1),filter .5s}
.card:hover img,.card:focus-visible img{transform:scale(1.055)}
.card:focus-visible,.btn:focus-visible,nav a:focus-visible{outline:3px solid var(--olive);outline-offset:4px}
.symbol{width:112px!important;height:112px!important;border-radius:45% 55% 63% 37%/48% 45% 55% 52%!important;background:#e5edcc!important;color:#567d21;transition:transform .35s,background .35s;position:relative}
.symbol:after{content:'';position:absolute;width:9px;height:9px;background:var(--purple);border-radius:50%;right:9px;top:15px}
.symbol svg{width:66px;height:66px;stroke:currentColor;position:relative;z-index:1}
.pillar:hover .symbol{transform:translateY(-7px) rotate(-4deg);background:var(--lilac)!important}
.pillar h3{font-weight:800;letter-spacing:-.025em}
@media(max-width:760px){.hero-enter h1{animation-duration:.7s}.symbol{width:95px!important;height:95px!important}.symbol svg{width:56px;height:56px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.scroll-reveal{opacity:1!important;transform:none!important}}
/* Derechos Humanos y Legal: mantener el rostro dentro del encuadre */
.detail-hero:has(img[src*="pagina_06_recurso_35"]) .hero-media img{object-position:center 12%;}
.card:has(img[src*="pagina_06_recurso_35"]) img{object-position:center 12%;}
@media(max-width:760px){.detail-hero:has(img[src*="pagina_06_recurso_35"]) .hero-media img{object-position:center 8%;}}

/* Íconos originales por dirección, separados de las láminas suministradas */
.pillar .symbol{width:160px!important;height:150px!important;background:transparent!important;border-radius:0!important;overflow:visible;margin-bottom:14px}
.pillar .symbol:after{display:none!important}
.pillar .symbol img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .35s ease;filter:none}
.pillar:hover .symbol{background:transparent!important;transform:none!important}
.pillar:hover .symbol img{transform:translateY(-7px) scale(1.07)}
@media(max-width:760px){.pillar .symbol{width:min(100%,140px)!important;height:130px!important}}
@media(prefers-reduced-motion:reduce){.pillar .symbol img{transition:none}.pillar:hover .symbol img{transform:none}}

/* Títulos originales de Canva: imágenes PNG transparentes, no tipografías recreadas */
.graphic-heading{margin:0 0 1.1rem!important;line-height:1;max-width:100%;display:block;}
.graphic-heading img{display:block;width:min(100%,620px);height:auto;max-height:330px;object-fit:contain;object-position:left center;filter:none;animation:titleEntrance .8s cubic-bezier(.2,.7,.2,1) both;}
.graphic-heading-section img{width:min(100%,540px);max-height:260px;}
@keyframes titleEntrance{from{opacity:0;transform:translateY(22px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:700px){.graphic-heading img{width:100%;max-height:240px}.graphic-heading-section img{max-height:200px}}
@media(prefers-reduced-motion:reduce){.graphic-heading img{animation:none}}

/* V6: composición editorial de las cuatro líneas de trabajo */
.pillars{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:64px;align-items:stretch}
.pillar{min-width:0;padding:22px clamp(16px,2.1vw,32px) 28px;border-right:1px solid #d6c7db;display:flex;flex-direction:column;align-items:center;text-align:center}
.pillar:last-child{border-right:0}
.pillar .symbol{width:min(100%,170px)!important;height:178px!important;margin:0 auto 26px!important;flex:0 0 178px;display:flex;align-items:center;justify-content:center}
.pillar .symbol img{max-width:100%;max-height:100%;object-fit:contain}
.pillar h3{font-size:clamp(17px,1.55vw,21px);line-height:1.2;min-height:2.5em;margin:0 0 18px;max-width:230px;display:flex;align-items:center;justify-content:center;text-wrap:balance}
.pillar p{font-size:clamp(14px,1.08vw,16px);line-height:1.7;margin:0;max-width:235px;text-wrap:pretty}
@media(max-width:980px){.pillars{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:35px}.pillar:nth-child(2){border-right:0}.pillar .symbol{height:160px!important;flex-basis:160px}.pillar h3{font-size:20px}.pillar p{font-size:15px}}
@media(max-width:560px){.pillars{grid-template-columns:1fr;gap:0;margin-top:38px}.pillar,.pillar:nth-child(2){border-right:0;border-bottom:1px solid #d6c7db;padding:26px 18px 32px}.pillar:last-child{border-bottom:0}.pillar .symbol{height:155px!important;flex-basis:155px;margin-bottom:16px!important}.pillar h3{min-height:0;margin-bottom:12px}.pillar p{max-width:340px;font-size:15px}}


/* V7 — Motivo botánico original de Canva, decorativo y no interactivo */
.hero, .feature, .detail-hero, .cards-section, .footer, .mission {position:relative;isolation:isolate}
.hero > *, .feature > *, .detail-hero > *, .cards-section > *, .footer > *, .mission > * {position:relative;z-index:1}
.hero::after, .feature::after, .detail-hero::after, .cards-section::after, .footer::after {
 content:"";pointer-events:none;position:absolute;z-index:0;
 background-image:url('assets/hojas-decorativas-eem.png');background-repeat:no-repeat;
 background-size:contain;opacity:.23;width:clamp(150px,22vw,320px);aspect-ratio:701/711;
}
.hero::after {left:-9%;bottom:-13%;transform:rotate(-15deg)}
.feature::after {right:-10%;top:-9%;transform:rotate(18deg);opacity:.17}
.detail-hero::after {right:1%;bottom:-12%;transform:rotate(12deg);opacity:.19;width:clamp(140px,19vw,270px)}
.detail-hero .hero::after {display:none}
.cards-section::after {right:0;top:4%;opacity:.16;filter:brightness(0) invert(1);transform:rotate(25deg)}
.footer::after {left:22%;bottom:-50px;opacity:.30;filter:brightness(0) invert(1);width:230px;transform:rotate(-14deg)}
/* Alternar la posición de las hojas en las secciones de contenido */
main > .wrap:nth-of-type(even)::after {opacity:.13}
@media(max-width:700px){
 .hero::after{left:-55px;bottom:0;width:160px;opacity:.12}
 .feature::after{right:-35px;top:0;width:145px;opacity:.13}
 .detail-hero::after{right:-40px;bottom:10px;width:150px;opacity:.12}
 .cards-section::after{width:145px;opacity:.1}
 .footer::after{left:auto;right:-35px;bottom:0;width:155px;opacity:.18}
}
@media(prefers-reduced-motion:no-preference){
 .hero::after,.feature::after,.detail-hero::after{animation:eemLeaves 9s ease-in-out infinite alternate}
 @keyframes eemLeaves{from{translate:0 0}to{translate:0 -12px}}
}


/* Inicio fiel a la diagramación original de Canva: imágenes compuestas sin recortar */
.eem-home{background:#fffafb;overflow:hidden}
.eem-home .home-hero,.eem-home .home-history{max-width:1240px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(22px,4vw,70px);position:relative;isolation:isolate}
.eem-home .home-hero{padding-top:25px;padding-bottom:26px;min-height:460px}
.eem-home .home-hero-copy{text-align:center;z-index:1}
.eem-home .home-hero h1{font-size:clamp(38px,4.5vw,67px);line-height:.96;letter-spacing:-.025em;color:#6511a0;margin:0 0 20px;font-weight:900}
.eem-home .home-about-btn{padding:9px 18px;font-size:13px;background:transparent;border-color:#6511a0;color:#6511a0;text-decoration:none}
.eem-home .home-hero-art{text-align:center;position:relative;z-index:1}
.eem-home .home-original-art{display:block;width:100%;height:auto;object-fit:contain;filter:none;animation:homeArtIn .85s ease both}
.eem-home .home-hero-art p{color:#6511a0;max-width:490px;margin:5px auto 0;font-size:clamp(15px,1.7vw,20px);line-height:1.25;letter-spacing:-.035em}
.eem-home .home-history{padding-top:22px;padding-bottom:28px;min-height:360px}
.eem-home .home-history-art img{display:block;width:100%;height:auto;object-fit:contain}
.eem-home .home-history-copy{color:#6511a0;z-index:1}
.eem-home .home-history-copy h2{font-size:clamp(23px,2.7vw,35px);line-height:1.08;letter-spacing:.01em;margin:0 0 15px}
.eem-home .home-years{display:flex;align-items:center;gap:14px}
.eem-home .home-years strong{font-size:clamp(90px,11vw,160px);line-height:.95;letter-spacing:-.065em}
.eem-home .home-years span{font-size:clamp(20px,2.8vw,38px);font-weight:900;line-height:.95}
.eem-home .home-stat-band{background:#e6c8f7;padding:16px max(18px,4vw);display:flex;align-items:center;justify-content:center}
.eem-home .home-stats-desktop{display:block;width:100%;max-width:1400px;height:auto;object-fit:contain}
.eem-home .home-stats-mobile{display:none}
.eem-home .home-directions{padding-top:75px}
.eem-home .home-hero:after{left:-8%;bottom:5%;opacity:.18}
.eem-home .home-history:after{right:-5%;left:auto;top:8%;bottom:auto;opacity:.16}
@keyframes homeArtIn{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:760px){
 .eem-home .home-hero,.eem-home .home-history{grid-template-columns:1fr;gap:18px}
 .eem-home .home-hero{padding-top:45px;padding-bottom:25px}
 .eem-home .home-hero h1{font-size:clamp(38px,9vw,60px)}
 .eem-home .home-hero-art{max-width:540px;margin:auto}
 .eem-home .home-hero-art p{font-size:16px;line-height:1.45;margin-top:12px}
 .eem-home .home-history{padding-top:25px;padding-bottom:38px;gap:12px}
 .eem-home .home-history-art{max-width:500px;margin:auto}
 .eem-home .home-history-copy{text-align:center}
 .eem-home .home-years{justify-content:center}
 .eem-home .home-years strong{font-size:clamp(85px,20vw,125px)}
 .eem-home .home-years span{font-size:clamp(20px,5vw,29px);text-align:left}
 .eem-home .home-stats-desktop{display:none}
 .eem-home .home-stats-mobile{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%}
 .eem-home .home-stats-mobile img{width:100%;height:auto;object-fit:contain}
 .eem-home .home-stat-band{padding:24px 14px}
}
@media(max-width:420px){.eem-home .home-stats-mobile{grid-template-columns:1fr;gap:8px}.eem-home .home-stats-mobile img{max-width:315px;margin:auto}}
@media(prefers-reduced-motion:reduce){.eem-home .home-original-art{animation:none}}

/* V11 — Hojas decorativas realmente visibles en la portada y páginas internas */
.eem-home .home-hero::before,.eem-home .home-history::before,
.eem-home .home-history::after,.eem-home .home-directions::before,
.eem-home .home-directions::after {
 content:"";display:block;position:absolute;pointer-events:none;
 background:url('assets/hoja-original-canva.png') center/contain no-repeat;
 width:clamp(155px,22vw,320px);height:clamp(160px,23vw,325px);
 opacity:.38;z-index:0;
}
.eem-home .home-hero::before{left:-13%;bottom:-14%;transform:rotate(12deg);opacity:.43}
.eem-home .home-history::before{right:-12%;top:-13%;transform:rotate(-36deg);opacity:.42}
.eem-home .home-history::after{left:-15%;bottom:-24%;right:auto;top:auto;transform:rotate(35deg);opacity:.17}
.eem-home .home-directions{position:relative;isolation:isolate}
.eem-home .home-directions::before{right:-13%;top:-3%;transform:rotate(-25deg);opacity:.23}
.eem-home .home-directions::after{left:-15%;bottom:0;transform:rotate(18deg);opacity:.17}
.eem-home .home-hero > *, .eem-home .home-history > *, .eem-home .home-directions > *{position:relative;z-index:1}
.eem-home .home-hero::after{content:none}
@media(max-width:760px){
 .eem-home .home-hero::before{left:-85px;bottom:13%;width:175px;height:180px;opacity:.23}
 .eem-home .home-history::before{right:-90px;top:0;width:195px;height:200px;opacity:.23}
 .eem-home .home-history::after{left:-90px;bottom:-10%;width:160px;height:165px;opacity:.13}
 .eem-home .home-directions::before,.eem-home .home-directions::after{width:155px;height:160px;opacity:.12}
}
@media(prefers-reduced-motion:no-preference){
 .eem-home .home-hero::before,.eem-home .home-history::before,.eem-home .home-directions::before{animation:eemLeafFloat 10s ease-in-out infinite alternate}
 @keyframes eemLeafFloat{from{translate:0 0}to{translate:0 -9px}}
}

/* V12: fotografías completas y decoraciones originales de Canva */
.detail-hero .hero-media-original{display:flex;align-items:center;justify-content:center;min-width:0;overflow:visible}
.detail-hero .hero-media-original::before,.detail-hero .hero-media-original::after{display:none!important}
.detail-hero .hero-media-original img{display:block;width:100%;max-width:620px;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;border-radius:0!important;clip-path:none!important;mask:none!important;animation:introTitle .9s .18s both!important}
@media(max-width:760px){.detail-hero .hero-media-original img{width:100%;max-width:500px;height:auto!important}.detail-hero .hero-media-original{margin:0 auto}}

/* V13: íconos originales sin filtros, máscaras ni fondos añadidos */
.pillar .symbol{background:transparent!important;border-radius:0!important;overflow:visible!important;width:100%!important;max-width:225px!important;height:210px!important;flex-basis:210px!important;margin-bottom:25px!important;}
.pillar .symbol img{display:block;width:100%;height:100%;max-width:225px;max-height:210px;object-fit:contain;filter:none!important;opacity:1!important;mix-blend-mode:normal!important;clip-path:none!important;mask:none!important;}
.pillar{padding-left:clamp(18px,2.5vw,38px);padding-right:clamp(18px,2.5vw,38px)}
@media(max-width:760px){.pillar .symbol{height:170px!important;flex-basis:170px!important}.pillar .symbol img{max-height:170px}}
.years-counter{font-variant-numeric:tabular-nums;display:inline-block;min-width:2.7ch}

/* V15: indicadores centrados, imágenes originales separadas y contadores animados */
.eem-home .home-stat-band{padding:24px clamp(18px,3vw,54px);background:#e6c8f7}
.eem-home .impact-grid{width:min(100%,1500px);margin-inline:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center}
.eem-home .impact-item{display:flex;align-items:center;justify-content:center;gap:clamp(7px,1vw,16px);padding:10px clamp(8px,1.3vw,24px);min-width:0;min-height:110px}
.eem-home .impact-item + .impact-item{border-left:2px solid rgba(93,15,154,.52)}
.eem-home .impact-item img{display:block;flex:0 0 auto;width:clamp(55px,5.5vw,92px);height:90px;object-fit:contain}
.eem-home .impact-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;color:#650eaa;min-width:0}
.eem-home .impact-counter{font-size:clamp(23px,2.25vw,38px);line-height:1.08;font-weight:900;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.eem-home .impact-copy span{font-size:clamp(11px,1vw,16px);line-height:1.2;font-weight:800}
@media(max-width:850px){.eem-home .impact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eem-home .impact-item:nth-child(3){border-left:0}.eem-home .impact-item:nth-child(n+3){border-top:1px solid rgba(93,15,154,.25)}}
@media(max-width:480px){.eem-home .impact-grid{grid-template-columns:1fr}.eem-home .impact-item{justify-content:flex-start;padding:12px 10%;min-height:86px}.eem-home .impact-item + .impact-item{border-left:0;border-top:1px solid rgba(93,15,154,.25)}.eem-home .impact-item img{width:74px;height:68px}.eem-home .impact-counter{font-size:30px}.eem-home .impact-copy span{font-size:13px}}

/* Marea Verde Fest: composición editorial + cinta continua */
.marea-fest{background:#fff;overflow:hidden;position:relative;margin-top:75px}
.marea-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(22px,4vw,65px);align-items:end;max-width:1280px;padding-top:65px;padding-bottom:0}
.marea-copy{padding-bottom:55px;min-width:0;position:relative;z-index:2}
.marea-kicker{display:inline-block;font-weight:800;color:#6c119e;text-transform:uppercase;letter-spacing:.12em;font-size:12px;margin-bottom:12px}
.marea-original-title{display:block;width:min(100%,560px);height:auto;max-height:310px;object-fit:contain;object-position:left center;margin-bottom:25px}
.marea-text{max-width:660px;color:#5c2680;font-size:clamp(15px,1.35vw,18px);line-height:1.68}
.marea-text p{margin:0 0 22px}
.marea-art{align-self:stretch;min-height:560px;position:relative;display:flex;align-items:end;justify-content:center}
.marea-art img{position:relative;z-index:1;display:block;width:100%;height:auto;max-height:790px;object-fit:contain;object-position:bottom;transform-origin:bottom center;animation:mareaArrive 1s ease both}
.marea-art-halo{position:absolute;width:72%;aspect-ratio:1;border-radius:50%;background:#e7d2f5;right:-6%;top:12%;opacity:.48}
.marea-ribbon{background:#7caa30;overflow:hidden;width:100%;padding:15px 0;position:relative;isolation:isolate}
.marea-ribbon-track{display:flex;align-items:center;width:max-content;animation:mareaMarquee 25s linear infinite;will-change:transform}
.marea-ribbon-unit{display:flex;align-items:center;justify-content:center;gap:35px;flex:none;width:270px;height:94px;padding:5px 20px}
.marea-ribbon-unit img{height:82px;max-width:190px;width:auto;object-fit:contain;display:block}
.marea-ribbon-star{font-size:26px;color:white;opacity:.9}
.marea-ribbon:hover .marea-ribbon-track{animation-play-state:paused}
.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}
@keyframes mareaMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes mareaArrive{from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:800px){.marea-fest{margin-top:45px}.marea-layout{grid-template-columns:1fr;gap:0;padding-top:42px}.marea-copy{padding-bottom:10px}.marea-original-title{max-width:490px;margin-inline:auto}.marea-kicker{display:block;text-align:center}.marea-text{font-size:16px}.marea-art{min-height:0;max-width:470px;width:100%;margin:0 auto}.marea-art img{max-height:570px}.marea-ribbon-unit{width:210px;height:80px;gap:18px}.marea-ribbon-unit img{height:66px;max-width:150px}}
@media(prefers-reduced-motion:reduce){.marea-ribbon-track,.marea-art img{animation:none!important}}


/* V17: estadísticas con iconografía íntegra, columnas equilibradas */
.eem-home .home-stat-band{padding:22px clamp(18px,3vw,48px);overflow:visible}
.eem-home .impact-grid{max-width:1500px;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.eem-home .impact-item{box-sizing:border-box;display:grid;grid-template-columns:clamp(68px,7vw,112px) minmax(0,1fr);column-gap:clamp(10px,1.2vw,20px);align-items:center;justify-content:center;padding:14px clamp(12px,1.8vw,28px);min-height:132px;overflow:visible}
.eem-home .impact-item img{width:100%;height:104px;max-width:112px;object-fit:contain;object-position:center;min-width:0}
.eem-home .impact-copy{min-width:0;overflow:visible}
.eem-home .impact-counter{font-size:clamp(26px,2.3vw,40px);line-height:1.15;white-space:nowrap}
.eem-home .impact-copy span{font-size:clamp(12px,1.02vw,16px);line-height:1.3;overflow-wrap:normal}
.eem-home .impact-item + .impact-item{border-left:2px solid rgba(93,15,154,.45)}
/* Retrato de Derechos Humanos: sujeto centrado en todos los formatos */
.card:has(img[src*="derechos_humanos_card_centrada"]) img{object-fit:cover;object-position:center center}
.detail-hero:has(img[src*="hero_derechos-humanos_original"]) .hero-media-original{align-items:center;justify-content:center}
.detail-hero:has(img[src*="hero_derechos-humanos_original"]) .hero-media-original img{object-position:center center!important;object-fit:contain!important;max-height:none!important}
@media(max-width:1000px){
 .eem-home .impact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .eem-home .impact-item:nth-child(3){border-left:0}
 .eem-home .impact-item:nth-child(n+3){border-top:1px solid rgba(93,15,154,.25)}
 .eem-home .impact-counter{font-size:clamp(26px,3.5vw,38px)}
}
@media(max-width:560px){
 .eem-home .impact-grid{grid-template-columns:1fr}
 .eem-home .impact-item{grid-template-columns:90px minmax(0,1fr);min-height:100px;max-width:400px;width:100%;margin-inline:auto;padding:10px 16px}
 .eem-home .impact-item img{height:80px}
 .eem-home .impact-item + .impact-item{border-left:0;border-top:1px solid rgba(93,15,154,.25)}
 .eem-home .impact-counter{font-size:30px}
 .eem-home .impact-copy span{font-size:14px}
}

/* V18: franja de Marea Verde Fest como separador superior */
.marea-ribbon{margin-top:70px;}
.marea-ribbon + .marea-fest{margin-top:0;}
@media(max-width:800px){.marea-ribbon{margin-top:42px}.marea-ribbon + .marea-fest{margin-top:0}}
/* Íconos limpios: los recortes eliminan fragmentos de las ilustraciones contiguas */
.eem-home .impact-item img{object-fit:contain;}

/* V19 — retrato completo, ritmo vertical y follaje lateral */
.person:has(img[src*="pagina_02_recurso_13"]) img{
  object-position:center 10%;
}
/* En tarjetas, mantener la cabeza dentro del recorte horizontal. */
.card:has(img[src*="derechos_humanos_card_centrada"]) img{
  object-position:center 18%!important;
}
/* El encabezado de cada dirección termina donde empieza el contenido,
   sin alturas mínimas excesivas ni márgenes artificiales. */
.detail-hero .hero{
  min-height:0!important;
  padding-top:clamp(36px,5vw,68px);
  padding-bottom:clamp(24px,3vw,44px);
  align-items:center;
  gap:clamp(24px,4vw,60px);
}
.detail-hero + .wrap{
  padding-top:clamp(28px,3.5vw,52px);
  padding-bottom:clamp(48px,5vw,78px);
}
.detail-hero .hero > div:first-child{min-width:0}
.detail-hero .hero-media-original img{max-height:480px!important;width:100%;object-fit:contain!important}
.detail-hero .graphic-heading img{max-height:270px;object-fit:contain;object-position:left center}
/* Hojas como textura de fondo, en ambos lados y detrás del texto. */
.detail-hero,.detail-hero + .wrap{position:relative;isolation:isolate}
.detail-hero::before,.detail-hero + .wrap::before,
.detail-hero + .wrap::after{
  content:"";position:absolute;pointer-events:none;z-index:0;
  background-image:url('assets/hojas-decorativas-eem.png');
  background-position:center;background-size:contain;background-repeat:no-repeat;
  width:clamp(130px,19vw,290px);height:clamp(160px,24vw,340px);
  opacity:.16;
}
.detail-hero::before{left:-5%;top:20%;transform:rotate(-12deg)}
.detail-hero + .wrap::before{left:-7%;top:25%;transform:rotate(-22deg)}
.detail-hero + .wrap::after{right:-6%;top:12%;transform:scaleX(-1) rotate(-15deg)}
.detail-hero > *,.detail-hero + .wrap > *{position:relative;z-index:1}
.detail-hero + .wrap{overflow:hidden}
@media(max-width:760px){
 .detail-hero .hero{padding-top:28px;padding-bottom:26px;gap:18px}
 .detail-hero .hero-media-original img{max-height:360px!important}
 .detail-hero + .wrap{padding-top:28px}
 .detail-hero::before,.detail-hero + .wrap::before,.detail-hero + .wrap::after{opacity:.10;width:150px;height:190px}
 .detail-hero .graphic-heading img{max-height:205px}
}

/* Perfiles de Instagram — sección Nosotras */
.social-profiles-section{position:relative;margin:70px auto 85px;padding:38px 20px 48px;text-align:center;isolation:isolate}
.social-profiles-section h2{color:#6511a0;font-size:clamp(1.8rem,3vw,2.7rem);margin:0 0 30px}
.social-profiles-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:1040px;margin:auto}
.social-profile-card{background:#fff;border:1px solid #eadcf2;border-radius:24px;padding:30px 18px;display:flex;align-items:center;flex-direction:column;box-shadow:0 8px 28px rgba(85,25,110,.06)}
.social-profile-avatar{width:112px;height:112px;border-radius:50%;padding:4px;background:linear-gradient(35deg,#d5e855,#8d46e5,#6511a0);margin-bottom:17px}
.social-profile-avatar-inner{width:100%;height:100%;border-radius:50%;background:#f7effb;overflow:hidden;display:grid;place-items:center}
.social-profile-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.social-profile-avatar-fallback{color:#6511a0;font-size:2.7rem;font-weight:700}
.social-profile-card h3{color:#6511a0;font-size:1.25rem;margin:0 0 5px;text-align:center}
.social-profile-card p{color:#655271;margin:0 0 22px;font-size:.96rem;overflow-wrap:anywhere}
.social-profile-card a{margin-top:auto;border:2px solid #6511a0;border-radius:999px;padding:10px 23px;color:#6511a0;text-decoration:none;font-weight:700;transition:background .2s,color .2s}
.social-profile-card a:hover,.social-profile-card a:focus-visible{background:#6511a0;color:#fff}
@media(max-width:720px){.social-profiles-section{margin:45px auto;padding:25px 12px}.social-profiles-grid{grid-template-columns:1fr;max-width:390px;gap:16px}.social-profile-card{padding:25px 16px}}

/* V22: Identidad institucional en portada; se conserva el arte grupal original. */
.eem-home .home-hero{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:clamp(15px,2vw,35px)}
.eem-home .home-brand-lockup{display:flex;align-items:center;justify-content:center;gap:clamp(10px,1.4vw,22px);width:100%}
.eem-home .home-brand-emblem{width:clamp(80px,10vw,145px);height:auto;max-height:245px;object-fit:contain;flex:none}
.eem-home .home-brand-words{text-align:left;min-width:0}
.eem-home .home-hero .home-brand-words h1{font-size:clamp(28px,3.2vw,49px);line-height:.98;letter-spacing:-.025em;margin:0 0 22px}
.eem-home .home-brand-words .home-about-btn{margin-left:0}
@media(max-width:760px){.eem-home .home-hero{grid-template-columns:1fr;gap:24px}.eem-home .home-brand-lockup{gap:14px}.eem-home .home-brand-emblem{width:clamp(68px,20vw,115px)}.eem-home .home-hero .home-brand-words h1{font-size:clamp(26px,6.8vw,44px)}.eem-home .home-hero-art{width:100%}}
@media(max-width:390px){.eem-home .home-brand-emblem{width:65px}.eem-home .home-hero .home-brand-words h1{font-size:25px}}

/* V23 — portada: jerarquía tipográfica y proporciones equilibradas */
@media(min-width:761px){
 .eem-home .home-hero{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(18px,2.5vw,40px);max-width:1500px;padding-left:clamp(24px,3vw,52px);padding-right:clamp(24px,3vw,52px)}
 .eem-home .home-brand-lockup{justify-content:flex-start;gap:clamp(12px,1.3vw,22px)}
 .eem-home .home-brand-emblem{width:clamp(95px,9vw,150px);max-height:240px}
 .eem-home .home-brand-words{flex:1;min-width:0}
 .eem-home .home-hero .home-brand-words h1{font-size:clamp(45px,4.45vw,82px);line-height:.96;letter-spacing:-.035em;margin-bottom:28px}
 .eem-home .home-hero-copy{text-align:left}
}
@media(min-width:761px) and (max-width:1050px){
 .eem-home .home-brand-emblem{width:88px}
 .eem-home .home-hero .home-brand-words h1{font-size:clamp(39px,4.4vw,55px)}
}
@media(max-width:760px){
 .eem-home .home-brand-lockup{justify-content:center}
 .eem-home .home-hero .home-brand-words h1{font-size:clamp(29px,7.4vw,48px);line-height:1}
}

/* V24 — portada con identidad integrada y título protagonista */
@media(min-width:761px){
 .eem-home .home-hero{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:clamp(24px,3vw,55px);max-width:1500px;align-items:center}
 .eem-home .home-hero-copy{width:100%;align-self:center}
 .eem-home .home-brand-lockup{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:16px;max-width:100%;padding-left:clamp(8px,2vw,32px)}
 .eem-home .home-brand-emblem{width:clamp(96px,9vw,138px);height:auto;max-height:155px;object-fit:contain;margin-left:0}
 .eem-home .home-brand-words{width:100%;flex:none;text-align:left}
 .eem-home .home-hero .home-brand-words h1{font-size:clamp(56px,5.15vw,86px);line-height:.96;letter-spacing:-.045em;margin:0 0 26px;font-weight:900}
 .eem-home .home-brand-words .home-about-btn{margin-left:0}
}
@media(min-width:761px) and (max-width:1100px){
 .eem-home .home-hero .home-brand-words h1{font-size:clamp(43px,5.1vw,61px)}
 .eem-home .home-brand-emblem{width:100px}
}
@media(max-width:760px){
 .eem-home .home-brand-lockup{flex-direction:column;align-items:center;gap:12px}
 .eem-home .home-brand-emblem{width:92px;max-height:115px}
 .eem-home .home-brand-words{text-align:center}
 .eem-home .home-hero .home-brand-words h1{font-size:clamp(38px,9vw,59px);line-height:.98;margin-bottom:20px}
}

/* V25: portada fiel a la referencia proporcionada: título protagonista sin emblema lateral. */
.eem-home .home-hero{max-width:1190px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:center;padding:22px 24px 28px;min-height:0}
.eem-home .home-hero-copy{width:100%;text-align:left;align-self:center}
.eem-home .home-brand-lockup{display:block;padding:0;max-width:none;width:100%}
.eem-home .home-brand-emblem{display:none!important}
.eem-home .home-brand-words{width:100%;text-align:left}
.eem-home .home-hero .home-brand-words h1{font-family:Arial,'Trebuchet MS',sans-serif;font-size:clamp(46px,5.85vw,72px);font-weight:900;letter-spacing:-.028em;line-height:.96;margin:0 0 22px;color:#6511a0}
.eem-home .home-brand-words .home-about-btn{display:table;margin:0 auto;padding:9px 20px;font-size:14px}
.eem-home .home-hero-art{width:100%;max-width:none;text-align:center}
.eem-home .home-hero-art .home-original-art{display:block;width:100%;height:auto;object-fit:contain}
.eem-home .home-hero-art p{max-width:490px;font-size:clamp(14px,1.65vw,19px);line-height:1.14;margin:8px auto 0;letter-spacing:-.035em}
@media(max-width:760px){.eem-home .home-hero{grid-template-columns:1fr;gap:25px;padding:34px 20px}.eem-home .home-hero-copy{text-align:center}.eem-home .home-brand-words{text-align:center}.eem-home .home-hero .home-brand-words h1{font-size:clamp(40px,9.5vw,65px)}.eem-home .home-hero-art{max-width:540px;margin:auto}.eem-home .home-hero-art p{font-size:16px;line-height:1.35}}

/* Encabezado institucional: logotipo y nombre juntos, según referencia */
.header{height:116px;padding:12px clamp(24px,4.5vw,76px);gap:32px}
.header .brand{display:flex;align-items:center;gap:10px;text-decoration:none;flex:none;min-width:0}
.header .brand img{width:65px;height:88px;object-fit:contain;flex:none}
.header .brand-name{display:block;color:#6511a0;font-family:Arial,sans-serif;font-weight:900;font-size:clamp(17px,1.65vw,25px);line-height:.92;letter-spacing:.015em;white-space:nowrap}
.header nav{flex:1;justify-content:space-evenly;gap:clamp(12px,2.5vw,50px);align-items:center}
.header nav a{white-space:nowrap}
@media(max-width:900px){.header{height:90px;padding:9px 20px;gap:12px}.header .brand img{width:48px;height:67px}.header .brand-name{font-size:17px}.header nav{gap:13px}.header nav a{font-size:14px}}
@media(max-width:760px){.header{height:78px;justify-content:space-between}.header .brand img{width:43px;height:60px}.header .brand-name{font-size:15px}.header nav{top:78px;justify-content:flex-start;align-items:stretch}.header .menu{margin-left:auto}}
@media(max-width:350px){.header .brand-name{font-size:12px}.header .brand img{width:37px;height:53px}}

/* Página de contacto EEM — coherente con la identidad del sitio */
.contact-page{position:relative;isolation:isolate;overflow:hidden;background:#fdf9fc;color:#4d2860;padding:76px 0 105px;min-height:720px}
.contact-container{position:relative;z-index:1;max-width:1190px}
.contact-intro{text-align:center;max-width:790px;margin:0 auto 60px}
.contact-intro .eyebrow{color:#738c4c;letter-spacing:.16em;font-weight:800;font-size:13px}
.contact-intro h1{color:#6511a0;font-size:clamp(44px,5.6vw,76px);line-height:1.05;margin:15px 0 20px;font-weight:800;letter-spacing:-.035em}
.contact-intro h1 em{font-style:normal;color:#8e61d2}
.contact-intro p{font-size:clamp(17px,1.8vw,21px);line-height:1.55;max-width:670px;margin:auto}
.contact-columns{display:grid;grid-template-columns:.88fr 1.12fr;gap:clamp(32px,6vw,90px);align-items:start}
.contact-info{padding:25px 0 0 12px}
.contact-info h2,.contact-form-card h2{font-size:clamp(27px,3vw,38px);color:#6511a0;line-height:1.12;margin:0 0 18px}
.contact-info>p,.contact-form-card>p{font-size:17px;line-height:1.65;margin:0 0 34px}
.contact-info-item{display:flex;align-items:center;gap:18px;margin:25px 0}
.contact-icon{display:grid;place-items:center;width:57px;height:57px;flex:0 0 57px;border-radius:17px;background:#ead6f7;color:#6511a0;font-size:28px;font-weight:700}
.contact-info-item div{display:flex;flex-direction:column;gap:5px;min-width:0}
.contact-info-item strong{font-size:16px;color:#6511a0}
.contact-info-item a,.contact-info-item span:not(.contact-icon){color:#4d2860;font-size:16px;overflow-wrap:anywhere}
.contact-note{margin-top:55px;border-left:4px solid #8e61d2;padding:16px 20px;background:#f0e5f5;border-radius:0 16px 16px 0;font-weight:700}
.contact-form-card{background:#fff;border:1px solid #f0e5f5;border-radius:30px;padding:clamp(24px,3.5vw,48px);box-shadow:0 20px 55px rgba(77,40,96,.07)}
.contact-form-eyebrow{font-size:12px;font-weight:800;letter-spacing:.16em;color:#738c4c;display:block;margin-bottom:13px}
.contact-form-card>p{margin-bottom:24px}
#eem-contact-form{display:grid;gap:20px}
.contact-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
#eem-contact-form label{display:flex;flex-direction:column;gap:9px;font-size:15px;font-weight:700;color:#54226e}
#eem-contact-form input,#eem-contact-form select,#eem-contact-form textarea{font:inherit;font-weight:400;width:100%;min-width:0;border:1.5px solid #dfd0e6;background:#fdfafd;border-radius:12px;padding:14px 15px;color:#442451;outline-offset:3px}
#eem-contact-form textarea{resize:vertical}
#eem-contact-form :is(input,select,textarea):focus{border-color:#6511a0;outline:2px solid #d6b6ec}
.contact-submit{border:0;border-radius:40px;background:#6511a0;color:#fff;font:inherit;font-weight:800;font-size:16px;padding:16px 26px;cursor:pointer;justify-self:start;display:flex;gap:25px;align-items:center}
.contact-submit:hover{background:#4f0d80}
#eem-contact-form .contact-form-hint{font-size:12px;line-height:1.5;color:#765f7c;margin:0}
.contact-leaf{position:absolute;z-index:0;width:250px;height:310px;background:url('assets/hojas-decorativas-eem.png') center/contain no-repeat;opacity:.16;pointer-events:none}
.contact-leaf-left{left:-100px;top:190px;transform:rotate(-20deg)}
.contact-leaf-right{right:-100px;bottom:45px;transform:rotate(160deg)}
@media(max-width:800px){.contact-page{padding:52px 0 75px}.contact-intro{margin-bottom:35px}.contact-columns{grid-template-columns:1fr;gap:30px}.contact-info{padding:0}.contact-note{margin-top:30px}.contact-form-card{border-radius:22px}.contact-leaf{width:170px}}
@media(max-width:480px){.contact-form-grid{grid-template-columns:1fr}.contact-intro h1{font-size:43px}.contact-page .wrap{padding-left:20px;padding-right:20px}.contact-info-item{gap:12px}.contact-icon{width:48px;height:48px;flex-basis:48px}}

/* Logo oficial de Las Thías, integrado a su encabezado */
.thias-brand-row{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:100%;margin:10px 0 22px}
.thias-brand-row .graphic-heading{flex:1 1 55%;min-width:0;margin:0!important}
.thias-brand-row .graphic-heading img{width:100%;max-height:230px;object-fit:contain;object-position:left center}
.thias-brand-logo{flex:0 0 auto;width:clamp(110px,14vw,205px);height:auto;max-height:220px;object-fit:contain;animation:none!important}
@media(max-width:760px){.thias-brand-row{gap:12px}.thias-brand-logo{width:clamp(95px,28vw,155px)}.thias-brand-row .graphic-heading img{max-height:165px}}
@media(max-width:390px){.thias-brand-logo{width:95px}}

/* Las Thías — diagramación de referencia, independiente del hero general */
.thias-reference{background:#fdf8fd;position:relative;overflow:hidden}
.thias-reference-inner{padding-top:40px;padding-bottom:34px;max-width:1180px}
.thias-reference .back{margin-bottom:16px}
.thias-reference .eyebrow{margin-bottom:18px}
.thias-reference-logos{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px;margin:0 0 12px}
.thias-reference-logos .graphic-heading{margin:0!important;width:100%}
.thias-reference-logos .graphic-heading img{width:100%;max-width:450px;max-height:250px;object-fit:contain;object-position:left center}
.thias-reference-logo{display:block;width:min(100%,290px);height:270px;object-fit:contain;justify-self:center}
.thias-reference-heading{color:#738c4c;font-size:clamp(32px,4.1vw,53px);line-height:1.1;margin:0 0 24px;font-weight:800}
.thias-reference-intro{font-size:17px;line-height:1.7;margin:0 0 14px;max-width:1120px;color:#6511a0}
.thias-reference-content{display:grid;grid-template-columns:1.06fr .94fr;gap:32px;align-items:start}
.thias-reference-copy p{font-size:17px;line-height:1.72;color:#6511a0;margin:0 0 28px}
.thias-reference-photo{display:flex;align-items:flex-start;justify-content:center;min-width:0}
.thias-reference-photo img{display:block;width:100%;max-width:510px;height:auto;object-fit:contain;animation:none!important}
.thias-pillars{padding-top:20px}
@media(max-width:760px){.thias-reference-inner{padding-top:30px;padding-bottom:24px}.thias-reference-logos{gap:12px;grid-template-columns:1fr  .75fr}.thias-reference-logos .graphic-heading img{max-height:175px}.thias-reference-logo{width:100%;height:180px}.thias-reference-content{grid-template-columns:1fr;gap:8px}.thias-reference-photo img{max-width:450px}.thias-reference-heading{margin-bottom:16px}.thias-reference-intro,.thias-reference-copy p{font-size:16px;line-height:1.65}.thias-reference-copy p{margin-bottom:18px}}
@media(max-width:420px){.thias-reference-logos{grid-template-columns:1fr  .7fr;gap:8px}.thias-reference-logo{height:140px}.thias-reference-logos .graphic-heading img{max-height:140px}}

/* Instagram brand icon throughout site */
.instagram-icon-wrap{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;flex:0 0 25px;border-radius:7px;background:#7412a9;vertical-align:middle;margin-right:5px;}
.instagram-icon{display:block;width:17px;height:17px;object-fit:contain;}
.social-profile-card p .instagram-icon-wrap{width:22px;height:22px;flex-basis:22px;border-radius:6px;margin-right:4px;}
.social-profile-card p .instagram-icon{width:15px;height:15px;}
.contact-info-item .instagram-icon-wrap{width:38px;height:38px;flex-basis:38px;border-radius:10px;margin-right:0;}
.contact-info-item .instagram-icon{width:23px;height:23px;}

/* Sección Proyectos: acceso desde el menú, contenido provisional */
.header nav{gap:clamp(12px,2.4vw,42px)}
.header nav a{white-space:nowrap}
.projects-placeholder{min-height:460px}
.projects-placeholder-decoration{display:grid;place-items:center;min-height:250px;border-radius:45% 55% 50% 50%;background:#dcc8f5;color:#6511a0;font-size:110px}
@media(max-width:760px){.projects-placeholder-decoration{min-height:190px;font-size:75px}}

/* Proyectos EEM - v33 */
.eem-projects{padding-top:52px;padding-bottom:100px}
.projects-intro{text-align:center;max-width:1030px;margin:0 auto 55px}
.projects-intro h1{margin:0 auto 16px}
.projects-title-art{display:block;width:min(680px,100%);height:auto;margin:0 auto}
.projects-intro p{max-width:900px;margin:0 auto;color:#60218c;font-size:clamp(16px,1.35vw,19px);line-height:1.75}
.projects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.project-tile{background:#fff;border:1px solid #eee6f2;border-radius:20px;overflow:hidden;box-shadow:0 10px 25px rgba(70,25,85,.06);display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.project-tile:hover{transform:translateY(-4px);box-shadow:0 15px 30px rgba(70,25,85,.12)}
.project-image-link{display:block;aspect-ratio:1.36;overflow:hidden}
.project-image-link img{width:100%;height:100%;object-fit:cover;display:block}
.project-tile-content{padding:23px;display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:18px}
.project-tile-content h2{font-size:clamp(19px,1.55vw,24px);line-height:1.25;color:#6511a0;margin:0}
.project-more{margin-top:auto;border:1.5px solid #6511a0;border-radius:40px;padding:10px 22px;text-decoration:none;color:#6511a0;font-weight:700;display:inline-flex;gap:12px;align-items:center}
.project-more:hover{background:#6511a0;color:white}
.project-detail{padding-top:65px;padding-bottom:100px;min-height:65vh}
.project-detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;margin-top:45px}
.project-detail-layout h1{font-size:clamp(36px,4vw,64px);color:#6511a0;line-height:1.1}
.project-detail-layout p{font-size:19px;line-height:1.7;color:#60218c}
.project-detail-layout img{width:100%;border-radius:32px;aspect-ratio:1.15;object-fit:cover}
@media(max-width:950px){.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.eem-projects{padding-top:24px}.projects-intro{margin-bottom:30px}.projects-grid{grid-template-columns:1fr;gap:20px}.project-detail-layout{grid-template-columns:1fr;gap:25px}.project-detail{padding-top:30px}.project-tile-content{padding:20px}}

/* Página individual: Ciclos que sanan */
.ciclos-page{padding-top:45px;padding-bottom:110px;color:#60218c}.ciclos-hero{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;margin:45px 0 75px}.ciclos-hero h1{font-size:clamp(40px,4.8vw,72px);line-height:1.08;color:#6511a0;margin:18px 0}.ciclos-hero h1 em{font-style:normal;color:#738c4c}.ciclos-lead{font-size:clamp(18px,2vw,25px);line-height:1.5}.ciclos-hero>img{width:100%;aspect-ratio:1.2;object-fit:cover;border-radius:45% 55% 48% 52%/52% 42% 58% 48%}.ciclos-page h2{color:#6511a0;font-size:clamp(30px,3.1vw,45px);margin:0 0 24px}.ciclos-description{max-width:950px;margin:0 auto 85px}.ciclos-description p{font-size:18px;line-height:1.85}.ciclos-objectives{margin-bottom:100px}.ciclos-objective-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.ciclos-objective-grid article{padding:28px;background:#f8f4ef;border-radius:22px;border:1px solid #eee4f0}.ciclos-objective-grid article span{font-size:28px;font-weight:800;color:#738c4c}.ciclos-objective-grid h3{color:#6511a0;font-size:21px;line-height:1.25}.ciclos-objective-grid p{font-size:16px;line-height:1.65}.ciclos-gallery-head{display:flex;justify-content:space-between;align-items:end;gap:16px}.ciclos-gallery-head #ciclos-count{white-space:nowrap;font-weight:700}.ciclos-gallery{position:relative;display:flex;align-items:center;justify-content:center;background:#f4edf8;border-radius:24px;overflow:hidden;margin-top:18px}.ciclos-stage{width:100%;height:min(64vw,620px);min-height:300px;display:flex;justify-content:center;align-items:center}.ciclos-stage img,.ciclos-stage video{width:100%;height:100%;object-fit:contain}.ciclos-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;border:0;border-radius:50%;background:#fff;color:#6511a0;font-size:38px;width:48px;height:48px;cursor:pointer;box-shadow:0 3px 16px #0002}.ciclos-arrow.prev{left:15px}.ciclos-arrow.next{right:15px}.ciclos-gallery-bottom{display:flex;align-items:center;gap:18px;margin-top:15px}.ciclos-thumbnails{display:flex;gap:10px;overflow-x:auto;flex:1;padding:6px 2px}.ciclos-thumbnails button{width:92px;height:74px;flex:0 0 auto;padding:0;border:3px solid transparent;border-radius:12px;overflow:hidden;background:#e8dbf0;cursor:pointer}.ciclos-thumbnails button.active{border-color:#6511a0}.ciclos-thumbnails img{width:100%;height:100%;object-fit:cover}.ciclos-video-thumb{display:grid;place-items:center;height:100%;font-weight:700;color:#6511a0}.ciclos-expand{border:1px solid #6511a0;background:white;color:#6511a0;border-radius:24px;padding:12px 18px;font-weight:700;cursor:pointer}.ciclos-lightbox[hidden]{display:none!important}.ciclos-lightbox{position:fixed;inset:0;background:rgba(15,8,22,.96);z-index:9999;display:flex;align-items:center;justify-content:space-around;gap:8px;padding:60px 10px}.ciclos-light-content{width:calc(100% - 135px);height:100%;display:flex;align-items:center;justify-content:center}.ciclos-light-content img,.ciclos-light-content video{max-width:100%;max-height:100%;object-fit:contain}.ciclos-close,.ciclos-light-prev,.ciclos-light-next{border:0;background:transparent;color:#fff;font-size:48px;cursor:pointer}.ciclos-close{position:absolute;top:12px;right:24px}@media(max-width:800px){.ciclos-hero{grid-template-columns:1fr;gap:25px;margin:25px 0 60px}.ciclos-objective-grid{grid-template-columns:1fr 1fr}.ciclos-gallery-bottom{flex-wrap:wrap}.ciclos-expand{margin-left:auto}}@media(max-width:560px){.ciclos-objective-grid{grid-template-columns:1fr}.ciclos-description p{font-size:16px}.ciclos-stage{height:380px;min-height:0}.ciclos-arrow{width:38px;height:38px;font-size:30px}.ciclos-light-content{width:calc(100% - 85px)}.ciclos-light-prev,.ciclos-light-next{font-size:32px}}

/* Mantener fotografías completas, también en el visor ampliado */
.ciclos-stage img,.ciclos-light-content img{object-fit:contain!important;object-position:center!important;max-width:100%;max-height:100%;width:auto;height:auto;}

/* Sección audiovisual — versión 40 */
.eem-videos{margin:70px 0 45px}.eem-videos .section-title{margin-bottom:10px}.eem-videos-lead{font-size:1.28rem;font-weight:700;color:#738c4c;margin:0 0 12px}.eem-videos-desc{max-width:850px;line-height:1.7;margin:0 0 30px}.eem-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.eem-video-card{background:#f8f4ef;border-radius:18px;overflow:hidden;box-shadow:0 5px 20px #30104713}.eem-video-card iframe{display:block;width:100%;aspect-ratio:16/9;border:0;background:#1b1222}.eem-video-card h3{color:#6511a0;font-size:1.12rem;line-height:1.4;padding:18px 20px 22px;margin:0}@media(max-width:700px){.eem-video-grid{grid-template-columns:1fr;gap:20px}.eem-videos{margin-top:48px}.eem-video-card h3{font-size:1rem}}

/* v41: video previews that work even when opened locally */
.eem-video-preview{position:relative;display:block;aspect-ratio:16/9;background:#24132f;overflow:hidden;color:#fff;text-decoration:none}
.eem-video-preview>img{width:100%;height:100%;object-fit:cover;display:block}
.eem-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:68px;height:48px;border-radius:14px;background:#d71935;color:white;font-size:22px;box-shadow:0 4px 24px #0005}
.eem-watch{position:absolute;bottom:12px;right:12px;background:#180d20e8;padding:7px 12px;border-radius:12px;font-size:13px;font-weight:700}
.eem-video-preview:hover .eem-play{background:#6511a0}
/* Original photos: no cropping in the galleries */
.ciclos-stage{padding:12px;box-sizing:border-box}
.ciclos-stage img,.ciclos-stage video{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center}
.ciclos-light-content img,.ciclos-light-content video{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
@media(max-width:700px){.wrap{width:calc(100% - 32px);max-width:100%}.eem-video-grid{grid-template-columns:minmax(0,1fr)}.eem-video-card{min-width:0}.ciclos-stage{height:min(75vh,440px);min-height:230px}.ciclos-gallery-bottom{gap:10px}.ciclos-thumbnails{min-width:0}.ciclos-expand{white-space:nowrap}.ciclos-lightbox{padding:55px 4px 22px}.ciclos-light-content{width:calc(100% - 82px)}.impact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.impact-item{min-width:0}}
@media(max-width:390px){.impact-grid{grid-template-columns:1fr}.eem-videos .section-title{font-size:clamp(27px,8vw,38px)}}

/* V44 — Contacto: composición uniforme y centrada */
.contact-info{padding:25px 0 0;max-width:520px;width:100%;margin-inline:auto}
.contact-info-item{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;column-gap:20px;margin:26px 0}
.contact-info-item .contact-icon,
.contact-info-item .instagram-icon-wrap{box-sizing:border-box;display:grid;place-items:center;width:64px;height:64px;min-width:64px;min-height:64px;flex:0 0 64px;border-radius:18px;background:#ead6f7;color:#6511a0;margin:0;font-size:30px}
.contact-info-item .instagram-icon-wrap{background:#ead6f7}
.contact-info-item .instagram-icon{width:34px;height:34px;object-fit:contain}
.contact-info-item>div{align-items:flex-start;text-align:left}
@media(max-width:480px){.contact-info-item{grid-template-columns:54px minmax(0,1fr);column-gap:14px}.contact-info-item .contact-icon,.contact-info-item .instagram-icon-wrap{width:54px;height:54px;min-width:54px;min-height:54px;flex-basis:54px;border-radius:16px}.contact-info-item .instagram-icon{width:29px;height:29px}}

.eem-honeypot{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}.eem-form-status{font-weight:600;margin-top:12px}.contact-submit:disabled{opacity:.65;cursor:wait}

/* V46 — Iconos de contacto modernos, equilibrados y adaptables */
.contact-info{max-width:620px}
.contact-info-item{grid-template-columns:76px minmax(0,1fr);column-gap:22px;margin:23px 0}
.contact-info-item .contact-icon-modern{display:grid;place-items:center;width:76px;height:76px;min-width:76px;min-height:76px;border-radius:50%;background:radial-gradient(circle at 32% 22%,#f9ecff 0%,#ead4f7 78%);font-family:Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif;font-size:39px;line-height:1;box-shadow:0 4px 16px rgba(101,17,160,.07);border:1px solid #f2e3fb}
.contact-info-item>div{border-left:3px solid #c79bdf;padding-left:19px;min-width:0}
.contact-info-item strong{display:block}
@media(max-width:480px){.contact-info-item{grid-template-columns:60px minmax(0,1fr);gap:14px}.contact-info-item .contact-icon-modern{width:60px;height:60px;min-width:60px;min-height:60px;font-size:32px}.contact-info-item>div{padding-left:12px;border-left-width:2px}}

/* v47: iconos vectoriales coherentes y alianzas en Nosotras */
.contact-info-item .contact-icon-modern{display:grid;place-items:center;width:78px;height:78px;min-width:78px;min-height:78px;border-radius:50%;background:linear-gradient(145deg,#f5e5fd,#ead2f8);border:0;box-shadow:none;font-size:0}
.contact-icon-modern img{display:block;width:58px;height:58px;object-fit:contain}
.contact-info-item>div{border-left:3px solid #c99ae8;padding-left:20px}
.eem-alliances{padding-top:48px;padding-bottom:75px;text-align:center}
.eem-alliances h2{color:#6511a0;font-size:clamp(29px,4vw,45px);margin:12px 0 14px}
.eem-alliances>p{max-width:720px;margin:0 auto 34px;color:#543065;line-height:1.65}
.alliance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.alliance-logo{min-height:140px;background:#fff;border:1px solid #eee4f2;border-radius:18px;display:flex;align-items:center;justify-content:center;padding:20px;box-shadow:0 5px 16px rgba(73,26,103,.04)}
.alliance-logo img{width:100%;max-width:200px;height:100px;object-fit:contain}
@media(max-width:760px){.alliance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.alliance-logo{min-height:110px;padding:12px}.alliance-logo img{height:85px}.contact-info-item .contact-icon-modern{width:60px;height:60px;min-width:60px;min-height:60px}.contact-icon-modern img{width:46px;height:46px}}
