/* portada-base.css */
/* Base que necesita la portada propia, sin los componentes de cabecera y bloques de Astra. */
body.home.am-propuesta-page{font:400 16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;color:#334155}
body.home.am-propuesta-page #ast-scroll-top{display:none!important}
.site-content .ast-container{display:flex}
.entry-content ul,.entry-content ol{padding:revert;margin:revert;padding-left:20px}
@media(max-width:921px){.site-content .ast-container{flex-direction:column}}

/* fantasia.css */
.am-site{--am-night:#071c36;--am-gold:#f4c552;--am-ink:#142744;--am-muted:#58616a;color:#fff5df;background:#071c36;font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;overflow-wrap:break-word;text-align:left;background-image:radial-gradient(ellipse at 20% 25%,#163963 0,transparent 55%),radial-gradient(ellipse at 85% 65%,#1b3e5c 0,transparent 45%)}.am-site *{box-sizing:border-box}.am-site [hidden]{display:none!important}.am-site :is(h1,h2,h3,p){margin:0}.am-site :is(h1,h2,h3){font-family:Georgia,"Times New Roman",serif;color:inherit;line-height:1.12;font-weight:700}.am-site h1{font-size:clamp(38px,4.4vw,65px);letter-spacing:-.035em;text-wrap:balance}.am-site h2{font-size:clamp(28px,3vw,38px);letter-spacing:-.025em}.am-site h3{font-size:23px}.am-site em{font-style:normal;color:var(--am-gold)}.am-site p{margin-top:12px}.am-site a{color:inherit;text-decoration:none}.am-site button{font:inherit;cursor:pointer}.am-site :is(button,a){touch-action:manipulation}.am-site :is(a,button):focus-visible{outline:3px solid #1ba7e9;outline-offset:5px}.am-site .am-eyebrow{font:700 10px/1.7 system-ui;letter-spacing:.2em;color:#f4d390;margin:0 0 14px}.am-header{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px max(25px,calc((100% - 1200px)/2));background:linear-gradient(180deg,#061427fa,#071b33ed);border-bottom:1px solid #c5a66366;min-height:102px}.am-brand{display:flex;align-items:center;gap:10px;font-family:Georgia,serif;font-size:19px;line-height:1.05}.am-brand strong{display:block;font-size:28px;letter-spacing:.04em}.am-brand small{display:block;font:7px/2 system-ui;letter-spacing:.13em;color:#e5c587}.am-emblem{color:#f7d688;font-size:30px;line-height:.6;text-align:center;padding:8px 2px}.am-header nav{display:flex;align-items:center;gap:28px;flex-wrap:wrap;font:16px Georgia,serif}.am-header nav a{padding:10px 0;border-bottom:2px solid transparent}.am-header nav a:hover,.am-header nav a[aria-current]{color:#f8ce65;border-bottom-color:#e9ba4c}.am-site .am-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:43px;padding:10px 25px;border:1px solid #ffdf86;border-radius:40px;color:#2f200b;background:linear-gradient(#ffe58d,#f2c04e 55%,#d99424);box-shadow:0 3px 0 #5b35105c,0 0 20px #efb84322,inset 0 1px 0 #fff4c7;font:700 15px/1.4 Georgia,serif;text-shadow:0 1px #ffedb4}.am-site .am-button:hover{filter:brightness(1.08)}.am-site .am-outline{background:#071e3999;color:#fff4d8;border:2px solid #f1e6cd;text-shadow:none;box-shadow:none}.am-header-cta{font-size:14px!important;white-space:nowrap}.am-hero{min-height:540px;background-image:linear-gradient(90deg,#03162ce8 0%,#061a34a6 29%,#061a340a 64%),url('academia-cuento.webp');background-size:cover;background-position:center 57%;position:relative;display:flex;align-items:center;border-bottom:2px solid #d3a449}.am-hero-inner{max-width:1250px;width:100%;margin:auto;padding:65px 30px}.am-hero h1{max-width:660px;text-shadow:0 3px 18px #03152e}.am-hero h1 em{display:inline-block;max-width:560px}.am-hero-subtitle{font:700 21px/1.5 Georgia,serif;text-shadow:0 2px 10px #061829}.am-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:26px}.am-site .am-hero-note{font-size:12px;color:#f4dfb2;margin-top:24px}.am-section{padding:35px max(25px,calc((100% - 1200px)/2))}.am-section-heading{text-align:center;margin-bottom:24px}.am-section-heading>p{margin-top:8px;font-size:14px}.am-ornament{display:block;color:#ad7e28;font-size:26px;line-height:1;margin-bottom:8px}.am-parchment{color:var(--am-ink);background:radial-gradient(ellipse at 15% 30%,#fffdf7 0,transparent 65%),repeating-linear-gradient(12deg,#d8ba7808 0 2px,transparent 2px 6px),linear-gradient(100deg,#f7e9c8,#fff9ee 50%,#f0dfba);border-top:2px solid #dfb55f;border-bottom:2px solid #dfb55f;border-radius:28px/12px;box-shadow:0 0 30px #0003;position:relative}.am-parchment em{color:#a8751e}.am-services{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.am-service{padding:19px 20px 23px;text-align:center;border-radius:15px;color:#152843;border:1px solid #ffffff94;box-shadow:inset 0 0 25px #fff5}.am-blue{background:linear-gradient(125deg,#d9f1fe,#b7dff3)}.am-yellow{background:linear-gradient(125deg,#fff0c9,#f9e1aa)}.am-pink{background:linear-gradient(125deg,#ffe5df,#f4cccc)}.am-green{background:linear-gradient(125deg,#e2f7d9,#bfe9cb)}.am-purple{background:linear-gradient(125deg,#f1e3ff,#d7c9ef)}.am-service-icon{display:block;font-size:51px;line-height:1.25;filter:drop-shadow(0 3px 2px #243c4c20);margin-bottom:10px}.am-service p{font-size:13px;line-height:1.45}.am-game-intro{padding-top:30px;padding-bottom:28px;background:radial-gradient(circle at 10% 30%,#dbb75544 0 1px,transparent 2px),radial-gradient(circle at 75% 70%,#dbb75577 0 1px,transparent 2px);background-size:101px 119px,179px 97px}.am-categories{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.am-category{color:#142744!important;display:flex;flex-direction:column;align-items:center;text-align:center;padding:17px 10px 14px;border-radius:12px;border:1px solid #e9c779;box-shadow:0 5px 15px #0003}.am-category>span{font-size:47px;line-height:1.2;margin-bottom:10px}.am-category h3{font-size:19px}.am-category b{margin-top:10px;border-radius:50%;background:#126690;color:#fff;line-height:25px;width:25px;font-size:22px}.am-category:hover{box-shadow:0 0 18px #f3c65e70}.am-site .am-section-note{text-align:center;font-size:11px;color:#e5d9bc;margin-top:20px}.am-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;list-style:none;margin:0;padding:0}.am-steps li{display:flex;gap:17px;align-items:center}.am-steps li>span{font-size:60px;line-height:1.1}.am-steps h3{font-size:24px;white-space:nowrap}.am-steps h3 b{display:inline-grid;place-items:center;background:linear-gradient(#e5b858,#b27924);color:#fff5db;border-radius:50%;width:30px;height:30px;font-size:19px;margin-right:8px}.am-steps p{font-size:13px;line-height:1.5}.am-aula{display:grid;grid-template-columns:1.4fr 1fr;gap:70px;padding-top:42px;padding-bottom:42px}.am-aula p{font-size:14px;max-width:680px;color:#e5e4df}.am-aula .am-button{margin-top:20px}.am-aula aside{padding:15px 30px;border-left:1px solid #d7b9686b;text-align:center;align-self:center}.am-aula aside>span{font-size:38px;color:#e4bd66}.am-site .am-small{font-size:12px;color:var(--am-muted)}.am-aula .am-small{color:#c9d4df}.am-contact{display:flex;align-items:center;justify-content:space-between;gap:45px;padding-top:30px;padding-bottom:30px}.am-contact h2{font-size:30px}.am-contact>p{font-size:13px;max-width:360px}.am-contact div>p{font-size:14px}.am-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px max(25px,calc((100% - 1200px)/2));border-top:1px solid #c9a24e77;background:#04152a}.am-footer .am-brand{font-size:20px}.am-footer p,.am-footer>span{font-size:11px;color:#c8d1db;margin:0}.am-games-main{position:relative;isolation:isolate;padding-bottom:45px;background-image:linear-gradient(#04172e99,#04172ee6 58%,#04172ef5),url('academia-cuento.webp');background-size:cover;background-position:center top;background-attachment:fixed}.am-games-heading{text-align:center;padding:42px 25px 30px}.am-games-heading h1{font-size:clamp(45px,6vw,78px);color:#ffe6a0;text-shadow:0 2px 0 #8e5e21,0 0 30px #efbe5866;letter-spacing:-.03em}.am-games-heading h1 em{color:#ffcf62}.am-games-heading p:last-child{font:19px/1.4 Georgia,serif}.am-games-section{max-width:1110px;margin:auto;padding:0 25px}.am-games-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.am-card{border:2px solid #d6a546;border-radius:18px 9px 18px 9px;overflow:hidden;background:#f8e8c3;color:#2b1d13;box-shadow:0 5px 20px #0007,0 0 0 3px #392817;scroll-margin-top:25px;display:flex;flex-direction:column}.am-game-art{aspect-ratio:1.5;background-image:url('salas-juegos.webp');background-size:300% 200%;position:relative;border-bottom:2px solid #c49235}.am-sprite-0{background-position:0 0}.am-sprite-1{background-position:50% 0}.am-sprite-2{background-position:100% 0}.am-sprite-3{background-position:0 100%}.am-sprite-4{background-position:50% 100%}.am-sprite-5{background-position:100% 100%}.am-card-body{padding:0 18px 18px;text-align:center;background:radial-gradient(ellipse,#fff5de,#f1d39b);display:flex;align-items:center;flex-direction:column;flex:1}.am-card-body h2{font-size:27px;line-height:1.1;position:relative;margin:-15px -8px 0;padding:11px 9px 10px;width:calc(100% + 16px);background:linear-gradient(#fff2ce,#f7dfaa);border:1px solid #c99a43;border-radius:8px 15px 6px 13px;box-shadow:0 2px 5px #57371335}.am-card-body p{font:16px/1.35 Georgia,serif;margin:13px 0 12px;min-height:65px}.am-site .am-tag{display:block;font:600 10px/1.5 system-ui;letter-spacing:.02em;color:#5b512f;margin-bottom:13px}.am-card-body .am-button{min-width:155px;margin-top:auto;padding:7px 25px;font-size:18px}.am-coming{display:block;margin-top:auto;border:1px solid #bfa775;border-radius:25px;color:#67583a;background:#f4e6c5;font-size:12px;padding:8px 18px}.am-available{position:absolute;right:12px;top:12px;border:1px solid #d5e3a8;background:#245d36ed;color:#fff8d8;padding:4px 10px;border-radius:20px;font-size:10px;font-weight:700}.am-games-note{text-align:center;font-size:12px;color:#ebdeba;margin:26px 0 0}.am-game-panel{padding:28px;margin-top:28px;border:2px solid #d1a448;border-radius:14px;background:linear-gradient(120deg,#fff8e7,#f5e6c3);color:#1a3049;scroll-margin-top:25px;box-shadow:0 8px 25px #0004}.am-game-top,.am-game-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px}.am-game-panel .am-eyebrow{color:#775215}.am-game-panel h3{font-size:30px}.am-site .am-close{background:#fff9e9;border:1px solid #948260;border-radius:5px;color:#28374a;padding:9px 12px;font-size:13px;min-height:43px}.am-site .am-question{font:25px/1.4 Georgia,serif;margin-top:25px}.am-hint{font-size:15px}.am-answers{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.am-site .am-answer{border:1px solid #a6813e;border-radius:7px;background:#fffdf5;color:#172e4a;min-width:64px;min-height:54px;padding:9px 20px;font-size:23px}.am-site .am-answer:hover{background:#ffe7a8}.am-answer:disabled{opacity:.6;cursor:default}.am-site .am-feedback{min-height:55px;font-size:15px;font-weight:600;color:#245537;margin:20px 0}.am-game-bottom{font-size:14px}.am-site .am-skip{position:absolute;top:-200px;left:20px;z-index:50;padding:12px;background:#fff4d5;color:#152b45}.am-skip:focus{top:10px}
@media(min-width:1500px){.am-hero{min-height:620px}}
@media(max-width:1000px){.am-header{gap:18px;padding:15px 24px;flex-wrap:wrap}.am-header nav{order:3;width:100%;justify-content:center;gap:28px;font-size:15px}.am-header-cta{margin-left:auto}.am-hero{min-height:490px;background-position:60% 50%}.am-hero-inner{padding:50px 25px}.am-hero h1{max-width:570px}.am-services{gap:12px}.am-service{padding:17px 13px}.am-service h3{font-size:21px}.am-categories{grid-template-columns:repeat(3,1fr)}.am-steps{gap:20px}.am-steps li{display:block;text-align:center}.am-steps li>span{display:block;margin-bottom:10px}.am-steps h3{font-size:22px}.am-aula{gap:25px}.am-games-grid{gap:17px}.am-card-body{padding:0 12px 17px}.am-card-body h2{font-size:24px}.am-card-body p{font-size:15px;min-height:80px}.am-footer{flex-wrap:wrap}}
@media(max-width:700px){.am-header nav{gap:18px}.am-site .am-header-cta{font-size:12px!important;padding:9px 14px}.am-hero{min-height:640px;align-items:flex-start;background-position:69% center;background-image:linear-gradient(180deg,#05172ce8 0%,#061a34bf 35%,#061a340a 72%),url('academia-cuento.webp')}.am-hero-inner{padding:32px 24px}.am-hero h1{font-size:43px;max-width:480px}.am-hero-subtitle{font-size:17px}.am-actions{gap:12px;margin-top:20px}.am-actions .am-button{font-size:13px;padding:9px 18px}.am-site .am-hero-note{font-size:11px;max-width:230px}.am-services{grid-template-columns:1fr 1fr}.am-service-icon{font-size:42px}.am-service p{font-size:12px}.am-section{padding:30px 22px}.am-section-heading h2{font-size:30px}.am-section-heading>p{font-size:13px}.am-categories{gap:10px}.am-category{padding:14px 6px}.am-category>span{font-size:36px}.am-category h3{font-size:17px}.am-steps{grid-template-columns:1fr;gap:25px}.am-steps li{display:flex;align-items:center;text-align:left}.am-steps li>span{font-size:55px;min-width:68px}.am-steps h3{font-size:24px}.am-aula{grid-template-columns:1fr;gap:26px}.am-aula aside{border-left:0;border-top:1px solid #b9a16b75;padding:20px 0 0}.am-contact{display:block}.am-contact>p{margin-top:22px;max-width:none}.am-games-heading{padding:32px 20px 25px}.am-games-heading h1{font-size:51px}.am-games-heading p:last-child{font-size:17px}.am-games-section{padding:0 18px;max-width:600px}.am-games-grid{grid-template-columns:repeat(2,1fr);gap:17px}.am-card-body h2{font-size:22px}.am-card-body p{font-size:14px;min-height:95px}.am-card-body .am-button{min-width:120px;font-size:16px;padding:8px 18px}.am-site .am-tag{font-size:9px}.am-game-top,.am-game-bottom{flex-wrap:wrap}.am-game-panel{padding:22px 17px}.am-site .am-question{font-size:23px}.am-game-panel h3{font-size:27px}.am-game-panel .am-eyebrow{font-size:9px}.am-games-main{background-attachment:scroll}}
@media(max-width:450px){.am-header nav{gap:16px;font-size:14px}.am-brand{font-size:16px}.am-brand strong{font-size:24px}.am-brand small{font-size:6px}.am-hero h1{font-size:38px}.am-hero{min-height:610px}.am-games-grid{grid-template-columns:1fr;gap:24px}.am-games-section{max-width:390px}.am-card-body h2{font-size:29px}.am-card-body p{font-size:17px;min-height:0}.am-site .am-tag{font-size:10px}.am-card-body .am-button{min-width:165px;font-size:19px}.am-game-art{aspect-ratio:1.65}.am-services{gap:10px}.am-service h3{font-size:20px}}
@media(max-width:450px){.am-header nav{display:grid;grid-template-columns:repeat(3,1fr);gap:3px 14px;text-align:center}.am-header nav a{padding:6px 0}.am-header{gap:12px}}
body.am-propuesta-page #masthead,body.am-propuesta-page #colophon,body.am-propuesta-page .entry-header{display:none!important}body.am-propuesta-page .site-content,body.am-propuesta-page .ast-container,body.am-propuesta-page #primary,body.am-propuesta-page .site-main,body.am-propuesta-page .site-main>article,body.am-propuesta-page .entry-content{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;background:#071c36}body.am-propuesta-page .entry-content>.am-site{max-width:none!important;margin:0!important}.am-site .am-service-icon img{height:75px;width:100%;object-fit:contain;display:block}.am-site .am-category>span img{height:65px;width:100%;object-fit:contain;display:block}.am-site .am-steps li>span img{width:90px;height:85px;object-fit:contain;display:block}.am-site .am-interior{padding:45px 25px 55px;min-height:75vh;background:linear-gradient(#03162cab,#03162ee8),url('academia-cuento.webp') center/cover}.am-site .am-interior-heading{max-width:900px;margin:0 auto 35px;text-align:center}.am-site .am-interior-heading p:last-child{font-size:17px;color:#e5e6e4}.am-site .am-inner-panel{max-width:1050px;margin:auto;padding:40px}.am-site .am-inner-panel h2{font-size:32px;margin-bottom:20px}.am-site .am-inner-panel p{margin:14px 0;line-height:1.65}.am-site .am-inner-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:20px;margin:25px 0}.am-site .am-inner-grid article{background:#ffffff70;border:1px solid #d1b578;border-radius:12px;padding:23px}.am-site .am-inner-grid h3{font-size:25px}.am-site .am-inner-grid p{font-size:14px}.am-site .am-interior-actions{display:flex;gap:15px;justify-content:center;flex-wrap:wrap;margin-top:30px}.am-site .am-inner-panel .amw-form-wrap{max-width:650px;padding:24px;border-radius:15px;margin:25px auto 0}.am-site .am-inner-panel .amw-form{margin:0}.am-site .am-inner-panel .amw-form textarea{color:#fff}.am-site .am-inner-panel .amw-form p{margin:0}.am-site .am-inner-panel .amw-form input{color:#fff}
@media(max-width:600px){.am-site .am-inner-panel{padding:26px 20px}.am-site .am-interior{padding:30px 20px}.am-site .am-inner-panel .amw-form-wrap{padding:12px}.am-site .am-steps li>span img{width:65px;height:65px}}
@media(prefers-reduced-motion:no-preference){.am-category,.am-button{transition:box-shadow .15s,filter .15s}}

/* original.css */
/* Dirección original: cuento infantil, ilustración integrada y composición compacta. */
.am-site .am-inner-panel .am-eyebrow{color:#775215}
.am-site .am-faction-card .am-faction-emblem{width:220px;height:220px;max-width:100%;object-fit:contain;border-radius:14px}.am-site .am-my-faction .am-my-faction-card .am-faction-card{grid-template-columns:220px 1fr}@media(max-width:700px){.am-site .am-faction-card .am-faction-emblem{width:200px;height:200px}}
.am-site .am-private-games{padding-top:25px;padding-bottom:30px}.am-site .am-private-games .am-card-body{padding-top:20px;gap:18px}.am-site .am-private-games .am-card-body h3{font-size:27px}.am-site .am-level-label{display:block;width:100%;font-size:13px;font-weight:700}.am-site .am-level-label select{display:block;width:100%;max-width:100%;margin-top:7px;background:#fffaf0;color:#142744;border:1px solid #987846;border-radius:7px;padding:10px;font:14px/1.4 system-ui;min-height:46px}.am-site .am-private-games .am-game-panel{margin-top:24px}.am-site .am-table-scroll{overflow-x:auto;max-width:100%;margin:20px 0}.am-site .am-table-scroll table{width:100%;min-width:650px;border-collapse:collapse;background:#fffaf0;color:#18324b;font-size:14px}.am-site .am-table-scroll :is(th,td){border:1px solid #c9b681;padding:10px;text-align:left;white-space:normal}.am-site .am-table-scroll th{background:#efe2bb}.am-site .am-progress h3{margin-top:27px}.am-site .am-medals{display:flex;flex-wrap:wrap;gap:12px;list-style:none;padding:0}.am-site .am-medals li{background:#fff2bd;border:1px solid #b99334;border-radius:12px;padding:12px}.am-site .am-progress .am-small{color:#48525d}.am-site .am-header nav{gap:14px;font-size:14px}.am-site .am-header{gap:20px}.am-site .am-private-games .am-games-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.am-site .am-private-games .am-card{scroll-margin-top:65px}.am-site .am-private-games .am-map-grid .am-answer{font-size:16px}@media(max-width:1200px){.am-site .am-header{flex-wrap:wrap}.am-site .am-header nav{order:3;flex-basis:100%;justify-content:center}}@media(max-width:700px){.am-site .am-private-games .am-games-grid{grid-template-columns:1fr}.am-site .am-private-games{padding:25px 18px}.am-site .am-letter-grid .am-answer{font-size:15px;padding:2px;min-height:32px}.am-site .am-private-games .am-map-grid .am-answer{font-size:12px;min-height:44px}.am-site .am-header nav{gap:12px 17px}.am-site .am-header nav a{padding:4px 0}}
.am-site .am-factions-section>.am-eyebrow,.am-site .am-my-faction>.am-eyebrow{color:#775215}.am-site .am-manage-form label{min-width:0;max-width:100%}.am-site .am-manage-form select{min-width:0}
.am-site .am-factions-section{scroll-margin-top:65px}.am-site .am-faction-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:28px}.am-site .am-faction-card{--faction-ink:#863f26;--faction-tint:#fff0db;--faction-border:#c48853;min-width:0;position:relative;text-align:center;border:1px solid var(--faction-border);border-top:5px solid var(--faction-border);border-radius:18px;padding:24px;background:radial-gradient(ellipse at top,#fffdf7,var(--faction-tint));color:#18324b;box-shadow:0 6px 16px #18324b0a}.am-site .am-faction-aqua{--faction-ink:#126276;--faction-tint:#dff3f6;--faction-border:#4193a2}.am-site .am-faction-sylva{--faction-ink:#32643d;--faction-tint:#e6f0d9;--faction-border:#6f9459}.am-site .am-faction-astra{--faction-ink:#614282;--faction-tint:#eee6fa;--faction-border:#9170b6}.am-site .am-faction-emblem{display:block;margin:0 auto 12px;width:140px;height:140px}.am-site .am-faction-card h3{font:700 38px/1.15 Georgia,serif;color:var(--faction-ink);margin:8px 0}.am-site .am-faction-card .am-faction-values{font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--faction-ink);margin:0}.am-site .am-faction-card .am-faction-motto{font:700 19px/1.45 Georgia,serif;color:var(--faction-ink)}.am-site .am-faction-card p{font-size:15px;line-height:1.65}.am-site .am-faction-card .am-faction-challenge{font-size:13px;background:#ffffff85;border-radius:9px;padding:12px;margin-top:18px;text-align:left}.am-site .am-my-faction-card{max-width:720px;margin:24px 0}.am-site .am-my-faction-card .am-faction-card{display:grid;grid-template-columns:150px 1fr;gap:0 24px;text-align:left}.am-site .am-my-faction-card .am-faction-emblem{grid-row:1/6;align-self:center;margin:0}.am-site .am-my-faction-card .am-faction-challenge{grid-column:2}.am-site .am-my-faction>a,.am-site .am-my-faction>p>a{color:#184e75;text-decoration:underline!important}@media(max-width:700px){.am-site .am-faction-grid{grid-template-columns:1fr;gap:20px}.am-site .am-faction-card{padding:22px 18px}.am-site .am-my-faction-card .am-faction-card{display:block;text-align:center}.am-site .am-my-faction-card .am-faction-emblem{margin:0 auto 12px}.am-site .am-faction-card h3{font-size:34px}.am-site .am-faction-emblem{width:120px;height:120px}}
.am-site .am-manage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.am-site .am-manage-toolbar .am-outline{background:#143451;color:#fff9e8}.am-site .am-manage-form{display:flex;flex-wrap:wrap;align-items:end;gap:15px;margin:18px 0}.am-site .am-manage-form label{display:block;flex:1 1 220px;font-weight:600;font-size:14px}.am-site .am-manage-form :is(input:not([type=hidden]):not([type=checkbox]),select),.am-site #am-reset-link{display:block;width:100%;min-height:48px;padding:10px;margin-top:6px;border:1px solid #90713e;border-radius:7px;background:#fffdf8;color:#18324b;font:16px/1.5 system-ui}.am-site .am-manage-form .am-small{flex-basis:100%}.am-site .am-manage-form .am-check{display:flex;align-items:center;gap:10px;flex-basis:100%;min-height:44px}.am-site .am-check input{width:22px;height:22px;flex-shrink:0}.am-site .am-student-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:22px}.am-site .am-student-card{border:1px solid #bea065;background:#fff9eb;border-radius:12px;padding:22px;min-width:0}.am-site .am-student-card .am-manage-form{display:block}.am-site .am-student-card label{margin-bottom:15px}.am-site .am-student-card .am-button{width:100%;white-space:normal}.am-site .am-access-state{font-weight:700;color:#254469}.am-site .am-button.am-danger{background:#743d32;border-color:#743d32;color:#fff9ed;text-shadow:none}.am-site .am-student-card details{margin-top:20px;font-size:13px}.am-site .am-student-card summary{cursor:pointer;font-weight:700;min-height:44px}.am-site .am-management :is(input,select,textarea,summary):focus-visible{outline:3px solid #235c9d;outline-offset:3px}.am-site .am-notice{border:3px solid #2b6c51}.am-site .am-management .am-small{color:#4b4b43}.am-site .am-management .am-inner-panel{scroll-margin-top:65px}@media(max-width:700px){.am-site .am-student-list{grid-template-columns:1fr}.am-site .am-manage-form>.am-button{width:100%}.am-site .am-student-card{padding:17px}.am-site .am-management .am-inner-panel{padding:22px}.am-site .am-management h1{font-size:40px}}
.am-site .am-access-layout{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:start}.am-site .am-entry-art{object-fit:contain;max-width:180px;height:140px;margin:0 0 10px}.am-site .am-login-card{background:#fffaf0;border:1px solid #d3ad60;border-radius:15px;padding:25px}.am-site #am-login-form label{display:block;font-weight:700;margin:15px 0 7px}.am-site #am-login-form input[type=text],.am-site #am-login-form input[type=password]{width:100%;min-height:48px;border:1px solid #8c784e;border-radius:6px;background:white;color:#172e4a;font-size:18px;padding:10px}.am-site #am-login-form input[type=submit]{background:linear-gradient(#ffe58d,#efb93e);color:#30220c;border:1px solid #b38b3a;border-radius:25px;font-weight:700;min-height:48px;padding:10px 23px;cursor:pointer;white-space:normal}.am-site .am-login-card a,.am-site .am-access-layout>div>a{color:#184e75;text-decoration:underline!important}.am-site #am-login-form input:focus-visible{outline:3px solid #235c9d;outline-offset:3px}.am-site .am-study-grid{max-width:1100px;margin:25px auto;display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:0 18px}.am-site .am-study-grid .am-inner-panel{margin:0;width:100%;padding:27px}.am-site .am-study-icon{object-fit:contain;float:right;height:80px;width:80px;margin:0 0 12px 15px}.am-site .am-study-nav{display:flex;flex-wrap:wrap;gap:15px;margin-top:20px}.am-site .am-study-room{scroll-margin-top:65px}.am-site .am-study-room details{margin:18px 0;border:1px solid #ccb377;border-radius:8px;padding:13px;background:#fff9e6}.am-site .am-study-room summary{cursor:pointer;font-weight:700;min-height:30px}.am-site .am-study-room summary:focus-visible{outline:3px solid #235c9d;outline-offset:5px}.am-site .am-count-example{font-size:30px;color:#926511}.am-site .am-count-example span{color:#17314c}.am-site .am-private-practice{margin-top:0}.am-site .am-private-practice .am-game-panel{margin:0}.am-site .am-private-practice:has(.am-game-panel[hidden]){background:none;border:0;box-shadow:none;color:#fff4dc;padding-top:0}@media(max-width:700px){.am-site .am-access-layout{grid-template-columns:1fr;gap:25px}.am-site .am-login-card{padding:20px}.am-site .am-study-grid{grid-template-columns:1fr}.am-site .am-study-grid .am-inner-panel{padding:22px}.am-site .am-entry-art{height:110px;width:130px}}
.am-site .am-memory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:650px}.am-site .am-memory .am-answer{min-height:100px;font:700 22px Georgia,serif;background:linear-gradient(135deg,#102c50,#244a70);color:#ffe2a0;border:2px solid #b78c3c;overflow-wrap:anywhere}.am-site .am-memory .am-answer[aria-pressed=true]{background:#fff7df;color:#17304d}.am-site .am-answer.am-found{background:#d9efce;color:#173c23;border:2px solid #327246;opacity:1}.am-site .am-letter-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;max-width:420px}.am-site .am-letter-grid .am-answer{min-width:0;min-height:44px;padding:5px;font:700 21px/1.2 system-ui}.am-site .am-answer.am-selected{outline:3px solid #235c9d;outline-offset:1px;background:#ffe39a}.am-site .am-word-list{display:flex;gap:12px;flex-wrap:wrap;list-style:none;padding:0;margin:18px 0 0;font-weight:700}.am-site .am-word-list li{border:1px solid #b28c45;padding:5px 10px;border-radius:20px;background:#fff8df}.am-site .am-map-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:550px;gap:7px;padding:12px;border:2px solid #ad853b;border-radius:12px;background:radial-gradient(ellipse at 75% 40%,#9ec5cb80,transparent 60%),repeating-linear-gradient(30deg,#eee2bb,#f9edca 25px,#eee2bb 50px)}.am-site .am-map-grid .am-answer{min-width:0;min-height:65px;padding:7px 4px;font-size:18px;background:#fffaf0c9}.am-site .am-map-grid .am-origin{border:2px dashed #326387;background:#dceafa;font-size:15px}.am-site .am-map-grid .am-found{background:#d9efce}.am-site .am-compass{font-weight:700;color:#314d68}.am-site .am-game-panel{scroll-margin-top:35px}.am-site #am-game-title:focus{outline:2px solid #a77c2d;outline-offset:6px}@media(max-width:450px){.am-site .am-game-panel{padding:20px 12px}.am-site .am-memory{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.am-site .am-memory .am-answer{min-height:75px}.am-site .am-letter-grid{gap:4px}.am-site .am-letter-grid .am-answer{min-height:36px;font-size:18px}.am-site .am-map-grid{padding:6px;gap:5px}.am-site .am-map-grid .am-answer{font-size:15px;min-height:60px}.am-site .am-map-grid .am-origin{font-size:12px}}
.am-site .am-hero{background-image:linear-gradient(90deg,#061a34 0%,#061a34 25%,#061a34e6 34%,#061a3400 60%),url('academia-cuento.webp')}
body.am-propuesta-page .entry-content>p:empty{display:none}
/* Iconos completos con alfa: sus rótulos se muestran una sola vez como HTML. */
.am-site #am-academia .am-service-icon img{width:120px;height:105px;display:block;margin:0 auto;object-fit:contain;background:transparent;border:0;box-shadow:none}.am-site .am-categories .am-category>span img{width:95px;height:90px;object-fit:contain;background:transparent;border:0;box-shadow:none}.am-site #am-metodo .am-steps li>span img{width:100px;height:100px;object-fit:contain;background:transparent;border:0;box-shadow:none}
@media(max-width:700px){.am-site #am-academia .am-service-icon img{width:95px;height:85px}.am-site .am-categories .am-category>span img{width:70px;height:65px}.am-site #am-metodo .am-steps li>span img{width:70px;height:75px}}
.am-site a{text-decoration:none!important}.am-site .am-header{min-height:82px;padding-top:10px;padding-bottom:10px}.am-site .am-emblem{display:flex;padding:0;color:#fff3cd}.am-site .am-emblem svg{display:block;flex-shrink:0}.am-site .am-hero{min-height:490px;background-color:#061a34;background-image:linear-gradient(90deg,#061a34 0%,#061a34 25%,#061a34e6 34%,#061a3400 60%),url('academia-cuento.webp');background-size:100% 100%,auto 135%;background-repeat:no-repeat;background-position:center,right 64%}.am-site .am-hero-inner{padding-top:30px;padding-bottom:30px}.am-site .am-hero h1{font-size:clamp(36px,3.65vw,53px);max-width:630px;line-height:1.05;letter-spacing:-.035em}.am-site .am-hero h1 em{max-width:620px}.am-site .am-hero-brand{display:flex;gap:12px;align-items:center;margin-bottom:19px;font:700 32px/1 Georgia,serif;text-shadow:0 2px 8px #03152e}.am-site .am-hero-brand svg{height:85px;width:74px;color:#fff4dc}.am-site .am-hero-brand strong{font-size:39px}.am-site .am-hero-subtitle{font-size:20px;margin-top:14px}.am-site .am-hero-note{margin-top:17px;font-size:11px}.am-site .am-actions{margin-top:20px}.am-site .am-service-icon img{height:85px}.am-site .am-category>span img{height:75px}.am-site .am-service{padding-top:14px}.am-site .am-section-heading{margin-bottom:23px}.am-site .am-parchment{border-radius:28px/14px}.am-site .am-games-main{background-image:linear-gradient(#04172ea3,#04172edb 45%,#04172ef5),url('academia-cuento.webp')}.am-site .am-interior{background-image:linear-gradient(#03162cac,#03162eea),url('academia-cuento.webp')}.am-site .am-games-heading{padding-top:30px}.am-site .am-games-heading h1{font-size:clamp(46px,6vw,80px)}.am-site .am-steps li>span img{width:100px;height:95px}.am-site .am-games-section{max-width:1150px}.am-site .am-game-art{background-size:300% auto}.am-site .am-card-body{background:radial-gradient(ellipse,#fff5dd,#f0d39c);position:relative}.am-site .am-card-body:after{content:"";position:absolute;pointer-events:none;inset:5px;border:1px solid #bb8a3852;border-radius:5px 10px 8px 10px}.am-site .am-card-body>*{position:relative;z-index:1}.am-site .am-game-panel{position:relative;z-index:2}.am-site .am-steps h3{white-space:normal}.am-site .am-skip:focus{top:10px}
@media(min-width:1500px){.am-site .am-hero{min-height:540px}}
@media(max-width:1000px){.am-site .am-hero{min-height:480px;background-position:center,right 65%}.am-site .am-hero h1{max-width:500px}.am-site .am-hero-brand{font-size:27px}.am-site .am-hero-brand strong{font-size:34px}.am-site .am-hero-subtitle{max-width:420px;font-size:18px}}
@media(max-width:700px){.am-site .am-hero{min-height:690px;background-image:linear-gradient(180deg,#061a34ed 0%,#061a34d6 39%,#061a3400 65%),url('academia-cuento.webp');background-size:100% 100%,auto 80%;background-position:center,right bottom}.am-site .am-hero-inner{padding:25px 23px}.am-site .am-hero-brand{font-size:25px;margin-bottom:16px}.am-site .am-hero-brand svg{height:60px;width:55px}.am-site .am-hero-brand strong{font-size:31px}.am-site .am-hero h1{font-size:38px;max-width:460px}.am-site .am-hero-subtitle{font-size:17px;max-width:390px}.am-site .am-hero-note{display:none}.am-site .am-actions{margin-top:18px;gap:10px}.am-site .am-service-icon img{height:64px}.am-site .am-category>span img{height:54px}.am-site .am-steps li>span img{width:70px;height:75px}}
@media(max-width:700px){.am-site .am-hero-inner{margin:0}}
@media(max-width:450px){.am-site .am-hero{min-height:740px;background-size:100% 100%,auto 75%;background-position:center,right bottom}.am-site .am-hero h1{font-size:35px}.am-site .am-hero-subtitle{font-size:16px}.am-site .am-header{padding-top:12px;padding-bottom:10px}.am-site .am-hero .am-button{font-size:13px;padding:10px 17px}}

/* solicitudes-alta.css */
.am-site .am-signup-invitation{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,290px);gap:42px;align-items:center;max-width:1180px;margin:28px auto;padding:34px;border:1px solid #daba70;border-radius:24px;background:linear-gradient(125deg,#102e4c,#071b33)}
.am-site .am-signup-invitation p{max-width:680px;line-height:1.65}
.am-site .am-signup-invitation .am-button{margin-top:22px}
.am-site .am-signup-invitation figure{margin:0;text-align:center}
.am-site .am-signup-invitation img{display:block;width:100%;max-width:290px;height:auto;margin:auto;background:white;border-radius:8px}
.am-site .am-signup-invitation figcaption{margin-top:12px;font-size:14px;line-height:1.5;color:#fff4d9}
.am-site .am-signup-panel{max-width:720px;margin:0 auto}
.am-site .am-signup-form{display:grid;gap:19px;margin-top:24px}
.am-site .am-signup-form label{display:grid;gap:8px;font-weight:650;font-size:15px}
.am-site .am-signup-form input:not([type=checkbox]):not([type=hidden]),.am-site .am-signup-form select{width:100%;min-width:0;min-height:46px;padding:11px 12px;background:#fffefa;color:#142744;border:1px solid #947b49;border-radius:8px;font:16px/1.4 system-ui}
.am-site .am-signup-form input:focus-visible,.am-site .am-signup-form select:focus-visible{outline:3px solid #245b8b;outline-offset:3px}
.am-site .am-signup-form .am-signup-check{display:flex;gap:11px;align-items:flex-start;font-weight:400;font-size:14px;line-height:1.6}
.am-site .am-signup-check input{flex:0 0 auto;width:20px;height:20px;accent-color:#245b8b;margin-top:2px}
.am-site .am-signup-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.am-site .am-signup-alert{padding:14px;border:1px solid #b64a37;background:#fff0e8;color:#732516;border-radius:8px}
.am-site .am-signup-panel a:not(.am-button){text-decoration:underline!important}
@media(max-width:700px){.am-site .am-signup-invitation{grid-template-columns:minmax(0,1fr);margin:18px 16px;padding:24px 20px;gap:25px}.am-site .am-signup-invitation img{max-width:230px}.am-site .am-signup-form .am-button{width:100%}}

.am-site .am-signup-management .am-signup-request-card{max-width:none!important;border-radius:14px;overflow-wrap:anywhere}
.am-site .am-signup-request-card form{display:grid;gap:15px;margin-top:18px}
.am-site .am-signup-request-card label{display:grid;gap:7px;font-weight:600}
.am-site .am-signup-request-card input:not([type=hidden]),.am-site .am-signup-request-card select{width:100%;max-width:440px;min-width:0;min-height:46px;border:1px solid #947b49;border-radius:8px;padding:10px;background:#fffefa;color:#142744;font:16px/1.4 system-ui}
.am-site .am-signup-request-card input:focus-visible,.am-site .am-signup-request-card select:focus-visible{outline:3px solid #245b8b;outline-offset:3px}
.am-site .am-signup-request-card .am-button{margin:5px 8px 5px 0;white-space:normal}
.am-site .am-signup-management .notice{padding:12px 16px;border:1px solid #947b49;border-radius:9px;background:#fffefa;color:#142744}
.am-site .am-signup-management nav{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.am-site .am-signup-management nav .page-numbers{padding:8px 12px;border:1px solid #947b49;border-radius:8px}
@media(max-width:600px){.am-site .am-signup-request-card .am-button{width:100%;margin-right:0}}

.am-site .am-signup-table{min-width:1120px;font-size:14px}
.am-site .am-signup-table td,.am-site .am-signup-table th{vertical-align:top;padding:14px 12px}
.am-site .am-signup-table .am-signup-email{display:block;max-width:230px;overflow-wrap:anywhere}
.am-site .am-signup-table .am-signup-actions-cell{min-width:235px;max-width:290px}
.am-site .am-signup-row-form{display:grid;gap:12px}
.am-site .am-signup-row-buttons{display:flex;gap:8px}
.am-site .am-signup-row-buttons .am-button{font:700 13px/1.4 system-ui;padding:9px 13px;min-height:44px;white-space:nowrap}
.am-site .am-signup-table button:disabled{opacity:.5;cursor:default;box-shadow:none}
.am-site .am-signup-status{display:inline-block;padding:4px 10px;border-radius:20px;font-weight:700;border:1px solid #b49445;background:#fff0c1;color:#5c4410;white-space:nowrap}
.am-site .am-signup-status-approved{background:#e1f0df;border-color:#9abf94;color:#24592b}
.am-site .am-signup-status-rejected{background:#fbe5e1;border-color:#d39c90;color:#7e3025}
.am-site .am-signup-table details{margin-top:10px;font-size:13px}
.am-site .am-signup-table summary{cursor:pointer;min-height:30px;padding:4px 0;font-weight:650}
.am-site .am-signup-row-details label{display:grid;gap:6px;margin-top:12px}
.am-site .am-signup-row-details input,.am-site .am-signup-row-details select{width:100%;min-width:0;min-height:44px;padding:8px;border:1px solid #947b49;border-radius:8px;background:#fffefa;color:#142744;font:16px/1.4 system-ui}
.am-site .am-signup-row-details p{max-width:235px;font-size:12px}
.am-site .am-signup-table-wrap:focus-visible{outline:3px solid #245b8b;outline-offset:3px}

/* navegacion.css */
/* Cabecera fija y menú desplegable nativo, también disponible sin JavaScript. */
.am-site{--am-header-height:88px;--am-admin-offset:0px;padding-top:var(--am-header-height)}
body.admin-bar .am-site{--am-admin-offset:32px}
.am-site .am-header{position:fixed;inset:var(--am-admin-offset) 0 auto;z-index:1000;width:100%;max-width:none;margin:0;min-height:80px;display:flex;flex-wrap:nowrap;align-items:center;gap:16px;padding:12px max(24px,calc((100% - 1200px)/2));background:rgba(6,22,42,.83);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid #ddba635e;box-shadow:0 6px 24px #020c1d38}
.am-site .am-header .am-brand{min-width:0;flex-shrink:0}
.am-site .am-header .am-header-cta{order:2;margin-left:auto}
.am-site .am-nav-disclosure{order:3;margin:0;padding:0;border:0;background:none}
.am-site .am-nav-disclosure summary{display:flex;align-items:center;justify-content:center;gap:9px;min-width:100px;min-height:46px;padding:9px 14px;list-style:none;cursor:pointer;border:1px solid #daba70;border-radius:12px;color:#fff0c7;background:#122e4bb3;font:600 15px/1.3 system-ui}
.am-site .am-nav-disclosure summary::-webkit-details-marker{display:none}
.am-site .am-nav-disclosure summary::marker{content:''}
.am-site .am-nav-disclosure summary:hover,.am-site .am-nav-disclosure[open] summary{background:#254966;color:#ffe08a}
.am-site .am-nav-disclosure summary:focus-visible{outline:3px solid #ffe29a;outline-offset:4px}
.am-site .am-nav-disclosure summary svg{flex-shrink:0}
.am-site .am-header .am-nav-disclosure nav{position:absolute;top:calc(100% + 10px);right:max(16px,calc((100% - 1200px)/2));display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:3px;order:initial;width:min(320px,calc(100vw - 32px));max-height:calc(100vh - var(--am-admin-offset) - var(--am-header-height) - 26px);max-height:calc(100dvh - var(--am-admin-offset) - var(--am-header-height) - 26px);overflow-y:auto;overscroll-behavior:contain;padding:12px;background:rgba(7,25,46,.95);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid #daba7080;border-radius:16px;box-shadow:0 16px 42px #0008;font:17px/1.4 Georgia,serif;text-align:left}
.am-site .am-header .am-nav-disclosure:not([open]) nav{display:none}
.am-site .am-header .am-nav-disclosure nav a{display:block;min-height:46px;padding:12px 16px;border:0;border-radius:9px;color:#fff3db}
.am-site .am-header .am-nav-disclosure nav a:hover,.am-site .am-header .am-nav-disclosure nav a[aria-current]{background:#e8bd4c20;color:#ffdb7b}
.am-site .am-header .am-nav-disclosure nav a:focus-visible{outline:2px solid #ffdb7b;outline-offset:-3px;background:#e8bd4c20}
.am-site :is(main[id],section[id],article[id],h1[id],h2[id],h3[id],div[id]){scroll-margin-top:calc(var(--am-header-height) + var(--am-admin-offset) + 18px)}
.am-site .am-skip:focus{position:fixed;z-index:1001;top:calc(var(--am-admin-offset) + 8px)}
@media(max-width:782px){body.admin-bar .am-site{--am-admin-offset:46px}}
@media(max-width:600px){.am-site{--am-header-height:80px}.am-site .am-header{padding:10px 16px;gap:10px}.am-site .am-header .am-header-cta{display:none}.am-site .am-nav-disclosure{margin-left:auto}.am-site .am-header .am-brand strong{font-size:24px}.am-site .am-header .am-brand small{font-size:6px}.am-site .am-header .am-emblem svg{width:35px;height:43px}}
@media(prefers-reduced-transparency:reduce){.am-site .am-header{background:#071b33}.am-site .am-header .am-nav-disclosure nav{background:#071b33}}

/* WhatsApp siempre visible en la cabecera, fuera del desplegable. */
.am-site .am-header .am-header-whatsapp{order:2;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:8px;margin:0 0 0 auto;min-height:46px;padding:9px 17px;border:1px solid #daba70;border-radius:28px;background:#166342;color:#fff8e7;box-shadow:0 3px 12px #0003;text-decoration:none}
.am-site .am-header .am-header-whatsapp:hover{background:#1d7952;color:#fff8e7;box-shadow:0 3px 12px #0003;transform:none}
.am-site .am-header .am-header-whatsapp strong{font:700 15px/1.2 system-ui,sans-serif;color:inherit}
.am-site .am-header .am-header-whatsapp .am-wa-emblem{display:grid;place-items:center;flex:none;width:26px;height:26px;background:none;border:0;border-radius:0;box-shadow:none;color:inherit}
.am-site .am-header-whatsapp svg{display:block;width:26px;height:26px}
.am-site .am-header-whatsapp .am-wa-arrow{display:none}
.am-site .am-header .am-header-whatsapp:focus-visible{outline:3px solid #ffe29a;outline-offset:4px}
@media(max-width:600px){.am-site .am-header{padding-inline:12px;gap:8px}.am-site .am-header .am-brand{flex:0 0 auto}.am-site .am-header .am-brand small{display:none}.am-site .am-header .am-header-whatsapp{display:inline-flex;min-height:44px;padding:8px 10px;gap:5px}.am-site .am-header .am-header-whatsapp strong{font-size:13px}.am-site .am-nav-disclosure{margin-left:0}.am-site .am-nav-disclosure summary{min-width:44px;min-height:44px;padding:9px}.am-site .am-nav-disclosure summary span{display:none}}
@media(max-width:380px){.am-site .am-header .am-emblem{display:none}}

/* whatsapp.css */
.am-site .am-whatsapp-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:66px;max-width:100%;padding:9px 22px 9px 10px;border:1px solid #a67925;border-radius:40px;background:linear-gradient(#ffe8a5,#f6cf68 43%,#e9b749);box-shadow:inset 0 2px #fff8d8,0 4px 0 #be8c31,0 8px 18px #73542133;color:#13283e;text-decoration:none;margin:0;transition:transform .18s,box-shadow .18s}
.am-site .am-whatsapp-link strong{font:700 17px/1.2 Georgia,serif;color:inherit}
.am-site .am-wa-emblem{display:grid;place-items:center;position:relative;flex:none;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#20885c,#0c5b3e);border:1px solid #e5f5c2;color:#fffbe5;box-shadow:0 2px 5px #86651530}
.am-site .am-whatsapp-link svg{display:block;flex:none;width:29px;height:29px}
.am-site .am-wa-arrow{font:23px/1 system-ui,sans-serif;margin-left:2px}
.am-site .am-whatsapp-link:hover{transform:translateY(-2px);color:#13283e;box-shadow:inset 0 2px #fff8d8,0 5px 0 #be8c31,0 12px 20px #73542135}
.am-site .am-whatsapp-link:focus-visible{outline:3px solid #1f79a9;outline-offset:5px}
.am-site .am-whatsapp-float{position:fixed;z-index:990;right:24px;bottom:24px;bottom:max(24px,env(safe-area-inset-bottom));min-height:62px;padding:0;border:0;background:transparent;box-shadow:none;gap:12px}
.am-site .am-whatsapp-float:hover{background:transparent;box-shadow:none}
.am-site .am-whatsapp-float:focus-visible{outline-color:#ffdc7a}
.am-site .am-wa-hint{padding:10px 17px;border:1px solid #d0ae62;border-radius:12px 12px 3px 12px;background:#fff4d9;box-shadow:0 5px 16px #0004;color:#12314a;font:650 13px/1.5 system-ui,sans-serif}
.am-site .am-whatsapp-float .am-wa-emblem{width:62px;height:62px;background:linear-gradient(145deg,#238d60,#0c563d);border:2px solid #f1ce75;box-shadow:inset 0 0 0 3px #113e32,0 5px 20px #0006;color:#fff7db}
.am-site .am-whatsapp-float svg{width:32px;height:32px}
.am-site .am-wa-spark{position:absolute;right:-3px;top:-6px;color:#ffda7a;text-shadow:0 0 6px #e4c980aa;font:18px/1 Georgia,serif}
.am-site:has([data-am-panel]:not([hidden])) .am-whatsapp-float{display:none}
.am-site:has(.am-contact-form:focus-within) .am-whatsapp-float,body.am-propuesta-page:has(.am-contact-form:focus-within) #ast-scroll-top{display:none}
body.am-propuesta-page:has(.am-whatsapp-float) #ast-scroll-top{bottom:110px}
body.am-propuesta-page:has([data-am-panel]:not([hidden])) #ast-scroll-top{bottom:30px}
.am-site .am-contact-guide>.am-whatsapp-link{margin:0 0 24px}
.am-site #am-contacto>p{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:flex-end}
@media(max-width:600px){.am-site .am-whatsapp-link:not(.am-whatsapp-float){gap:9px;padding-right:15px}.am-site .am-whatsapp-link strong{font-size:16px}.am-site .am-whatsapp-float{min-height:56px;right:18px;bottom:18px;bottom:max(18px,env(safe-area-inset-bottom))}.am-site .am-whatsapp-float .am-wa-emblem{width:56px;height:56px}.am-site .am-wa-hint{display:none}.am-site #am-contacto>p{justify-content:flex-start}.am-site .am-contact-guide>.am-whatsapp-link{width:100%}}
@media(prefers-reduced-motion:reduce){.am-site .am-whatsapp-link{transition:none}.am-site .am-whatsapp-link:hover{transform:none}}

/* pie-pagina.css */
.am-site .am-footer.am-footer-grand{display:block;padding:0;position:relative;isolation:isolate;border-top:1px solid #d4b36588;background:#081d36;color:#fff5df;text-align:left;font:14px/1.55 system-ui,sans-serif}
.am-site .am-footer-grand::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#04172f66,#061b35ec 24%,#061b35ec 76%,#04172f66),url('footer-paisaje.webp') center 60%/cover;pointer-events:none}
.am-site .am-footer-main{position:relative;display:grid;grid-template-columns:1.35fr 1.1fr .85fr 1fr;align-items:center;gap:28px;max-width:1550px;margin:auto;padding:48px 38px 42px 190px;min-height:305px}
.am-site .am-footer-main>section,.am-site .am-footer-main>nav{min-width:0}
.am-site .am-footer-main h2{font:700 37px/1.05 Georgia,serif;color:#fff8e7;margin:0 0 9px;text-shadow:0 2px 6px #031026}
.am-site .am-footer-main h3{font:700 18px/1.3 Georgia,serif;color:#ffe3a2;margin:0 0 12px}
.am-site .am-footer-main p{font:14px/1.6 system-ui,sans-serif;color:#f1ecdf;margin:0 0 16px}
.am-site .am-footer-main a{color:#fff4da}
.am-site .am-footer-main a:hover{color:#ffe193}
.am-site .am-footer-main .am-whatsapp-link{min-height:62px;gap:10px;background:linear-gradient(135deg,#288b54,#14693e);border:1px solid #bcd779;color:#fffbe7;box-shadow:inset 0 1px #ffffff66,0 4px 12px #0004;padding-right:17px}
.am-site .am-footer-main .am-whatsapp-link strong{font:700 15px/1.25 system-ui,sans-serif}
.am-site .am-footer-main .am-whatsapp-link .am-wa-emblem{background:#ffffff12;border-color:#ffffff88;box-shadow:none}
.am-site .am-footer-main .am-whatsapp-link:hover{color:#fff;background:linear-gradient(135deg,#309c61,#1a7a49)}
.am-site .am-footer-details{padding-left:24px;border-left:1px solid #d3bb7c55}
.am-site .am-footer-details>p{display:flex;align-items:flex-start;gap:13px;overflow-wrap:anywhere}
.am-site .am-footer-details svg{flex:none;color:#f0c15e;margin-top:1px}
.am-site .am-footer-contact-link{display:inline-block;min-height:38px;padding:8px 0;border-bottom:1px solid #e3c87c88}
.am-site .am-footer-social,.am-site .am-footer-explore{align-self:stretch;padding-left:24px;border-left:1px solid #d3bb7c55;display:flex;flex-direction:column;justify-content:center}
.am-site .am-footer-explore>a{display:block;padding:6px 0;min-height:34px}
.am-site .am-footer-social>div{display:flex;flex-wrap:wrap;gap:9px}
.am-site .am-footer-social .am-social{display:grid;place-items:center;min-width:44px;min-height:44px;padding:8px;border-radius:12px;font-size:12px;color:#fff}
.am-site .am-social-instagram{background:linear-gradient(135deg,#7343c9,#de3b7e,#efa943)}
.am-site .am-social-tiktok{background:#111d2d;border:1px solid #526674}
.am-site .am-social-youtube{background:#bf2936}
.am-site .am-social-facebook{background:#2359a6}
.am-site .am-footer-decoration{position:absolute;left:0;bottom:0;width:170px;height:290px;overflow:hidden;pointer-events:none;background:url('hero-primer-plano-articulado.webp') left bottom/auto 290px no-repeat}
.am-site .am-footer-decoration img{position:absolute;left:36px;bottom:14px;width:125px;height:115px;object-fit:contain;transform:rotate(-8deg);filter:drop-shadow(0 5px 6px #0007)}
.am-site .am-footer-map,.am-site .am-footer-academy-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:178px;padding:24px 15px;border:2px solid #edddb8;border-radius:16px;overflow:hidden;box-shadow:0 5px 20px #0004;text-align:center}
.am-site .am-footer-map{background:repeating-linear-gradient(32deg,transparent 0 39px,#fff9e4 40px 47px,transparent 48px 76px),repeating-linear-gradient(112deg,#d7e5da 0 43px,#fff7dd 44px 50px,#dfe8e8 51px 85px);color:#102b45}
.am-site .am-footer-map-pin{display:flex;align-items:center;gap:4px;padding:7px 9px;border-radius:30px;background:#fff9e9;color:#123352;box-shadow:0 2px 6px #102f4244;font-size:12px}
.am-site .am-footer-map-pin svg{width:28px;height:28px}
.am-site .am-footer-map-caption{background:#0a253de8;color:#fff9e9;border-radius:7px;padding:6px 8px;font-size:11px}
.am-site .am-footer-academy-card{background:linear-gradient(#05192f44,#05192feb),url('footer-paisaje.webp') 82% 20%/auto 230px no-repeat;color:#fff4dc}
.am-site .am-footer-academy-card>span{font:700 22px/1.1 Georgia,serif;color:#ffe198}
.am-site .am-footer-academy-card>strong{font:500 13px/1.5 system-ui,sans-serif}
.am-site .am-footer-academy-card>small{font-size:11px;color:#ffe3a1}
.am-site .am-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:19px max(32px,calc((100% - 1450px)/2));background:#07182cdd;border-top:1px solid #d2af674f}
.am-site .am-footer-logo{display:flex;align-items:center;gap:9px;flex:none;color:#fff1ca}
.am-site .am-footer-logo span{font:20px/1 Georgia,serif}
.am-site .am-footer-logo strong{display:block;font:700 27px/1 Georgia,serif}
.am-site .am-footer-bottom>p{font:12px/1.5 system-ui,sans-serif;color:#e6e5df;margin:0}
.am-site .am-footer-bottom>nav{display:flex;flex-wrap:wrap;gap:10px 16px;font:12px/1.6 system-ui,sans-serif}
.am-site .am-footer-bottom>nav a{color:#e6e5df;min-height:32px;display:inline-flex;align-items:center}
.am-site .am-footer-bottom>small{color:#d2dce4;font:11px/1.5 system-ui,sans-serif}
.am-site .am-footer a:focus-visible{outline:3px solid #ffda76;outline-offset:5px;border-radius:6px}
.am-site .am-footer-compact::before{display:none}
@media(max-width:1250px){.am-site .am-footer-main{padding:38px 28px;grid-template-columns:1.3fr 1fr 1fr;gap:26px}.am-site .am-footer-decoration{display:none}.am-site .am-footer-main>nav{grid-column:2;grid-row:2}.am-site .am-footer-talk{grid-row:1/3}.am-site .am-footer-academy-card,.am-site .am-footer-map{grid-column:3;grid-row:1/3}.am-site .am-footer-bottom{gap:18px;flex-wrap:wrap}}
@media(max-width:850px){.am-site .am-footer-main{grid-template-columns:1fr 1fr;align-items:start}.am-site .am-footer-talk{grid-row:auto}.am-site .am-footer-main>nav{grid-column:1;grid-row:2;padding:0;border:0}.am-site .am-footer-academy-card,.am-site .am-footer-map{grid-column:2;grid-row:2;align-self:center}.am-site .am-footer-bottom>p{flex-basis:50%;flex-grow:1}}
@media(max-width:550px){.am-site .am-footer-main{grid-template-columns:1fr;padding:34px 25px;gap:26px}.am-site .am-footer-details{border:0;border-top:1px solid #d3bb7c55;padding:22px 0 0}.am-site .am-footer-main>nav,.am-site .am-footer-academy-card,.am-site .am-footer-map{grid-column:auto;grid-row:auto}.am-site .am-footer-main>nav{padding-top:20px;border-top:1px solid #d3bb7c55}.am-site .am-footer-main h2{font-size:35px}.am-site .am-footer-talk .am-whatsapp-link{width:100%;justify-content:flex-start}.am-site .am-footer-talk .am-wa-arrow{margin-left:auto}.am-site .am-footer-bottom{padding:22px 25px;gap:17px}.am-site .am-footer-bottom>p{flex-basis:100%;order:2}.am-site .am-footer-bottom>nav{order:3}.am-site .am-footer-bottom>small{order:4;flex-basis:100%}}

.am-site .am-footer-map-wrap{border:2px solid #edddb8;border-radius:16px;overflow:hidden;box-shadow:0 5px 20px #0004;background:#e9eee5;align-self:center;min-width:0}
.am-site .am-footer-map-wrap iframe{display:block;width:100%;height:178px;border:0;max-width:100%}
.am-site .am-footer-map-wrap .am-footer-map-caption{display:block;text-align:center;border-radius:0;padding:8px;color:#fff9e9;font:12px/1.4 system-ui,sans-serif}
.am-site.am-footer-in-view .am-whatsapp-float{visibility:hidden;opacity:0;pointer-events:none}
@media(max-width:1250px) and (min-width:851px){.am-site .am-footer-map-wrap{grid-column:3;grid-row:1/3}}
@media(max-width:850px) and (min-width:551px){.am-site .am-footer-map-wrap{grid-column:2;grid-row:2}}

/* portada-cuento.css */
/* Composición panorámica inspirada en la referencia aprobada, con identidad propia. */
.am-site:has(>.am-hero){padding-top:0}
.am-site .am-hero{min-height:560px;align-items:center;border:0;background-color:#061a34;background-image:linear-gradient(90deg,#04152c70 0%,#04152c20 42%,transparent 67%),url('academia-panoramica.webp');background-size:cover;background-position:center,right bottom}
.am-site .am-hero-inner{max-width:1200px;padding:calc(var(--am-header-height,88px) + 32px) 28px 40px;margin:auto}
.am-site .am-hero h1{font-size:clamp(34px,3.5vw,46px);max-width:570px;line-height:1.04;letter-spacing:-.025em;text-wrap:initial;text-shadow:0 3px 12px #03142e}
.am-site .am-hero h1 em{display:block;max-width:550px;font-size:clamp(48px,5.1vw,68px);line-height:.98;color:#ffda76;letter-spacing:-.025em;text-shadow:0 3px 0 #68451650,0 0 24px #f1b83425}
.am-site .am-hero-subtitle{font-size:20px;max-width:560px;margin-top:16px}
.am-site .am-hero .am-actions{gap:12px;margin-top:18px}
.am-site .am-hero .am-actions .am-button{font-size:15px;padding:10px 21px;gap:9px;min-height:46px}
.am-site .am-hero .am-actions svg{width:21px;height:21px;flex-shrink:0}
.am-site .am-hero-benefits{display:flex;gap:21px;max-width:570px;list-style:none;margin:26px 0 0;padding:0}
.am-site .am-hero-benefits li{display:flex;align-items:center;gap:9px;max-width:170px;font:12px/1.35 system-ui;color:#fff7e4}
.am-site .am-hero-benefits svg{width:30px;height:30px;flex-shrink:0;color:#f7c851}
.am-site .am-hero~main{background:radial-gradient(circle at 7% 29%,#f5c05590 0 1px,transparent 3px),radial-gradient(circle at 92% 45%,#ffdfa68c 0 1px,transparent 3px),radial-gradient(circle at 84% 74%,#ffdfa68c 0 1px,transparent 3px),#061a34}
.am-site .am-hero~main>.am-section{padding:24px max(28px,calc((100% - 1180px)/2))}
.am-site .am-hero~main>.am-parchment{border:2px solid #cda44c;border-radius:38px/24px;box-shadow:inset 0 0 0 4px #fff7e4,inset 0 0 0 5px #dcc185,0 4px 18px #0003}
.am-site .am-hero~main>.am-parchment::before,.am-site .am-hero~main>.am-parchment::after{content:'✧';position:absolute;top:18px;color:#b48637;font:30px/1 Georgia;pointer-events:none}
.am-site .am-hero~main>.am-parchment::before{left:15px}
.am-site .am-hero~main>.am-parchment::after{right:15px}
.am-site .am-hero~main .am-section-heading{margin-bottom:18px}
.am-site .am-hero~main .am-section-heading h2{font-size:34px;line-height:1.08}
.am-site .am-hero~main .am-section-heading>p{font-size:14px;margin-top:7px}
.am-site .am-hero~main .am-ornament{display:none}
.am-site .am-hero~main .am-services{gap:16px}
.am-site .am-hero~main .am-service{border:0;padding:13px 17px 17px;border-radius:17px}
.am-site .am-hero~main #am-academia .am-service-icon img{width:104px;height:90px}
.am-site .am-hero~main .am-service h3{font-size:23px;margin-top:2px}
.am-site .am-hero~main .am-service p{font-size:14px;line-height:1.35;margin-top:8px}
.am-site .am-hero~main .am-game-intro{padding-top:25px;padding-bottom:24px;background:linear-gradient(#04172edb,#04172eb8),url('academia-cuento.webp') center 68%/cover}
.am-site .am-hero~main .am-categories{gap:12px;grid-template-columns:repeat(6,minmax(0,1fr))}
.am-site .am-hero~main .am-category{padding:12px 8px 11px;box-shadow:0 4px 12px #0004;border:1px solid #ffffff8c;border-bottom:3px solid #d0b15d;border-radius:14px}
.am-site .am-hero~main .am-category>span img{width:98px;height:88px}
.am-site .am-hero~main .am-category h3{font-size:21px;margin-top:4px}
.am-site .am-hero~main .am-category b{width:27px;height:27px;line-height:26px;margin-top:7px;font-size:24px}
.am-site .am-hero~main .am-section-note{font-size:12px;margin-top:13px;color:#eee3ca}
.am-site .am-hero~main .am-steps{gap:25px}
.am-site .am-hero~main .am-steps li{display:flex;align-items:center;text-align:left;gap:14px}
.am-site .am-hero~main #am-metodo .am-steps li>span img{width:103px;height:106px}
.am-site .am-hero~main .am-steps h3{font-size:25px;white-space:normal}
.am-site .am-hero~main .am-steps p{font-size:14px;line-height:1.4;margin-top:8px}
.am-site .am-hero~main .am-steps h3 b{width:30px;height:30px;font-size:20px;margin-right:7px}
.am-site .am-hero~main .am-aula{padding-top:32px;padding-bottom:32px;gap:45px}
.am-site .am-hero~main .am-aula h2{font-size:34px}
.am-site .am-hero~main .am-aula p{font-size:15px;max-width:600px}
.am-site .am-hero~main .am-aula aside{padding:22px;border:1px solid #ceb267;border-radius:18px;background:linear-gradient(125deg,#fff9e9,#e3eff4);color:#142744;box-shadow:0 4px 20px #0003}
.am-site .am-hero~main .am-aula aside>span{color:#ba8930}
.am-site .am-hero~main .am-aula aside h3{font-size:25px}
.am-site .am-hero~main .am-aula aside p{color:#354b5c}
.am-site .am-hero~main .am-contact h2{font-size:32px}
.am-site .am-hero~main .am-contact p{font-size:15px}
@media(min-width:1500px){.am-site .am-hero{min-height:650px}.am-site .am-hero-inner{max-width:1320px}.am-site .am-hero h1{font-size:50px}.am-site .am-hero h1 em{font-size:76px;max-width:600px}}
@media(max-width:1000px) and (min-width:701px){.am-site .am-hero{min-height:560px;background-position:center,65% bottom}.am-site .am-hero h1{font-size:35px;max-width:450px}.am-site .am-hero h1 em{font-size:54px;max-width:430px}.am-site .am-hero-subtitle{font-size:17px;max-width:430px}.am-site .am-hero-benefits{max-width:430px;gap:11px}.am-site .am-hero-benefits li{font-size:11px}.am-site .am-hero~main .am-service{padding:13px 11px}.am-site .am-hero~main .am-service h3{font-size:20px}.am-site .am-hero~main .am-service p{font-size:13px}.am-site .am-hero~main .am-category h3{font-size:17px}.am-site .am-hero~main .am-steps li{gap:8px}.am-site .am-hero~main #am-metodo .am-steps li>span img{width:70px;height:80px}.am-site .am-hero~main .am-steps h3{font-size:21px}}
@media(max-width:700px){.am-site .am-hero{min-height:805px;align-items:flex-start;background-image:linear-gradient(180deg,#04162eea 0%,#04162ed9 43%,#04162e00 67%),url('academia-cuento.webp');background-size:100% 100%,auto 450px;background-position:center,right bottom;background-repeat:no-repeat}.am-site .am-hero-inner{padding:calc(var(--am-header-height,80px) + 24px) 24px 335px}.am-site .am-hero h1{font-size:32px;max-width:400px}.am-site .am-hero h1 em{font-size:47px;max-width:390px}.am-site .am-hero-subtitle{font-size:17px;max-width:350px;line-height:1.4}.am-site .am-hero .am-actions{max-width:360px;gap:12px}.am-site .am-hero .am-actions .am-button{font-size:13px;padding:10px 16px}.am-site .am-hero-benefits{gap:12px;margin-top:22px;max-width:390px}.am-site .am-hero-benefits li{font-size:10px;gap:6px}.am-site .am-hero-benefits svg{width:23px;height:23px}.am-site .am-hero~main>.am-section{padding:24px 20px}.am-site .am-hero~main>.am-parchment{border-radius:28px/20px}.am-site .am-hero~main>.am-parchment::before,.am-site .am-hero~main>.am-parchment::after{font-size:22px;top:13px}.am-site .am-hero~main>.am-parchment::before{left:9px}.am-site .am-hero~main>.am-parchment::after{right:9px}.am-site .am-hero~main .am-section-heading h2{font-size:30px}.am-site .am-hero~main .am-section-heading>p{font-size:13px}.am-site .am-hero~main .am-services{gap:12px}.am-site .am-hero~main .am-service{padding:13px 12px 16px}.am-site .am-hero~main #am-academia .am-service-icon img{width:90px;height:78px}.am-site .am-hero~main .am-service h3{font-size:21px}.am-site .am-hero~main .am-service p{font-size:13px;line-height:1.4}.am-site .am-hero~main .am-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.am-site .am-hero~main .am-category>span img{width:75px;height:70px}.am-site .am-hero~main .am-category h3{font-size:17px}.am-site .am-hero~main .am-steps{gap:23px}.am-site .am-hero~main #am-metodo .am-steps li>span img{width:83px;height:90px}.am-site .am-hero~main .am-steps h3{font-size:24px}.am-site .am-hero~main .am-aula{gap:24px}.am-site .am-hero~main .am-aula h2{font-size:30px}.am-site .am-hero~main .am-aula aside{padding:21px}.am-site .am-hero~main .am-contact h2{font-size:29px}}
@media(max-width:450px){.am-site .am-hero~main .am-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.am-site .am-hero~main .am-category h3{font-size:19px}}
@media(max-width:360px){.am-site .am-hero h1{font-size:29px}.am-site .am-hero h1 em{font-size:42px}.am-site .am-hero-benefits{gap:8px}.am-site .am-hero-benefits li{font-size:10px}.am-site .am-hero~main .am-service h3{font-size:19px}.am-site .am-hero~main .am-category h3{font-size:18px}}

/* portada-efectos.css */
/* Capas decorativas acotadas a la portada, sin imágenes ni filtros adicionales. */
.am-site > .am-hero{isolation:isolate;overflow:hidden}
.am-site > .am-hero > .am-hero-inner{position:relative;z-index:1}
.am-site .am-hero-effects{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.am-site .am-effects-toggle{position:absolute;z-index:2;right:104px;bottom:12px;min-height:44px;padding:8px 14px;border:1px solid #dcc285;border-radius:24px;background:#061a34e8;color:#fff2d2;font:12px/1.3 system-ui;cursor:pointer}
.am-site .am-effects-toggle:hover{background:#183855}
.am-site .am-effects-toggle:focus-visible{outline:3px solid #ffda76;outline-offset:3px}
@media all{
  .am-site:has(> .am-hero.am-motion-enabled) .am-hero-effects::before,.am-site:has(> .am-hero.am-motion-enabled) .am-hero-effects::after{content:'';position:absolute;pointer-events:none;animation-play-state:paused}
  .am-site:has(> .am-hero.am-motion-enabled) .am-hero-effects::before{
    inset:5% 0 9% 39%;opacity:.4;
    background:radial-gradient(circle at 14% 23%,#fff5cc 0 1px,#f4c55255 2px,transparent 5px),radial-gradient(circle at 39% 58%,#fff5cc 0 1px,#f4c55244 2px,transparent 5px),radial-gradient(circle at 63% 17%,#fff5cc 0 1px,#f4c55255 2px,transparent 5px),radial-gradient(circle at 82% 46%,#fff5cc 0 1px,#f4c55244 2px,transparent 5px),radial-gradient(circle at 54% 79%,#fff5cc 0 1px,#f4c55244 2px,transparent 5px),radial-gradient(circle at 92% 84%,#fff5cc 0 1px,#f4c55255 2px,transparent 5px);
    animation:am-portada-destellos 9s ease-in-out infinite alternate;
    animation-play-state:paused;
  }
  .am-site:has(> .am-hero.am-motion-enabled) .am-hero-effects::after{
    left:28%;right:-12%;bottom:-8%;height:45%;opacity:.22;
    background:radial-gradient(ellipse at 28% 63%,#d4e6ec77,transparent 58%),radial-gradient(ellipse at 75% 77%,#e5edef66,transparent 60%);
    animation:am-portada-niebla 24s ease-in-out infinite alternate;
    animation-play-state:paused;
  }
  .am-site:has(> .am-hero.am-motion-enabled) .am-effects-running .am-hero-effects::before,.am-site:has(> .am-hero.am-motion-enabled) .am-effects-running .am-hero-effects::after{animation-play-state:running}
}
@keyframes am-portada-destellos{from{opacity:.22;transform:translate3d(0,5px,0)}to{opacity:.72;transform:translate3d(-7px,-9px,0)}}
@keyframes am-portada-niebla{from{opacity:.18;transform:translate3d(-3%,0,0)}to{opacity:.38;transform:translate3d(4%,-5px,0)}}
@media(max-width:700px){
  .am-site .am-hero-effects{top:auto;height:330px}
  .am-site:has(> .am-hero.am-motion-enabled) .am-hero-effects::before{left:10%;background:radial-gradient(circle at 22% 30%,#fff5cc 0 1px,#f4c55244 2px,transparent 4px),radial-gradient(circle at 64% 18%,#fff5cc 0 1px,#f4c55244 2px,transparent 4px),radial-gradient(circle at 81% 67%,#fff5cc 0 1px,#f4c55244 2px,transparent 4px);animation-duration:12s}
  .am-site:has(> .am-hero.am-motion-enabled) .am-hero-effects::after{left:-8%;height:48%;animation-duration:30s}
  .am-site .am-effects-toggle{right:92px;bottom:10px}
}
.am-site > .am-hero:not(.am-motion-enabled) .am-hero-effects{display:none}

/* Cuatro planos registrados sobre el mismo lienzo. Se cargan al activar el ambiente. */
.am-site > .am-hero.am-depth-ready{background-image:none}
.am-site .am-depth-stage{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;background:#061a34;isolation:isolate}
.am-site .am-depth-ground{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.am-site .am-depth-stage::after{content:'';position:absolute;inset:0;z-index:5;background:linear-gradient(90deg,#04152c70 0%,#04152c20 42%,transparent 67%);pointer-events:none}
.am-site .am-depth-layer{position:absolute;inset:0;transition:transform .65s cubic-bezier(.2,.7,.3,1);pointer-events:none}
.am-site .am-hero:not(.am-motion-enabled) .am-depth-layer{transition:none}
.am-site .am-depth-layer>img,.am-site .am-lantern-lights,.am-site .am-depth-actors,.am-site .am-depth-original-body,.am-site .am-depth-original-color{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:right bottom;pointer-events:none}
.am-site .am-depth-cielo{z-index:0;transform:translate3d(calc(var(--am-depth-x,0px) * -.12),calc(var(--am-depth-y,0px) * -.12),0)}
.am-site .am-depth-castillo{z-index:1;transform:translate3d(calc(var(--am-depth-x,0px) * .25),calc(var(--am-depth-y,0px) * .25),0)}
.am-site .am-depth-magia{z-index:2;transform:translate3d(calc(var(--am-depth-x,0px) * .65),calc(var(--am-depth-y,0px) * .65),0)}
.am-site .am-depth-primer-plano{z-index:3;transform:translate3d(var(--am-depth-x,0px),var(--am-depth-y,0px),0)}
.am-site .am-depth-magia>.am-depth-original-color{animation:am-depth-magic 9s ease-in-out infinite alternate paused}
.am-site .am-depth-cielo>img{animation:am-depth-sky 12s ease-in-out infinite alternate paused}
.am-site .am-lantern-lights{opacity:0}
.am-site .am-candle{animation:am-candle-light 4.7s ease-in-out infinite paused;opacity:.5}
.am-site .am-candle-middle{animation-duration:5.9s;animation-delay:-2.3s}
.am-site .am-candle-right{animation-duration:6.3s;animation-delay:-4.1s}
.am-site .am-candle-flame{transform-box:fill-box;transform-origin:center bottom;animation:am-candle-flame 3.3s ease-in-out infinite alternate paused}
.am-site .am-candle-middle .am-candle-flame{animation-duration:4.1s;animation-delay:-1.4s}
.am-site .am-candle-right .am-candle-flame{animation-duration:3.7s;animation-delay:-2.1s}
.am-site .am-book-glow{animation:am-book-breath 7s ease-in-out infinite alternate paused;opacity:.3}
.am-site .am-wand-hand{transform-box:view-box;transform-origin:1234px 640px;animation:am-wand-wave 10s ease-in-out infinite paused}
.am-site .am-owl{transform-box:view-box;transform-origin:1840px 620px;animation:am-owl-sway 13s ease-in-out infinite paused}
.am-site .am-effects-running .am-lantern-lights{opacity:1}
.am-site .am-effects-running :is(.am-depth-magia>.am-depth-original-color,.am-candle,.am-candle-flame,.am-book-glow,.am-wand-hand,.am-owl){animation-play-state:running}
@keyframes am-wand-wave{0%,52%,100%{transform:rotate(0deg)}60%{transform:rotate(-2.5deg)}69%{transform:rotate(2deg)}78%{transform:rotate(-1.5deg)}87%{transform:rotate(0deg)}}
@keyframes am-owl-sway{0%,34%,70%,100%{transform:rotate(0deg)}44%,54%{transform:rotate(-2deg)}62%{transform:rotate(.6deg)}}
@keyframes am-depth-magic{from{transform:translateY(1px);opacity:1}to{transform:translateY(-4px);opacity:1}}
@keyframes am-depth-sky{from{opacity:.88}to{opacity:1}}
@keyframes am-candle-light{0%,100%{opacity:.44}18%{opacity:.61}39%{opacity:.48}63%{opacity:.66}81%{opacity:.51}}
@keyframes am-candle-flame{from{transform:scale(.92,.96)}to{transform:scale(1.06,1.04)}}
@keyframes am-book-breath{from{opacity:.22}to{opacity:.48}}
@media(max-width:700px){
  .am-site > .am-hero.am-depth-ready{background-image:linear-gradient(180deg,#04162eea 0%,#04162ed9 43%,#04162e00 67%)}
  .am-site .am-depth-stage{inset:auto 0 0;height:340px}
  .am-site .am-depth-stage::after{background:linear-gradient(180deg,#061a34,transparent 23%)}
  .am-site .am-depth-magia>.am-depth-original-color{animation-name:am-depth-magic-mobile;animation-duration:12s}
}
@keyframes am-depth-magic-mobile{from{transform:translateY(0);opacity:1}to{transform:translateY(-2px);opacity:1}}
@media print{.am-site .am-depth-stage{display:none}.am-site > .am-hero.am-depth-ready{background-image:url('academia-panoramica.webp')}}

/* Apariciones únicas y respuesta breve de las tarjetas de la portada. */
@media all{
  .am-site:has(> .am-hero.am-motion-enabled) > .am-hero ~ main :is(.am-service,.am-category){transition:opacity .6s ease,transform .6s ease,box-shadow .22s ease}
  .am-site:has(> .am-hero.am-motion-enabled) > .am-hero ~ main :is(.am-section,.am-steps > li){transition:opacity .6s ease,transform .6s ease}
  .am-site:has(> .am-hero.am-motion-enabled) > .am-hero ~ main .am-reveal-pending{opacity:0;transform:translateY(14px)}
  .am-site:has(> .am-hero.am-motion-enabled) > .am-hero ~ main .am-reveal-done{transition-delay:var(--am-reveal-delay,0ms)}
  .am-site:has(> .am-hero.am-motion-enabled) > .am-hero ~ main :is(.am-service,.am-category):is(:focus-visible,:focus-within){transform:translateY(-4px);box-shadow:0 7px 22px #f3c65e55;transition-delay:0ms}
  .am-site:has(> .am-hero.am-motion-enabled) > .am-hero ~ main :is(.am-service,.am-category) img{transition:transform .3s ease}
  .am-site:has(> .am-hero.am-motion-enabled) > .am-hero ~ main :is(.am-service,.am-category):is(:focus-visible,:focus-within) img{transform:translateY(-2px) rotate(-2deg)}
}
@media all and (hover:hover) and (pointer:fine){
  .am-site:has(> .am-hero.am-motion-enabled) > .am-hero ~ main :is(.am-service,.am-category):hover{transform:translateY(-4px);box-shadow:0 7px 22px #f3c65e55;transition-delay:0ms}
  .am-site:has(> .am-hero.am-motion-enabled) > .am-hero ~ main :is(.am-service,.am-category):hover img{transform:translateY(-2px) rotate(-2deg)}
}
@media print{
  .am-site .am-hero-effects,.am-site .am-effects-toggle{display:none}
  .am-site > .am-hero ~ main .am-reveal-pending{opacity:1;transform:none}
}

/* La ilustración aparece antes de descargar o preparar las capas animadas. */
.am-site > .am-hero{background-image:none}
.am-site .am-hero-poster{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:right bottom;pointer-events:none;z-index:-1}
.am-site > .am-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#04152c70 0%,#04152c20 42%,transparent 67%);pointer-events:none;z-index:0}
@media(max-width:700px){.am-site > .am-hero,.am-site > .am-hero.am-depth-ready{background-image:none}.am-site .am-hero-poster{inset:auto 0 0;height:340px}.am-site > .am-hero::before{background:linear-gradient(180deg,#04162eea 0%,#04162ed9 43%,#04162e00 67%)}}
