:root{--bg:#080808;--panel:#121212;--ink:#f7f7f5;--muted:#b7b7b2;--red:#c91629;--line:#343434;--max:1100px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}.wrap{width:min(calc(100% - 32px),var(--max));margin:auto}.nav{position:sticky;top:0;z-index:4;background:#090909ef;border-bottom:1px solid var(--line)}.navin{height:74px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;gap:10px;align-items:center;font-weight:950;letter-spacing:-.04em}.brand img{object-fit:contain}.brand b,.red{color:#ff5362}.links{display:flex;gap:18px;font-size:.9rem;color:#ddd}.cta{display:inline-flex;justify-content:center;align-items:center;background:var(--red);color:#fff;padding:14px 19px;font-size:.85rem;font-weight:850;letter-spacing:.035em;text-transform:uppercase;border-radius:3px}.cta.ghost{background:transparent;border:1px solid #666}.hero{padding:75px 0 58px;border-bottom:1px solid var(--line);background:linear-gradient(115deg,#090909,#220509)}.hero h1{font-size:clamp(3rem,7vw,5.6rem);line-height:.93;letter-spacing:-.06em;text-transform:uppercase;margin:14px 0 22px}.hero p{max-width:690px;color:#d2d2cf;font-size:1.08rem}.kicker{color:#ff6673;font-weight:900;font-size:.83rem;letter-spacing:.12em;text-transform:uppercase}section{padding:70px 0}h2{font-size:clamp(2.1rem,4vw,3.6rem);line-height:1;letter-spacing:-.05em;text-transform:uppercase;margin:12px 0 20px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{background:var(--panel);border:1px solid var(--line);padding:26px}.card h3{margin:0 0 10px;font-size:1.4rem}.card p,.copy{color:var(--muted)}.two{display:grid;grid-template-columns:1.15fr .85fr;gap:55px}.panel{background:#151515;border:1px solid #3b3b3b;padding:27px}.panel h3{margin-top:0}.panel .cta{margin-top:14px}.list li{margin:11px 0}.faq details{border-top:1px solid #3c3c3c;padding:17px 0}.faq summary{font-weight:800;cursor:pointer;list-style:none}.faq summary:after{content:'+';float:right;color:#ff6673;font-size:1.3rem}.faq details[open] summary:after{content:'−'}.faq p{color:var(--muted)}.plans{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.plan{scroll-margin-top:95px;background:#151515;border:1px solid #3b3b3b;padding:26px}.plan h3{margin:0 0 10px}.price{font-size:1.8rem;font-weight:950;color:#fff}.small{font-size:.9rem;color:var(--muted)}.schedule{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.day{background:#121212;border:1px solid #343434;padding:23px}.day h3{margin:0 0 15px}.class{display:grid;grid-template-columns:68px 1fr;gap:8px;border-top:1px solid #333;padding:10px 0}.class b{color:#ff6673}.class small{color:#bbb;display:block}.footer{border-top:1px solid var(--line);color:#aaa;padding:35px 0 70px}.footerin{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}@media(max-width:820px){.links{display:none}.navin{height:69px}.brand img{width:48px;height:48px}.two,.grid,.plans,.schedule{grid-template-columns:1fr}.hero{padding:50px 0}.hero h1{font-size:clamp(2.9rem,11vw,4.6rem)}section{padding:55px 0}.cta{width:100%;text-align:center}}
/* Protección responsive de imágenes y elementos visuales. */
img{display:block;max-width:100%;height:auto}figure{max-width:100%;margin-left:0;margin-right:0}.hero img,.card img{max-width:100%}
/* Navegación consistente en páginas internas. */
@media(max-width:1100px) and (min-width:821px){.navin{height:auto;min-height:74px;flex-wrap:wrap;padding:9px 0}.links{order:3;width:100%;justify-content:center;gap:13px;font-size:.78rem}.nav .cta{font-size:.76rem;padding:11px 13px}}
@media(max-width:820px){.navin{height:auto;min-height:70px;flex-wrap:wrap;padding:10px 0}.nav .links{display:grid!important;order:3;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-top:1px solid var(--line);font-size:.82rem}.nav .links a{padding:10px 4px;border-bottom:1px solid #292929}.nav .cta{margin-left:auto;width:auto;padding:11px 13px;font-size:.72rem}}

/* Ajustes localizados: Academia y Esencia Estoica. */
body .academy-space .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
body .academy-space .grid .card{display:grid;grid-template-rows:auto minmax(3.3em,auto);gap:14px;margin:0;min-width:0}
body .academy-space .grid .card:first-child{grid-row:auto}
body .academy-space .grid .card img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
body .academy-space .grid .card figcaption{align-self:start;color:#d8d8d4;font-size:.92rem;line-height:1.45}
body .academy-history #historia{display:block;max-width:820px;margin-inline:auto}
body .academy-history #historia h2{margin:0 0 30px;font-size:clamp(2.3rem,5vw,4rem)}
body .academy-history #historia p{max-width:720px;margin:0 0 22px;font-size:1.05rem;line-height:1.75;color:var(--muted)}
body .academy-history #historia p:nth-of-type(1),body .academy-history #historia p:nth-of-type(6),body .academy-history #historia p:nth-of-type(10),body .academy-history #historia p:nth-of-type(16){max-width:800px;margin:38px 0 28px;padding:8px 0 8px 20px;border-left:4px solid var(--red);color:var(--ink);font-size:clamp(1.35rem,3vw,2rem);font-weight:750;line-height:1.25;letter-spacing:-.02em}
body .academy-history #historia>.story-figure{max-width:720px;margin:28px 0}
body .academy-history #historia>.story-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:820px;margin:30px 0}
body .academy-history #historia .story-figure{overflow:hidden;border:1px solid var(--line);background:var(--panel)}
body .academy-history #historia .story-figure img{width:100%;height:clamp(220px,32vw,390px);object-fit:cover}
body .academy-history #historia .story-figure figcaption{padding:12px 14px;color:#d8d8d4;font-size:.9rem;line-height:1.4}
body main>article.essence h2{position:relative}
body main>article.essence h2::after{content:"";display:block;width:42px;height:3px;margin-top:14px;background:var(--red)}
body main>article.essence h3{color:#ff6673}
body main>article.essence strong{color:var(--ink)}
@media(max-width:760px){body .academy-space .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body .academy-space .grid .card{padding:14px;gap:10px}body .academy-space .grid .card figcaption{font-size:.82rem}body .academy-history #historia{max-width:none}body .academy-history #historia h2{margin-bottom:24px}body .academy-history #historia p{font-size:1rem;line-height:1.7;margin-bottom:18px}body .academy-history #historia p:nth-of-type(1),body .academy-history #historia p:nth-of-type(6),body .academy-history #historia p:nth-of-type(10),body .academy-history #historia p:nth-of-type(16){margin:30px 0 22px;padding-left:16px;font-size:clamp(1.3rem,7vw,1.8rem)}body .academy-history #historia>.story-pair{grid-template-columns:1fr;gap:14px;margin:24px 0}body .academy-history #historia>.story-figure{margin:24px 0}body .academy-history #historia .story-figure img{height:auto;aspect-ratio:4/3}}

/* Ajustes de la galería, matrícula y Staff. */
body .community-gallery .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body .community-gallery .gallery-grid figure{display:block;min-width:0}
body .community-gallery .gallery-grid img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
body .path-grid .path-card:nth-child(2){background:#f4f4f0;color:#111;border-color:#f4f4f0}
body .path-grid .path-card:nth-child(2) .path-number{color:var(--red)}
body .path-grid .path-card:nth-child(2) p{color:#333}
body .staff-credentials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:28px}
body .staff-credential{min-height:92px;display:flex;align-items:center;border:1px solid var(--line);border-top:3px solid var(--red);background:var(--panel);padding:18px;color:var(--ink);font-weight:800;line-height:1.35}
@media(max-width:620px){body .community-gallery .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body .community-gallery .gallery-grid figcaption{font-size:.78rem}body .staff-credentials{grid-template-columns:1fr}body .staff-credential{min-height:0;padding:16px}}
