
:root{
 --cream:#f7f1e7; --cream2:#efe5d4; --navy:#0e2e54; --navy2:#173f6d;
 --gold:#b68a3a; --gold2:#d2af69; --ink:#242526; --muted:#706b63; --white:#fff;
 --line:rgba(14,46,84,.13); --shadow:0 26px 70px rgba(31,34,38,.12); --radius:26px;
 --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;line-height:1.65}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
.container{width:min(var(--max),calc(100% - 40px));margin:auto}
.topbar{background:var(--navy);color:#fff;text-align:center;padding:9px 16px;font-size:.86rem;letter-spacing:.04em}
.header{position:sticky;top:0;z-index:80;background:rgba(247,241,231,.90);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.nav{height:82px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.brand{display:flex;align-items:center;gap:12px;font-family:Georgia,serif;color:var(--navy);font-weight:700;font-size:1.18rem}
.brand img{width:165px;height:auto}
.navlinks{display:flex;align-items:center;gap:26px;font-size:.94rem}
.navlinks a{position:relative}
.navlinks a:after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:2px;background:var(--gold);transition:.2s}
.navlinks a:hover:after,.navlinks a.active:after{right:0}
.nav-cta{display:flex;gap:10px;align-items:center}
.menu{display:none;border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 12px;color:var(--navy);font-weight:700}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:13px 20px;border:1px solid transparent;font-weight:800;font-size:.94rem;transition:.2s;cursor:pointer}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--navy);color:#fff;box-shadow:0 12px 28px rgba(14,46,84,.18)}
.btn-primary:hover{background:var(--navy2)}
.btn-gold{background:var(--gold);color:#fff}
.btn-light{background:#fff;color:var(--navy);border-color:var(--line)}
.btn-ghost{border-color:rgba(255,255,255,.32);color:#fff;background:rgba(255,255,255,.08)}
.btn.disabled{opacity:.58;cursor:not-allowed;pointer-events:none}
.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.76rem;color:var(--gold);font-weight:900}
h1,h2,h3,h4{font-family:Georgia,"Times New Roman",serif;color:var(--navy);line-height:1.08;margin:0 0 18px}
h1{font-size:clamp(3rem,7vw,6.8rem);letter-spacing:-.045em}
h2{font-size:clamp(2.25rem,4.8vw,4.3rem);letter-spacing:-.035em}
h3{font-size:clamp(1.45rem,2.3vw,2rem)}
p{margin:0 0 18px}
.lead{font-size:clamp(1.08rem,1.8vw,1.35rem);color:#4d4a46;max-width:760px}
.small{font-size:.88rem;color:var(--muted)}
.section{padding:94px 0}
.section.white{background:#fff}
.section.alt{background:linear-gradient(180deg,#efe6d8,#f8f2e9)}
.section.dark{background:var(--navy);color:#e9eef4}
.section.dark h2,.section.dark h3{color:#fff}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:36px;margin-bottom:42px}
.section-head>p{max-width:560px;color:var(--muted)}
.grid2,.grid3,.grid4{display:grid;gap:24px}
.grid2{grid-template-columns:repeat(2,1fr)}
.grid3{grid-template-columns:repeat(3,1fr)}
.grid4{grid-template-columns:repeat(4,1fr)}
.card{border-radius:var(--radius);background:#fff;border:1px solid var(--line);overflow:hidden;box-shadow:0 9px 28px rgba(36,37,38,.04)}
.card-pad{padding:28px}
.card.hover{transition:.25s}
.card.hover:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.hero{min-height:720px;display:grid;align-items:center;position:relative;overflow:hidden;background:#ebe1d3}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,31,54,.88) 0%,rgba(11,31,54,.75) 43%,rgba(11,31,54,.12) 76%),url("img/editorial-hero.webp") center/cover}
.hero .container{position:relative;z-index:2}
.hero-copy{max-width:780px;color:#fff;padding:80px 0}
.hero h1{color:#fff;font-size:clamp(3rem,6.5vw,6rem)}
.hero .lead{color:rgba(255,255,255,.87)}
.hero .eyebrow{color:#e8c67b}
.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.launchbar{margin-top:34px;display:inline-flex;gap:14px;align-items:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);padding:11px 16px;border-radius:999px}
.launchbar b{color:#f2d18c}
.launch{display:grid;grid-template-columns:1.03fr .97fr;gap:54px;align-items:center}
.launch-art{position:relative}
.launch-art img{border-radius:28px;box-shadow:var(--shadow)}
.launch-art:before{content:"";position:absolute;width:70%;height:70%;background:radial-gradient(circle,#d9ba79 0,transparent 68%);right:-12%;top:-8%;opacity:.36;filter:blur(20px);z-index:-1}
.pills{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0}
.pill{padding:8px 12px;border-radius:999px;background:#efe6d7;color:var(--navy);font-size:.85rem;font-weight:800}
.paths .card{min-height:410px;position:relative;color:#fff}
.paths .card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,20,35,.05),rgba(10,20,35,.78))}
.paths img{width:100%;height:410px;object-fit:cover}
.paths .overlay{position:absolute;left:24px;right:24px;bottom:22px;z-index:2}
.paths h3{color:#fff}
.story-split{display:grid;grid-template-columns:1.08fr .92fr;gap:48px;align-items:center}
.story-image{border-radius:30px;overflow:hidden;box-shadow:var(--shadow);background:#fff}
.story-image img{width:100%;min-height:440px;object-fit:cover}
.quote{border-left:3px solid var(--gold);padding:10px 0 10px 22px;margin:25px 0;font-family:Georgia,serif;color:var(--navy);font-size:1.25rem}
.book-pair{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.book{display:grid;grid-template-columns:190px 1fr;gap:26px;align-items:center;padding:24px}
.book-cover{border-radius:12px;box-shadow:0 16px 38px rgba(20,24,30,.18);overflow:hidden;background:#eee}
.book-cover img{aspect-ratio:2/3;width:100%;object-fit:cover}
.meta{font-size:.72rem;font-weight:900;letter-spacing:.14em;color:var(--gold);text-transform:uppercase}
.mockup-wide{background:#fff;border-radius:30px;overflow:hidden;box-shadow:var(--shadow)}
.mockup-wide img{width:100%;height:100%;object-fit:cover}
.resource-strip{display:grid;grid-template-columns:1.05fr .95fr;gap:46px;align-items:center;background:var(--navy);color:#fff;border-radius:34px;padding:42px}
.resource-strip h2{color:#fff}
.resource-strip .lead{color:#dfe7f1}
.checks{display:grid;gap:10px;margin:22px 0 0;padding:0;list-style:none}
.checks li:before{content:"✓";display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e7d2a8;color:var(--navy);font-weight:900;margin-right:10px}
.newsletter{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;padding:44px;border-radius:30px;background:linear-gradient(135deg,#102f54,#1c4d7e);color:#fff}
.newsletter h2{color:#fff}
.form{display:flex;gap:10px;flex-wrap:wrap}
.form input,.form textarea{border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.1);color:#fff;border-radius:14px;padding:14px 16px;outline:none;min-width:240px}
.form input::placeholder,.form textarea::placeholder{color:#d9e2ec}
.formmsg{font-size:.88rem;display:none;margin-top:10px;color:#f0d18e}
.page-hero{padding:92px 0 72px;background:linear-gradient(145deg,#f7f1e7,#eee2d0)}
.page-hero.center{text-align:center}
.page-hero.center .lead{margin-inline:auto}
.breadcrumb{font-size:.82rem;color:var(--muted);margin-bottom:26px}
.feature-hero{display:grid;grid-template-columns:.9fr 1.1fr;gap:52px;align-items:center}
.feature-hero .visual{border-radius:30px;overflow:hidden;box-shadow:var(--shadow)}
.feature-hero .visual img{width:100%;height:600px;object-fit:cover}
.cover-hero{display:grid;grid-template-columns:340px 1fr;gap:58px;align-items:center}
.cover-hero .cover{max-width:340px;border-radius:12px;overflow:hidden;box-shadow:0 25px 60px rgba(20,24,30,.2)}
.cover-hero .cover img{width:100%;aspect-ratio:2/3;object-fit:cover}
.iconbox{width:54px;height:54px;border-radius:16px;background:#efe3cf;display:grid;place-items:center;color:var(--navy);font-weight:900;font-size:1.3rem}
.list-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.list-card{padding:24px;background:#fff;border:1px solid var(--line);border-radius:22px}
.gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.gallery img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:18px}
.catalog{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.catalog-card{display:flex;flex-direction:column}
.catalog-card img{width:100%;aspect-ratio:2/3;object-fit:cover}
.catalog-card .card-pad{display:flex;flex:1;flex-direction:column}
.catalog-card .card-pad .cta-row{margin-top:auto}
.notice{background:#f0e4d0;border:1px solid rgba(182,138,58,.28);border-radius:18px;padding:16px 18px;color:#5d4b28}
.faq details{border-bottom:1px solid var(--line);padding:19px 0}
.faq summary{cursor:pointer;font-weight:900;color:var(--navy);font-size:1.05rem}
.faq details p{padding-top:12px;color:var(--muted)}
.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:38px}
.contact-card{padding:34px;border-radius:28px;background:#fff;border:1px solid var(--line)}
.contact-card .form{display:grid}
.contact-card .form input,.contact-card .form textarea,.contact-card .form select{background:#f8f3ea;color:var(--ink);border:1px solid var(--line);width:100%;border-radius:14px;padding:14px 16px;outline:none}
.contact-card .form input::placeholder,.contact-card .form textarea::placeholder{color:#8c867e}
.footer{background:#0b2039;color:#cbd6e1;padding:64px 0 30px}
.footer .brand{color:#fff}
.footer .brand img{filter:none;opacity:1}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:34px}
.footer h4{color:#fff;font-family:inherit;font-size:.95rem;margin-bottom:13px}
.footer a{display:block;margin:8px 0;color:#cad5df;font-size:.91rem}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:38px;padding-top:24px;display:flex;justify-content:space-between;gap:20px;font-size:.82rem;color:#9fb0c0}
.reveal{opacity:0;transform:translateY(18px);transition:.7s ease}
.reveal.show{opacity:1;transform:none}
.landing .header,.landing .footer{display:none}
.landing-hero{min-height:100vh;display:grid;align-items:center;background:linear-gradient(130deg,#f7f1e7,#eadcc6)}
.landing-grid{display:grid;grid-template-columns:1fr .82fr;gap:54px;align-items:center;padding:54px 0}
.landing-card{background:#fff;border:1px solid var(--line);border-radius:28px;padding:30px;box-shadow:var(--shadow)}
.landing-card img{border-radius:18px}
.sticky-mobile{display:none}
@media(max-width:980px){
 .navlinks{display:none;position:absolute;top:82px;left:20px;right:20px;background:#fff;padding:18px;border-radius:18px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}
 .navlinks.open{display:flex}.menu{display:block}.nav-cta>.btn{display:none}
 .launch,.story-split,.feature-hero,.cover-hero,.newsletter,.resource-strip,.landing-grid,.contact-grid{grid-template-columns:1fr}
 .grid4{grid-template-columns:repeat(2,1fr)} .grid3{grid-template-columns:1fr 1fr}
 .book-pair{grid-template-columns:1fr}.book{grid-template-columns:160px 1fr}
 .gallery{grid-template-columns:repeat(3,1fr)} .catalog{grid-template-columns:repeat(2,1fr)}
 .footer-grid{grid-template-columns:1fr 1fr}.section-head{align-items:start;flex-direction:column}
 .feature-hero .visual img{height:500px}
}
@media(max-width:640px){
 .container{width:min(100% - 28px,var(--max))}
 .topbar{font-size:.76rem}
 .nav{height:70px}.navlinks{top:70px}.brand img{width:145px}.menu{padding:8px 10px}
 .hero{min-height:680px}.hero:before{background:linear-gradient(180deg,rgba(10,31,55,.56),rgba(10,31,55,.90)),url("img/editorial-hero.webp") center/cover}
 .hero-copy{padding:72px 0 58px}.hero h1{font-size:clamp(2.8rem,13vw,4.2rem)}
 .section{padding:68px 0}.grid2,.grid3,.grid4,.catalog{grid-template-columns:1fr}
 .paths .card,.paths img{height:360px;min-height:360px}
 .book{grid-template-columns:115px 1fr;gap:18px;padding:18px}.book h3{font-size:1.35rem}
 .resource-strip,.newsletter{padding:28px 22px;border-radius:24px}
 .gallery{grid-template-columns:1fr 1fr}
 .page-hero{padding:68px 0 52px}.feature-hero .visual img{height:420px}
 .cover-hero{gap:34px}.cover-hero .cover{max-width:250px;margin:auto}
 .list-cards{grid-template-columns:1fr}
 .footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}
 .sticky-mobile{display:flex;position:fixed;bottom:12px;left:12px;right:12px;z-index:90;background:#fff;padding:9px;border-radius:18px;box-shadow:0 18px 50px rgba(14,30,50,.22);gap:8px}
 .sticky-mobile .btn{flex:1;padding:11px 12px;font-size:.82rem}
}


/* ===== V2.2: Universo Marta + conversión ===== */
.comic-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.comic-card{position:relative;border-radius:26px;overflow:hidden;background:#fff;border:1px solid var(--line);box-shadow:0 12px 34px rgba(36,37,38,.07);transition:.25s}
.comic-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.comic-card img{width:100%;aspect-ratio:9/14;object-fit:cover}
.comic-card .comic-copy{padding:20px 21px 22px}
.comic-card .comic-kicker{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);font-weight:900}
.comic-card h3{font-size:1.35rem;margin:7px 0 8px}
.comic-card p{font-size:.94rem;color:var(--muted);margin:0}
.marta-band{background:linear-gradient(145deg,#fff 0%,#f7efe4 55%,#efe2ce 100%);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.journey{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;align-items:stretch;position:relative}
.journey:before{content:"";position:absolute;top:34px;left:9%;right:9%;height:2px;background:linear-gradient(90deg,var(--gold),var(--navy),var(--gold));opacity:.42}
.journey-step{position:relative;background:#fff;border:1px solid var(--line);border-radius:22px;padding:23px;z-index:1}
.journey-n{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:#fff;font-weight:900;margin-bottom:18px;box-shadow:0 0 0 8px var(--cream)}
.journey-step:nth-child(even) .journey-n{background:var(--gold)}
.journey-step h3{font-size:1.25rem}
.comic-duo{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.comic-duo .story-image img{min-height:0;aspect-ratio:9/14}
.leadmagnet{display:grid;grid-template-columns:1.15fr .85fr;gap:38px;align-items:center;background:linear-gradient(135deg,#0e2e54,#183f6b);border-radius:34px;padding:42px;color:#fff;box-shadow:var(--shadow)}
.leadmagnet h2,.leadmagnet h3{color:#fff}
.leadmagnet .lead{color:#e1e9f2}
.mini-check{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0}
.mini-check span{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);border-radius:16px;padding:12px 13px;font-size:.88rem}
.compare-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:#f0e4d0;color:#6a5121;font-size:.76rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
@media(max-width:980px){
 .comic-strip{grid-template-columns:repeat(2,1fr)}
 .journey{grid-template-columns:repeat(2,1fr)}
 .journey:before{display:none}
 .leadmagnet{grid-template-columns:1fr}
}
@media(max-width:640px){
 .comic-strip{display:flex;overflow-x:auto;gap:14px;scroll-snap-type:x mandatory;padding:3px 2px 16px}
 .comic-strip::-webkit-scrollbar{height:7px}
 .comic-strip::-webkit-scrollbar-thumb{background:#d8c6aa;border-radius:99px}
 .comic-card{min-width:82%;scroll-snap-align:start}
 .journey{grid-template-columns:1fr}
 .leadmagnet{padding:28px 22px;border-radius:24px}
 .mini-check{grid-template-columns:1fr}
 .comic-duo{grid-template-columns:1fr}
}


/* V2.2.2 launch cover composition */
.launch-covers{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:end;padding:28px;background:linear-gradient(145deg,#f5ecde,#fff);border-radius:30px;position:relative}
.launch-cover-card{border-radius:14px;overflow:hidden;box-shadow:0 20px 44px rgba(18,35,55,.18);background:#fff}
.launch-cover-card img{width:100%;aspect-ratio:2/3;object-fit:cover}
.launch-cover-card:first-child{transform:rotate(-2deg)}
.launch-cover-card:nth-child(2){transform:rotate(2deg) translateY(-12px)}
.launch-date-badge{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);background:#0e2e54;color:#fff;border:2px solid #d2af69;border-radius:999px;padding:9px 15px;font-size:.78rem;font-weight:900;white-space:nowrap;box-shadow:0 10px 24px rgba(14,46,84,.18)}
@media(max-width:640px){.launch-covers{padding:20px 18px 48px;gap:10px}.launch-date-badge{font-size:.7rem}}

/* ===== V2.3 Recursos gratuitos + test interactivo ===== */
body.resource-modal-open{overflow:hidden}
.resources-hero{position:relative;overflow:hidden}
.resources-hero:after{content:"";position:absolute;width:380px;height:380px;border-radius:50%;right:-120px;top:-130px;background:radial-gradient(circle,rgba(182,138,58,.18),rgba(182,138,58,0));pointer-events:none}
.resources-hero-inner{position:relative;z-index:1}
.resources-jump{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:28px}
.resources-section-head p{max-width:510px}
.resource-featured{display:grid;grid-template-columns:.88fr 1.12fr;background:#fff;border:1px solid var(--line);border-radius:32px;overflow:hidden;box-shadow:0 18px 48px rgba(31,34,38,.08);margin-bottom:28px}
.resource-featured-media{position:relative;min-height:470px;background:#eee4d7;overflow:hidden}
.resource-featured-media img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.resource-featured-copy{padding:48px;display:flex;flex-direction:column;justify-content:center}
.resource-featured-copy h3{font-size:clamp(2rem,4vw,3.6rem);letter-spacing:-.035em;max-width:760px}
.resource-ribbon{position:absolute;left:18px;top:18px;background:var(--navy);color:#fff;border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:8px 12px;font-size:.68rem;font-weight:900;letter-spacing:.1em}
.resource-benefits{display:flex;gap:9px;flex-wrap:wrap;margin:2px 0 20px}
.resource-benefits span{background:#f5eee3;border:1px solid var(--line);border-radius:999px;padding:8px 11px;font-size:.82rem;color:#584c39;font-weight:700}
.resource-microcopy{font-size:.78rem;color:var(--muted);margin:12px 0 0}
.resources-grid{display:grid;gap:24px}
.resources-grid-two{grid-template-columns:1fr 1fr}
.resource-card{background:#fff;border:1px solid var(--line);border-radius:28px;overflow:hidden;display:grid;grid-template-columns:.82fr 1.18fr;min-height:360px;box-shadow:0 10px 30px rgba(36,37,38,.045)}
.resource-card-image{position:relative;background:#f2eadf;overflow:hidden;min-height:100%}
.resource-card-image>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.resource-card-copy{padding:30px;display:flex;flex-direction:column;align-items:flex-start}
.resource-card-copy h3{font-size:1.7rem}
.resource-card-copy .btn{margin-top:auto}
.resource-card-covers{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:22px;align-items:center}
.resource-card-covers img{position:static;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:8px;box-shadow:0 12px 24px rgba(14,46,84,.16)}
.resource-card-covers img:first-child{transform:rotate(-3deg)}
.resource-card-covers img:last-child{transform:rotate(3deg)}
.resource-card-single-cover{display:grid;place-items:center;padding:24px}
.resource-card-single-cover>img{position:static;width:min(72%,210px);height:auto;aspect-ratio:2/3;object-fit:cover;box-shadow:0 16px 32px rgba(14,46,84,.18);border-radius:8px}
.resources-how h2{max-width:850px}
.resources-preview-notice{margin-top:28px}
.resource-overlay{position:fixed;inset:0;background:rgba(8,22,39,.68);backdrop-filter:blur(9px);display:none;align-items:center;justify-content:center;z-index:150;padding:18px}
.resource-overlay.open{display:flex}
.resource-panel{width:min(920px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:28px;box-shadow:0 34px 100px rgba(3,11,20,.36);position:relative;padding:38px}
.resource-close{position:sticky;float:right;top:0;margin:-20px -20px 0 0;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--navy);font-size:1.7rem;line-height:1;cursor:pointer;z-index:4;box-shadow:0 8px 20px rgba(14,46,84,.08)}
.resource-form-panel{width:min(650px,100%)}
.resource-form{display:grid;gap:14px;margin-top:20px}
.resource-form label{font-weight:800;color:var(--navy);font-size:.88rem}
.resource-form input[type="text"],.resource-form input[type="email"]{display:block;width:100%;margin-top:6px;border:1px solid var(--line);background:#f9f5ee;border-radius:14px;padding:14px 15px;color:var(--ink);outline:none}
.resource-form input:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(182,138,58,.12)}
.resource-consent{display:flex;gap:10px;align-items:flex-start;color:var(--muted)!important;font-weight:500!important;line-height:1.4}
.resource-consent input{margin-top:4px}
.resource-demo-notice{font-size:.88rem;margin-top:14px}
.resource-success{text-align:center;padding:20px 0 4px}
.resource-success-icon{width:58px;height:58px;border-radius:50%;background:#e8f2ea;color:#2d6e41;display:grid;place-items:center;margin:0 auto 14px;font-size:1.6rem;font-weight:900}
.test-intro{padding-right:34px}
.test-progress{height:8px;background:#eee6da;border-radius:99px;overflow:hidden;margin:18px 0 7px}
.test-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--gold),var(--navy));transition:.2s}
.test-question{padding:20px 0;border-bottom:1px solid var(--line)}
.test-question legend{font-family:Georgia,"Times New Roman",serif;color:var(--navy);font-weight:700;font-size:1.1rem;line-height:1.35;margin-bottom:12px;padding:0}
.test-question fieldset{border:0;padding:0;margin:0}
.test-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.test-option{position:relative}
.test-option input{position:absolute;opacity:0;pointer-events:none}
.test-option span{display:flex;align-items:center;justify-content:center;min-height:52px;padding:7px;border:1px solid var(--line);background:#faf7f2;border-radius:13px;color:var(--navy);font-size:.79rem;font-weight:800;text-align:center;cursor:pointer;transition:.18s}
.test-option input:checked+span{background:var(--navy);border-color:var(--navy);color:#fff;box-shadow:0 8px 18px rgba(14,46,84,.15)}
.test-option span:hover{border-color:var(--gold)}
.test-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:24px}
.test-result{padding-top:16px}
.test-score-badge{display:inline-flex;background:var(--gold);color:#fff;border-radius:999px;padding:8px 13px;font-weight:900;margin-bottom:14px}
.test-result-note{background:#f6f1e8;border:1px solid var(--line);border-radius:15px;padding:13px 15px;color:var(--muted);font-size:.86rem;margin:18px 0}
.test-lead-box{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;background:linear-gradient(135deg,#0e2e54,#18456f);padding:26px;border-radius:22px;color:#e9eef4;margin:20px 0}
.test-lead-box h3{color:#fff;margin-bottom:8px}
.test-lead-box p{margin:0;color:#dce5ee}
.test-lead-box .meta{color:#e8ca8d}
@media(max-width:980px){
 .resource-featured{grid-template-columns:1fr}.resource-featured-media{min-height:420px}.resources-grid-two{grid-template-columns:1fr}.resource-card{grid-template-columns:.7fr 1.3fr}.test-lead-box{grid-template-columns:1fr}.resources-journey{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
 .resource-featured-media{min-height:350px}.resource-featured-copy{padding:26px 22px}.resource-card{grid-template-columns:1fr}.resource-card-image{min-height:300px}.resource-card-copy{padding:24px 21px}.resource-card-covers{min-height:330px}.resource-card-single-cover{min-height:330px}.resource-panel{padding:26px 18px;border-radius:22px}.resource-close{margin:-10px -8px 0 0}.test-options{grid-template-columns:1fr 1fr}.test-actions{align-items:stretch;flex-direction:column}.resources-journey{grid-template-columns:1fr}.resource-benefits span{font-size:.76rem}
}


/* ===== V2.4 Books dropdown ===== */
.nav-dropdown{position:relative;color:var(--navy)}
.nav-dropdown summary{list-style:none;cursor:pointer;display:flex;gap:5px;align-items:center;user-select:none}
.nav-dropdown summary::-webkit-details-marker{display:none}
.nav-dropdown summary:after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:2px;background:var(--gold);transition:.2s}
.nav-dropdown:hover summary:after,.nav-dropdown[open] summary:after,.nav-dropdown.active summary:after{right:0}
.nav-dropdown-menu{display:grid;grid-template-columns:repeat(2,minmax(210px,1fr));gap:8px 24px;position:absolute;z-index:50;top:35px;left:-130px;width:min(650px,80vw);padding:22px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.nav-dropdown:not([open]) .nav-dropdown-menu{display:none}
.nav-dropdown-menu a{display:block;padding:6px 8px;border-radius:10px;color:var(--ink)}
.nav-dropdown-menu a:after{display:none!important}
.nav-dropdown-menu a:hover{background:var(--cream);color:var(--navy)}
.nav-all{grid-column:1/-1;border-bottom:1px solid var(--line);padding:0 8px 14px!important;margin-bottom:4px}
.nav-all span{display:block;font-size:.78rem;color:var(--muted);font-weight:500;margin-top:3px}
.nav-group{padding:4px 0}
.nav-group-title{text-transform:uppercase;letter-spacing:.08em;font-size:.68rem;font-weight:900;color:var(--gold);padding:0 8px 6px}
.book-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.book-status{display:inline-flex;align-items:center;gap:7px;font-size:.78rem;font-weight:800;color:var(--navy);background:#efe6d7;border-radius:999px;padding:7px 11px;margin-bottom:14px}
.book-status:before{content:"";width:7px;height:7px;border-radius:50%;background:#36a26c}
.book-status.soon:before{background:var(--gold)}

@media(max-width:900px){
 .nav-dropdown{width:100%}
 .nav-dropdown summary{font-weight:800;padding:7px 0}
 .nav-dropdown summary:after{display:none}
 .nav-dropdown-menu{position:static;width:100%;grid-template-columns:1fr;box-shadow:none;border:0;border-left:2px solid var(--cream2);border-radius:0;padding:10px 0 8px 14px;margin:5px 0 4px}
 .nav-all{grid-column:auto}
 .nav-group{padding:3px 0}
}


/* ===== V2.5.1 · Ajuste escritorio + menú Libros ===== */
@media (min-width:981px){
  :root{--max:1140px}

  .topbar{
    padding:7px 16px;
    font-size:.78rem;
  }

  .nav{
    height:72px;
    gap:18px;
  }

  .brand img{width:142px}

  .navlinks{
    gap:20px;
    font-size:.89rem;
  }

  .nav-cta .btn{
    padding:11px 17px;
    font-size:.86rem;
  }

  h1{
    font-size:clamp(2.9rem,4.9vw,5rem);
    letter-spacing:-.04em;
  }

  h2{
    font-size:clamp(2rem,3.5vw,3.35rem);
  }

  h3{
    font-size:clamp(1.35rem,1.8vw,1.8rem);
  }

  .lead{
    font-size:clamp(1.02rem,1.25vw,1.18rem);
    max-width:720px;
  }

  .section{padding:76px 0}
  .page-hero{padding:66px 0 54px}
  .breadcrumb{margin-bottom:20px}

  .hero h1{
    font-size:clamp(3rem,4.6vw,4.8rem);
  }

  .resources-hero h1{
    max-width:900px;
    margin-left:auto;
    margin-right:auto;
    font-size:clamp(3.1rem,5.2vw,4.8rem);
  }

  .resources-hero .lead{
    max-width:760px;
  }

  /* Dropdown editorial compacto */
  .nav-dropdown summary{
    font-weight:600;
    padding:8px 0;
  }

  .nav-dropdown-menu{
    top:42px;
    left:-110px;
    width:620px;
    grid-template-columns:1fr 1fr;
    gap:8px 18px;
    padding:18px;
    border-radius:18px;
    box-shadow:0 22px 60px rgba(14,46,84,.16);
  }

  .nav-all{
    padding:2px 10px 13px!important;
    margin-bottom:3px;
  }

  .nav-group{
    padding:4px;
  }

  .nav-group-title{
    padding:0 8px 5px;
    font-size:.64rem;
  }

  .nav-dropdown-menu a{
    padding:5px 8px;
    font-size:.86rem;
    line-height:1.35;
  }
}


/* ===== V2.5.4 · Escritorio más compacto =====
   Solo afecta a pantallas grandes. Móvil se mantiene igual. */
@media (min-width:981px){

  :root{
    --max:1080px;
  }

  body{
    font-size:15px;
  }

  .container{
    width:min(var(--max),calc(100% - 56px));
  }

  .topbar{
    padding:6px 16px;
    font-size:.74rem;
  }

  .nav{
    height:68px;
    gap:16px;
  }

  .brand img{
    width:135px;
  }

  .navlinks{
    gap:22px;
    font-size:.86rem;
  }

  .nav-cta .btn{
    padding:10px 16px;
    font-size:.82rem;
  }

  .btn{
    padding:11px 17px;
    font-size:.86rem;
  }

  h1{
    font-size:clamp(2.65rem,4.2vw,4.45rem)!important;
  }

  h2{
    font-size:clamp(1.9rem,3vw,3rem)!important;
  }

  h3{
    font-size:clamp(1.25rem,1.65vw,1.65rem);
  }

  .lead{
    font-size:clamp(.98rem,1.08vw,1.12rem);
    line-height:1.55;
    max-width:690px;
  }

  .section{
    padding:62px 0;
  }

  .section-head{
    margin-bottom:30px;
  }

  .page-hero{
    padding:52px 0 42px;
  }

  .breadcrumb{
    margin-bottom:17px;
  }

  .resources-jump{
    margin-top:20px;
  }

  .resources-hero h1{
    max-width:760px;
    margin-inline:auto;
    font-size:clamp(2.8rem,4.5vw,4.3rem)!important;
  }

  .resources-hero .lead{
    max-width:700px;
  }

  /* Recurso destacado: evita que la imagen ocupe casi toda la pantalla */
  .resource-featured{
    display:grid!important;
    grid-template-columns:38% 62%!important;
    min-height:0!important;
    border-radius:24px;
    margin-bottom:24px;
  }

  .resource-featured-media{
    min-height:330px!important;
    height:auto!important;
  }

  .resource-featured-copy{
    padding:34px 38px!important;
  }

  .resource-featured-copy h3{
    font-size:clamp(1.75rem,2.6vw,2.65rem)!important;
    max-width:620px;
  }

  .resource-benefits{
    margin:0 0 14px;
  }

  .resource-benefits span{
    padding:6px 9px;
    font-size:.76rem;
  }

  .resource-ribbon{
    left:14px;
    top:14px;
    padding:6px 10px;
    font-size:.62rem;
  }

  .resources-grid{
    gap:18px;
  }

  .resource-card{
    min-height:300px!important;
    border-radius:22px;
    grid-template-columns:40% 60%;
  }

  .resource-card-copy{
    padding:24px;
  }

  .resource-card-copy h3{
    font-size:1.42rem;
  }

  .resource-card-single-cover>img{
    width:min(66%,170px);
  }

  .resource-card-covers{
    padding:18px;
  }

  /* Páginas de libros */
  .cover-hero{
    grid-template-columns:270px 1fr;
    gap:42px;
  }

  .cover-hero .cover{
    max-width:270px;
  }

  .feature-hero{
    gap:38px;
  }

  .feature-hero .visual img{
    height:470px;
  }

  .book{
    grid-template-columns:150px 1fr;
    gap:20px;
    padding:20px;
  }

  .catalog{
    gap:20px;
  }

  .card-pad{
    padding:23px;
  }

  .footer{
    padding:48px 0 26px;
  }
}


/* ===== V2.7 PRE-MAILERLITE · accesibilidad, contraste y estabilidad ===== */
:root{--gold-text:#87631e;--gold-action:#87631e}
.eyebrow,.meta,.comic-card .comic-kicker,.nav-group-title{color:var(--gold-text)}
.btn-gold{background:var(--gold-action);color:#fff}
.btn-gold:hover{background:#6f5017}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #2f6fa6;outline-offset:3px}
.skip-link{position:fixed;left:16px;top:-100px;z-index:999;background:#fff;color:var(--navy);padding:10px 14px;border-radius:10px;box-shadow:var(--shadow);font-weight:800}
.skip-link:focus{top:16px}
.contact-card .form label,.waitlist-form label{display:grid;gap:6px;font-weight:800;color:var(--navy);font-size:.9rem}
.contact-card .form label input,.contact-card .form label textarea,.contact-card .form label select,.waitlist-form input[type="text"],.waitlist-form input[type="email"]{font-weight:400}
.resource-privacy-note{margin:0;padding:11px 13px;border-radius:12px;background:#f7f1e7;border:1px solid var(--line)}
.resource-overlay.open{overflow-y:auto;overscroll-behavior:contain}
.resource-panel{max-height:calc(100dvh - 36px);overflow:auto;overscroll-behavior:contain}
body.resource-modal-open{overflow:hidden;touch-action:none}
.formmsg{color:var(--navy);background:#f0e4d0;border-radius:12px;padding:10px 12px;margin-top:8px}
.waitlist-form{display:grid;gap:14px;margin-top:22px}
@media(max-width:640px){
  .resource-overlay{padding:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom))}
  .resource-panel{max-height:calc(100dvh - 20px)}
}


/* ===== V2.7.2 · HOTFIX IMÁGENES / PROPORCIÓN =====
   Corrige el efecto de zoom en Inicio, La Chispa, Cecilia y Plan Maestro.
   No modifica las páginas individuales de libros que ya estaban correctas. */

/* Contenedores de imagen afectados: centrar sin obligar a recortar. */
body.page-home .story-image,
body.page-home .mockup-wide,
body.page-chispa .story-image,
body.page-chispa .mockup-wide,
body.page-cecilia .feature-hero .visual,
body.page-cecilia .story-image,
body.page-plan .story-image{
  display:grid;
  place-items:center;
  background:#fff;
}

/* Quitar alturas mínimas/fijas que agrandaban fotos verticales. */
body.page-home .story-image img,
body.page-home .mockup-wide img,
body.page-chispa .story-image img,
body.page-chispa .mockup-wide img,
body.page-cecilia .feature-hero .visual img,
body.page-cecilia .story-image img,
body.page-plan .story-image img{
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  object-fit:contain!important;
  object-position:center center!important;
}

/* INICIO: fotografía panorámica de apego completa, sin deformación. */
body.page-home .story-image img[src*="apego-phone-wide"]{
  width:100%!important;
  max-height:390px;
}

/* INICIO: Cecilia y mockup La Chispa no deben dominar la pantalla. */
body.page-home .story-image img[src*="cecilia-holding"]{
  max-height:520px;
}
body.page-home .mockup-wide{
  width:min(100%,430px);
  justify-self:center;
}
body.page-home .mockup-wide img{
  max-height:560px;
}

/* INICIO: las tarjetas 1 y 3 contienen imágenes verticales con texto/portada.
   Se muestran enteras en vez de recortarlas con cover. */
body.page-home .paths .card{
  background:#e9dfd1;
}
body.page-home .paths .card:nth-child(1) img,
body.page-home .paths .card:nth-child(3) img{
  object-fit:contain;
  object-position:center center;
}

/* LA CHISPA: mockup y escenas verticales más proporcionados. */
body.page-chispa .mockup-wide{
  width:min(100%,430px);
  justify-self:center;
}
body.page-chispa .mockup-wide img{
  max-height:560px;
}
body.page-chispa .story-image{
  width:min(100%,430px);
  justify-self:center;
}
body.page-chispa .story-image img{
  max-height:560px;
}

/* CECILIA: la imagen del hero ya no usa height fijo + cover. */
body.page-cecilia .feature-hero{
  grid-template-columns:1.08fr .92fr;
}
body.page-cecilia .feature-hero .visual{
  width:min(100%,430px);
  justify-self:center;
}
body.page-cecilia .feature-hero .visual img{
  max-height:540px;
}
body.page-cecilia .story-image{
  width:min(100%,430px);
  justify-self:center;
}
body.page-cecilia .story-image img{
  max-height:560px;
}

/* PLAN MAESTRO: la segunda portada deja de ocupar media pantalla. */
body.page-plan .story-image{
  width:min(100%,360px);
  justify-self:center;
  border-radius:18px;
}
body.page-plan .story-image img{
  max-height:540px;
}

/* En móvil mantenemos imagen completa y tamaño natural. */
@media(max-width:980px){
  body.page-cecilia .feature-hero{
    grid-template-columns:1fr;
  }

  body.page-home .mockup-wide,
  body.page-chispa .mockup-wide,
  body.page-chispa .story-image,
  body.page-cecilia .feature-hero .visual,
  body.page-cecilia .story-image,
  body.page-plan .story-image{
    width:min(100%,440px);
    margin-inline:auto;
  }

  body.page-cecilia .feature-hero .visual img{
    height:auto!important;
    max-height:560px;
  }
}

@media(max-width:640px){
  body.page-home .paths .card:nth-child(1) img,
  body.page-home .paths .card:nth-child(3) img{
    object-fit:cover;
  }
  body.page-home .paths .card:nth-child(1) img{
    object-position:center 38%;
  }
  body.page-home .paths .card:nth-child(3) img{
    object-position:center 30%;
  }

  body.page-home .story-image img[src*="apego-phone-wide"]{
    max-height:none;
  }

  body.page-home .story-image img[src*="cecilia-holding"],
  body.page-home .mockup-wide img,
  body.page-chispa .mockup-wide img,
  body.page-chispa .story-image img,
  body.page-cecilia .feature-hero .visual img,
  body.page-cecilia .story-image img,
  body.page-plan .story-image img{
    max-height:none;
  }
}

/* ===== V2.7.3 · COMPACT MEDIA FIX =====
   El hotfix anterior corrigió el recorte (object-fit: cover), pero dejó
   varias cajas con alturas/ratios demasiado grandes. Esta capa reduce
   el tamaño visual real de esas imágenes sin tocar las páginas de libros
   que ya estaban correctas. */

@media (min-width:981px){
  /* INICIO · bloque de lanzamiento */
  body.page-home .launch-covers{
    width:min(100%,420px)!important;
    justify-self:center!important;
  }

  /* INICIO · tres caminos: antes seguían midiendo 410px de alto */
  body.page-home .paths .card,
  body.page-home .paths img{
    height:300px!important;
    min-height:300px!important;
  }
  body.page-home .paths .card:nth-child(1) img,
  body.page-home .paths .card:nth-child(3) img{
    object-fit:contain!important;
    background:#e9dfd1!important;
  }

  /* INICIO · imagen horizontal de apego */
  body.page-home .home-apego-media{
    width:min(100%,500px)!important;
    justify-self:center!important;
  }
  body.page-home .story-image img[src*="apego-phone-wide"]{
    width:100%!important;
    max-height:290px!important;
  }

  /* INICIO · Marta: las ilustraciones ya no llenan tarjetas gigantes */
  body.page-home .comic-strip{
    max-width:900px!important;
    margin-inline:auto!important;
    gap:18px!important;
  }
  body.page-home .comic-card{
    width:100%!important;
    max-width:280px!important;
    justify-self:center!important;
  }
  body.page-home .comic-card img{
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    max-height:320px!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    margin-inline:auto!important;
    background:#f7f1e7!important;
  }

  /* INICIO · Cecilia y La Chispa */
  body.page-home .home-cecilia-media{
    width:min(100%,280px)!important;
    justify-self:center!important;
  }
  body.page-home .story-image img[src*="cecilia-holding"]{
    max-height:390px!important;
  }
  body.page-home .mockup-wide{
    width:min(100%,300px)!important;
  }
  body.page-home .mockup-wide img{
    max-height:400px!important;
  }

  /* LA CHISPA · hero */
  body.page-chispa .mockup-wide{
    width:min(100%,300px)!important;
  }
  body.page-chispa .mockup-wide img{
    max-height:400px!important;
  }

  /* LA CHISPA · las 3 portadas eran todavía 2:3 a todo el ancho de la tarjeta */
  body.page-chispa .catalog{
    grid-template-columns:repeat(3,minmax(0,240px))!important;
    justify-content:center!important;
    gap:20px!important;
  }
  body.page-chispa .catalog-card img{
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    max-height:320px!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    margin-inline:auto!important;
    background:#f8f3ea!important;
  }

  /* LA CHISPA · Cenizas y lifestyle */
  body.page-chispa .story-image{
    width:min(100%,270px)!important;
  }
  body.page-chispa .story-image img{
    max-height:390px!important;
  }

  /* CECILIA · fotos verticales compactas */
  body.page-cecilia .feature-hero .visual{
    width:min(100%,300px)!important;
  }
  body.page-cecilia .feature-hero .visual img{
    max-height:400px!important;
  }
  body.page-cecilia .story-image{
    width:min(100%,280px)!important;
  }
  body.page-cecilia .story-image img{
    max-height:400px!important;
  }

  /* PLAN MAESTRO · portada de hero y repetición inferior */
  body.page-plan .cover-hero .cover{
    max-width:230px!important;
    justify-self:center!important;
  }
  body.page-plan .story-image{
    width:min(100%,240px)!important;
  }
  body.page-plan .story-image img{
    max-height:360px!important;
  }
}

@media (max-width:980px){
  body.page-home .paths .card,
  body.page-home .paths img{
    height:320px!important;
    min-height:320px!important;
  }

  body.page-home .comic-card img{
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    max-height:430px!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    margin-inline:auto!important;
  }

  body.page-home .story-image,
  body.page-home .mockup-wide,
  body.page-chispa .story-image,
  body.page-chispa .mockup-wide,
  body.page-cecilia .feature-hero .visual,
  body.page-cecilia .story-image,
  body.page-plan .story-image{
    width:min(100%,320px)!important;
    margin-inline:auto!important;
  }

  body.page-chispa .catalog-card img{
    width:auto!important;
    max-width:240px!important;
    height:auto!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    margin-inline:auto!important;
  }

  body.page-plan .cover-hero .cover{
    max-width:230px!important;
  }
}


/* ===== V2.7.4 · FIXES QUIRÚRGICOS FINALES =====
   Ajustes pedidos por Isaac tras la revisión visual real.
   Objetivo: reducir portadas concretas que seguían viéndose demasiado grandes
   o estrechas en Inicio, Cecilia y Plan Maestro. */

@media (min-width:981px){
  /* INICIO · primer bloque “Dos libros. Un mismo camino.” */
  body.page-home .launch{
    grid-template-columns:minmax(260px,380px) 1fr!important;
    align-items:center!important;
    gap:36px!important;
  }
  body.page-home .launch-covers{
    width:min(100%,340px)!important;
    padding:20px!important;
    gap:14px!important;
  }
  body.page-home .launch-cover-card{
    max-width:150px!important;
    justify-self:center!important;
  }
  body.page-home .launch-cover-card img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    object-position:center center!important;
  }

  /* INICIO · “Dos etapas del mismo proceso” */
  body.page-home .book-pair{
    grid-template-columns:1fr 1fr!important;
    gap:22px!important;
    align-items:start!important;
  }
  body.page-home .book{
    grid-template-columns:150px 1fr!important;
    gap:20px!important;
    align-items:center!important;
  }
  body.page-home .book-cover{
    width:150px!important;
    justify-self:center!important;
    overflow:hidden!important;
    background:#fff!important;
  }
  body.page-home .book-cover img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    object-position:center center!important;
  }

  /* CECILIA · bloque “Cecilia y la Decisión” (segunda imagen que aún fallaba) */
  body.page-cecilia .cover-hero{
    grid-template-columns:220px 1fr!important;
    gap:40px!important;
    align-items:center!important;
  }
  body.page-cecilia .cover-hero .cover{
    max-width:220px!important;
    width:220px!important;
    justify-self:center!important;
  }
  body.page-cecilia .cover-hero .cover img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }

  /* PLAN MAESTRO · primera imagen del hero */
  body.page-plan .cover-hero{
    grid-template-columns:200px 1fr!important;
    gap:40px!important;
    align-items:center!important;
  }
  body.page-plan .cover-hero .cover{
    max-width:200px!important;
    width:200px!important;
    justify-self:center!important;
  }
  body.page-plan .cover-hero .cover img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }
}

@media (max-width:980px){
  /* En tablet/móvil, compactar sin deformar. */
  body.page-home .launch-covers{
    width:min(100%,290px)!important;
    margin-inline:auto!important;
  }
  body.page-home .launch-cover-card img,
  body.page-home .book-cover img,
  body.page-cecilia .cover-hero .cover img,
  body.page-plan .cover-hero .cover img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }
  body.page-home .book{
    grid-template-columns:120px 1fr!important;
  }
  body.page-home .book-cover{
    width:120px!important;
    justify-self:center!important;
  }
  body.page-cecilia .cover-hero .cover,
  body.page-plan .cover-hero .cover{
    max-width:190px!important;
    width:min(100%,190px)!important;
    margin-inline:auto!important;
  }
}


/* ===== V2.7.5 · APEGO + RECURSOS =====
   Ajustes quirúrgicos para las páginas del footer que aún tenían imágenes
   demasiado grandes o estrechas. */

@media (min-width:981px){
  /* APEGO · hero */
  body.page-apego .feature-hero{
    grid-template-columns:1fr minmax(260px,340px)!important;
    gap:42px!important;
    align-items:center!important;
  }
  body.page-apego .feature-hero .visual{
    width:min(100%,340px)!important;
    justify-self:center!important;
    background:#fff!important;
    display:grid!important;
    place-items:center!important;
  }
  body.page-apego .feature-hero .visual img{
    position:static!important;
    width:100%!important;
    height:auto!important;
    max-height:300px!important;
    object-fit:contain!important;
  }

  /* APEGO · bloque libros */
  body.page-apego .book-pair{
    grid-template-columns:1fr 1fr!important;
    gap:22px!important;
    align-items:start!important;
  }
  body.page-apego .book{
    grid-template-columns:150px 1fr!important;
    gap:20px!important;
    align-items:center!important;
  }
  body.page-apego .book-cover{
    width:150px!important;
    justify-self:center!important;
    background:#fff!important;
  }
  body.page-apego .book-cover img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }

  /* APEGO · Marta destacada */
  body.page-apego .story-image{
    width:min(100%,280px)!important;
    justify-self:center!important;
    background:#fff!important;
    display:grid!important;
    place-items:center!important;
  }
  body.page-apego .story-image img{
    position:static!important;
    width:100%!important;
    height:auto!important;
    max-height:400px!important;
    object-fit:contain!important;
  }

  /* APEGO · rejilla de escenas de Marta */
  body.page-apego .comic-strip{
    grid-template-columns:repeat(3,minmax(0,220px))!important;
    justify-content:center!important;
    max-width:760px!important;
    margin-inline:auto!important;
    gap:18px!important;
  }
  body.page-apego .comic-card{
    max-width:220px!important;
    width:100%!important;
    justify-self:center!important;
  }
  body.page-apego .comic-card img{
    width:100%!important;
    height:auto!important;
    max-height:300px!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    background:#f7f1e7!important;
  }

  /* APEGO · momentos reales */
  body.page-apego .gallery{
    grid-template-columns:repeat(5, minmax(0, 140px))!important;
    justify-content:center!important;
    gap:12px!important;
  }
  body.page-apego .gallery img{
    width:100%!important;
    height:230px!important;
    aspect-ratio:auto!important;
    object-fit:cover!important;
  }

  /* RECURSOS · destacados */
  body.page-recursos .resource-featured{
    grid-template-columns:250px 1fr!important;
    min-height:0!important;
    align-items:stretch!important;
  }
  body.page-recursos .resource-featured-media{
    min-height:320px!important;
    display:grid!important;
    place-items:center!important;
    background:#f2eadf!important;
  }
  body.page-recursos .resource-featured-media img{
    position:static!important;
    width:100%!important;
    height:auto!important;
    max-height:320px!important;
    object-fit:contain!important;
  }
  body.page-recursos .resource-featured-copy{
    padding:34px!important;
  }

  /* RECURSOS · tarjetas secundarias */
  body.page-recursos .resources-grid-two{
    grid-template-columns:1fr 1fr!important;
    gap:20px!important;
  }
  body.page-recursos .resource-card{
    grid-template-columns:200px 1fr!important;
    min-height:0!important;
  }
  body.page-recursos .resource-card-image{
    min-height:250px!important;
    display:grid!important;
    place-items:center!important;
    background:#f7f1e7!important;
  }
  body.page-recursos .resource-card-image>img{
    position:static!important;
    width:100%!important;
    height:auto!important;
    max-height:250px!important;
    object-fit:contain!important;
  }
  body.page-recursos .resource-card-copy{
    padding:24px!important;
  }
  body.page-recursos .resource-card-copy h3{
    font-size:1.45rem!important;
  }
  body.page-recursos .resource-card-covers{
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
    padding:18px!important;
    min-height:250px!important;
  }
  body.page-recursos .resource-card-covers img{
    width:100%!important;
    height:auto!important;
    max-height:210px!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }
  body.page-recursos .resource-card-single-cover{
    min-height:250px!important;
    padding:18px!important;
  }
  body.page-recursos .resource-card-single-cover>img{
    width:min(70%,170px)!important;
    max-height:220px!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }
}

@media (max-width:980px){
  body.page-apego .feature-hero,
  body.page-apego .story-split{
    grid-template-columns:1fr!important;
  }
  body.page-apego .feature-hero .visual,
  body.page-apego .story-image{
    width:min(100%,300px)!important;
    margin-inline:auto!important;
  }
  body.page-apego .feature-hero .visual img,
  body.page-apego .story-image img{
    width:100%!important;
    height:auto!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }
  body.page-apego .book{
    grid-template-columns:120px 1fr!important;
  }
  body.page-apego .book-cover{
    width:120px!important;
    justify-self:center!important;
  }
  body.page-apego .book-cover img{
    width:100%!important;
    height:auto!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }
  body.page-apego .comic-strip{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
  }
  body.page-apego .comic-card img{
    width:100%!important;
    height:auto!important;
    max-height:260px!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    background:#f7f1e7!important;
  }
  body.page-apego .gallery{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
  }
  body.page-apego .gallery img{
    height:200px!important;
    object-fit:cover!important;
  }

  body.page-recursos .resource-featured{
    grid-template-columns:1fr!important;
  }
  body.page-recursos .resource-featured-media{
    min-height:260px!important;
    display:grid!important;
    place-items:center!important;
  }
  body.page-recursos .resource-featured-media img{
    position:static!important;
    width:100%!important;
    height:auto!important;
    max-height:260px!important;
    object-fit:contain!important;
  }
  body.page-recursos .resource-card{
    grid-template-columns:1fr!important;
  }
  body.page-recursos .resource-card-image{
    min-height:230px!important;
    display:grid!important;
    place-items:center!important;
  }
  body.page-recursos .resource-card-image>img,
  body.page-recursos .resource-card-covers img,
  body.page-recursos .resource-card-single-cover>img{
    position:static!important;
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    max-height:220px!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }
}


/* ===== V2.7.6 · RECURSOS / PORTADA CECILIA MÁS GRANDE =====
   Ajuste final pedido: en recursos.html, la portada de “El día en que dejé de reconocerme”
   debe verse más grande y con más presencia, similar a la tarjeta de la izquierda. */

@media (min-width:981px){
  body.page-recursos .resource-card-single-cover{
    min-height:280px!important;
    padding:14px!important;
  }
  body.page-recursos .resource-card-single-cover > img{
    width:min(84%,220px)!important;
    max-height:280px!important;
    height:auto!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }
}

@media (max-width:980px){
  body.page-recursos .resource-card-single-cover{
    min-height:250px!important;
    padding:14px!important;
  }
  body.page-recursos .resource-card-single-cover > img{
    width:min(86%,210px)!important;
    max-height:250px!important;
    height:auto!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }
}


/* ===== V2.8.1 · APEGO PORTADAS + CTA MINI GUÍA =====
   Ajuste quirúrgico previo al lanzamiento: portadas más compactas y consistentes. */
@media (min-width:981px){
  body.page-apego-book .cover-hero{
    grid-template-columns:220px 1fr!important;
    gap:40px!important;
    align-items:center!important;
  }
  body.page-apego-book .cover-hero .cover{
    width:220px!important;
    max-width:220px!important;
    justify-self:center!important;
    background:#fff!important;
  }
  body.page-apego-book .cover-hero .cover img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }
  body.page-apego #libros .book{
    grid-template-columns:120px 1fr!important;
    gap:20px!important;
    align-items:center!important;
  }
  body.page-apego #libros .book-cover{
    width:120px!important;
    max-width:120px!important;
    justify-self:center!important;
    background:#fff!important;
  }
  body.page-apego #libros .book-cover img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }
}
@media (max-width:980px){
  body.page-apego-book .cover-hero .cover{
    width:min(100%,185px)!important;
    max-width:185px!important;
    margin-inline:auto!important;
    background:#fff!important;
  }
  body.page-apego-book .cover-hero .cover img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }
  body.page-apego #libros .book{
    grid-template-columns:105px 1fr!important;
  }
  body.page-apego #libros .book-cover{
    width:105px!important;
    max-width:105px!important;
  }
}
