:root{
  --mint:#d8efe8;
  --mint-soft:#f1f9f6;
  --yellow:#faedb7;
  --yellow-soft:#fff9e6;
  --salmon:#f7cdbd;
  --salmon-soft:#fff1eb;
  --lavender:#e8def5;
  --cream:#fffdf9;
  --ink:#484848;
  --line:#e9e0d7;
  --shadow:0 18px 44px rgba(72,72,72,.08);
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--cream);
  color:var(--ink);
  line-height:1.6;
}

a{color:inherit}
main{overflow:hidden}

/* HEADER */
.site-header{
  min-height:76px;
  display:grid;
  grid-template-columns:auto 1fr auto auto;
  align-items:center;
  gap:24px;
  padding:0 max(28px,calc((100vw - var(--max))/2));
  background:rgba(255,253,249,.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:100;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.brand-mark{
  width:44px;
  height:44px;
  border-radius:14px;
  background:var(--mint);
  display:grid;
  place-items:center;
  font-weight:900;
  font-size:16px;
}

.brand strong,.brand small{display:block}
.brand strong{font-size:15px;letter-spacing:.06em}
.brand small{font-size:11px}

.site-header nav{
  display:flex;
  justify-content:center;
  gap:22px;
}

.site-header nav a{
  text-decoration:none;
  font-size:14px;
  font-weight:750;
}

/* BOTONES */
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 19px;
  border-radius:14px;
  text-decoration:none;
  font-weight:850;
  border:1px solid transparent;
}

.button-small{min-height:40px;padding:0 15px;font-size:13px}
.button-salmon{background:var(--salmon)}
.button-ghost,.button-outline{background:#fff;border-color:var(--line)}
.mobile-menu,.mobile-links{display:none}

/* HERO */
.hero{
  width:min(calc(100% - 36px),var(--max));
  margin:0 auto;
  padding:46px 0 34px;
  display:grid;
  grid-template-columns:1.03fr .97fr;
  gap:44px;
  align-items:center;
}

.eyebrow{
  margin:0 0 10px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
}

h1,h2,h3{line-height:1.08;margin-top:0}
h1{
  font-size:clamp(42px,5.5vw,68px);
  letter-spacing:-.05em;
  margin-bottom:18px;
}
h2{
  font-size:clamp(30px,4vw,48px);
  letter-spacing:-.04em;
  margin-bottom:14px;
}
h3{font-size:21px}

.hero-lead{
  font-size:18px;
  max-width:700px;
  margin-bottom:0;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:24px 0 20px;
}

.trust-list{
  display:flex;
  gap:10px 18px;
  flex-wrap:wrap;
  font-size:13px;
  font-weight:700;
}

.hero-visual{position:relative}

.image-frame{
  min-height:410px;
  border-radius:30px;
  background:linear-gradient(145deg,var(--mint-soft),var(--yellow-soft));
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}

.hero-books{display:grid;place-items:center}

.book{
  position:absolute;
  width:180px;
  height:250px;
  padding:20px;
  border-radius:18px 26px 26px 18px;
  box-shadow:0 16px 30px rgba(72,72,72,.12);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.hero-book-icon{
  position:absolute;
  top:18px;
  left:18px;
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.62);
  border:1px solid rgba(72,72,72,.08);
}

.hero-book-icon svg{width:23px;height:23px}

.book small{font-weight:850;margin-bottom:9px}
.book strong{font-size:24px;line-height:1.02}

.book-mint{
  background:var(--mint);
  left:12%;
  top:18%;
  transform:rotate(-6deg);
}

.book-yellow{
  background:var(--yellow);
  right:13%;
  top:10%;
  transform:rotate(5deg);
}

.book-salmon{
  background:var(--salmon);
  left:37%;
  bottom:5%;
  width:168px;
  height:220px;
}

.float-card{
  position:absolute;
  left:22px;
  bottom:22px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:11px 15px;
  display:flex;
  align-items:center;
  gap:10px;
  box-shadow:var(--shadow);
}

.float-card small,.float-card strong{display:block}
.float-dot{
  width:17px;
  height:17px;
  border-radius:50%;
  background:var(--salmon);
}

/* SECCIONES */
.section-pad{
  padding:54px max(28px,calc((100vw - var(--max))/2));
}

.collection-section{padding-top:34px}

.section-heading{
  max-width:780px;
  margin-bottom:26px;
}

.section-heading.narrow{
  margin-inline:auto;
  text-align:center;
}

.split-heading{
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:30px;
  align-items:end;
  max-width:none;
}

.center-note{text-align:center;margin-top:20px}

/* COLECCIÓN */
.product-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  align-items:stretch;
}

.product-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(72,72,72,.05);
  display:flex;
  flex-direction:column;
  height:100%;
}

