/* EPQA | Landing público 2026.
   Independiente del dashboard; deja el catálogo como protagonista.
   Pensado para baja conectividad: sin librerías JS ni fuentes adicionales. */
body.page-home .site-main { min-height: 0; }
body.page-home .site-footer { display: block; }
body.page-home .epqa-landing {
  --land-navy: #0b2460;
  --land-blue: #2364f0;
  --land-cyan: #00aeda;
  --land-muted: #526582;
  --land-border: #dce9fb;
  width: min(1260px, calc(100% - 44px));
  margin: 0 auto;
  padding: 24px 0 46px;
  color: var(--land-navy);
  font-family: 'Nunito', 'Nunito Sans', system-ui, sans-serif;
  position: relative;
}
.epqa-landing h1, .epqa-landing h2, .epqa-landing h3, .epqa-landing p { margin-top: 0; }
.epqa-landing a { text-decoration: none; }
.epqa-landing a:focus-visible, .epqa-landing button:focus-visible, .epqa-landing input:focus-visible {
  outline: 3px solid #215bed;
  outline-offset: 3px;
}
.epqa-landing-kicker, .epqa-landing-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
  font-size: .75rem;
  color: #1b63c0;
}
.epqa-landing-kicker {
  background: #e5f1ff;
  border: 1px solid #d1e3ff;
  border-radius: 100px;
  padding: 8px 13px;
  margin-bottom: 19px;
}
.epqa-landing-kicker i, .epqa-landing-section-kicker i { font-size: 1.02rem; }
.epqa-landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  min-height: 470px;
  isolation: isolate;
  align-items: center;
  gap: 15px;
  background: linear-gradient(110deg, #f9fcff 0%, #eef7ff 51%, #deefff 100%);
  border: 1px solid #e0efff;
  border-radius: 32px;
  overflow: hidden;
  padding: clamp(25px, 3.7vw, 46px);
  box-shadow: 0 16px 45px rgba(41, 92, 155, .085);
}
.epqa-landing-hero::before {
  content:""; position:absolute; pointer-events:none; border-radius:50%;
  width: 520px; height: 520px; right: -145px; top: -240px;
  background: linear-gradient(145deg,rgba(255,255,255,.89),rgba(99,171,255,.2));
  z-index:-1;
}
.epqa-landing-hero::after {
  content:""; position:absolute; pointer-events:none;
  width: 210px; height: 210px; right: 32%; bottom:-165px; border-radius:50%;
  background:rgba(110,212,255,.19);filter:blur(18px);z-index:-1;
}
.epqa-landing-hero__copy { min-width:0; z-index:2; }
.epqa-landing-hero h1 {
  color: #09215d;
  font-family: 'Nunito Sans', 'Nunito', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 3.4vw, 3.65rem);
  line-height: 1.09;
  letter-spacing: -.045em;
  max-width: 670px;
  margin: 0 0 17px;
  text-wrap: balance;
}
.epqa-landing-hero h1 span, .epqa-landing-hero h1 em {
  color: #04a8d7; font-style: normal;
}
.epqa-landing-hero__copy > p {
  color: #425d80;
  line-height: 1.6;
  font-size: clamp(.94rem, 1.25vw, 1.04rem);
  max-width: 600px;
  margin-bottom: 21px;
}
.epqa-landing-search {
  display: flex; align-items: center; width: 100%;
  max-width: 590px;
  gap: 11px; padding: 6px 6px 6px 16px;
  background: white; border: 1px solid #c9dbf5; border-radius: 15px;
  box-shadow: 0 8px 23px rgba(35, 92, 169, .09);
}
.epqa-landing-search > i { color: #466aaa; font-size: 1.13rem; flex: 0 0 auto; }
.epqa-landing-search input {
  border: 0; background: none; box-shadow: none; min-width: 0;
  flex: 1 1 auto; height: 43px; font-size: .92rem; color: #102950;
}
.epqa-landing-search input:focus { outline: 0; }
.epqa-landing-search:focus-within { outline: 3px solid #abceff; border-color: #4b8ae6; }
.epqa-landing-search button {
  display: inline-flex; align-items:center;justify-content:center;gap:8px;
  flex: 0 0 auto; border:0; border-radius: 11px;
  background: linear-gradient(115deg,#237aff,#2155e4); color: white;
  padding: 10px 19px; min-height: 41px;
  font-weight: 900; cursor:pointer; box-shadow: 0 4px 12px rgba(35,100,240,.16);
  transition: transform .18s ease, box-shadow .18s ease;
}
.epqa-landing-hero__actions {
  display:flex; flex-wrap:wrap; gap:11px;
  margin-top: 16px; margin-bottom: 19px;
}
.epqa-l-btn {
  display: inline-flex; align-items: center; justify-content:center; gap:10px;
  border: 1px solid transparent; border-radius: 13px;
  min-height: 45px; padding: 10px 18px;
  font-size: .9rem; font-weight: 900;
  transition: transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.epqa-l-btn--primary {
  color:white !important; border-color: #1b65ed;
  background:linear-gradient(115deg,#2382f9,#2253e5);
  box-shadow:0 7px 16px rgba(21, 87, 232, .18);
}
.epqa-l-btn--light {
  background:rgba(255,255,255,.85);
  color:#5c39cc !important;border-color:#cfbaff;
  box-shadow: 0 5px 14px rgba(52,75,153,.07);
}
.epqa-l-btn:hover, .epqa-landing-search button:hover { transform:translateY(-2px);box-shadow:0 10px 24px rgba(35,91,178,.18); }
.epqa-landing-proof { display:flex; flex-wrap:wrap; gap:11px 19px; margin-top: 14px; }
.epqa-landing-proof span { display:flex;align-items:center;gap:8px;max-width:170px;color:#3c557b;font-size:.77rem;line-height:1.3;font-weight:800; }
.epqa-landing-proof i { color:#1675fc; font-size:1.28rem;flex:0 0 auto; }
.epqa-landing-hero__art { position: relative; align-self:stretch; min-height:340px; z-index:1; }
.epqa-landing-hero__halo {
  position:absolute; border-radius:50%; inset:9% 4% 3%; pointer-events:none;
  background:radial-gradient(circle at 48% 35%,#ffffff 0%,#e2f6ff 30%,#acd8ff 72%,rgba(134,199,255,0) 77%);
}
.epqa-landing-hero__avatar {
  position:absolute;inset:-2% 8% -10% -16%;
  display:flex;justify-content:center;align-items:flex-end;
}
.epqa-landing-avatar { display:block;width:100%;height:100%;max-height:510px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 16px 15px rgba(38,80,162,.12)); }
.epqa-landing-hero__robot { position:absolute;right:0;bottom:14%;width:clamp(88px,9.2vw,133px);z-index:3;pointer-events:none; }
.epqa-landing-robot { display:block;width:100%;height:auto;filter:drop-shadow(0 7px 9px rgba(42,77,142,.16)); }
.epqa-l-art-badge {
  position:absolute;z-index:3;display:flex;align-items:center;gap:9px;
  padding:10px 13px;border:1px solid #e6effb;background:rgba(255,255,255,.91);
  backdrop-filter:blur(7px);
  box-shadow:0 8px 18px rgba(33,78,145,.11);border-radius:15px;
  color:#16406f;font-size:.69rem;font-weight:900;line-height:1.27;
}
.epqa-l-art-badge i {font-size:1.7rem;flex:0 0 auto;color:#2380f5;}
.epqa-l-art-badge--one {top:22%;left:0;}
.epqa-l-art-badge--two {top:6%;right:0;}
.epqa-l-art-badge--three {top:30%;right:-2%;}
.epqa-l-art-badge--four {top:52%;right:0;}
.epqa-l-art-badge--three i {color:#0cad7e;}
.epqa-l-art-badge--four i {color:#8d4bee;}
.epqa-landing-hero__books {position:absolute;right:0;bottom:-1%;z-index:4;width:clamp(110px,14vw,182px);pointer-events:none;}
.epqa-landing-books-image {display:block;width:100%;height:auto;filter:drop-shadow(0 9px 9px rgba(21,78,148,.25));}
/* Editorial sections */
.epqa-landing-section {margin:39px 0;}
.epqa-landing-section-head {display:flex;gap:15px;justify-content:space-between;align-items:end;margin-bottom:18px;}
.epqa-landing-section-head h2 {font-family:'Nunito Sans','Nunito',sans-serif;font-size:clamp(1.45rem,2.25vw,2rem);line-height:1.2;font-weight:900;color:#102960;margin:5px 0 4px;letter-spacing:-.025em;}
.epqa-landing-section-head p {color:#60738d;font-size:.9rem;line-height:1.5;margin:0;}
.epqa-landing-more {
  flex:0 0 auto;display:inline-flex;align-items:center;gap:9px;
  color:#2260c8!important;border:1px solid #b9d0ff;background:white;
  border-radius:12px;font-size:.83rem;font-weight:900;padding:10px 13px;
  box-shadow:0 6px 15px rgba(21,67,159,.06);
  transition:background .18s ease,transform .18s ease;
}
.epqa-landing-more:hover {background:#ebf4ff;transform:translateY(-2px);}
.epqa-featured-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.epqa-featured-card {
  min-width:0;display:flex;flex-direction:column;
  border-radius:20px;overflow:hidden;background:white;border:1px solid #deebf9;
  box-shadow:0 7px 23px rgba(26,68,139,.072);
  transition:transform .21s ease,box-shadow .21s ease,border-color .21s ease;
}
.epqa-featured-card__media {
  position:relative;height:150px;display:flex;align-items:center;justify-content:center;overflow:hidden;
}
.epqa-featured-card__media--orange {background:radial-gradient(circle at 50% 20%,#fff0b7,#fddaae 65%,#ffbe86);}
.epqa-featured-card__media--blue {background:radial-gradient(circle at 30% 10%,#e6f6ff,#bee1ff 65%,#8cc5f8);}
.epqa-featured-card__media--green {background:radial-gradient(circle at 48% 22%,#efffff,#baf3d6 65%,#82d4c3);}
.epqa-featured-card__media--violet {background:radial-gradient(circle at 35% 20%,#fbf2ff,#dfd2ff 64%,#bda8fc);}
.epqa-featured-card__media::before {content:"";position:absolute;width:205px;height:205px;border:1px solid #ffffff88;border-radius:50%;top:22px;right:-42px;}
.epqa-featured-card__image {position:relative;display:block;width:145px;height:145px;object-fit:contain;filter:drop-shadow(0 8px 6px rgba(36,80,138,.16));}
.epqa-featured-card__label {position:absolute;top:11px;left:11px;display:inline-flex;gap:5px;align-items:center;padding:6px 10px;border-radius:8px;background:#ffffffed;color:#254f87;font-size:.7rem;font-weight:900;z-index:2;box-shadow:0 4px 12px #19385e15;}
.epqa-featured-card__body {display:flex;flex:1;flex-direction:column;gap:10px;padding:17px 16px 15px;}
.epqa-featured-card h3 {font-size:1rem;line-height:1.31;font-weight:900;min-height:40px;margin:0;}
.epqa-featured-card h3 a {color:#13336a;}
.epqa-featured-card h3 a:hover {color:#1764d8;}
.epqa-featured-card p {font-size:.83rem;line-height:1.52;color:#5a718d;margin:0;flex:1;}
.epqa-featured-card__chips {display:flex;flex-wrap:wrap;align-items:center;gap:5px;}
.epqa-featured-card__chips span {border-radius:99px;background:#edf3ff;color:#2856b2;font-size:.68rem;font-weight:850;padding:5px 8px;}
.epqa-featured-card__chips .is-free {background:#e0f8e9;color:#158454;}
.epqa-featured-card__chips .is-premium {background:#f2e8ff;color:#7b46c3;}
.epqa-featured-card__link {display:inline-flex;align-items:center;justify-content:space-between;gap:8px;margin-top:5px;border:1px solid #bbd0ff;color:#245fea!important;border-radius:10px;padding:9px 11px;font-size:.81rem;font-weight:900;transition:background .2s ease;}
.epqa-featured-card__link:hover {background:#eaf3ff;}
.epqa-landing-featured__empty {border:1px solid var(--land-border);border-radius:16px;background:#f7fbff;padding:20px;color:#50698b;}
/* Three ways: compact, no dashboard road */
.epqa-landing-paths {background:linear-gradient(100deg,#f2f9ff,#f9f8ff);border-radius:25px;padding:24px;border:1px solid #e0edff;}
.epqa-landing-path-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;}
.epqa-landing-path {position:relative;text-align:center;min-width:0;border:1px solid #cce5df;background:linear-gradient(145deg,#fff,#f0fff7);padding:18px 17px 16px;border-radius:18px;display:flex;flex-direction:column;align-items:center;}
.epqa-landing-path--resources {border-color:#c4d8ff;background:linear-gradient(145deg,#fff,#f0f6ff);}
.epqa-landing-path--ai {border-color:#dbc6ff;background:linear-gradient(145deg,#fff,#faf3ff);}
.epqa-landing-path__number {position:absolute;top:13px;left:15px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:#fff;font-size:.84rem;font-weight:900;background:#0caa62;}
.epqa-landing-path--resources .epqa-landing-path__number {background:#2169e8;}
.epqa-landing-path--ai .epqa-landing-path__number {background:#7937dd;}
.epqa-landing-path__icon {width:65px;height:65px;border-radius:20px;background:#dff7ee;color:#099a58;display:grid;place-items:center;font-size:2rem;margin-bottom:9px;}
.epqa-landing-path--resources .epqa-landing-path__icon {color:#2168e6;background:#e6efff;}
.epqa-landing-path--ai .epqa-landing-path__icon {color:#8344db;background:#f1e7ff;}
.epqa-landing-path h3 {font-size:1.08rem;font-weight:900;margin:4px 0;color:#099b59;}
.epqa-landing-path--resources h3 {color:#225ce4;}
.epqa-landing-path--ai h3 {color:#7839d4;}
.epqa-landing-path p {color:#536e8b;line-height:1.5;font-size:.84rem;max-width:240px;margin:6px auto 14px;flex:1;}
.epqa-landing-path a {border-radius:11px;padding:10px 17px;background:#0b9c62;color:white!important;font-weight:900;font-size:.82rem;display:inline-flex;align-items:center;gap:9px;}
.epqa-landing-path--resources a {background:#205df0;}
.epqa-landing-path--ai a {background:#792fee;}
/* Offline steps */
.epqa-landing-steps {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:20px 0 0;padding:0;list-style:none;counter-reset:offline;}
.epqa-landing-steps li {position:relative;min-width:0;text-align:center;padding:5px 15px;counter-increment:offline;}
.epqa-landing-steps li:not(:last-child)::after {content:"";position:absolute;left:70%;right:-30%;top:53px;border-top:2px dashed #b1d2ff;z-index:0;}
.epqa-landing-step__icon {margin:auto auto 12px;position:relative;z-index:1;display:grid;place-items:center;width:85px;height:85px;border-radius:50%;background:#e6f2ff;color:#2669ee;font-size:2rem;}
.epqa-landing-step__icon::before {content:counter(offline);position:absolute;top:0;left:-5px;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#216cee;color:#fff;font-size:.76rem;font-weight:900;}
.epqa-landing-steps li:nth-child(2) .epqa-landing-step__icon {background:#e5fbef;color:#12a260;}
.epqa-landing-steps li:nth-child(2) .epqa-landing-step__icon::before {background:#0ba660;}
.epqa-landing-steps li:nth-child(3) .epqa-landing-step__icon {background:#eee9ff;color:#793dec;}
.epqa-landing-steps li:nth-child(3) .epqa-landing-step__icon::before {background:#793dec;}
.epqa-landing-steps li:nth-child(4) .epqa-landing-step__icon {background:#fff0e5;color:#f27a20;}
.epqa-landing-steps li:nth-child(4) .epqa-landing-step__icon::before {background:#f27a20;}
.epqa-landing-steps strong {display:block;font-size:.96rem;font-weight:900;color:#1a3262;}
.epqa-landing-steps p {font-size:.81rem;color:#5b7190;line-height:1.48;max-width:190px;margin:6px auto;}
/* Rural origin: custom branded artwork using existing avatar, no third-party imagery */
.epqa-landing-story {display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);border:1px solid #dceafa;border-radius:24px;overflow:hidden;box-shadow:0 10px 26px #1c4b8210;background:#fff;margin:30px 0 18px;}
.epqa-landing-story__art {position:relative;min-height:255px;overflow:hidden;background:linear-gradient(#a0d9ff 0%,#c6edff 48%,#acd6af 49%,#68bd91 100%);}
.epqa-landing-story__art::before {content:"";position:absolute;left:-20%;top:14%;width:140%;height:70%;background:linear-gradient(142deg,#517eaf 25%,#cbefff 25% 34%,#5a9fc3 34% 56%,#b7eaff 56% 61%,#558ab0 61%);clip-path:polygon(0 95%,12% 52%,20% 69%,37% 19%,51% 71%,71% 6%,90% 68%,100% 40%,100% 100%);opacity:.79;}
.epqa-landing-story__art::after {content:"";position:absolute;inset:auto -15% -8% -15%;height:100px;background:#47a879;clip-path:ellipse(60% 60% at 50% 75%);}
.epqa-landing-story__avatar {position:absolute;bottom:-20px;left:-13px;width:70%;height:107%;z-index:2;object-fit:contain;object-position:left bottom;filter:drop-shadow(0 8px 9px #103c6a44);}
.epqa-landing-story__land {position:absolute;right:12%;bottom:20px;color:white;z-index:2;display:flex;gap:5px;align-items:flex-end;filter:drop-shadow(0 3px 5px #1d5e66aa);}
.epqa-landing-story__land i:nth-child(1){font-size:4.3rem;color:#fff6da;}
.epqa-landing-story__land i:nth-child(2){font-size:2.7rem;color:#217f4c;}
.epqa-landing-story__land i:nth-child(3){font-size:2.7rem;color:#fff;}
.epqa-landing-story__badge {position:absolute;right:12px;top:12px;z-index:3;font-size:.73rem;color:#174d7e;background:#ffffffe8;border-radius:11px;padding:7px 10px;font-weight:900;box-shadow:0 5px 16px #2e77ae30;}
.epqa-landing-story__content {padding:clamp(18px,2.6vw,30px);align-self:center;}
.epqa-landing-story__content h2 {font-size:clamp(1.35rem,2.3vw,1.9rem);font-weight:900;line-height:1.2;margin:8px 0 10px;color:#14316a;}
.epqa-landing-story__content > p {font-size:.91rem;line-height:1.65;color:#546e91;}
.epqa-landing-story__facts {display:flex;gap:8px;flex-wrap:wrap;margin:17px 0;}
.epqa-landing-story__facts span {display:flex;align-items:center;gap:8px;background:#f0f7ff;border:1px solid #e1ebfc;color:#335b91;font-size:.73rem;font-weight:850;border-radius:10px;padding:8px;}
.epqa-landing-story__facts i {color:#1881eb;font-size:1.1rem;}
.epqa-landing-more--inline {padding:8px 12px;}
/* Footer CTA */
.epqa-landing-final {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;border:1px solid #e1ebfa;border-radius:24px;background:linear-gradient(110deg,#e9f4ff,#f5f7ff);padding:clamp(20px,2.8vw,34px);margin-top:24px;}
.epqa-landing-final h2 {font-size:clamp(1.4rem,2.5vw,2.1rem);line-height:1.2;font-weight:900;color:#143269;margin-bottom:7px;}
.epqa-landing-final h2 span {color:#00afd6;}
.epqa-landing-final p {color:#526b8f;font-size:.86rem;line-height:1.55;margin:0;}
.epqa-landing-final__actions {display:flex;flex-wrap:wrap;gap:10px;}
/* Interaction: only user-triggered, never endless distraction */
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .epqa-featured-card:hover {transform:translateY(-4px);border-color:#afccfa;box-shadow:0 13px 29px rgba(37,73,141,.14);}
  .epqa-landing-path a:hover {filter:brightness(1.07);transform:translateY(-2px);}
}
@media (prefers-reduced-motion:no-preference) {
  .epqa-landing-hero__copy {animation:epqa-land-enter .33s ease both;}
  .epqa-landing-hero__art {animation:epqa-land-enter .4s .07s ease both;}
}
@keyframes epqa-land-enter {from {opacity:.68;transform:translateY(8px);}to {opacity:1;transform:translateY(0);}}
@media (max-width:1120px) {
  .epqa-landing-hero {padding:29px;min-height:420px;}
  .epqa-landing-hero h1 {font-size:clamp(2rem,3.45vw,3rem);}
  .epqa-l-art-badge--three, .epqa-l-art-badge--four {right:-5%;}
  .epqa-landing-proof {gap:10px;}
  .epqa-landing-proof span {font-size:.7rem;}
  .epqa-featured-grid {gap:11px;}
  .epqa-featured-card__body {padding:14px 12px;}
  .epqa-featured-card__media {height:132px;}
}
@media (max-width:860px) {
  .epqa-landing-hero {grid-template-columns:minmax(0,1fr) minmax(260px,.72fr);padding:22px;}
  .epqa-landing-hero__copy > p {font-size:.87rem;}
  .epqa-landing-hero__art {min-height:300px;}
  .epqa-l-art-badge {font-size:.61rem;padding:7px;}
  .epqa-l-art-badge i {font-size:1.25rem;}
  .epqa-landing-hero__books {width:115px;right:-2%;bottom:0;}
  .epqa-landing-hero__robot {width:92px;bottom:12%;right:-2%;}
  .epqa-featured-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .epqa-featured-card__media {height:155px;}
  .epqa-landing-story {grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);}
  .epqa-landing-story__art {min-height:330px;}
  .epqa-landing-story__avatar {width:95%;height:100%;}
  .epqa-landing-steps li {padding:5px;}
}
@media (max-width:680px) {
  body.page-home .epqa-landing {width:calc(100% - 22px);padding:12px 0 24px;}
  .epqa-landing-hero {grid-template-columns:1fr;gap:7px;min-height:0;padding:22px 17px 8px;border-radius:20px;}
  .epqa-landing-kicker {margin-bottom:14px;font-size:.67rem;}
  .epqa-landing-hero h1 {font-size:clamp(1.9rem,8vw,2.65rem);max-width:none;letter-spacing:-.04em;}
  .epqa-landing-hero__copy > p {font-size:.89rem;line-height:1.56;}
  .epqa-landing-search {padding:4px 4px 4px 10px;gap:5px;}
  .epqa-landing-search input {font-size:.8rem;}
  .epqa-landing-search button {font-size:.78rem;padding:8px 11px;min-height:39px;}
  .epqa-landing-hero__actions {gap:7px;}
  .epqa-l-btn {padding:10px 13px;font-size:.8rem;min-height:42px;}
  .epqa-landing-proof {gap:8px 13px;}
  .epqa-landing-proof span {font-size:.65rem;}
  .epqa-landing-proof i {font-size:1rem;}
  .epqa-landing-hero__art {min-height:260px;height:260px;max-width:470px;width:100%;margin:auto;}
  .epqa-landing-hero__avatar {inset:-2% 7% -8% -10%;}
  .epqa-l-art-badge--one {left:0;top:13%;}
  .epqa-l-art-badge--two {right:0;top:0;}
  .epqa-l-art-badge--three {right:-1%;top:31%;}
  .epqa-l-art-badge--four {right:0;top:53%;}
  .epqa-landing-hero__robot {right:0;bottom:10%;width:84px;}
  .epqa-landing-hero__books {width:106px;right:0;bottom:-3%;}
  .epqa-landing-section {margin:28px 0;}
  .epqa-landing-section-head {align-items:flex-start;flex-direction:column;gap:10px;}
  .epqa-landing-section-head h2 {font-size:1.48rem;}
  .epqa-landing-section-head p {font-size:.82rem;}
  .epqa-featured-grid {gap:11px;}
  .epqa-featured-card__media {height:122px;}
  .epqa-featured-card__image {height:112px;width:112px;}
  .epqa-featured-card__body {padding:12px 10px;}
  .epqa-featured-card h3 {font-size:.87rem;min-height:0;}
  .epqa-featured-card p {font-size:.73rem;}
  .epqa-featured-card__chips span {font-size:.63rem;}
  .epqa-landing-paths {padding:16px 12px;border-radius:18px;}
  .epqa-landing-path-grid {grid-template-columns:1fr;gap:10px;}
  .epqa-landing-path {display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto auto;align-items:start;justify-items:start;text-align:left;padding:13px 14px;gap:3px 12px;}
  .epqa-landing-path__number {top:9px;left:9px;width:22px;height:22px;font-size:.7rem;}
  .epqa-landing-path__icon {grid-column:1;grid-row:1/4;margin-top:14px;width:46px;height:46px;font-size:1.5rem;border-radius:13px;}
  .epqa-landing-path h3 {grid-column:2;font-size:1rem;margin:0;}
  .epqa-landing-path p {grid-column:2;max-width:none;font-size:.78rem;margin:1px 0 8px;}
  .epqa-landing-path a {grid-column:2;font-size:.75rem;padding:8px 12px;}
  .epqa-landing-steps {grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 8px;}
  .epqa-landing-steps li:not(:last-child)::after {display:none;}
  .epqa-landing-step__icon {width:65px;height:65px;font-size:1.6rem;}
  .epqa-landing-steps strong {font-size:.9rem;}
  .epqa-landing-steps p {font-size:.76rem;}
  .epqa-landing-story {grid-template-columns:1fr;}
  .epqa-landing-story__art {min-height:210px;}
  .epqa-landing-story__avatar {left:0;bottom:-30px;width:56%;height:120%;}
  .epqa-landing-story__content {padding:20px 17px;}
  .epqa-landing-final {padding:19px 15px;border-radius:20px;}
  .epqa-landing-final__actions {width:100%;}
}
@media (max-width:370px) {
  .epqa-featured-grid {grid-template-columns:1fr;}
  .epqa-featured-card__media {height:130px;}
  .epqa-landing-proof {display:grid;grid-template-columns:1fr 1fr;}
  .epqa-landing-hero__art {min-height:235px;height:235px;}
  .epqa-l-art-badge--three {display:none;}
}
@media (prefers-reduced-motion:reduce) {
  .epqa-landing *, .epqa-landing *::before, .epqa-landing *::after {
    animation:none!important;transition:none!important;scroll-behavior:auto!important;
  }
}

/* Unified school-grade metadata, including multigrade support. */
.epqa-landing .epqa-featured-card__chips .epqa-featured-grade {
  background: #eaf2ff;
  border: 1px solid #cddfff;
  color: #174f9f;
  font-weight: 900;
}
.epqa-landing .epqa-featured-card__chips .epqa-featured-multigrade {
  background: #e4f9f0;
  border: 1px solid #b5e8d2;
  color: #0b7853;
  font-weight: 900;
}

/* Mobile home: keep meaningful copy, replace illustration-heavy first fold with search. */
@media (max-width:1199.98px) {
  body.page-home .epqa-landing{padding-top:14px;}
  body.page-home .epqa-landing-hero{box-shadow:none;}
  body.page-home .epqa-landing-search input{min-width:0;}
  body.page-home .epqa-landing-section{scroll-margin-top:80px;}
}
@media (max-width:680px) {
  body.page-home .epqa-landing{width:calc(100% - 20px);padding:10px 0 24px;}
  body.page-home .epqa-landing-hero{
    display:block;min-height:0;padding:20px 15px 18px;
    border-radius:18px;background:linear-gradient(110deg,#f7fbff,#eaf6ff);
  }
  body.page-home .epqa-landing-hero__art{display:none!important;}
  body.page-home .epqa-landing-kicker{margin-bottom:9px;font-size:.66rem;}
  body.page-home .epqa-landing-hero h1{
    font-size:clamp(1.72rem,7.5vw,2.3rem);line-height:1.13;
    margin:0 0 12px;max-width:100%;
  }
  body.page-home .epqa-landing-hero__copy>p{
    font-size:.86rem;line-height:1.48;margin-bottom:14px;
  }
  body.page-home .epqa-landing-search{
    min-height:48px;padding:5px 5px 5px 10px;border-radius:12px;
    background:#fff;
  }
  body.page-home .epqa-landing-search input{font-size:16px;}
  body.page-home .epqa-landing-search button{min-height:44px;font-size:.83rem;}
  body.page-home .epqa-landing-hero__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;}
  body.page-home .epqa-l-btn{width:100%;justify-content:center;min-height:44px;padding:8px;font-size:.77rem;gap:5px;}
  body.page-home .epqa-landing-proof{margin-top:13px;gap:7px;}
  body.page-home .epqa-landing-proof span{font-size:.71rem;line-height:1.25;}
  body.page-home .epqa-landing-section{margin:19px 0;}
  body.page-home .epqa-landing-section-head{margin-bottom:10px;}
  body.page-home .epqa-landing-section-head h2{font-size:1.25rem;}
  body.page-home .epqa-featured-grid{gap:9px;}
  body.page-home .epqa-featured-card{border-radius:14px;box-shadow:none;}
  body.page-home .epqa-featured-card__body{padding:12px;}
  body.page-home .epqa-featured-card h3{font-size:.95rem;}
  body.page-home .epqa-featured-card__chips{gap:5px;}
  body.page-home .epqa-featured-card__link{min-height:44px;display:inline-flex;align-items:center;}
  body.page-home .epqa-landing-paths{padding:13px 11px;border-radius:15px;}
  body.page-home .epqa-landing-path__number{display:none;}
  body.page-home .epqa-landing-path p{font-size:.75rem;margin:1px 0 4px;}
  body.page-home .epqa-landing-path a{min-height:44px;}
  body.page-home .epqa-landing-steps{gap:10px 6px;}
  body.page-home .epqa-landing-step__icon{width:48px;height:48px;font-size:1.2rem;margin-bottom:6px;}
  body.page-home .epqa-landing-steps p{font-size:.73rem;}
  body.page-home .epqa-landing-story{margin:20px 0 12px;grid-template-columns:1fr;}
  body.page-home .epqa-landing-story__art{display:none!important;}
  body.page-home .epqa-landing-story__content{padding:17px;}
  body.page-home .epqa-landing-final{margin-top:18px;padding:18px;border-radius:16px;}
}
@media (max-width:490px) {
  body.page-home .epqa-featured-grid{grid-template-columns:minmax(0,1fr);}
  body.page-home .epqa-featured-card__media{display:none!important;}
  body.page-home .epqa-featured-card__body{padding:13px 14px;}
  body.page-home .epqa-featured-card p{
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
    overflow:hidden;font-size:.79rem;
  }
  body.page-home .epqa-landing-hero__actions{grid-template-columns:1fr 1fr;}
  body.page-home .epqa-landing-proof span:last-child{display:none;}
}
@media (max-width:360px) {
  body.page-home .epqa-landing-hero__actions{grid-template-columns:1fr;}
  body.page-home .epqa-landing-search button{padding:7px 9px;}
}

/* EPQA | Lightweight news & daily-tip feed: no new UI libraries. */
body.page-home .epqa-edtech{margin-block:29px;}
body.page-home .epqa-edtech__header{margin-bottom:15px;}
body.page-home .epqa-edtech__grid{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:14px;align-items:stretch;
}
body.page-home .epqa-edtech__card{
  min-width:0;min-height:0;display:flex;flex-direction:column;
  border:1px solid #dbe7f8;border-radius:20px;
  background:#fff;overflow:hidden;box-shadow:0 5px 20px rgba(31,78,136,.055);
}
body.page-home .epqa-edtech__card--news{display:grid;grid-template-columns:160px minmax(0,1fr);}
body.page-home .epqa-edtech__news-media{
  display:flex;align-items:center;justify-content:center;min-height:100%;
  background:linear-gradient(145deg,#dff3ff,#eae9ff);position:relative;overflow:hidden;
}
body.page-home .epqa-edtech__news-media img{
  width:100%;height:100%;object-fit:cover;object-position:center;position:absolute;inset:0;
}
body.page-home .epqa-edtech__news-media img.epqa-edtech__fallback{
  width:85%;height:85%;object-fit:contain;position:relative;inset:auto;
}
body.page-home .epqa-edtech__card-body{
  min-width:0;display:flex;flex:1;flex-direction:column;padding:19px 20px 18px;
}
body.page-home .epqa-edtech__eyebrow{
  display:inline-flex;gap:7px;align-items:center;align-self:flex-start;
  color:#2165bd;text-transform:uppercase;letter-spacing:.025em;
  font-size:.67rem;font-weight:900;margin-bottom:8px;
}
body.page-home .epqa-edtech__eyebrow--tip{color:#6b38bf;}
body.page-home .epqa-edtech__card h3{
  font-size:clamp(.99rem,1.26vw,1.17rem);font-weight:900;line-height:1.27;
  color:#123061;margin:0 0 9px;letter-spacing:-.012em;
}
body.page-home .epqa-edtech__card p{
  color:#506884;font-size:.8rem;line-height:1.52;margin:0 0 11px;
}
body.page-home .epqa-edtech__meta{display:flex;flex-wrap:wrap;gap:5px 12px;font-size:.7rem;color:#5d7390;font-weight:750;margin-top:auto;margin-bottom:13px;}
body.page-home .epqa-edtech__link{
  display:inline-flex;align-items:center;justify-content:space-between;gap:8px;
  min-height:44px;padding:9px 13px;border-radius:11px;
  border:1px solid #c1d7ff;color:#1b55ac!important;
  font-size:.79rem;font-weight:900;background:#edf5ff;align-self:flex-start;
}
body.page-home .epqa-edtech__link:hover{background:#ddeaff;}
body.page-home .epqa-edtech__card--tip{
  background:linear-gradient(140deg,#fcfbff,#f5f0ff);
  border-color:#e3d8f9;
}
body.page-home .epqa-edtech__tip-category{
  display:inline-flex;align-self:flex-start;
  background:#e9dffc;border-radius:100px;padding:4px 9px;
  color:#6835bb;font-size:.68rem;font-weight:900;margin-bottom:12px;
}
body.page-home .epqa-edtech__details{margin-top:auto;margin-bottom:9px;}
body.page-home .epqa-edtech__details summary{
  cursor:pointer;list-style:none;display:flex;align-items:center;gap:9px;
  min-height:44px;padding:9px 12px;background:#fff;border:1px solid #dacef1;
  border-radius:11px;color:#6233a7;font-size:.79rem;font-weight:900;
}
body.page-home .epqa-edtech__details summary::-webkit-details-marker{display:none;}
body.page-home .epqa-edtech__details summary i{margin-left:auto;}
body.page-home .epqa-edtech__details[open] summary{border-radius:11px 11px 0 0;}
body.page-home .epqa-edtech__details ol{
  margin:0;padding:13px 13px 6px 30px;
  background:#fff;border:1px solid #dacef1;border-top:0;
  color:#354968;font-size:.78rem;line-height:1.58;
}
body.page-home .epqa-edtech__details li{margin-bottom:7px;padding-left:3px;}
body.page-home .epqa-edtech__details .epqa-edtech__prompt-label{
  margin:0;padding:10px 12px 2px;background:#fff;
  border-inline:1px solid #dacef1;font-size:.71rem;font-weight:900;color:#61319e;
}
body.page-home .epqa-edtech__details .epqa-edtech__prompt{
  margin:0;padding:8px 12px 13px;background:#fff;border-inline:1px solid #dacef1;
  color:#243b60;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.76rem;
  user-select:text;
}
body.page-home .epqa-edtech__details .epqa-edtech__note{
  margin:0;padding:9px 12px;background:#fbf8ff;border:1px solid #dacef1;
  border-radius:0 0 11px 11px;font-size:.74rem;
}
body.page-home .epqa-edtech__card .epqa-edtech__tip-footer{
  margin:5px 0 0;color:#75569e;font-size:.7rem;line-height:1.3;
}
body.page-home .epqa-edtech__details summary:focus-visible,
body.page-home .epqa-edtech__link:focus-visible{outline:3px solid #325fee;outline-offset:3px;}
@media(max-width:1199.98px){
  body.page-home .epqa-edtech__grid{gap:10px;}
  body.page-home .epqa-edtech__card--news{grid-template-columns:120px minmax(0,1fr);}
  body.page-home .epqa-edtech__card-body{padding:14px 15px;}
}
@media(max-width:719.98px){
  body.page-home .epqa-edtech{margin:19px 0;}
  body.page-home .epqa-edtech__grid{grid-template-columns:1fr;}
  body.page-home .epqa-edtech__card{border-radius:15px;box-shadow:none;}
  body.page-home .epqa-edtech__card--news{grid-template-columns:98px minmax(0,1fr);}
  body.page-home .epqa-edtech__news-media{min-height:160px;}
  body.page-home .epqa-edtech__card-body{padding:13px 13px 12px;}
  body.page-home .epqa-edtech__card h3{font-size:.96rem;line-height:1.3;}
  body.page-home .epqa-edtech__card p{font-size:.77rem;}
  body.page-home .epqa-edtech__link{font-size:.76rem;}
  body.page-home .epqa-edtech__card--tip .epqa-edtech__card-body{padding:15px;}
}
@media(max-width:390px){
  body.page-home .epqa-edtech__card--news{grid-template-columns:1fr;}
  body.page-home .epqa-edtech__news-media{min-height:0;height:102px;}
  body.page-home .epqa-edtech__news-media img.epqa-edtech__fallback{height:95px;max-width:120px;}
}

/* UX editorial decision: phone already has Buscar / Recursos / IA above the fold.
   Suppress the duplicate bottom CTA only on mobile; keep desktop conversion intact. */
@media(max-width:680px){
  body.page-home .epqa-landing-final{display:none!important;}
}


/* EPQA HOME | Night/Aurora theme: landing stylesheet is loaded after the
   shared theme; these scoped overrides keep backgrounds/text paired.
   No fixed dimensions or layout changes on desktop. */
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing {
  --land-navy:#f1f5ff;
  --land-blue:#8eb8ff;
  --land-cyan:#65d6f8;
  --land-muted:#cad6e9;
  --land-border:#647797;
  color:#eef3ff;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero {
  background:linear-gradient(127deg,#38445f 0%,#303b54 53%,#39436b 100%) !important;
  border-color:#7182a1 !important;
  box-shadow:0 15px 36px rgba(10,17,33,.2) !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero::before {
  background:linear-gradient(145deg,rgba(94,150,222,.16),rgba(135,114,218,.11));
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero::after {
  background:rgba(99,211,243,.09);
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-kicker {
  background:#304d73 !important;
  border-color:#627fa9 !important;
  color:#d0eeff !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero h1 {
  color:#f4f7ff !important;
  text-shadow:none !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero h1 span,
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero h1 em {
  color:#73deff !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero__copy > p {
  color:#d0ddef !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-search {
  background:#28354d !important;
  border-color:#8397b8 !important;
  box-shadow:0 6px 21px rgba(15,24,43,.19) !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-search > i {
  color:#9bcbff !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-search input {
  min-width:0;
  background:transparent !important;
  background-color:transparent !important;
  color:#f2f6ff !important;
  -webkit-text-fill-color:#f2f6ff !important;
  border:0 !important;
  box-shadow:none !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-search input::placeholder {
  color:#c1d1e9 !important;
  -webkit-text-fill-color:#c1d1e9 !important;
  opacity:1;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-search:focus-within {
  outline:2px solid #95b8ff !important;
  outline-offset:1px;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-search button {
  background:linear-gradient(115deg,#397fe9,#5b61d5) !important;
  color:#fff !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-l-btn--light {
  background:#455373 !important;
  color:#f0e8ff !important;
  border-color:#a28bde !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-proof span {
  color:#d9e6f7 !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-proof i {
  color:#8acbff !important;
}
/* Shared editorial text on the canvas */
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-section-head h2,
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-story__content h2,
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-final h2 {
  color:#f0f5ff !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-section-head p,
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-story__content > p,
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-final p {
  color:#c9d7eb !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-section-kicker {
  color:#89cfff !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-more {
  background:#435575 !important;
  border-color:#8199c1 !important;
  color:#e5f2ff !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-more:hover {
  background:#516587 !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-featured-card,
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-featured__empty,
html[data-theme="dark"] body.stem-playground.page-home .epqa-edtech__card,
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-story {
  background:#39445e !important;
  border-color:#667b9e !important;
  color:#f1f5ff !important;
  box-shadow:0 9px 24px rgba(9,18,34,.14) !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-featured-card h3,
html[data-theme="dark"] body.stem-playground.page-home .epqa-featured-card h3 a,
html[data-theme="dark"] body.stem-playground.page-home .epqa-edtech__card h3 {
  color:#f0f5ff !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-featured-card p,
html[data-theme="dark"] body.stem-playground.page-home .epqa-edtech__card p,
html[data-theme="dark"] body.stem-playground.page-home .epqa-edtech__meta,
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-featured__empty p {
  color:#c6d5eb !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-featured-card__chips span {
  background:#455a7e !important;
  color:#e3f1ff !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-featured-card__chips .is-free {
  background:#2e665d !important;
  color:#a5f6cc !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-featured-card__chips .is-premium {
  background:#624d80 !important;
  color:#ead3ff !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-featured-card__link,
html[data-theme="dark"] body.stem-playground.page-home .epqa-edtech__link {
  background:#455d83 !important;
  color:#e3f2ff !important;
  border-color:#779bcc !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-edtech__eyebrow {
  color:#8fd2ff !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-edtech__eyebrow--tip,
html[data-theme="dark"] body.stem-playground.page-home .epqa-edtech__tip-footer {
  color:#d3bdff !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-edtech__tip-category {
  background:#574b7a !important;
  color:#e6d4ff !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-edtech__details :is(summary,ol,.epqa-edtech__prompt-label,.epqa-edtech__prompt,.epqa-edtech__note) {
  background:#303c57 !important;
  border-color:#647b9d !important;
  color:#dfeaff !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-paths,
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-final {
  background:linear-gradient(120deg,#35425e,#414466) !important;
  border-color:#6980a2 !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-path {
  background:#3c4967 !important;
  border-color:#7388a6 !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-path h3,
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-steps strong {
  color:#e8f4ff !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-path p,
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-steps p {
  color:#cbd9ed !important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-story__facts span {
  background:#415579 !important;
  border-color:#7290b9 !important;
  color:#e5f1ff !important;
}
/* Search: a full-width field and button on narrow phones prevent Safari
   clipping the input behind the submit action. No desktop layout changes. */
@media (max-width:430px) {
  body.page-home .epqa-landing-hero__copy {min-width:0;width:100%;}
  body.page-home .epqa-landing-search {
    display:grid !important;
    grid-template-columns:22px minmax(0,1fr);
    column-gap:9px;
    row-gap:7px;
    width:100%;
    min-width:0;
    max-width:100%;
    padding:9px !important;
    box-sizing:border-box;
  }
  body.page-home .epqa-landing-search > i {grid-column:1;align-self:center;}
  body.page-home .epqa-landing-search input {
    grid-column:2;
    min-width:0 !important;
    width:100% !important;
    max-width:100%;
    height:44px;
    font-size:16px !important;
    box-sizing:border-box;
  }
  body.page-home .epqa-landing-search button {
    grid-column:1/-1;
    width:100%;
    min-width:0;
    min-height:44px;
  }
}


/* EPQA 2026 · approved A/B · landing alignment with official Canva brand.
   Appended after previous homepage fixes to prevent visual regression. */
body.page-home .epqa-landing {
  --land-navy:#042066;
  --land-blue:#0797e2;
  --land-cyan:#00a8fe;
  --land-muted:#4b5b86;
  --land-border:#d5e4f2;
  font-family:"Nunito",Arial,sans-serif;
}
body.page-home .epqa-landing :is(h1,h2,h3) {
  font-family:"Poppins","Nunito",Arial,sans-serif;
  font-weight:700;
  letter-spacing:-.025em;
}
body.page-home .epqa-landing-hero {
  background:linear-gradient(120deg,#fff 0%,#eaf5fe 70%,#d9f0fe 100%);
  border-color:#d5e4f2;
  box-shadow:0 12px 32px rgba(4,32,102,.06);
}
body.page-home .epqa-landing-hero h1 {
  color:#042066;
  text-wrap:balance;
  font-size:clamp(2rem,4.15vw,3.65rem);
  letter-spacing:-.038em;
}
body.page-home .epqa-landing-hero h1 :is(span,em) {
  color:#075bb8;
}
body.page-home .epqa-landing-hero__copy > p {
  color:#34466d;
  line-height:1.58;
}
body.page-home .epqa-landing-kicker {
  background:#eaf5fe;
  border-color:#c7e2fa;
  color:#042066;
}
body.page-home .epqa-landing-search {
  background:#fff;
  border-color:#adcce9;
  max-width:100%;
}
body.page-home .epqa-landing-search input,
body.page-home .epqa-landing-search input::placeholder {
  min-width:0;
  color:#34466d;
  -webkit-text-fill-color:#34466d;
}
body.page-home :is(.epqa-landing-search button,.epqa-l-btn--primary) {
  background:#042066!important;
  border-color:#042066!important;
  color:#fff!important;
  box-shadow:none!important;
}
body.page-home :is(.epqa-landing-search button,.epqa-l-btn--primary):hover {
  background:#103a8c!important;
}
body.page-home .epqa-l-btn--light {
  background:#fff!important;
  color:#552cbf!important;
  border-color:#bea4f7!important;
}
body.page-home .epqa-landing-proof span {
  color:#34466d;
}
body.page-home .epqa-landing-proof i {
  color:#075bb8;
}
body.page-home .epqa-landing-section-head h2,
body.page-home .epqa-landing-section-head h2 a {
  color:#042066;
}
body.page-home .epqa-featured-card {
  border-color:#d5e4f2;
  box-shadow:0 7px 22px rgba(4,32,102,.075);
}
body.page-home .epqa-featured-card h3 a {
  color:#042066;
}
body.page-home .epqa-featured-card p {
  color:#425778;
}
html[data-theme="dark"] body.page-home .epqa-landing {
  --land-navy:#f3f7ff;
  --land-blue:#8acfff;
  --land-cyan:#76dfff;
  --land-muted:#cddaee;
  --land-border:#667895;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero {
  background:linear-gradient(120deg,#38445f,#303b54 72%,#41466b)!important;
  border-color:#667895!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero h1 {
  color:#f3f7ff!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero h1 :is(span,em) {
  color:#94e4ff!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero__copy > p {
  color:#d1dff2!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-search {
  background:#25334a!important;
  border-color:#7a8fae!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-search input {
  background:transparent!important;
  color:#eff6ff!important;
  -webkit-text-fill-color:#eff6ff!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-search input::placeholder {
  color:#cad8eb!important;
  -webkit-text-fill-color:#cad8eb!important;
}
html[data-theme="dark"] body.stem-playground.page-home :is(.epqa-landing-search button,.epqa-l-btn--primary) {
  background:#00a8fe!important;
  border-color:#00a8fe!important;
  color:#042066!important;
  box-shadow:none!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-l-btn--light {
  background:#54437b!important;
  border-color:#a58dea!important;
  color:#f1eaff!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-section-head h2,
html[data-theme="dark"] body.stem-playground.page-home .epqa-featured-card h3 a {
  color:#f3f7ff!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-section-head p,
html[data-theme="dark"] body.stem-playground.page-home .epqa-featured-card p {
  color:#cddaee!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-proof span {
  color:#e3eefc!important;
}
@media (max-width:720px) {
  body.page-home .epqa-landing {min-width:0;}
  body.page-home .epqa-landing-hero {padding:clamp(16px,4.4vw,22px);}
  body.page-home .epqa-landing-hero__copy {width:100%;min-width:0;}
  body.page-home .epqa-landing-hero h1 {
    font-size:clamp(1.68rem,7.3vw,2.45rem);
    line-height:1.15;
    overflow-wrap:normal;
    hyphens:auto;
    text-wrap:pretty;
  }
  body.page-home .epqa-landing-hero__actions {min-width:0;}
  body.page-home .epqa-landing-section-head {min-width:0;flex-wrap:wrap;}
  body.page-home .epqa-landing-section-head :is(h2,p) {min-width:0;overflow-wrap:break-word;}
}
@media (max-width:430px) {
  body.page-home .epqa-landing-search {
    display:grid!important;
    grid-template-columns:20px minmax(0,1fr)!important;
    gap:8px!important;
    width:100%;max-width:100%;
    padding:10px!important;
  }
  body.page-home .epqa-landing-search input {
    min-width:0!important;
    max-width:100%!important;
    width:100%!important;
    height:44px;
    font-size:16px!important;
    background:transparent!important;
    border:0!important;
    padding-left:4px!important;
  }
  body.page-home .epqa-landing-search button {
    grid-column:1 / -1;
    min-height:46px!important;
    width:100%!important;
  }
  body.page-home .epqa-landing-hero__actions {display:grid;grid-template-columns:1fr;gap:10px;}
  body.page-home .epqa-landing-hero__actions .epqa-l-btn {min-width:0;width:100%;}
}

/* EPQA ORIGINAL-CASCADE FIX / 2026-10-19
 * Esta es la fuente de estilos de la portada pública. Todos los pares
 * fondo/texto se resuelven juntos para evitar el título blanco sobre
 * fondo celeste visto en Safari iOS. Las reglas cubren desktop y móvil.
 * No depender de un segundo fichero oscuro para que la portada funcione.
 */
body.stem-playground.page-home .epqa-landing-hero {
  --epqa-hero-backdrop:linear-gradient(120deg,#ffffff 0%,#eaf5fe 70%,#d9f0fe 100%);
  --epqa-hero-title:#042066;
  --epqa-hero-accent:#075bb8;
  --epqa-hero-copy:#34466d;
  --epqa-hero-search-bg:#ffffff;
  --epqa-hero-search-text:#263a5c;
  --epqa-hero-search-border:#adcce9;
  background:var(--epqa-hero-backdrop)!important;
  border-color:#d5e4f2!important;
  color:var(--epqa-hero-title)!important;
}
body.stem-playground.page-home .epqa-landing-hero h1 {
  color:var(--epqa-hero-title)!important;
  opacity:1!important;
  -webkit-text-fill-color:var(--epqa-hero-title)!important;
  text-shadow:none!important;
}
body.stem-playground.page-home .epqa-landing-hero h1 :is(span,em) {
  color:var(--epqa-hero-accent)!important;
  -webkit-text-fill-color:var(--epqa-hero-accent)!important;
  opacity:1!important;
}
body.stem-playground.page-home .epqa-landing-hero__copy > p {
  color:var(--epqa-hero-copy)!important;
  opacity:1!important;
}
body.stem-playground.page-home .epqa-landing-hero .epqa-landing-search {
  background:var(--epqa-hero-search-bg)!important;
  border-color:var(--epqa-hero-search-border)!important;
  max-width:100%;
}
body.stem-playground.page-home .epqa-landing-hero .epqa-landing-search input,
body.stem-playground.page-home .epqa-landing-hero .epqa-landing-search input::placeholder {
  background:transparent!important;
  color:var(--epqa-hero-search-text)!important;
  -webkit-text-fill-color:var(--epqa-hero-search-text)!important;
  opacity:1;
}
/* Oscuro: reemplazar las seis propiedades semánticas como una unidad. */
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero {
  --epqa-hero-backdrop:linear-gradient(125deg,#38445f 0%,#34415d 62%,#414b6d 100%);
  --epqa-hero-title:#f3f7ff;
  --epqa-hero-accent:#90e3ff;
  --epqa-hero-copy:#dce8f9;
  --epqa-hero-search-bg:#29354c;
  --epqa-hero-search-text:#f4f8ff;
  --epqa-hero-search-border:#8298b9;
  border-color:#7285a4!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero {
  background:var(--epqa-hero-backdrop)!important;
  color:var(--epqa-hero-title)!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero h1 {
  color:var(--epqa-hero-title)!important;
  -webkit-text-fill-color:var(--epqa-hero-title)!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero h1 :is(span,em) {
  color:var(--epqa-hero-accent)!important;
  -webkit-text-fill-color:var(--epqa-hero-accent)!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero__copy > p {
  color:var(--epqa-hero-copy)!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero .epqa-landing-search {
  background:var(--epqa-hero-search-bg)!important;
  border-color:var(--epqa-hero-search-border)!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero .epqa-landing-search input,
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero .epqa-landing-search input::placeholder {
  color:var(--epqa-hero-search-text)!important;
  -webkit-text-fill-color:var(--epqa-hero-search-text)!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero h1,
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero h1 :is(span,em) {
  opacity:1!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-hero .epqa-landing-search input::placeholder {
  --epqa-hero-search-text:#d3e0f3;
}
/* El resto de bloques de la portada heredaba títulos blancos de theme.css
 * mientras conservaba papel blanco. Asegurar que superficie y texto coincidan.
 */
html[data-theme="dark"] body.stem-playground.page-home :is(
  .epqa-featured-card,.epqa-edtech__card,.epqa-landing-story
) {
  background-color:#38455e!important;
  background-image:none!important;
  border-color:#7285a4!important;
  color:#f3f7ff!important;
}
html[data-theme="dark"] body.stem-playground.page-home :is(
  .epqa-featured-card h3,.epqa-featured-card h3 a,
  .epqa-edtech__card h3,.epqa-landing-story__content h2
) {color:#f3f7ff!important;}
html[data-theme="dark"] body.stem-playground.page-home :is(
  .epqa-featured-card p,.epqa-edtech__card p,.epqa-landing-story__content > p
) {color:#d1dff3!important;}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-final {
  background:linear-gradient(125deg,#35425b,#414c68)!important;
  border-color:#7185a6!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-final h2 {
  color:#f3f7ff!important;
}
html[data-theme="dark"] body.stem-playground.page-home .epqa-landing-steps strong {
  color:#f3f7ff!important;
}
@media(max-width:430px){
  body.stem-playground.page-home .epqa-landing-hero .epqa-landing-search {
    display:grid!important;
    grid-template-columns:20px minmax(0,1fr)!important;
    width:100%!important;
    min-width:0!important;
  }
  body.stem-playground.page-home .epqa-landing-hero .epqa-landing-search input {
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box;
    font-size:16px!important;
  }
  body.stem-playground.page-home .epqa-landing-hero .epqa-landing-search button {
    grid-column:1/-1!important;
    width:100%!important;
    min-height:44px!important;
  }
}


/* EPQA Hero / Bootstrap 5 polish · Oct 2026.
   Preserve the three advantages: icon above its own label, never hide #3. */
body.stem-playground.page-home .epqa-landing-hero__actions {
  display:flex;align-items:stretch;flex-wrap:wrap;
  gap:10px;margin:14px 0 10px;
}
body.stem-playground.page-home .epqa-landing-hero__actions .epqa-l-btn.btn {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;max-width:100%;padding:10px 15px;
  border-radius:12px;font-size:.86rem;line-height:1.25;
  font-weight:800;text-decoration:none;white-space:normal;text-align:center;
}
body.stem-playground.page-home .epqa-action-arrow {
  display:inline-block;vertical-align:middle;flex:none;
  width:18px;height:18px;
  transition:transform .18s ease;
}
@media(hover:hover){
  body.stem-playground.page-home a:hover > .epqa-action-arrow,
  body.stem-playground.page-home button:hover > .epqa-action-arrow {
    transform:translateX(3px);
  }
}
body.stem-playground.page-home .epqa-landing-proof {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:start;gap:9px;
  margin-top:14px;
}
body.stem-playground.page-home .epqa-landing-proof span,
body.stem-playground.page-home .epqa-landing-proof span:last-child {
  display:flex!important;flex-direction:column!important;
  justify-content:flex-start!important;align-items:center!important;
  text-align:center!important;gap:6px!important;
  width:100%!important;max-width:none!important;
  padding:6px 4px!important;
  font-size:clamp(.66rem,.85vw,.78rem)!important;
  line-height:1.28!important;
  overflow-wrap:break-word;
}
body.stem-playground.page-home .epqa-landing-proof i {
  display:block!important;flex:none!important;
  font-size:clamp(1.2rem,1.75vw,1.5rem)!important;
  line-height:1!important;
}
body.stem-playground.page-home .epqa-landing-more.btn {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;max-width:100%;
  font-size:.84rem;line-height:1.25;font-weight:800;
  border-radius:12px;text-align:center;white-space:normal;
}
body.stem-playground.page-home .epqa-landing-search > .btn {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;gap:8px;
  font-weight:800;border-radius:11px;
}
@media(max-width:680px) {
  body.stem-playground.page-home .epqa-landing-hero__actions {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;
  }
  body.stem-playground.page-home .epqa-landing-hero__actions .epqa-l-btn.btn {
    width:100%;padding:9px 8px;font-size:.76rem;
  }
  body.stem-playground.page-home .epqa-landing-proof {
    grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px;
  }
  body.stem-playground.page-home .epqa-landing-proof span,
  body.stem-playground.page-home .epqa-landing-proof span:last-child {
    display:flex!important;padding:7px 2px!important;font-size:.67rem!important;
  }
}
@media(max-width:359.98px) {
  body.stem-playground.page-home .epqa-landing-hero__actions {
    grid-template-columns:1fr!important;
  }
  body.stem-playground.page-home .epqa-landing-proof span,
  body.stem-playground.page-home .epqa-landing-proof span:last-child {
    font-size:.61rem!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.stem-playground.page-home .epqa-action-arrow {transition:none!important;transform:none!important;}
}


/* Mobile-first focus: el contenido editorial extenso continúa disponible
   en escritorio y desde el catálogo. En teléfonos priorizar búsqueda,
   creación de recursos y presentación del proyecto.
   Los selectores sólo afectan la portada pública en español. */
@media screen and (max-width:767.98px) {
  body.page-home.stem-playground .epqa-landing > .epqa-landing-featured,
  body.page-home.stem-playground .epqa-landing > .epqa-edtech,
  body.page-home.stem-playground .epqa-landing > .epqa-landing-offline {
    display:none!important;
  }
}
