
:root{
  --orange:#ff6b0a; --orange-soft:#fff0e4; --ink:#292d35; --deep:#17221d;
  --cream:#f7f4ee; --white:#ffffff; --gold:#b99a6a; --muted:#737872;
  --line:rgba(41,45,53,.14); --shadow:0 24px 70px rgba(34,37,33,.12);
  --serif:"Playfair Display",Georgia,serif; --sans:"DM Sans",Arial,sans-serif;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);overflow-x:hidden}
a{color:inherit;text-decoration:none}button,input{font:inherit}.container{width:min(1180px,calc(100% - 44px));margin:auto}
.site-header{position:fixed;z-index:50;top:16px;left:50%;transform:translateX(-50%);width:min(1220px,calc(100% - 24px));height:74px;border-radius:22px;background:rgba(255,255,255,.82);backdrop-filter:blur(18px);display:flex;align-items:center;padding:0 16px;box-shadow:0 13px 45px rgba(30,32,28,.10);border:1px solid rgba(255,255,255,.75)}
.logo-link{display:flex;align-items:center;gap:10px;min-width:260px}.logo-link img{height:48px;width:auto;max-width:175px;object-fit:contain}.nav{display:flex;justify-content:center;align-items:center;gap:24px;flex:1}.nav a{font-size:11px;font-weight:700;position:relative;padding:27px 0}.nav a:after{content:"";position:absolute;left:0;right:100%;bottom:17px;height:2px;background:var(--orange);transition:.28s}.nav a:hover:after,.nav a.active:after{right:0}
.head-actions{display:flex;align-items:center;gap:8px}.pill,.btn{border:0;border-radius:13px;padding:13px 16px;font-size:10px;font-weight:800;letter-spacing:.01em;display:inline-flex;align-items:center;gap:9px;transition:.28s;cursor:pointer}.pill:hover,.btn:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.12)}.btn-dark{background:var(--ink);color:white}.btn-orange{background:var(--orange);color:white}.btn-light{background:white;color:var(--ink)}.lang-toggle{display:flex;background:#f0eee8;padding:4px;border-radius:12px}.lang-toggle button{border:0;background:transparent;padding:8px 9px;border-radius:9px;font-size:9px;font-weight:800;cursor:pointer}.lang-toggle button.active{background:white;color:var(--orange);box-shadow:0 4px 12px rgba(0,0,0,.07)}.menu-toggle{display:none;border:0;background:var(--ink);color:white;width:42px;height:42px;border-radius:12px}
.mobile-menu{position:fixed;z-index:45;inset:0;background:rgba(247,244,238,.98);padding:110px 24px 40px;transform:translateY(-105%);transition:.5s cubic-bezier(.8,0,.2,1)}.mobile-menu.open{transform:none}.mobile-menu a{display:block;font:600 38px/1.25 var(--serif);padding:9px 0;border-bottom:1px solid var(--line)}.mobile-menu .mobile-actions{display:flex;gap:10px;margin-top:25px}.eyebrow{font-size:9px;text-transform:uppercase;letter-spacing:.18em;font-weight:800;color:var(--orange);margin:0 0 16px}.display{font:600 clamp(52px,7vw,104px)/.9 var(--serif);letter-spacing:-.055em;margin:0}.display em,.section-title em{font-style:italic;font-weight:500}.section-title{font:600 clamp(42px,5vw,72px)/.97 var(--serif);letter-spacing:-.045em;margin:0}.lead{font-size:15px;line-height:1.8;color:#656b65;max-width:590px}
.hero{min-height:100svh;position:relative;display:flex;align-items:flex-end;color:white;overflow:hidden}.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,21,18,.79),rgba(15,21,18,.32) 62%,rgba(15,21,18,.12)),url("https://images.unsplash.com/photo-1494386346843-e12284507169?auto=format&fit=crop&w=2200&q=85") center/cover}.hero:after{content:"";position:absolute;width:650px;height:650px;border:1px solid rgba(255,107,10,.35);border-radius:50%;right:-260px;top:80px;box-shadow:0 0 0 80px rgba(255,107,10,.04),0 0 0 160px rgba(255,107,10,.025)}.hero-content{position:relative;z-index:2;width:min(1180px,calc(100% - 44px));margin:0 auto 90px}.hero .eyebrow{color:#ffd4b8}.hero .lead{color:rgba(255,255,255,.78)}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hero-stamp{position:absolute;z-index:2;right:max(24px,calc((100% - 1180px)/2));bottom:95px;width:150px;height:150px;border-radius:50%;border:1px solid rgba(255,255,255,.35);display:grid;place-items:center;text-align:center;font-size:9px;text-transform:uppercase;letter-spacing:.12em;animation:float 5s ease-in-out infinite}.hero-stamp strong{display:block;color:#ffb17d;font:600 22px var(--serif);text-transform:none;letter-spacing:0}
.section{padding:110px 0}.section-head{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:end;margin-bottom:55px}.section-head .lead{justify-self:end}
.brand-stripe{height:4px;background:linear-gradient(90deg,var(--orange),var(--gold),transparent)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{background:white;border-radius:22px;overflow:hidden;transition:.45s;position:relative}.card:hover{transform:translateY(-8px);box-shadow:var(--shadow)}.card-media{height:280px;overflow:hidden}.card-media img{width:100%;height:100%;object-fit:cover;transition:1s}.card:hover .card-media img{transform:scale(1.06)}.card-body{padding:25px}.card-body span{font-size:9px;text-transform:uppercase;letter-spacing:.13em;color:var(--orange);font-weight:800}.card-body h3{font:600 27px/1.05 var(--serif);margin:13px 0}.card-body p{font-size:12px;line-height:1.7;color:var(--muted)}.card-link{font-size:10px;font-weight:800}.card-link:after{content:" →";color:var(--orange)}
.orange-panel{background:var(--orange);color:white;border-radius:30px;padding:64px;position:relative;overflow:hidden}.orange-panel:before{content:"";position:absolute;width:520px;height:520px;border:1px solid rgba(255,255,255,.24);border-radius:50%;right:-190px;top:-270px;box-shadow:0 0 0 70px rgba(255,255,255,.05),0 0 0 140px rgba(255,255,255,.04)}
.dark-section{background:var(--deep);color:white}.dark-section .lead{color:rgba(255,255,255,.62)}
.metrics{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.16);border-bottom:1px solid rgba(255,255,255,.16)}.metric{padding:30px;border-right:1px solid rgba(255,255,255,.16)}.metric:last-child{border:0}.metric strong{display:block;font:600 52px var(--serif);color:#ffc39a}.metric span{font-size:9px;text-transform:uppercase;letter-spacing:.14em;color:rgba(255,255,255,.55)}
.team-preview{display:grid;grid-template-columns:1.05fr .95fr;gap:24px;align-items:stretch}.team-photo{min-height:540px;border-radius:28px;background:url("team/otoniel.jpg") center/cover}.team-copy{background:#ece8df;border-radius:28px;padding:55px;display:flex;flex-direction:column;justify-content:center}
.footer{background:#111916;color:white;padding:72px max(24px,calc((100% - 1180px)/2)) 28px}.footer-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:44px}.footer-logo{width:190px;filter:none}.footer h4{font-size:9px;text-transform:uppercase;letter-spacing:.17em;color:#8e9990;margin:0 0 18px}.footer a,.footer p{font-size:11px;color:#a6aea7;line-height:1.8}.footer a{display:block;transition:.25s}.footer a:hover{color:white;transform:translateX(3px)}.footer-cta{display:flex;gap:8px;flex-wrap:wrap}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:50px;padding-top:20px;display:flex;justify-content:space-between;font-size:9px;color:#6f7971}
.reveal{opacity:0;transform:translateY(26px);transition:opacity .8s cubic-bezier(.2,.8,.2,1),transform .8s cubic-bezier(.2,.8,.2,1)}.reveal.visible{opacity:1;transform:none}.stagger>*{opacity:0;transform:translateY(18px);transition:.7s}.stagger.visible>*{opacity:1;transform:none}.stagger.visible>*:nth-child(2){transition-delay:.08s}.stagger.visible>*:nth-child(3){transition-delay:.16s}.stagger.visible>*:nth-child(4){transition-delay:.24s}.parallax{will-change:transform}.glow{position:absolute;pointer-events:none;border-radius:50%;filter:blur(70px);opacity:.18;background:var(--orange)}
@keyframes float{50%{transform:translateY(-12px) rotate(2deg)}}
.subhero{padding:160px 0 90px;position:relative;overflow:hidden}.subhero:after{content:"";position:absolute;right:-140px;top:55px;width:420px;height:420px;border:1px solid rgba(255,107,10,.23);border-radius:50%;box-shadow:0 0 0 60px rgba(255,107,10,.04),0 0 0 120px rgba(255,107,10,.025)}.subhero .lead{margin-top:22px}
.checkout{display:grid;grid-template-columns:.85fr 1.15fr;gap:18px}.panel{background:white;border-radius:24px;padding:34px;box-shadow:0 14px 45px rgba(30,35,30,.06)}.amount-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.amount-grid button,.payment-tabs button{border:1px solid var(--line);background:#faf9f6;border-radius:12px;padding:14px;font-weight:800;cursor:pointer}.amount-grid button.active{background:var(--orange);color:white;border-color:var(--orange)}.payment-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;background:#f0eee9;padding:5px;border-radius:14px}.payment-tabs button{border:0;background:transparent;font-size:10px}.payment-tabs button.active{background:white;box-shadow:0 4px 13px rgba(0,0,0,.07)}label{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:#767b75;margin-top:16px}input{width:100%;border:1px solid var(--line);background:#fbfaf7;border-radius:12px;padding:14px;margin-top:8px;outline:none}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.watermark{position:absolute;right:5%;top:50%;transform:translateY(-50%);width:44%;max-width:430px;opacity:.035;pointer-events:none}.secure-note{background:#eff4ef;border-radius:15px;padding:17px;font-size:10px;line-height:1.6;color:#56605a;margin-top:18px}
.library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.book{background:white;border-radius:22px;padding:20px;transition:.4s}.book:hover{transform:translateY(-8px);box-shadow:var(--shadow)}.book-cover{aspect-ratio:3/4;border-radius:15px;background:linear-gradient(145deg,var(--ink),#435148);padding:24px;color:white;display:flex;flex-direction:column;justify-content:space-between;box-shadow:11px 13px 24px rgba(0,0,0,.15);transform:perspective(800px) rotateY(-3deg);transition:.45s}.book:hover .book-cover{transform:perspective(800px) rotateY(0)}.book-cover.orange{background:linear-gradient(145deg,#ff6b0a,#c94700)}.book-cover.gold{background:linear-gradient(145deg,#b99a6a,#745f3d)}.book-cover strong{font:600 31px/1 var(--serif)}.book-cover small{font-size:9px;text-transform:uppercase;letter-spacing:.14em}.book-meta{padding:20px 3px 5px}.book-meta h3{font:600 25px var(--serif);margin:9px 0}.book-meta p{font-size:11px;line-height:1.7;color:var(--muted)}
.article-hero{text-align:center;padding:160px 20px 80px}.article-hero h1{font:600 clamp(55px,8vw,105px)/.9 var(--serif);letter-spacing:-.05em;max-width:980px;margin:20px auto}.article-body{max-width:900px;margin:auto;padding:0 22px 110px;font-size:16px;line-height:1.9;color:#515850}.article-body p{margin:0 0 25px}.article-body p:first-child:first-letter{font:600 80px/.75 var(--serif);float:left;padding:9px 11px 0 0;color:var(--orange)}.article-body blockquote{font:500 38px/1.13 var(--serif);color:var(--ink);margin:55px 0;padding:25px 0 25px 30px;border-left:3px solid var(--orange)}.article-body h2{font:600 42px/1 var(--serif);color:var(--ink);margin-top:50px}
.topic-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.topic{background:white;border-radius:16px;padding:22px;transition:.3s}.topic:hover{transform:translateY(-4px);box-shadow:0 15px 35px rgba(25,30,25,.08)}.topic strong{font:600 20px var(--serif);display:block;margin:12px 0}.topic span{font-size:9px;color:var(--orange);font-weight:800;text-transform:uppercase;letter-spacing:.1em}
@media(max-width:980px){.nav{display:none}.logo-link{min-width:auto}.head-actions .btn-dark{display:none}.menu-toggle{display:block}.section-head,.team-preview,.checkout{grid-template-columns:1fr;gap:32px}.cards,.library-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.hero-stamp{display:none}.metrics{grid-template-columns:1fr 1fr}.team-photo{min-height:430px}}
@media(max-width:620px){.site-header{top:9px;height:64px;width:calc(100% - 16px);border-radius:18px}.logo-link img{height:40px;max-width:128px}.lang-toggle button{padding:7px}.container{width:calc(100% - 32px)}.hero{min-height:700px}.hero-content{width:calc(100% - 32px);margin-bottom:65px}.display{font-size:54px}.hero-actions .btn{width:100%;justify-content:space-between}.section{padding:78px 0}.section-head{margin-bottom:35px}.cards,.library-grid,.topic-grid{grid-template-columns:1fr}.card-media{height:240px}.orange-panel{padding:35px 25px}.metrics{grid-template-columns:1fr 1fr}.metric{padding:20px}.metric strong{font-size:40px}.team-copy{padding:35px 25px}.footer-grid{grid-template-columns:1fr}.footer-bottom{display:block;line-height:1.8}.checkout{gap:12px}.panel{padding:24px 18px}.payment-tabs{grid-template-columns:1fr}.two{grid-template-columns:1fr}.watermark{width:80%;right:-20%;opacity:.025}.article-hero{padding-top:120px}.article-body blockquote{font-size:30px}.subhero{padding-top:125px}}
@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,.stagger>*{opacity:1!important;transform:none!important}}

/* ===== V6 refinements ===== */
:root{--body-size:16px}
body{font-size:var(--body-size)}
.section{padding:58px 0}
.section-head{gap:56px;margin-bottom:34px}
.lead{font-size:17px;line-height:1.72}
.eyebrow{font-size:11px;line-height:1.5}
.nav a{font-size:12px}
.pill,.btn{font-size:12px}
.card-body span,.metric span,.footer h4,label{font-size:11px}
.card-body p,.book-meta p{font-size:14px}
.card-link,.secure-note{font-size:12px}
.footer a,.footer p{font-size:13px}
.footer-bottom{font-size:11px}
.topic span{font-size:11px}
.hero{min-height:780px;padding-top:118px}
.hero-bg{
 background:
 linear-gradient(90deg,rgba(15,21,18,.90) 0%,rgba(15,21,18,.70) 36%,rgba(15,21,18,.18) 70%,rgba(15,21,18,.06) 100%),
 url("visuals/familia-estudiando-aefa.jpg") center right/cover no-repeat;
}
.hero-content{margin-bottom:70px;padding-top:48px}
.hero .display{font-size:clamp(50px,6vw,88px);line-height:.94}
.hero .lead{font-size:18px;max-width:620px}
.team-photo{background-image:url("visuals/ministro-estudiando-aefa.jpg")}
.subhero{padding:135px 0 62px}
.article-hero{padding:135px 20px 58px}
.article-body{padding-bottom:65px}
.orange-panel{padding:48px}
@media(max-width:980px){
 .section{padding:50px 0}
 .hero{min-height:720px;padding-top:105px}
 .hero-content{padding-top:35px;margin-bottom:55px}
 .hero-bg{background-position:62% center}
}
@media(max-width:620px){
 :root{--body-size:15px}
 .section{padding:42px 0}
 .section-head{gap:22px;margin-bottom:26px}
 .hero{min-height:690px;padding-top:92px;align-items:flex-end}
 .hero-content{padding-top:24px;margin-bottom:42px}
 .hero .display{font-size:46px;line-height:.96}
 .hero .lead{font-size:16px;line-height:1.62}
 .hero-bg{
   background:
   linear-gradient(180deg,rgba(15,21,18,.30) 0%,rgba(15,21,18,.38) 30%,rgba(15,21,18,.92) 75%,rgba(15,21,18,.96) 100%),
   url("visuals/familia-estudiando-aefa.jpg") 64% center/cover no-repeat;
 }
 .lead{font-size:16px}
 .eyebrow{font-size:10px}
 .orange-panel{padding:30px 22px}
 .subhero{padding:112px 0 48px}
}

/* ===== V7 requested corrections only ===== */
.logo-link img{height:54px;max-width:220px;object-fit:contain}
.footer-logo{width:230px;max-width:100%;height:auto;object-fit:contain}
.hero-bg{background:none !important;transform:none !important}
.hero-slides{position:absolute;inset:0;z-index:0;overflow:hidden;background:#101713}
.hero-slide{position:absolute;inset:0;opacity:0;background-size:cover;background-repeat:no-repeat;background-position:center;animation:aefaHeroFade 21s infinite ease-in-out;transform:none !important}
.hero-slide:nth-child(1){animation-delay:0s}.hero-slide:nth-child(2){animation-delay:7s}.hero-slide:nth-child(3){animation-delay:14s}
.hero-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,18,15,.86) 0%,rgba(12,18,15,.68) 38%,rgba(12,18,15,.22) 72%,rgba(12,18,15,.10) 100%)}
@keyframes aefaHeroFade{0%{opacity:0}8%{opacity:1}30%{opacity:1}39%{opacity:0}100%{opacity:0}}
.hero{padding-top:84px}.hero-content{padding-top:14px;margin-bottom:58px}.hero .eyebrow{margin-bottom:10px}.hero .display{margin-bottom:14px}.hero .lead{margin-top:0}.hero-actions{margin-top:18px}
.team-photo.team-group{background-image:url("visuals/equipo-ministerial-aefa.jpg") !important;background-size:contain !important;background-repeat:no-repeat !important;background-position:center !important;background-color:#eee9df;transform:none !important}
.team-preview:hover .team-photo.team-group{transform:none !important}
.checkout input{display:block !important;min-height:50px;background:#fff !important;border:1.5px solid rgba(41,45,53,.26) !important;box-shadow:inset 0 1px 0 rgba(41,45,53,.02);color:var(--ink)}
.checkout label{color:#5f655f}.checkout input:focus{border-color:var(--orange) !important;box-shadow:0 0 0 3px rgba(255,107,10,.10)}
.wvs-association{display:grid;grid-template-columns:280px 1fr;gap:42px;align-items:center;background:white;border-radius:26px;padding:34px;box-shadow:0 16px 50px rgba(30,35,30,.07)}
.wvs-association img{width:100%;max-width:250px;justify-self:center}.wvs-association .section-title{font-size:clamp(36px,4.2vw,58px)}.wvs-note{font-size:15px;line-height:1.75;color:var(--muted)}
.footer-credit{color:#aeb5ae;font-size:11px}.footer-credit strong{color:#fff}
.article-topic-image{width:min(1100px,calc(100% - 36px));height:440px;object-fit:cover;display:block;margin:0 auto 54px;border-radius:26px;box-shadow:0 18px 50px rgba(20,25,20,.10)}
@media(max-width:980px){.wvs-association{grid-template-columns:220px 1fr}.hero{padding-top:78px}}
@media(max-width:720px){.wvs-association{grid-template-columns:1fr;text-align:center}.hero{padding-top:74px}.hero-content{padding-top:8px;margin-bottom:40px}.hero-slide{background-position:center}.hero-slide::after{background:linear-gradient(180deg,rgba(12,18,15,.22) 0%,rgba(12,18,15,.50) 45%,rgba(12,18,15,.94) 84%,rgba(12,18,15,.97) 100%)}.logo-link img{height:45px;max-width:150px}.article-topic-image{height:260px;margin-bottom:34px;border-radius:18px}}
@media(prefers-reduced-motion:reduce){.hero-slide{animation:none !important;opacity:0}.hero-slide:first-child{opacity:1}}

/* ===== V8 requested corrections only ===== */

/* No image zoom anywhere on the site */
.card-media img,
.card:hover .card-media img,
.book-cover,
.book:hover .book-cover,
.team-photo,
.team-preview:hover .team-photo,
.article-topic-image,
.hero-slide,
.parallax {
  transform:none !important;
  scale:1 !important;
}
.card-media img,
.article-topic-image {
  transition:opacity .35s ease, filter .35s ease !important;
}
.card:hover .card-media img {
  filter:brightness(.98);
}
.book-cover,
.book:hover .book-cover {
  transition:box-shadow .3s ease !important;
}

/* Home: keep distance from menu, but bring AEFA eyebrow and title much closer */
.hero-content{padding-top:14px !important;}
.hero .eyebrow{
  margin-top:0 !important;
  margin-bottom:2px !important;
}
.hero .display{
  margin-top:0 !important;
  margin-bottom:12px !important;
  line-height:.90 !important;
}

/* Donation form: visually strong inputs */
.checkout form{display:block}
.checkout label{
  display:block !important;
  margin-top:16px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#5f655f;
}
.checkout label > span{display:block}
.checkout input{
  display:block !important;
  width:100% !important;
  min-height:52px !important;
  margin-top:8px !important;
  padding:14px 15px !important;
  border:1.5px solid rgba(41,45,53,.32) !important;
  border-radius:12px !important;
  background:#fff !important;
  color:#292d35 !important;
  opacity:1 !important;
  visibility:visible !important;
}
.checkout input::placeholder{color:#9a9e99;opacity:1}

/* Dedicated AEFA courses page */
.course-hero{padding:138px 0 58px}
.course-intro{max-width:760px}
.course-paths{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.course-path{background:#fff;border-radius:22px;padding:28px;box-shadow:0 12px 36px rgba(30,35,30,.06);transition:transform .25s ease,box-shadow .25s ease}
.course-path:hover{transform:translateY(-4px);box-shadow:0 18px 45px rgba(30,35,30,.10)}
.course-path .number{font:600 38px var(--serif);color:var(--orange)}
.course-path h3{font:600 28px/1.05 var(--serif);margin:14px 0}
.course-path p{font-size:14px;line-height:1.7;color:var(--muted)}
.course-topics{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.course-topics span{font-size:11px;padding:8px 10px;border-radius:999px;background:var(--orange-soft);color:#8e3a00;font-weight:700}
.course-band{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;background:#17221d;color:#fff;border-radius:28px;padding:44px}
.course-band p{color:rgba(255,255,255,.72);font-size:15px;line-height:1.75}
@media(max-width:980px){.course-paths{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){
 .course-paths{grid-template-columns:1fr}
 .course-band{grid-template-columns:1fr;padding:30px 22px}
 .course-hero{padding:112px 0 44px}
 .hero .eyebrow{margin-bottom:1px !important}
 .hero .display{line-height:.91 !important}
}

/* ===== V9: corrección puntual Home ===== */

/* Hero más compacto para mostrar las fotos completas, sin efecto de zoom */
.hero{
  min-height:650px !important;
  padding-top:0 !important;
  align-items:flex-start !important;
}
.hero-slides{
  background:#111915;
}
.hero-slide{
  background-size:100% auto !important;
  background-position:center top !important;
  background-repeat:no-repeat !important;
  transform:none !important;
  scale:1 !important;
}

/* Texto mucho más cerca de la barra, sin tocarla */
.hero-content{
  margin:0 auto !important;
  padding-top:128px !important;
  padding-bottom:0 !important;
}
.hero .eyebrow{
  margin:0 0 2px 0 !important;
}
.hero .display{
  margin:0 0 12px 0 !important;
  line-height:.90 !important;
}
.hero .lead{
  margin-top:0 !important;
}
.hero-actions{
  margin-top:18px !important;
}
.hero-stamp{
  bottom:44px !important;
}

/* Tablet */
@media(max-width:980px){
  .hero{
    min-height:620px !important;
  }
  .hero-content{
    padding-top:112px !important;
  }
  .hero-slide{
    background-size:auto 100% !important;
    background-position:center center !important;
  }
}

/* Móvil: priorizar que la imagen se vea completa en ancho y el texto siga legible */
@media(max-width:620px){
  .hero{
    min-height:680px !important;
  }
  .hero-content{
    padding-top:100px !important;
    margin:0 auto !important;
  }
  .hero-slide{
    background-size:100% auto !important;
    background-position:center top !important;
  }
}

/* ===== V10: ONLY requested changes ===== */

/* Home carousel: real internet photos, brighter presentation, absolutely no zoom */
.hero-slides{
  background:#f5f1e9 !important;
}
.hero-slide{
  background-size:contain !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  transform:none !important;
  scale:1 !important;
  filter:none !important;
}
.hero-slide::after{
  background:linear-gradient(90deg,
    rgba(18,24,21,.62) 0%,
    rgba(18,24,21,.42) 31%,
    rgba(18,24,21,.10) 58%,
    rgba(18,24,21,0) 78%) !important;
}
.hero-slide:hover,
.hero:hover .hero-slide{
  transform:none !important;
  scale:1 !important;
}

/* Explicit global safeguard: images never zoom */
img,
.card-media img,
.card:hover .card-media img,
.article-topic-image,
.team-photo,
.team-preview:hover .team-photo{
  transform:none !important;
  scale:1 !important;
}

/* Courses AEFA and Materials remain separate visible Home offerings */
.home-offerings{
  grid-template-columns:repeat(4,1fr) !important;
}
@media(max-width:980px){
  .home-offerings{grid-template-columns:repeat(2,1fr) !important}
  .hero-slide{background-size:contain !important}
}
@media(max-width:620px){
  .home-offerings{grid-template-columns:1fr !important}
  .hero-slide{background-size:contain !important;background-position:center top !important}
}

/* ===== V11 requested changes ===== */

/* Four offerings are now separate vertical sections */
.formation-intro{padding-bottom:32px !important}
.formation-feature{padding:28px 0 78px}
.formation-feature-alt{background:#f0ede6}
.formation-row{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);
  gap:64px;
  align-items:center;
}
.formation-row-reverse .formation-image{order:2}
.formation-row-reverse .formation-copy{order:1}
.formation-image{
  min-height:520px;
  border-radius:28px;
  overflow:hidden;
  background:#eee9df;
}
.formation-image img{
  width:100%;
  height:520px;
  object-fit:cover;
  object-position:center;
  display:block;
  transform:none !important;
  scale:1 !important;
  transition:none !important;
}
.formation-image:hover img{transform:none !important;scale:1 !important}
.formation-copy{padding:30px 0}
.formation-number{
  display:inline-block;
  font:600 52px/1 var(--serif);
  color:rgba(255,107,10,.24);
  margin-bottom:12px;
}
.formation-copy h3{
  font:600 clamp(34px,4vw,58px)/.98 var(--serif);
  margin:10px 0 20px;
}
.formation-copy h3 em{color:var(--orange);font-style:italic}
.formation-copy>p:not(.eyebrow){
  color:var(--muted);
  font-size:15px;
  line-height:1.8;
  max-width:560px;
  margin-bottom:26px;
}

/* Footer inspired by the spacious, minimal structure of El Rey Jesús — not copied */
.footer-v11{
  background:#111613 !important;
  color:#fff;
  padding:0 !important;
}
.footer-v11-main{
  width:min(1180px,calc(100% - 48px));
  margin:auto;
  padding:82px 0 56px;
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:88px;
  align-items:start;
}
.footer-v11-brand{max-width:470px}
.footer-logo-card{
  width:250px;
  background:#f8f6f1;
  border-radius:18px;
  padding:12px;
  margin-bottom:32px;
}
.footer-logo-v11{
  width:100%;
  height:auto;
  display:block;
  filter:none !important;
  transform:none !important;
}
.footer-v11-brand h2{
  font:600 clamp(34px,4vw,52px)/.98 var(--serif);
  margin:0 0 18px;
}
.footer-v11-brand p{
  color:rgba(255,255,255,.62);
  font-size:14px;
  line-height:1.75;
  max-width:430px;
}
.footer-v11-links{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:34px;
  padding-top:10px;
}
.footer-v11-links h4{
  color:rgba(255,255,255,.48);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:10px;
  margin-bottom:24px;
}
.footer-v11-links a{
  display:block;
  color:#fff;
  font-size:14px;
  margin:0 0 15px;
  transition:opacity .2s ease;
}
.footer-v11-links a:hover{opacity:.62}
.footer-v11-divider{
  height:1px;
  background:rgba(255,255,255,.13);
  width:min(1180px,calc(100% - 48px));
  margin:auto;
}
.footer-v11-bottom{
  width:min(1180px,calc(100% - 48px));
  margin:auto;
  padding:24px 0 30px;
  display:flex;
  justify-content:space-between;
  gap:24px;
  color:rgba(255,255,255,.48);
  font-size:11px;
}

/* Reinforce: no zoom on any image */
img,.formation-image img,.card-media img,.hero-slide,.team-photo,.article-topic-image{
  transform:none !important;
  scale:1 !important;
}

@media(max-width:980px){
  .formation-row{grid-template-columns:1fr;gap:26px}
  .formation-row-reverse .formation-image,.formation-row-reverse .formation-copy{order:initial}
  .formation-image,.formation-image img{min-height:380px;height:380px}
  .footer-v11-main{grid-template-columns:1fr;gap:48px}
}
@media(max-width:680px){
  .formation-feature{padding:22px 0 58px}
  .formation-image,.formation-image img{min-height:280px;height:280px}
  .footer-v11-main{padding:56px 0 38px}
  .footer-v11-links{grid-template-columns:1fr 1fr}
  .footer-v11-bottom{flex-direction:column}
  .footer-logo-card{width:210px}
}

/* ===== V12 requested corrections only ===== */

/* Footer more compact, with smaller typography */
.footer-v11-main{
  padding:46px 0 30px !important;
  gap:54px !important;
}
.footer-logo-card{
  width:170px !important;
  padding:8px !important;
  margin-bottom:20px !important;
  border-radius:12px !important;
}
.footer-v11-brand h2{
  font-size:clamp(25px,2.5vw,34px) !important;
  line-height:1.02 !important;
  margin-bottom:12px !important;
}
.footer-v11-brand p{
  font-size:12px !important;
  line-height:1.6 !important;
  max-width:390px !important;
}
.footer-v11-links{
  gap:26px !important;
  padding-top:4px !important;
}
.footer-v11-links h4{
  font-size:8px !important;
  margin-bottom:16px !important;
}
.footer-v11-links a{
  font-size:12px !important;
  margin-bottom:10px !important;
}
.footer-v11-bottom{
  padding:15px 0 18px !important;
  font-size:9px !important;
}

/* Preserve no-zoom rule */
img,.hero-slide,.formation-image img,.card-media img,.team-photo,.article-topic-image{
  transform:none !important;
  scale:1 !important;
}
@media(max-width:680px){
  .footer-v11-main{padding:36px 0 24px !important}
  .footer-logo-card{width:145px !important}
  .footer-v11-links{gap:20px !important}
}

/* ===== V13 requested corrections only ===== */
/* 1. Courses AEFA hero aligned left like the other tabs */
.course-hero .course-intro{margin-left:0!important;margin-right:auto!important;text-align:left!important;max-width:900px!important}
.course-hero .course-intro .lead{margin-left:0!important;margin-right:0!important;max-width:760px!important}
.course-view-btn{margin-top:22px;width:max-content}
.course-detail-hero{padding:145px 0 62px;background:#f4f0e8}.course-detail-hero .lead{max-width:760px}
.course-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:56px;align-items:start}.course-detail-main p,.course-detail-main li{font-size:15px;line-height:1.8;color:var(--muted)}.course-detail-main h3{font:600 26px var(--serif);margin-top:30px}.course-detail-main ul{padding-left:22px}.course-source-note{padding:18px;border-left:3px solid var(--orange);background:#f6f2eb}.course-contact-card{position:sticky;top:110px;background:#fff;border-radius:24px;padding:28px;box-shadow:var(--shadow)}.course-contact-card h3{font:600 30px/1.05 var(--serif)}.course-contact-card .btn{width:100%;margin-top:10px}.btn-whatsapp{background:#1f9d55;color:#fff}.course-contact-card small{display:block;margin-top:16px;font-size:10px;line-height:1.6;color:var(--muted)}.course-modes-section{background:#efebe3}.course-modes{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.course-mode{background:white;border-radius:22px;padding:24px}.course-mode h3{font:600 24px/1.08 var(--serif)}.course-mode p{font-size:12px;line-height:1.7;color:var(--muted)}.course-mode strong{display:block;color:#17753f;font-size:12px;line-height:1.5;margin:18px 0}.course-mode .btn{width:100%}
/* 4. Material donation callouts */
.material-donation-note{margin:14px 0 12px;padding:11px 12px;border-radius:11px;background:#edf8f0;color:#17673a;font-size:12px;line-height:1.5}.material-actions{display:flex;gap:8px;flex-wrap:wrap}.material-actions .btn{flex:1;min-width:150px}
.donation-context-wrap{padding:125px 0 0}.donation-context{background:#edf8f0;border-radius:20px;padding:22px 26px}.donation-context h2{font:600 30px/1.1 var(--serif);margin:4px 0 8px}.donation-context p{margin:0;color:#4f5d54}
/* 5. Footer: same dark visual family as El Rey Jesús; transparent AEFA logo with white lettering */
.footer-v11{background:#071827!important}.footer-logo-card{background:transparent!important;padding:0!important;border-radius:0!important;width:180px!important}.footer-logo-v11{width:100%!important;filter:none!important;opacity:1!important}.footer-v11-divider{background:rgba(255,255,255,.12)!important}
/* No zoom anywhere */
img,.hero-slide,.formation-image img,.card-media img,.team-photo,.article-topic-image,.book-cover{transform:none!important;scale:1!important}
@media(max-width:980px){.course-detail-grid{grid-template-columns:1fr}.course-contact-card{position:static}.course-modes{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.course-modes{grid-template-columns:1fr}.course-detail-hero{padding:116px 0 48px}.material-actions{display:grid;grid-template-columns:1fr}.footer-logo-card{width:150px!important}}

/* ===== V14 requested changes only ===== */
/* Equal-height course listing cards and aligned CTAs */
.course-paths{align-items:stretch}
.course-path{display:flex!important;flex-direction:column;height:100%}
.course-path>p{flex:0 0 auto}
.course-path .course-topics{margin-bottom:22px}
.course-path .course-view-btn{margin-top:auto;align-self:flex-start}

/* Course acquisition cards: aligned buttons and clearer value comparison */
.course-modes{align-items:stretch}
.course-mode{display:flex!important;flex-direction:column;height:100%;padding:24px!important}
.course-mode-body{display:flex;flex-direction:column;flex:1}
.course-mode .btn{margin-top:auto!important;width:100%;justify-content:space-between}
.mode-kicker{font-size:9px;text-transform:uppercase;letter-spacing:.13em;color:var(--orange);font-weight:800;margin-bottom:10px}
.price-compare{margin:17px 0 22px;padding:15px;border-radius:14px;background:#f7f4ee;display:grid;gap:6px}
.price-compare span{font-size:11px;color:var(--muted)}
.price-compare del{font-weight:700}
.price-compare strong{font-size:18px;color:#1e4f37}
.price-compare small{font-size:10px;line-height:1.5;color:#777}
.market-note{padding:18px 22px;border:1px solid rgba(255,107,10,.18);border-radius:16px;background:#fff8f2;margin:-10px 0 25px;display:flex;gap:18px;align-items:flex-start}
.market-note strong{min-width:210px;font-size:13px}.market-note span,.pricing-source-note{font-size:11px;line-height:1.65;color:var(--muted)}
.pricing-source-note{margin-top:18px}

/* Donation aftercare */
.donation-aftercare{padding:0 0 68px}.aftercare-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;background:#f0ede6;border-radius:26px;padding:34px}
.aftercare-grid h2{font:600 38px/1.02 var(--serif);margin:8px 0 15px}.aftercare-grid h2 em{color:var(--orange)}
.aftercare-grid p{font-size:14px;line-height:1.75;color:var(--muted)}.aftercare-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.digital-delivery-card{background:#fff;border-radius:20px;padding:26px}.digital-delivery-card>span{font-size:9px;text-transform:uppercase;letter-spacing:.13em;color:var(--orange);font-weight:800}.digital-delivery-card h3{font:600 27px/1.08 var(--serif);margin:9px 0 12px}.digital-delivery-card li{font-size:12px;line-height:1.65;margin:6px 0}.digital-delivery-card small{display:block;margin-top:16px;color:#777;line-height:1.55}

/* Materials filters + equal card actions */
.materials-tools{padding:26px 0 0}.materials-toolbar{display:grid;grid-template-columns:1.8fr repeat(3,1fr);gap:12px;background:#fff;border-radius:18px;padding:18px;box-shadow:0 10px 32px rgba(20,25,22,.06)}
.materials-toolbar label{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-weight:800;margin-bottom:7px}.materials-toolbar input,.materials-toolbar select{width:100%;min-height:44px;border:1px solid rgba(41,45,53,.16);border-radius:11px;background:#faf9f6;padding:9px 12px;font:500 12px var(--sans)}
.library-grid{align-items:stretch}.book.material-card{display:flex;flex-direction:column;height:100%}.book.material-card .book-meta{display:flex;flex-direction:column;flex:1}.book.material-card .book-meta>p{flex:1}.material-actions{margin-top:auto!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.material-actions .btn{width:100%;justify-content:space-between}.material-cover-image{height:240px;border-radius:15px;overflow:hidden;position:relative;background:#eee}.material-cover-image img{width:100%;height:100%;object-fit:cover;transform:none!important;scale:1!important;transition:none!important}.material-cover-image span{position:absolute;left:12px;bottom:12px;background:rgba(17,25,22,.88);color:#fff;padding:6px 9px;border-radius:999px;font-size:9px;font-weight:800}.material-free-note,.material-donation-note{min-height:54px;display:flex;align-items:center;border-radius:12px;padding:11px 12px;margin:14px 0;font-size:11px;line-height:1.5}.material-free-note{background:#e9f6ed;color:#195c36}.materials-empty,.materials-demo-note{font-size:12px;color:var(--muted);text-align:center;margin:24px auto;max-width:720px}

/* Gallery and Home activities */
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.gallery-card{background:#fff;border-radius:20px;overflow:hidden;padding-bottom:20px}.gallery-card>div{height:260px;overflow:hidden}.gallery-card img{width:100%;height:100%;object-fit:cover;transform:none!important;scale:1!important;transition:none!important}.gallery-card span,.gallery-card h3,.gallery-card p{margin-left:20px;margin-right:20px}.gallery-card span{display:block;margin-top:16px;font-size:9px;text-transform:uppercase;letter-spacing:.12em;color:var(--orange);font-weight:800}.gallery-card h3{font:600 25px/1.05 var(--serif);margin-top:7px;margin-bottom:8px}.gallery-card p{font-size:12px;line-height:1.6;color:var(--muted)}
.home-activity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.home-activity-card{display:block;background:#fff;border-radius:20px;overflow:hidden;color:var(--ink);text-decoration:none;padding-bottom:18px}.home-activity-card img{width:100%;height:260px;object-fit:cover;transform:none!important;scale:1!important;transition:none!important}.home-activity-card span,.home-activity-card h3{display:block;margin-left:18px;margin-right:18px}.home-activity-card span{margin-top:14px;color:var(--orange);text-transform:uppercase;letter-spacing:.12em;font-size:9px;font-weight:800}.home-activity-card h3{font:600 25px/1.05 var(--serif);margin-top:7px}.home-activity-cta{text-align:center;margin-top:24px}

/* Global no-zoom safeguard retained */
img,.hero-slide,.formation-image img,.card-media img,.team-photo,.article-topic-image,.material-cover-image img,.gallery-card img,.home-activity-card img{transform:none!important;scale:1!important}
@media(max-width:980px){.materials-toolbar{grid-template-columns:1fr 1fr}.gallery-grid,.home-activity-grid{grid-template-columns:1fr 1fr}.aftercare-grid{grid-template-columns:1fr}.market-note{display:block}.market-note strong{display:block;margin-bottom:7px}}
@media(max-width:620px){.materials-toolbar,.gallery-grid,.home-activity-grid{grid-template-columns:1fr}.material-cover-image{height:220px}.gallery-card>div,.home-activity-card img{height:230px}}

/* ===== V15 corporate pages: About, Events, Testimonials, FAQ ===== */
.nav-more{position:relative;display:flex;align-items:center}
.nav-more-btn{border:0;background:transparent;font:inherit;font-size:10px;font-weight:800;color:var(--ink);cursor:pointer;padding:24px 8px;position:relative}
.nav-more-btn:after{content:'+';margin-left:5px;color:var(--orange)}
.nav-more-menu{position:absolute;top:56px;right:0;width:225px;background:#fff;border:1px solid rgba(41,45,53,.08);border-radius:16px;padding:10px;box-shadow:0 18px 48px rgba(20,27,23,.14);opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s;z-index:50}
.nav-more:hover .nav-more-menu,.nav-more:focus-within .nav-more-menu,.nav-more.open .nav-more-menu{opacity:1;visibility:visible;transform:none}
.nav-more-menu a{display:block!important;padding:11px 12px!important;border-radius:10px;font-size:11px!important;white-space:nowrap}
.nav-more-menu a:hover{background:#f4f1ea}
.corp-hero{padding:145px 0 76px;background:#f7f5f0}.corp-hero-grid{display:grid;grid-template-columns:1fr .92fr;gap:62px;align-items:center}.corp-hero .display{font-size:clamp(54px,6vw,86px);line-height:.94;margin:14px 0 22px}.corp-hero .display em{color:var(--orange)}.corp-hero .lead{max-width:650px;font-size:17px;line-height:1.75}.corp-hero-photo{height:460px;border-radius:30px;background-size:cover;background-position:center}.about-photo{background-image:url('activities/equipo-aefa-quienes-somos.jpg');background-position:center 46%}.events-photo{background-image:url('activities/conferencia-auditorio.jpg');background-position:center 48%}.testimonies-photo{background-image:url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1500&q=88')}.corp-soft{background:#efebe3}.corp-dark{background:#14201b;color:#fff}.corp-quote{max-width:900px;margin:auto;text-align:center;padding:24px}.corp-quote p{font:600 clamp(36px,5vw,64px)/1.05 var(--serif);margin:0 0 16px}.corp-quote span{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.corp-three,.value-grid,.event-grid,.event-placeholder-grid,.impact-grid,.test-placeholder{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:42px}.corp-three article,.value-grid article,.event-grid article,.event-placeholder-grid article,.impact-grid article,.test-placeholder article{background:#fff;border-radius:22px;padding:28px;min-height:260px;display:flex;flex-direction:column}.corp-three span,.value-grid b,.event-grid span,.impact-grid b,.test-placeholder span{font-size:10px;color:var(--orange);font-weight:800;text-transform:uppercase;letter-spacing:.1em}.corp-three h3,.value-grid h3,.event-grid h3,.event-placeholder-grid h3,.impact-grid h3,.test-placeholder h3{font:600 28px/1.08 var(--serif);margin:18px 0 12px}.corp-three p,.value-grid p,.event-grid p,.event-placeholder-grid p,.impact-grid p,.test-placeholder p{font-size:13px;line-height:1.75;color:var(--muted)}.corp-split{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.corp-dark .section-title,.corp-dark p{color:#fff}.corp-dark p{font-size:15px;line-height:1.8;color:rgba(255,255,255,.72)}.topic-cloud{display:flex;flex-wrap:wrap;gap:10px;margin-top:36px}.topic-cloud span{background:#fff;padding:13px 15px;border-radius:999px;font-size:12px;font-weight:700}.event-placeholder-grid article b{font-size:10px;color:#7a817b;text-transform:uppercase;letter-spacing:.1em}.center-cta{text-align:center;margin-top:34px}.integrity-note{max-width:920px;margin:auto;background:#fff;border:1px solid rgba(41,45,53,.08);border-radius:28px;padding:42px}.integrity-note span{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:var(--orange);font-weight:800}.integrity-note h2{font:600 clamp(36px,4vw,54px)/1.02 var(--serif);margin:14px 0}.integrity-note p{font-size:14px;line-height:1.8;color:var(--muted)}.faq-hero{text-align:left}.faq-hero .container{max-width:960px}.faq-layout{display:grid;grid-template-columns:330px 1fr;gap:70px;align-items:start}.faq-aside{position:sticky;top:120px}.faq-aside h2{font:600 38px/1.05 var(--serif);margin:14px 0}.faq-aside p{font-size:13px;line-height:1.75;color:var(--muted);margin-bottom:24px}.faq-list{display:grid;gap:10px}.faq-list details{background:#fff;border:1px solid rgba(41,45,53,.09);border-radius:16px;padding:0 20px}.faq-list summary{cursor:pointer;list-style:none;font-weight:800;padding:20px 32px 20px 0;position:relative}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:'+';position:absolute;right:0;color:var(--orange);font-size:22px;font-weight:500}.faq-list details[open] summary:after{content:'–'}.faq-list details p{margin:0;padding:0 0 20px;color:var(--muted);font-size:13px;line-height:1.75}.corp-hero-photo,img,.card-media img,.formation-image img,.hero-slide,.team-photo,.article-topic-image{transform:none!important;scale:1!important}
@media(max-width:1100px){.nav-more{display:none}}
@media(max-width:900px){.corp-hero-grid,.corp-split,.faq-layout{grid-template-columns:1fr}.corp-hero-photo{height:360px}.corp-three,.value-grid,.event-grid,.event-placeholder-grid,.impact-grid,.test-placeholder{grid-template-columns:1fr 1fr}.faq-aside{position:static}}
@media(max-width:620px){.corp-hero{padding:112px 0 52px}.corp-hero-photo{height:280px}.corp-three,.value-grid,.event-grid,.event-placeholder-grid,.impact-grid,.test-placeholder{grid-template-columns:1fr}.corp-three article,.value-grid article,.event-grid article,.event-placeholder-grid article,.impact-grid article,.test-placeholder article{min-height:0}}

/* ===== V16: requested repairs only ===== */

/* Critical navigation repair: hidden menus cannot overlay page content */
.mobile-menu{
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
  transform:translateY(-105%) !important;
}
.mobile-menu.open{
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
  transform:none !important;
}
.nav-more-menu{
  display:none !important;
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
}
.nav-more.open .nav-more-menu{display:block !important}
.nav-more:hover .nav-more-menu:not(:focus-within){display:none !important}
@media(min-width:1101px){.mobile-menu{display:none !important}}
@media(max-width:1100px){.nav-more{display:none !important}}

/* Testimonial cards — demo data ready to be replaced from CMS */
.testimonials-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.testimonial-card{background:#fff;border-radius:24px;overflow:hidden;display:grid;grid-template-columns:190px 1fr;min-height:300px;border:1px solid rgba(41,45,53,.08)}
.testimonial-photo{background:#f1ede5}
.testimonial-photo img{width:100%;height:100%;object-fit:cover;display:block;transform:none!important;scale:1!important}
.testimonial-body{padding:28px;display:flex;flex-direction:column;justify-content:center}
.demo-badge{align-self:flex-start;background:#fff0e4;color:#9a480e;border-radius:999px;padding:7px 10px;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-bottom:18px}
.testimonial-body blockquote{font:500 23px/1.35 var(--serif);margin:0 0 22px}
.testimonial-body h3{font-size:15px;margin:0 0 5px}
.testimonial-body p{font-size:11px;color:var(--muted);margin:0}

/* Gallery descriptions remain part of each editable record */
.gallery-card{display:flex;flex-direction:column}
.gallery-card p{margin-top:auto;padding-bottom:22px}
.gallery-card h3{min-height:54px}

/* Video showcase slots ready for admin uploads */
.videos-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.video-card{background:#fff;border-radius:24px;overflow:hidden;border:1px solid rgba(41,45,53,.08)}
.video-card video,.video-placeholder{width:100%;aspect-ratio:16/9;display:block}
.video-card video{background:#101713}
.video-placeholder{background-size:cover;background-position:center;position:relative;display:grid;place-items:center;overflow:hidden}
.video-placeholder:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,18,14,.05),rgba(10,18,14,.58))}
.video-play{position:relative;z-index:2;width:66px;height:66px;border-radius:50%;background:#fff;color:var(--orange);display:grid;place-items:center;font-size:22px;padding-left:4px;box-shadow:0 12px 38px rgba(0,0,0,.18)}
.video-placeholder small{position:absolute;z-index:2;left:18px;right:18px;bottom:16px;color:#fff;font-size:10px;font-weight:700}
.video-copy{padding:24px}
.video-copy>span{font-size:9px;color:var(--orange);text-transform:uppercase;letter-spacing:.14em;font-weight:800}
.video-copy h3{font:600 29px/1.05 var(--serif);margin:10px 0}
.video-copy p{font-size:13px;line-height:1.7;color:var(--muted)}
.admin-note-inline{margin-top:22px;border:1px dashed rgba(41,45,53,.22);border-radius:16px;padding:16px 18px;font-size:11px;line-height:1.6;color:var(--muted)}
.admin-note-inline strong{color:var(--ink)}

/* No image zoom */
.testimonial-photo img,.video-card img,.gallery-card img,img{transform:none!important;scale:1!important}

@media(max-width:900px){
  .testimonials-grid,.videos-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .testimonial-card{grid-template-columns:1fr}
  .testimonial-photo{height:220px}
}

/* ===== V17 — corrections requested ===== */

/* More compact corporate vertical rhythm */
.section{padding:78px 0 !important}
.section-head{margin-bottom:38px !important;gap:58px !important}
.subhero{padding-bottom:48px !important}
.corp-hero{padding:128px 0 54px !important}
.course-hero{padding-bottom:46px !important}
.compact-section{padding-top:58px !important}
.section-title + p,.display + .lead{margin-top:16px !important}
.eyebrow{margin-bottom:12px !important}
.corp-hero .display{margin-top:10px !important;margin-bottom:16px !important}

/* FAQ must align with the standard left edge, never visually centered */
.faq-hero{text-align:left !important}
.faq-hero .container{width:min(1180px,calc(100% - 44px)) !important;max-width:none !important;margin-left:auto !important;margin-right:auto !important}
.faq-hero .lead{margin-left:0 !important;margin-right:auto !important}

/* Priority navigation */
.site-header{gap:10px}
.logo-link{min-width:205px !important}
.nav{gap:19px !important}
.head-actions{margin-left:auto}
.site-search-trigger{
  width:38px;height:38px;border-radius:11px;border:1px solid rgba(41,45,53,.12);
  background:#fff;color:var(--ink);font-size:22px;line-height:1;cursor:pointer;display:grid;place-items:center
}
.nav-more-menu{
  display:block !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translateY(7px) !important;
}
.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu,
.nav-more.open .nav-more-menu{
  opacity:1 !important;visibility:visible !important;pointer-events:auto !important;transform:none !important
}
.mobile-secondary{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.mobile-secondary>span{display:block;color:var(--orange);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.15em;margin-bottom:5px}

/* Search overlay */
.site-search-overlay{position:fixed;z-index:120;inset:0;background:rgba(18,24,21,.72);backdrop-filter:blur(10px);display:none;align-items:flex-start;justify-content:center;padding:92px 20px 30px}
.site-search-overlay.open{display:flex}
.site-search-panel{width:min(780px,100%);max-height:calc(100vh - 120px);overflow:auto;background:#f8f6f1;border-radius:26px;padding:34px;position:relative;box-shadow:0 34px 90px rgba(0,0,0,.28)}
.site-search-close{position:absolute;right:20px;top:18px;width:38px;height:38px;border:0;border-radius:50%;background:#ece8df;font-size:25px;cursor:pointer}
.site-search-panel h2{font:600 clamp(32px,4vw,48px)/1 var(--serif);margin:8px 0 22px}
.site-search-form{display:grid;grid-template-columns:1fr auto;gap:10px}
.site-search-input{width:100%;min-height:50px;border:1px solid rgba(41,45,53,.18);border-radius:13px;padding:0 15px;background:#fff;color:var(--ink)}
.site-search-results{margin-top:24px;display:grid;gap:10px}
.search-result{display:block;background:#fff;border:1px solid rgba(41,45,53,.08);border-radius:15px;padding:16px}
.search-result span{font-size:8px;text-transform:uppercase;letter-spacing:.12em;color:var(--orange);font-weight:800}
.search-result h3{font:600 21px/1.1 var(--serif);margin:5px 0}
.search-result p{font-size:11px;line-height:1.55;color:var(--muted);margin:0}
.search-empty{font-size:13px;color:var(--muted)}

/* Material filters now have an explicit action */
.materials-toolbar{grid-template-columns:1.25fr repeat(3,.75fr) auto !important;align-items:end !important}
.materials-filter-actions{display:flex;gap:8px;align-items:center;padding-bottom:1px}
.materials-filter-actions .btn{white-space:nowrap}
.filter-reset{border:0;background:transparent;color:var(--muted);font-size:10px;font-weight:800;cursor:pointer;padding:12px 8px}
.filter-reset:hover{color:var(--ink)}

/* Testimonial submission */
.testimonial-submit-hero .container{width:min(1180px,calc(100% - 44px));text-align:left}
.testimonial-submit-layout{display:grid;grid-template-columns:.82fr 1.18fr;gap:60px;align-items:start}
.testimonial-form-intro h2{font:600 40px/1.04 var(--serif);margin:10px 0 18px}
.testimonial-form-intro p{font-size:13px;line-height:1.75;color:var(--muted)}
.testimonial-submit-form{background:#fff;border-radius:24px;padding:28px;border:1px solid rgba(41,45,53,.09)}
.testimonial-submit-form label{display:block;font-size:10px;font-weight:800;color:#5f655f;margin-bottom:15px}
.testimonial-submit-form input,.testimonial-submit-form textarea{display:block;width:100%;margin-top:7px;border:1px solid rgba(41,45,53,.18);background:#fff;border-radius:12px;padding:13px 14px;color:var(--ink)}
.testimonial-submit-form textarea{resize:vertical;min-height:150px}
.form-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.file-field small{display:block;margin-top:6px;font-weight:500;color:var(--muted)}
.consent-field{display:flex !important;gap:10px;align-items:flex-start;font-weight:500 !important;line-height:1.5}
.consent-field input{width:auto !important;margin-top:3px !important}
.testimonial-send{margin-top:4px}

/* Maintain zero image zoom */
img,.hero-slide,.formation-image img,.card-media img,.gallery-card img,.testimonial-photo img{transform:none !important;scale:1 !important}

@media(max-width:1050px){
  .nav{gap:14px !important}
  .logo-link{min-width:170px !important}
  .lang-toggle{display:none}
}
@media(max-width:980px){
  .materials-toolbar{grid-template-columns:1fr 1fr !important}
  .materials-filter-actions{grid-column:1/-1}
  .testimonial-submit-layout{grid-template-columns:1fr}
}
@media(max-width:760px){
  .section{padding:58px 0 !important}
  .site-search-form{grid-template-columns:1fr}
  .site-search-panel{padding:28px 20px}
  .materials-toolbar{grid-template-columns:1fr !important}
  .form-two{grid-template-columns:1fr}
}

/* ===== V18 — punctual repairs requested ===== */

/* MÁS+: predictable hover + click behavior */
.nav-more-btn{
  position:relative !important;
}
.nav-more-btn::before{
  content:"";
  position:absolute;
  left:8px;
  right:100%;
  bottom:16px;
  height:2px;
  background:var(--orange);
  transition:right .22s ease;
}
.nav-more:hover .nav-more-btn::before,
.nav-more:focus-within .nav-more-btn::before,
.nav-more.open .nav-more-btn::before{
  right:8px;
}
.nav-more-menu{
  display:block !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translateY(7px) !important;
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease !important;
  z-index:110 !important;
}
.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu,
.nav-more.open .nav-more-menu{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  transform:none !important;
}
.nav-more-menu a{
  position:relative;
}
.nav-more-menu a::after{
  content:"";
  position:absolute;
  left:12px !important;
  right:calc(100% - 12px) !important;
  bottom:6px !important;
  height:2px !important;
  background:var(--orange) !important;
  transition:right .2s ease !important;
}
.nav-more-menu a:hover::after,
.nav-more-menu a:focus::after{
  right:12px !important;
}
.nav-more-menu a:hover,
.nav-more-menu a:focus{
  background:#f8f5ef !important;
  outline:none;
}

/* Team list: prioritize face/head area instead of center-cropping */
.card-media .team-card-photo{
  width:100%;
  height:100%;
  object-fit:cover !important;
  object-position:var(--focal-x,50%) var(--focal-y,10%) !important;
  transform:none !important;
  scale:1 !important;
}

/* Individual profile: show more of the person's structure while preserving focal point */
.team-profile-photo{
  background-position:var(--focal-x,50%) var(--focal-y,10%) !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  transform:none !important;
  scale:1 !important;
}
@media(min-width:981px){
  .team-profile-photo{
    min-height:560px !important;
  }
}
@media(max-width:620px){
  .card-media .team-card-photo{
    object-position:var(--focal-x,50%) var(--focal-y,8%) !important;
  }
  .team-profile-photo{
    background-position:var(--focal-x,50%) var(--focal-y,8%) !important;
  }
}

/* ===== V19 — definitive Más+ repair, based on original V15 behavior ===== */
.nav-more{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
}
.nav-more-btn{
  border:0 !important;
  background:transparent !important;
  color:var(--ink) !important;
  cursor:pointer !important;
  position:relative !important;
}
.nav-more-btn::before{
  content:"";
  position:absolute;
  left:8px;
  right:calc(100% - 8px);
  bottom:16px;
  height:2px;
  background:var(--orange);
  transition:right .22s ease;
}
.nav-more:hover .nav-more-btn::before,
.nav-more:focus-within .nav-more-btn::before,
.nav-more.open .nav-more-btn::before{
  right:8px;
}
.nav-more-menu{
  display:block !important;
  position:absolute !important;
  top:56px !important;
  right:0 !important;
  width:235px !important;
  background:#fff !important;
  border:1px solid rgba(41,45,53,.08) !important;
  border-radius:16px !important;
  padding:10px !important;
  box-shadow:0 18px 48px rgba(20,27,23,.14) !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translateY(8px) !important;
  transition:opacity .2s ease,transform .2s ease,visibility .2s ease !important;
  z-index:150 !important;
}
.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu,
.nav-more.open .nav-more-menu{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  transform:none !important;
}
.nav-more-menu a{
  display:block !important;
  padding:12px 12px 14px !important;
  border-radius:10px !important;
  font-size:11px !important;
  white-space:nowrap !important;
  position:relative !important;
  z-index:1 !important;
}
.nav-more-menu a::after{
  content:"" !important;
  position:absolute !important;
  left:12px !important;
  right:calc(100% - 12px) !important;
  bottom:7px !important;
  height:2px !important;
  background:var(--orange) !important;
  transition:right .2s ease !important;
}
.nav-more-menu a:hover::after,
.nav-more-menu a:focus::after{
  right:12px !important;
}
.nav-more-menu a:hover,
.nav-more-menu a:focus{
  background:#f8f5ef !important;
  outline:none !important;
}

/* Profile images: valid, visible, face-aware focal composition */
.team-profile-photo{
  min-height:560px !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  background-position:var(--focal-x,50%) var(--focal-y,10%) !important;
  background-color:#ece8df !important;
  transform:none !important;
  scale:1 !important;
}

/* ===== V20 — two punctual fixes only ===== */

/* Material filtering must override .material-card{display:flex}. */
.material-card.is-filtered-out{
  display:none !important;
}

/* Más+ restored to a simple, non-animated dropdown. */
.nav-more{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
}
.nav-more-btn{
  border:0 !important;
  background:transparent !important;
  color:var(--ink) !important;
  cursor:pointer !important;
  position:relative !important;
  padding:24px 8px !important;
}
.nav-more-btn::before{
  content:"" !important;
  position:absolute !important;
  left:8px !important;
  right:calc(100% - 8px) !important;
  bottom:16px !important;
  height:2px !important;
  background:var(--orange) !important;
  transition:none !important;
}
.nav-more:hover .nav-more-btn::before,
.nav-more:focus-within .nav-more-btn::before,
.nav-more.open .nav-more-btn::before{
  right:8px !important;
}

.nav-more-menu{
  display:none !important;
  position:absolute !important;
  top:100% !important;
  right:0 !important;
  width:225px !important;
  background:#fff !important;
  border:1px solid rgba(41,45,53,.08) !important;
  border-radius:16px !important;
  padding:10px !important;
  box-shadow:0 18px 48px rgba(20,27,23,.14) !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  transform:none !important;
  transition:none !important;
  z-index:150 !important;
}
.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu,
.nav-more.open .nav-more-menu{
  display:block !important;
}

.nav-more-menu a{
  display:block !important;
  padding:11px 12px 14px !important;
  border-radius:0 !important;
  background:transparent !important;
  font-size:11px !important;
  white-space:nowrap !important;
  position:relative !important;
}
.nav-more-menu a::after{
  content:"" !important;
  position:absolute !important;
  left:12px !important;
  right:calc(100% - 12px) !important;
  bottom:7px !important;
  height:2px !important;
  background:var(--orange) !important;
  transition:none !important;
}
.nav-more-menu a:hover,
.nav-more-menu a:focus{
  background:transparent !important;
  outline:none !important;
}
.nav-more-menu a:hover::after,
.nav-more-menu a:focus::after{
  right:12px !important;
}

/* ===== V21 — Más+ removed; all navigation options visible ===== */
.nav-more,.nav-more-btn,.nav-more-menu{display:none !important}
.site-header{
  width:min(1460px,calc(100% - 22px)) !important;
  padding-left:14px !important;
  padding-right:14px !important;
}
.logo-link{min-width:180px !important}
.logo-link img{max-width:165px !important}
.nav{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:13px !important;
  flex:1 1 auto !important;
  min-width:0 !important;
}
.nav>a{
  font-size:9.5px !important;
  white-space:nowrap !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
.head-actions{gap:6px !important}
.head-actions .btn-orange{padding-left:13px !important;padding-right:13px !important}
@media(max-width:1320px){
  .nav{gap:10px !important}
  .nav>a{font-size:9px !important}
  .logo-link{min-width:160px !important}
  .logo-link img{max-width:150px !important}
}
@media(max-width:1180px){
  .nav{display:none !important}
  .menu-toggle{display:block !important}
  .lang-toggle{display:none !important}
}

/* ===== V22 — canonical desktop navigation + stable Más dropdown ===== */
@media(min-width:1181px){
  .site-header{
    width:min(1380px,calc(100% - 28px)) !important;
    padding-left:16px !important;
    padding-right:16px !important;
  }
  .logo-link{min-width:185px !important}
  .logo-link img{max-width:170px !important}
  .nav{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:20px !important;
    flex:1 1 auto !important;
    min-width:0 !important;
  }
  .nav>a,.nav-more-btn{
    font-size:10px !important;
    font-weight:800 !important;
    white-space:nowrap !important;
  }
  .nav-context{max-width:150px}
  .menu-toggle{display:none !important}

  .nav-more{
    display:flex !important;
    position:relative !important;
    align-items:center !important;
  }
  .nav-more-btn{
    display:block !important;
    border:0 !important;
    background:transparent !important;
    color:var(--ink) !important;
    cursor:pointer !important;
    padding:24px 8px !important;
    position:relative !important;
  }
  .nav-more-btn::after{
    content:'+' !important;
    margin-left:5px !important;
    color:var(--orange) !important;
    position:static !important;
    width:auto !important;
    height:auto !important;
    background:none !important;
  }
  .nav-more-btn::before{
    content:"" !important;
    position:absolute !important;
    left:8px !important;
    right:calc(100% - 8px) !important;
    bottom:16px !important;
    height:2px !important;
    background:var(--orange) !important;
    transition:right .18s ease !important;
  }
  .nav-more-btn:hover::before,
  .nav-more-btn:focus-visible::before,
  .nav-more.open .nav-more-btn::before{
    right:8px !important;
  }

  .nav-more-menu{
    display:none !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:none !important;
    transition:none !important;
    position:absolute !important;
    top:calc(100% - 4px) !important;
    right:0 !important;
    width:235px !important;
    background:#fff !important;
    border:1px solid rgba(41,45,53,.09) !important;
    border-radius:16px !important;
    padding:9px !important;
    box-shadow:0 18px 48px rgba(20,27,23,.14) !important;
    z-index:180 !important;
  }
  .nav-more.open .nav-more-menu{
    display:block !important;
  }
  /* Important: hover alone does NOT open the dropdown. */
  .nav-more:hover .nav-more-menu:not(.force-open){
    display:none !important;
  }
  .nav-more.open:hover .nav-more-menu{
    display:block !important;
  }

  .nav-more-menu a{
    display:block !important;
    position:relative !important;
    padding:12px 12px 14px !important;
    color:var(--ink) !important;
    background:transparent !important;
    border-radius:0 !important;
    font-size:11px !important;
    font-weight:700 !important;
    white-space:nowrap !important;
  }
  .nav-more-menu a::after{
    content:"" !important;
    position:absolute !important;
    left:12px !important;
    right:calc(100% - 12px) !important;
    bottom:7px !important;
    height:2px !important;
    background:var(--orange) !important;
    transition:right .18s ease !important;
  }
  .nav-more-menu a:hover::after,
  .nav-more-menu a:focus-visible::after,
  .nav-more-menu a.active::after{
    right:12px !important;
  }
  .nav-more-menu a:hover,
  .nav-more-menu a:focus-visible{
    background:transparent !important;
    outline:none !important;
  }

  /* Contextual secondary section appears in main menu while visitor is there. */
  .nav>a.active,.nav-context.active{
    position:relative !important;
  }
  .nav>a.active::after,.nav-context.active::after{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:17px !important;
    height:2px !important;
    background:var(--orange) !important;
  }
}
@media(max-width:1180px){
  .nav{display:none !important}
  .nav-more{display:none !important}
  .menu-toggle{display:block !important}
}

/* V22 language controls on mobile */
.mobile-lang-toggle{
  display:none;
}
@media(max-width:1180px){
  .mobile-lang-toggle{
    display:inline-flex !important;
    align-self:flex-start;
    margin:12px 0 8px;
  }
}

/* ===== V23 — Home / Quiénes somos ===== */
.home-about{padding-top:72px !important;padding-bottom:72px !important}
.home-about-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:54px;align-items:start}
.home-about-copy .lead{max-width:720px;margin:20px 0 28px}
.home-about-points{display:grid;gap:14px}
.home-about-points article{background:#fff;border:1px solid rgba(41,45,53,.08);border-radius:20px;padding:24px 26px}
.home-about-points article>span{display:block;color:var(--orange);font-size:11px;font-weight:800;margin-bottom:8px}
.home-about-points h3{margin:0 0 8px;font-size:19px}
.home-about-points p{margin:0;line-height:1.65;color:var(--muted)}
@media(max-width:900px){
  .home-about-grid{grid-template-columns:1fr;gap:30px}
}


/* ===== V24 — responsive audit: tablet + mobile only ===== */
/* General anti-overflow safeguards without altering desktop composition. */
img,video,svg{max-width:100%}
.nav,.head-actions,.hero-content,.section-head>*,.formation-row>*,.corp-hero-grid>*,.corp-split>*,
.course-detail-grid>*,.course-modes>*,.course-paths>*,.materials-toolbar>*,.library-grid>*,
.testimonial-submit-layout>*,.testimonials-grid>*,.gallery-grid>*,.videos-grid>*,.footer-v11-main>*{min-width:0}
.btn,.pill,.nav a,.mobile-menu a,.course-mode,.course-path,.book,.gallery-card,.testimonial-card,
.faq-list details,.panel,.corp-three article,.value-grid article,.event-grid article{overflow-wrap:anywhere}

@media(max-width:1180px){
  /* Menu must remain usable even on short tablet landscape screens. */
  .mobile-menu{
    overflow-y:auto !important;
    overscroll-behavior:contain;
    padding-top:92px !important;
    padding-bottom:34px !important;
  }
  .mobile-menu a{
    font-size:clamp(24px,4.4vw,34px) !important;
    line-height:1.16 !important;
    padding:7px 0 !important;
  }
  .mobile-menu .mobile-actions{flex-wrap:wrap}
  .mobile-menu .mobile-actions .btn{justify-content:center}
  .site-search-overlay{padding-top:78px !important}
}

@media(max-width:980px){
  .container,.faq-hero .container,.testimonial-submit-hero .container{
    width:calc(100% - 40px) !important;
  }
  .section-head{grid-template-columns:1fr !important;gap:24px !important;align-items:start !important}
  .section-head .lead{justify-self:start !important}
  .corp-hero-grid,.corp-split,.faq-layout,.team-preview,.checkout,.course-detail-grid,
  .testimonial-submit-layout,.home-about-grid{grid-template-columns:1fr !important}
  .course-contact-card,.faq-aside{position:static !important}
  .course-modes{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .course-paths,.cards,.library-grid,.gallery-grid,.home-activity-grid,
  .corp-three,.value-grid,.event-grid,.event-placeholder-grid,.impact-grid,.test-placeholder{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .formation-row{grid-template-columns:1fr !important}
  .formation-row-reverse .formation-image,.formation-row-reverse .formation-copy{order:initial !important}
  .formation-image,.formation-image img{height:360px !important;min-height:360px !important}
  .team-photo{min-height:390px !important}
  .team-copy{padding:38px !important}
  .orange-panel{padding:44px 36px !important}
  .footer-v11-links{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}

@media(max-width:700px){
  .container,.faq-hero .container,.testimonial-submit-hero .container{
    width:calc(100% - 30px) !important;
  }
  .site-header{width:calc(100% - 14px) !important;padding-left:12px !important;padding-right:12px !important}
  .logo-link img{max-width:145px !important;height:42px !important}
  .head-actions{gap:5px !important}
  .site-search-trigger,.menu-toggle{width:40px !important;height:40px !important;flex:0 0 40px}
  .mobile-menu{padding-left:18px !important;padding-right:18px !important}
  .mobile-menu a{font-size:24px !important}
  .mobile-menu .mobile-actions{display:grid !important;grid-template-columns:1fr 1fr !important}
  .mobile-lang-toggle{margin-top:10px !important}

  .display{font-size:clamp(42px,13vw,54px) !important;line-height:.94 !important}
  .section-title{font-size:clamp(34px,10vw,46px) !important;line-height:1 !important}
  .corp-hero .display{font-size:clamp(42px,12vw,56px) !important}
  .lead{font-size:14px !important;line-height:1.7 !important}
  .section{padding:54px 0 !important}
  .subhero,.corp-hero,.course-detail-hero{padding-top:112px !important}

  .hero{min-height:650px !important}
  .hero-content{width:calc(100% - 30px) !important;padding-top:94px !important}
  .hero-actions{display:grid !important;grid-template-columns:1fr !important;width:100%}
  .hero-actions .btn{width:100% !important;justify-content:center !important}

  .course-modes,.course-paths,.cards,.library-grid,.gallery-grid,.home-activity-grid,
  .corp-three,.value-grid,.event-grid,.event-placeholder-grid,.impact-grid,.test-placeholder,
  .testimonials-grid,.videos-grid,.metrics{grid-template-columns:1fr !important}
  .formation-image,.formation-image img{height:265px !important;min-height:265px !important}
  .formation-copy{padding-top:8px !important}
  .formation-number,.home-about-number{font-size:42px !important}
  .home-about-points article,.course-path,.course-mode,.panel,.testimonial-submit-form,
  .corp-three article,.value-grid article,.event-grid article,.event-placeholder-grid article,
  .impact-grid article,.test-placeholder article{padding:22px !important}
  .course-band{grid-template-columns:1fr !important;padding:28px 22px !important}
  .materials-toolbar{grid-template-columns:1fr !important}
  .materials-filter-actions{grid-column:auto !important;display:grid !important;grid-template-columns:1fr auto !important}
  .materials-filter-actions .btn{justify-content:center}
  .material-actions{display:grid !important;grid-template-columns:1fr !important}
  .material-actions .btn{min-width:0 !important;width:100% !important;justify-content:center}
  .payment-tabs,.amount-grid,.two,.form-two{grid-template-columns:1fr !important}
  .team-photo{min-height:320px !important}
  .team-copy{padding:28px 22px !important}
  .team-profile-photo{min-height:390px !important}
  .testimonial-card{grid-template-columns:1fr !important}
  .testimonial-photo{height:220px !important}
  .corp-hero-photo{height:260px !important}
  .orange-panel{padding:32px 23px !important}
  .footer-v11-links{grid-template-columns:1fr 1fr !important;gap:24px 18px !important}
  .footer-v11-bottom{flex-direction:column !important;gap:8px !important}
  .site-search-panel{padding:26px 18px !important;max-height:calc(100dvh - 92px) !important}
  .site-search-form{grid-template-columns:1fr !important}
}

@media(max-width:430px){
  .footer-v11-links{grid-template-columns:1fr !important}
  .mobile-menu .mobile-actions{grid-template-columns:1fr !important}
  .display{font-size:42px !important}
  .metric{padding:18px 14px !important}
  .metric strong{font-size:36px !important}
  .home-about-points article{padding:20px !important}
}


/* =========================================================
   V26 · Refinamiento visual AEFA
   Acentos champagne + naranja y microinteracciones.
   No modifica estructura, contenido ni imágenes.
   ========================================================= */

:root{
  --aefa-champagne:#B99A6A;
  --aefa-orange:#FF6B0A;
}

/* 1. Detalle editorial en encabezados de sección */
.section-head .eyebrow,
.formation-copy .eyebrow,
.home-about-copy .eyebrow,
.team-copy .eyebrow{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.section-head .eyebrow::before,
.formation-copy .eyebrow::before,
.home-about-copy .eyebrow::before,
.team-copy .eyebrow::before{
  content:"";
  width:22px;
  height:1px;
  flex:0 0 22px;
  background:var(--aefa-champagne);
  transform-origin:left center;
  transition:width .34s ease, background-color .28s ease;
}
.section-head:hover .eyebrow::before,
.formation-copy:hover .eyebrow::before,
.home-about-copy:hover .eyebrow::before,
.team-copy:hover .eyebrow::before{
  width:34px;
  background:var(--aefa-orange);
}

/* 2. Numeración del recorrido Home */
.formation-number{
  position:relative;
  color:var(--aefa-champagne) !important;
  transition:color .28s ease;
}
.formation-number::after{
  content:"";
  display:block;
  width:24px;
  height:2px;
  margin-top:8px;
  background:var(--aefa-champagne);
  transform-origin:left center;
  transition:width .36s ease, background-color .28s ease;
}
.formation-row:hover .formation-number{
  color:var(--aefa-orange) !important;
}
.formation-row:hover .formation-number::after{
  width:46px;
  background:var(--aefa-orange);
}

/* 3. Tarjetas: acento superior fino, sin zoom de imágenes */
.course-card,
.material-card,
.event-card,
.testimonial-card,
.gallery-card,
.home-activity-card,
.home-about-points article,
.faq-item{
  position:relative;
  overflow:hidden;
}
.course-card::before,
.material-card::before,
.event-card::before,
.testimonial-card::before,
.gallery-card::before,
.home-activity-card::before,
.home-about-points article::before,
.faq-item::before{
  content:"";
  position:absolute;
  z-index:3;
  top:0;
  left:0;
  width:34px;
  height:2px;
  background:var(--aefa-champagne);
  transform-origin:left center;
  transition:width .34s ease, background-color .28s ease;
  pointer-events:none;
}
.course-card:hover::before,
.material-card:hover::before,
.event-card:hover::before,
.testimonial-card:hover::before,
.gallery-card:hover::before,
.home-activity-card:hover::before,
.home-about-points article:hover::before,
.faq-item:hover::before{
  width:100%;
  background:var(--aefa-orange);
}

/* 4. Movimiento mínimo de tarjeta; imágenes permanecen inmóviles */
.course-card,
.material-card,
.event-card,
.testimonial-card,
.home-about-points article{
  transition:transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}
.course-card:hover,
.material-card:hover,
.event-card:hover,
.testimonial-card:hover,
.home-about-points article:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 36px rgba(20,27,23,.09);
  border-color:rgba(185,154,106,.30);
}
.course-card img,
.material-card img,
.event-card img,
.testimonial-card img,
.gallery-card img,
.home-activity-card img,
.team-card-photo,
.team-profile-photo{
  transform:none !important;
  scale:1 !important;
}

/* 5. Botones: refinamiento de borde/sombra sin alterar jerarquía */
.btn{
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease, color .22s ease;
}
.btn:not(.btn-orange):hover{
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(20,27,23,.10);
  border-color:rgba(185,154,106,.55);
}
.btn-orange:hover{
  transform:translateY(-1px);
  box-shadow:0 9px 22px rgba(255,107,10,.20);
}

/* 6. Equipo: línea champagne que pasa a naranja */
.team-card h3,
.team-card .team-role{
  position:relative;
}
.team-card .team-role::after{
  content:"";
  display:block;
  width:26px;
  height:1px;
  margin-top:12px;
  background:var(--aefa-champagne);
  transition:width .32s ease, background-color .26s ease;
}
.team-card:hover .team-role::after{
  width:46px;
  background:var(--aefa-orange);
}

/* 7. Separador editorial muy discreto entre grandes bloques del Home */
.home-about,
.formation-intro,
.home-latest-activities{
  position:relative;
}
.home-about::after,
.formation-intro::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:min(1180px,calc(100% - 48px));
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgba(185,154,106,.30) 18%,rgba(185,154,106,.30) 82%,transparent);
  pointer-events:none;
}

/* 8. Footer: champagne institucional, naranja solo en interacción */
.site-footer a{
  transition:color .22s ease, border-color .22s ease;
}
.site-footer a:hover{
  color:var(--aefa-champagne);
}
.site-footer .btn-orange:hover{
  color:#fff;
}

/* 9. Accesibilidad: no forzar movimiento a quien lo desactive */
@media (prefers-reduced-motion:reduce){
  .section-head .eyebrow::before,
  .formation-copy .eyebrow::before,
  .home-about-copy .eyebrow::before,
  .team-copy .eyebrow::before,
  .formation-number,
  .formation-number::after,
  .course-card,
  .material-card,
  .event-card,
  .testimonial-card,
  .home-about-points article,
  .course-card::before,
  .material-card::before,
  .event-card::before,
  .testimonial-card::before,
  .gallery-card::before,
  .home-activity-card::before,
  .home-about-points article::before,
  .faq-item::before,
  .btn,
  .team-card .team-role::after,
  .site-footer a{
    transition:none !important;
  }
  .course-card:hover,
  .material-card:hover,
  .event-card:hover,
  .testimonial-card:hover,
  .home-about-points article:hover,
  .btn:hover{
    transform:none !important;
  }
}

/* 10. Móvil/tablet: conservar detalle, eliminar desplazamientos hover táctiles */
@media (max-width:1180px){
  .course-card:hover,
  .material-card:hover,
  .event-card:hover,
  .testimonial-card:hover,
  .home-about-points article:hover,
  .btn:hover{
    transform:none;
  }
}


/* ===== V27 · Cursos AEFA — aclarar “Temas destacados” =====
   Cambio puntual: separar visualmente este bloque del índice oscuro siguiente. */
body:has(.course-band) .course-band{
  background:#F1EADF !important;
  color:#292D35 !important;
  border:1px solid rgba(185,154,106,.22);
  box-shadow:0 16px 42px rgba(41,45,53,.06);
}
body:has(.course-band) .course-band .eyebrow{
  color:#B06A2C !important;
}
body:has(.course-band) .course-band .section-title,
body:has(.course-band) .course-band h2,
body:has(.course-band) .course-band p,
body:has(.course-band) .course-band strong{
  color:#292D35 !important;
}

/* ===== V28 · Catálogo de libros AEFA ===== */
.book-catalog-card{min-height:270px;display:flex;align-items:stretch;background:#fff}
.book-catalog-card .book-meta{width:100%;min-height:270px;display:flex;flex-direction:column;padding:30px}
.book-catalog-card .eyebrow{color:#9A7B4F;line-height:1.45}
.book-catalog-card h3{margin:18px 0 26px;font-size:clamp(1.28rem,1.6vw,1.65rem);line-height:1.18}
.book-catalog-card .material-donation-note{margin-top:auto}
.book-catalog-card .material-actions{margin-top:20px}
.book-catalog-card .material-primary{width:100%;justify-content:space-between}
@media(max-width:700px){.book-catalog-card,.book-catalog-card .book-meta{min-height:0}.book-catalog-card .book-meta{padding:24px}}

/* V29 · Fotografía institucional real AEFA */
.real-photo-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;margin-top:38px}.real-photo-grid figure{margin:0;border-radius:24px;overflow:hidden;background:#ece8e0;min-height:330px}.real-photo-grid img{width:100%;height:100%;min-height:330px;object-fit:cover;display:block;transform:none!important}.real-photo-grid figure:nth-child(2) img{object-position:center 35%}.real-photo-caption{margin-top:14px;font-size:11px;line-height:1.6;color:var(--muted)}@media(max-width:700px){.real-photo-grid{grid-template-columns:1fr}.real-photo-grid figure,.real-photo-grid img{min-height:250px}}