.product-cover{
  height:300px;
  min-height:300px;
  padding:22px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.product-cover.mint{background:var(--mint)}
.product-cover.yellow{background:var(--yellow)}
.product-cover.salmon{background:var(--salmon)}

.mini-book{
  width:100%;
  max-width:315px;
  height:230px;
  min-height:230px;
  border-radius:18px 24px 24px 18px;
  background:#fffdf9;
  padding:24px 24px 20px;
  box-shadow:0 15px 28px rgba(72,72,72,.10);
  display:flex;
  flex-direction:column;
}

.mini-book small{
  display:block;
  font-weight:900;
  font-size:9px;
  letter-spacing:.07em;
  margin-bottom:16px;
}

.mini-book strong{
  display:block;
  font-size:29px;
  line-height:1.05;
  margin:0 0 10px;
}

.mini-book p{
  margin:0;
  font-size:12px;
  font-weight:700;
  line-height:1.45;
}

.mini-book-tags{
  margin-top:auto;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding-top:16px;
}

.mini-book-tags span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(72,72,72,.065);
  font-size:12px;
  font-weight:750;
  line-height:1;
}

.product-body{
  padding:20px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.product-body h3{margin-bottom:10px}
.product-body > p{margin-top:0;margin-bottom:14px}

.badge-row{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin-bottom:13px;
}

.badge-row span{
  border:1px solid var(--line);
  border-radius:999px;
  padding:5px 9px;
  font-size:11px;
  font-weight:800;
  background:var(--cream);
}

.price-row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:end;
  margin-top:auto;
  padding-top:14px;
}

.price-row small,.price-row strong{display:block}
.price-row strong{font-size:21px}

.text-link{
  font-weight:850;
  text-decoration:none;
  margin-top:auto;
  padding-top:18px;
}

/* ETAPAS */
.examples{background:#fff}

.stage-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
  align-items:stretch;
}

.stage-grid article{
  border:1px solid var(--line);
  border-radius:18px;
  padding:20px;
  background:var(--cream);
  display:flex;
  flex-direction:column;
  min-height:245px;
}

.stage-icon{
  width:48px;
  height:48px;
  min-width:48px;
  min-height:48px;
  max-width:48px;
  max-height:48px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 0 14px;
  color:var(--ink);
  overflow:hidden;
  flex:none;
}

.stage-icon svg{
  width:24px;
  height:24px;
  display:block;
}

.mint-icon{background:var(--mint)}
.yellow-icon{background:var(--yellow)}
.salmon-icon{background:var(--salmon)}
.lavender-icon{background:var(--lavender)}

.stage-grid h3{margin-bottom:12px}
.stage-grid p{margin:0}

/* RECURSOS */
.resources-section{background:var(--cream)}
.resources-grid{align-items:stretch}

.resources-grid .product-cover{
  min-height:270px;
  height:270px;
}

.resource-document{
  width:78%;
  max-width:300px;
  min-height:205px;
  border-radius:18px 24px 24px 18px;
  background:#fffdf9;
  padding:24px;
  box-shadow:0 15px 28px rgba(72,72,72,.10);
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.resource-label{
  font-size:10px;
  font-weight:900;
  letter-spacing:.09em;
  margin-bottom:14px;
}

.resource-document h3{
  font-size:24px;
  margin-bottom:10px;
}

.resource-document p{
  margin:0;
  font-size:13px;
  font-weight:650;
}

.download-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:auto;
  padding-top:8px;
}

.download-actions .button{
  min-height:42px;
  padding:0 16px;
  font-size:13px;
}

/* OTRAS GRILLAS */
.transition-grid,.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.transition-grid article,.why-grid article{
  border:1px solid var(--line);
  border-radius:20px;
  padding:22px;
  background:#fff;
}

.icon-box{
  width:46px;
  height:46px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-weight:900;
  font-size:18px;
  margin-bottom:16px;
}

/* AUTORA */
.author-card{
  display:grid;
  grid-template-columns:170px 1fr;
  gap:30px;
  align-items:center;
  background:linear-gradient(135deg,var(--mint-soft),#fff);
  border:1px solid var(--line);
  border-radius:28px;
  padding:30px;
}

.author-visual{
  height:170px;
  border-radius:24px;
  background:var(--salmon-soft);
  display:grid;
  place-items:center;
  border:1px solid var(--line);
}

.author-visual span{
  width:88px;
  height:88px;
  border-radius:50%;
  background:var(--mint);
  display:grid;
  place-items:center;
  font-weight:900;
  font-size:26px;
}

.author-role{font-weight:850}

/* FAQ */
.faq-list{display:grid;gap:10px}

.faq-list details{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:0 20px;
}

.faq-list summary{
  cursor:pointer;
  list-style:none;
  padding:16px 0;
  font-weight:850;
  display:flex;
  justify-content:space-between;
  gap:20px;
}

.faq-list summary::-webkit-details-marker{display:none}
.faq-list details p{padding:0 0 16px;margin:0}

/* CONTACTO */
.final-cta{padding-top:20px}

.cta-card{
  background:var(--yellow-soft);
  border:1px solid var(--line);
  border-radius:28px;
  padding:34px;
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:30px;
  align-items:center;
}

.contact-actions{display:grid;gap:12px}

.contact-item{
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px 16px;
  background:#fff;
  text-decoration:none;
}

.contact-item strong,.contact-item small{display:block}
.pending{opacity:.75}

/* FOOTER */
footer{
  padding:38px max(28px,calc((100vw - var(--max))/2));
  background:#fff;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:48px;
}

footer > div:not(.footer-brand){
  display:grid;
  gap:8px;
  align-content:start;
}

footer a{text-decoration:none}
.footer-brand p{margin-bottom:0}

.copyright{
  grid-column:1/-1;
  margin:12px 0 0;
  font-size:13px;
}

/* TABLET */
@media(max-width:1000px){
  .site-header{grid-template-columns:auto 1fr auto}
  .site-header nav{display:none}

  .mobile-menu{
    display:block;
    border:1px solid var(--line);
    background:#fff;
    width:42px;
    height:42px;
    border-radius:12px;
    font-size:20px;
  }

  .mobile-links{
    position:fixed;
    z-index:99;
    top:76px;
    left:18px;
    right:18px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:16px;
    box-shadow:var(--shadow);
  }

  .mobile-links.open{display:grid;gap:10px}

  .mobile-links a{
    text-decoration:none;
    font-weight:800;
    padding:7px;
  }

  .hero{grid-template-columns:1fr}
  .hero-visual{max-width:650px}
  .product-grid{grid-template-columns:1fr 1fr}
  .stage-grid,.transition-grid{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .split-heading{grid-template-columns:1fr}
}

/* MÓVIL */
@media(max-width:680px){
  .site-header{padding:0 14px;gap:10px}
  .site-header > .button{display:none}

  .section-pad{padding:44px 16px}
  .section-heading{margin-bottom:22px}

  .hero{
    width:calc(100% - 32px);
    padding:34px 0 36px;
    gap:30px;
  }

  h1{font-size:40px}
  h2{font-size:32px}
  .hero-lead{font-size:16px}
  .image-frame{min-height:350px}

  .book{
    width:145px;
    height:210px;
    padding:16px;
  }

  .book strong{font-size:19px}
  .book-salmon{width:138px;height:185px}

  .hero-book-icon{
    width:38px;
    height:38px;
    top:14px;
    left:14px;
  }

  .hero-book-icon svg{width:20px;height:20px}

  .product-grid,.stage-grid,.transition-grid,.why-grid{
    grid-template-columns:1fr;
  }

  .product-cover{
    height:270px;
    min-height:270px;
  }

  .mini-book{
    height:210px;
    min-height:210px;
  }

  .resources-grid .product-cover{
    height:250px;
    min-height:250px;
  }

  .resource-document{min-height:190px}

  .stage-grid article{
    padding:18px;
    min-height:0;
  }

  .author-card{
    grid-template-columns:1fr;
    padding:24px;
  }

  .author-visual{height:150px}

  .cta-card{
    grid-template-columns:1fr;
    padding:26px;
  }

  footer{
    grid-template-columns:1fr;
    gap:26px;
    padding:34px 18px;
  }
}


/* =========================
PORTADAS REALES Y PRÓXIMOS PRODUCTOS
========================= */

.real-cover{
  padding:20px;
  overflow:hidden;
}

.real-cover img{
  display:block;
  height:260px;
  width:auto;
  max-width:100%;
  object-fit:contain;
  border-radius:14px;
  box-shadow:0 14px 28px rgba(72,72,72,.11);
}

.upcoming-cover{
  min-height:300px;
  height:300px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:34px;
  color:var(--ink);
}

.upcoming-cover > div:last-child{
  max-width:210px;
}

.upcoming-cover small{
  display:block;
  font-size:10px;
  font-weight:900;
  letter-spacing:.09em;
  margin-bottom:8px;
}

.upcoming-cover strong{
  display:block;
  font-size:30px;
  line-height:1.04;
  margin-bottom:10px;
}

.upcoming-cover p{
  margin:0;
  font-size:13px;
  font-weight:700;
}

.upcoming-visual{
  width:58px;
  height:58px;
  min-width:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.58);
  border:1px solid rgba(72,72,72,.07);
}

.upcoming-visual svg{
  width:28px;
  height:28px;
}

.product-cta{
  align-self:flex-start;
  margin-top:auto;
}

@media(max-width:680px){
  .real-cover img{
    height:235px;
  }

  .upcoming-cover{
    min-height:270px;
    height:270px;
    padding:28px;
  }
}


/* =========================================================
   CORRECCIÓN FINAL PORTADAS REALES DE LA COLECCIÓN
   ========================================================= */

.product-cover.real-cover{
  height:300px !important;
  min-height:300px !important;
  padding:18px !important;
  overflow:hidden !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.product-cover.real-cover img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:264px !important;
  object-fit:contain !important;
  object-position:center !important;
  border-radius:16px !important;
  box-shadow:0 12px 26px rgba(72,72,72,.10) !important;
}

@media(max-width:680px){
  .product-cover.real-cover{
    height:260px !important;
    min-height:260px !important;
    padding:16px !important;
  }

  .product-cover.real-cover img{
    max-height:228px !important;
  }
}
