/* =========================================================
   Laura Scruzzo · AbuelaPsicope — landing
   ========================================================= */
:root {
  --paper:   #fbf8f3;
  --paper-2: #f3eee5;
  --sage:    #e9f0ec;
  --ink:     #1d2a2c;
  --ink-2:   #3b4a4c;
  --mute:    #6c7a7b;
  --teal:    #1f5f56;
  --teal-2:  #174a43;
  --orange:  #e8622a;
  --blue:    #2a74b8;
  --line:    rgba(29, 42, 44, .12);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand:  "Caveat", "Segoe Print", cursive;

  --r:  22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 500; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; color: var(--teal); }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 8px; }

/* ---------- type helpers ---------- */
.kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.1rem;
  display: inline-flex; align-items: center; gap: .7rem;
}
.kicker::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.08; letter-spacing: -.015em;
  text-wrap: balance; margin-bottom: 1.3rem;
}
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-lead { font-size: 1.15rem; color: var(--mute); max-width: 56ch; }
.hand-note { font-family: var(--hand); font-size: 1.7rem; line-height: 1.05; color: var(--orange); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  font-weight: 700; font-size: .98rem; text-decoration: none; letter-spacing: .01em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background-color .3s, color .3s, box-shadow .35s var(--ease), border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -12px rgba(31,95,86,.7); }
.btn-primary:hover { background: var(--teal-2); box-shadow: 0 16px 30px -14px rgba(31,95,86,.8); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--teal-2); }
.btn-light:hover { background: #fff; }
.btn-sm { padding: .6rem 1.15rem; font-size: .9rem; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav.is-scrolled { background: rgba(251,248,243,.92); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(10px)) {
  .nav.is-scrolled { background: rgba(251,248,243,.78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.nav-inner { width: min(1240px, 100% - 2.5rem); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand-mark { font-family: var(--hand); font-size: 1.9rem; font-weight: 600; color: var(--teal); margin: 0; }
.brand-sub { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: .2rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) {
  text-decoration: none; font-size: .95rem; font-weight: 600; color: var(--ink-2);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px; transition: background-size .35s var(--ease), color .3s;
}
.nav-links a:not(.btn):hover { color: var(--teal); background-size: 100% 1.5px; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 3rem) 0 4rem; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 88% 30%, rgba(42,116,184,.10), transparent 70%),
    radial-gradient(35% 45% at 70% 85%, rgba(232,98,42,.10), transparent 70%),
    radial-gradient(45% 55% at 10% 10%, rgba(31,95,86,.10), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: 1; letter-spacing: -.025em;
  text-wrap: balance; margin-bottom: 1.6rem;
}
.hand-underline { position: relative; display: inline-block; font-style: italic; color: var(--teal); white-space: nowrap; }
.hand-underline svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.hand-underline path {
  fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 340; stroke-dashoffset: 340;
  animation: draw 1.3s .7s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-sub { font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 50ch; color: var(--ink-2); margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-actions.center { justify-content: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 2.4rem; font-size: .92rem; color: var(--mute); }
.hero-proof li { display: flex; align-items: center; gap: .5rem; }
.hero-proof li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.hero-figure { position: relative; margin: 0; }
.cover-fan { position: relative; aspect-ratio: 1 / .95; max-width: 560px; margin-inline: auto; }
.cover-fan .cover-img { position: absolute; width: 44%; top: 50%; left: 50%; }
.cover-fan .fan-c { z-index: 2; width: 48%; transform: translate(-50%, -50%); }
.cover-fan .fan-l { transform: translate(-118%, -46%) rotate(-8deg); }
.cover-fan .fan-r { transform: translate(18%, -46%) rotate(8deg); }
.hero-figure:hover .fan-c { transform: translate(-50%, -53%); }
.hero-figure:hover .fan-l { transform: translate(-128%, -46%) rotate(-11deg); }
.hero-figure:hover .fan-r { transform: translate(28%, -46%) rotate(11deg); }
.hero-figure .hand-note {
  position: absolute; z-index: 3; left: -.5rem; bottom: -.5rem;
  background: var(--paper); padding: .7rem 1.2rem; border-radius: 16px;
  box-shadow: 0 18px 40px -20px rgba(29,42,44,.35);
  transform: rotate(-4deg);
}

/* ---------- audiences strip ---------- */
.audiences { border-block: 1px solid var(--line); padding-block: 1.4rem; margin-top: 1rem; }
.audience-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.4rem; font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--ink-2); }
.audience-list li { display: flex; align-items: center; gap: 2.4rem; }
.audience-list li + li::before { content: "·"; color: var(--orange); margin-left: -2.4rem; margin-right: -1.4rem; font-style: normal; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.about-portrait { position: relative; }
.portrait-placeholder {
  aspect-ratio: 4 / 5; border-radius: 200px 200px 28px 28px;
  background:
    radial-gradient(80% 60% at 30% 20%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(160deg, #2b7a6f 0%, var(--teal) 55%, var(--teal-2) 100%);
  display: grid; place-items: center;
  box-shadow: 0 40px 80px -40px rgba(23,74,67,.6);
}
.portrait-placeholder span { font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 9vw, 7rem); color: rgba(251,248,243,.9); }
.about-portrait img.portrait {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 20%;
  border-radius: 200px 200px 28px 28px; background: var(--sage);
  box-shadow: 0 40px 80px -40px rgba(23,74,67,.55);
}
.portrait-tag {
  position: absolute; right: -1rem; bottom: 2rem; margin: 0;
  background: var(--paper); padding: .8rem 1.2rem; border-radius: 14px;
  font-family: var(--serif); font-size: 1.15rem; color: var(--ink); line-height: 1.2;
  box-shadow: 0 18px 40px -20px rgba(29,42,44,.35);
}
.portrait-tag small { font-family: var(--sans); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.about-copy > p { max-width: 58ch; }
.pillars { display: grid; gap: 1.3rem; margin-top: 2.2rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.pillars li { display: flex; gap: 1.1rem; align-items: flex-start; }
.pillars h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; margin-bottom: .15rem; }
.pillars p { margin: 0; color: var(--mute); font-size: .98rem; }
.pillar-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--sage); display: grid; place-items: center; }
.pillar-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- shop ---------- */
.shop { background: var(--paper-2); }
.product-tag { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .7rem; }
.product-title { font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.1; margin-bottom: 1rem; }

.product {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  background: var(--paper); border-radius: 32px; padding: clamp(1.8rem, 4.5vw, 3.8rem);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -45px rgba(29,42,44,.4);
}
.product + .series, .series + .product { margin-top: clamp(2rem, 4vw, 3rem); }
.product-visual { display: grid; place-items: center; padding: 1rem; }
.checks { display: grid; gap: .7rem; margin: 1.4rem 0 2rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5f56' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.product-buy { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.price { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--ink); margin: 0; }
.price-cur { font-size: .55em; vertical-align: .55em; margin-right: .1em; color: var(--mute); }
.price small { font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; color: var(--mute); }

/* covers (images exported from laura-scruzzo-portadas) */
.cover-img {
  display: block; width: 100%; height: auto; aspect-ratio: 620 / 877;
  border-radius: 4px 10px 10px 4px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04), 0 2px 4px rgba(29,42,44,.08), 0 28px 50px -24px rgba(29,42,44,.55);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.cover-lg { width: min(300px, 100%); }
.product:hover .cover-img, .mini:hover .cover-img { transform: translateY(-8px); box-shadow: 0 2px 4px rgba(29,42,44,.08), 0 40px 60px -26px rgba(29,42,44,.6); }
/* series */
.series { background: var(--paper); border-radius: 32px; padding: clamp(1.8rem, 4.5vw, 3.8rem); box-shadow: 0 1px 0 var(--line), 0 30px 60px -45px rgba(29,42,44,.4); }
.series-head { max-width: 640px; margin-bottom: 2.6rem; }
.series-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); }
.mini { text-align: center; }
.mini .cover-img { width: min(220px, 100%); margin: 0 auto 1.4rem; }
.mini h4 { font-family: var(--serif); font-size: 1.45rem; }
.mini p { color: var(--mute); margin: .2rem 0 0; font-size: .98rem; }
.series-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; max-width: 760px; margin: 3rem auto 0; }
.price-card {
  position: relative; text-align: center; padding: 2rem 1.6rem; border-radius: var(--r);
  background: #f1efdf; display: flex; flex-direction: column; align-items: center;
}
.price-card-best { background: #fbe0d2; }
.price-label { font-family: var(--hand); font-size: 1.7rem; line-height: 1; color: var(--ink); margin-bottom: .6rem; }
.price-note { color: var(--mute); font-size: .95rem; margin: .7rem 0 1.4rem; }
.price-card .btn { margin-top: auto; }
.price-flag {
  position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%) rotate(-3deg);
  background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .8rem; border-radius: 999px;
}

/* career highlights */
.career { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.8rem; }
.career li { padding: 1.1rem 1rem; border-radius: 16px; background: var(--paper-2); display: flex; flex-direction: column; gap: .25rem; }
.career strong { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.1; color: var(--teal); }
.career span { font-size: .88rem; line-height: 1.35; color: var(--mute); }

/* senior */
.series + .series, .series-senior { margin-top: clamp(2rem, 4vw, 3rem); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.chip { font-size: .88rem; font-weight: 600; padding: .45rem .95rem; border-radius: 999px; background: var(--sage); color: var(--teal-2); }

/* ---------- consult ---------- */
.consult { background: var(--teal); color: rgba(251,248,243,.86); position: relative; }
.consult .kicker { color: #f6b28f; }
.consult .section-title { color: var(--paper); }
.consult em { color: #f6b28f; }
.consult-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.consult-copy p { max-width: 52ch; margin-bottom: 2rem; }
.steps { display: grid; gap: 1rem; }
.step {
  display: flex; gap: 1.4rem; align-items: flex-start;
  padding: 1.5rem 1.6rem; border-radius: var(--r);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  transition: background-color .4s, transform .5s var(--ease);
}
.step:hover { background: rgba(255,255,255,.12); transform: translateX(6px); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 2rem; line-height: 1; color: #f6b28f; flex: none; }
.step h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 700; color: var(--paper); margin-bottom: .25rem; }
.step p { margin: 0; font-size: .98rem; }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; position: relative;
  font-family: var(--serif); font-size: 1.3rem; color: var(--ink); transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal); }
.faq summary::after {
  content: ""; position: absolute; right: .3rem; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: translateY(-70%) rotate(45deg); transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 1.5rem; max-width: 60ch; color: var(--mute); }

/* ---------- contact ---------- */
.contact { padding-top: 0; }
.contact-card {
  text-align: center; border-radius: 36px; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  background:
    radial-gradient(50% 70% at 0% 0%, rgba(42,116,184,.12), transparent 70%),
    radial-gradient(50% 70% at 100% 100%, rgba(232,98,42,.12), transparent 70%),
    var(--sage);
}
.contact-card .section-lead { margin: 0 auto 2.2rem; }
.hand-note-center { font-size: 2rem; margin-bottom: .4rem; }

/* ---------- footer ---------- */
.footer { padding: 3rem 0 2.5rem; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-sub { margin: 0; font-size: .85rem; color: var(--mute); }
.footer-social { display: flex; gap: 1.6rem; }
.footer-social a { text-decoration: none; font-weight: 600; color: var(--ink-2); transition: color .3s; }
.footer-social a:hover { color: var(--teal); }
.footer-copy { width: 100%; margin: 0; font-size: .82rem; color: var(--mute); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
/* safety net: if JS never runs, show everything after 2.5s */
.reveal { animation: revealSafety .01s 2.5s forwards; }
.reveal.is-visible { animation: none; }
@keyframes revealSafety { to { opacity: 1; transform: none; } }
.js-ready .reveal:not(.is-visible) { animation: none; }

/* ---------- nav extras ---------- */
.nav-links { gap: 1.6rem; }
.nav-links a[aria-current="page"] { color: var(--teal); background-size: 100% 1.5px; }
.soon-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); vertical-align: super; margin-left: 2px; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer-links a { text-decoration: none; color: var(--mute); font-size: .92rem; transition: color .3s; }
.footer-links a:hover { color: var(--teal); }

/* ---------- explore (home) ---------- */
.explore-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.ex-card {
  grid-column: span 2; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 1.8rem; min-height: 250px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.ex-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(29,42,44,.45); border-color: transparent; }
.ex-ebooks { grid-column: span 4; grid-row: span 2; background: var(--paper-2); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1.5rem; }
.ex-consult { grid-column: span 2; grid-row: span 2; background: var(--teal); color: rgba(251,248,243,.86); border-color: transparent; }
.ex-consult h3 { color: var(--paper); }
.ex-consult .ex-icon { background: rgba(255,255,255,.1); }
.ex-consult .ex-icon svg { stroke: #f6b28f; }
.ex-consult .ex-label { background: rgba(255,255,255,.12); color: #f6b28f; }
.ex-consult .ex-more { color: #f6b28f; }
.ex-body { display: flex; flex-direction: column; flex: 1; }
.ex-card h3 { font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; margin: .7rem 0 .5rem; }
.ex-card p { margin: 0 0 1.2rem; font-size: .98rem; }
.ex-label { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; background: var(--sage); color: var(--teal-2); }
.is-soon .ex-label { background: #fbe0d2; color: #b0461a; }
.is-soon { background: transparent; }
.ex-more { margin-top: auto; font-weight: 700; color: var(--teal); }
.ex-icon { width: 58px; height: 58px; border-radius: 18px; background: var(--sage); display: grid; place-items: center; margin-bottom: 1.4rem; }
.ex-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.is-soon .ex-icon { background: var(--paper-2); }
.is-soon .ex-icon svg { stroke: var(--orange); }
.ex-covers { position: relative; height: 100%; min-height: 280px; }
.ex-covers img { position: absolute; width: 52%; top: 50%; left: 50%; border-radius: 3px 8px 8px 3px; box-shadow: 0 24px 40px -22px rgba(29,42,44,.6); transition: transform .7s var(--ease); }
.ex-covers img:nth-child(1) { transform: translate(-95%, -48%) rotate(-8deg); }
.ex-covers img:nth-child(2) { z-index: 2; transform: translate(-50%, -52%); }
.ex-covers img:nth-child(3) { transform: translate(-5%, -48%) rotate(8deg); }
.ex-ebooks:hover .ex-covers img:nth-child(1) { transform: translate(-105%, -48%) rotate(-11deg); }
.ex-ebooks:hover .ex-covers img:nth-child(3) { transform: translate(5%, -48%) rotate(11deg); }
.ex-ebooks .ex-body { padding-block: 1rem; }

.ex-half { grid-column: span 3; min-height: 0; flex-direction: row; gap: 1.4rem; align-items: flex-start; }
.ex-half .ex-icon { flex: none; margin-bottom: 0; }
.ex-blog { background: #fbe0d2; border-color: transparent; }
.ex-blog .ex-label { background: var(--orange); color: #fff; }
.ex-blog .ex-icon { background: rgba(255,255,255,.6); }
.ex-blog .ex-icon svg { stroke: var(--orange); }

/* ---------- blog ---------- */
.post-card {
  display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem);
  text-decoration: none; color: inherit; background: var(--paper); border-radius: 30px; padding: clamp(1.5rem, 3.5vw, 2.8rem);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -45px rgba(29,42,44,.45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(29,42,44,.5); }
.post-card-art { background: linear-gradient(180deg, #fdf1e6, #e3f1ee); border-radius: 22px; padding: 2.5rem 1.5rem; }
.post-card h2 { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.05; margin: .2rem 0 .5rem; }
.post-card-sub { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--teal); }
.post-card p:not(.product-tag):not(.post-card-sub) { color: var(--mute); }
.blog-more { text-align: center; margin-top: clamp(3rem, 6vw, 4.5rem); display: flex; flex-direction: column; align-items: center; }
.blog-more .hand-note, .post-end .hand-note { font-size: 1.9rem; margin-bottom: .3rem; }
.blog-more > p:not(.hand-note) { color: var(--mute); margin-bottom: 1.4rem; }

.post-art { width: 100%; height: auto; display: block; }
.post-art path { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; opacity: .55; }
.post-art path + path { stroke: #2a74b8; opacity: .35; }
.post-art .ants circle { fill: var(--ink); }
.post-art .sun { fill: var(--orange); opacity: .85; }

.post-head { position: relative; padding: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 1rem; }
.post-narrow { width: min(720px, 100% - 2.5rem); }
.post-back { display: block; width: fit-content; text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--teal); margin-bottom: 1.8rem; }
.post-head .page-title { font-size: clamp(2.8rem, 7vw, 4.8rem); }
.post-head .hero-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--ink-2); }
.post-meta { color: var(--mute); font-size: .95rem; margin-bottom: 2rem; }
.post-head .post-art { margin-top: 1rem; }
.post-body { font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.28rem); line-height: 1.75; color: var(--ink); padding-block: 1.5rem 3rem; }
.post-body p { margin: 0 0 1.4em; }
.post-body .lede::first-letter {
  float: left; font-size: 4.2em; line-height: .82; padding: .08em .12em 0 0; color: var(--teal); font-style: italic;
}
.post-body .beat { text-align: center; font-style: italic; color: var(--teal); font-size: 1.15em; margin: 2em 0; }
.post-body .beat::before, .post-body .beat::after { content: " · "; color: var(--orange); }
.post-body em { color: var(--orange); }
.post-topics { margin: 0 0 1.6em; display: grid; gap: .9em; }
.post-topics li { position: relative; padding-left: 1.6em; }
.post-topics li::before { content: ""; position: absolute; left: .2em; top: .62em; width: .5em; height: .5em; border-radius: 50%; background: var(--orange); }
.post-topics strong { color: var(--teal); font-weight: 500; }
.post-card + .post-card { margin-top: 1.6rem; }
.pull { margin: 2.5em 0 0; padding: 1.8em 0 0; border-top: 1.5px solid var(--line); }
.pull p { font-size: 1.35em; line-height: 1.4; font-style: italic; color: var(--teal); text-wrap: balance; margin: 0; }
.post-end { text-align: center; padding: 2.5rem 1.5rem 3rem; margin-bottom: clamp(3rem, 7vw, 5rem); border-radius: 30px; background: var(--sage); display: flex; flex-direction: column; align-items: center; }
.post-end > p:not(.hand-note):not(.soon-alt) { color: var(--ink-2); max-width: 46ch; margin-bottom: 1.4rem; }
.post-end .soon-alt { margin-top: 1.6rem; }
.post-end .soon-alt a { text-decoration: none; }

/* ---------- recursos ---------- */
.resources { padding-top: 1rem; }
.res-card {
  display: grid; grid-template-columns: 280px 1fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: center;
  background: var(--paper); border-radius: 30px; padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -45px rgba(29,42,44,.45);
}
.res-cover { display: block; }
.res-cover .cover-img { aspect-ratio: 909 / 1287; }
.res-card:hover .cover-img { transform: translateY(-8px) rotate(-1deg); }
.res-body h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; margin-bottom: .5rem; }
.res-body > p:not(.product-tag):not(.post-card-sub) { color: var(--mute); }
.res-body .chips { margin: 1.2rem 0 1.6rem; }
.res-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.page-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; margin-bottom: 1.4rem; }
.brand-logo { justify-self: center; width: min(380px, 80vw); }
.brand-logo img {
  width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(29,42,44,.18));
  transform: rotate(-3deg); transition: transform .8s var(--ease);
}
.brand-logo:hover img { transform: rotate(0deg) scale(1.03); }
.consult-photo { justify-self: center; width: min(340px, 80vw); }
.consult-photo .portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 20%; border-radius: 200px 200px 28px 28px; box-shadow: 0 40px 80px -40px rgba(23,74,67,.55); }

/* ---------- catalog ---------- */
.cat-group + .cat-group { margin-top: clamp(4rem, 8vw, 6rem); }
.cat-head { max-width: 680px; margin-bottom: 2rem; }
.cat-head p:last-child { color: var(--mute); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pcard { background: var(--paper); border-radius: 26px; padding: 1.6rem; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line), 0 30px 60px -48px rgba(29,42,44,.4); }
.pcard .cover-img { width: min(200px, 80%); margin: .6rem auto 1.6rem; }
.pcard:hover .cover-img { transform: translateY(-8px); }
.pc-body { display: flex; flex-direction: column; flex: 1; }
.pcard .pc-tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .3rem; }
.pcard h4 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; }
.pcard p { color: var(--mute); font-size: .96rem; margin: .3rem 0 1.2rem; }
.pc-buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.pc-buy .price { font-size: 1.9rem; }
.pc-buy .btn { padding: .75rem 1.3rem; }
.pack {
  position: relative; margin-top: 1.4rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem 2rem;
  padding: 1.8rem 2rem; border-radius: 26px; background: #fbe0d2;
}
.pack .price-flag { position: static; transform: rotate(-3deg); display: inline-block; margin-bottom: .6rem; }
.pack h4 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; }
.pack p { margin: .2rem 0 0; color: var(--ink-2); }
.pack-buy { display: flex; align-items: center; gap: 1.4rem; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: s; }
.how-steps li { padding: 1.8rem; border-radius: 22px; background: var(--paper-2); }
.how-steps .step-num { color: var(--orange); display: block; margin-bottom: .8rem; }
.how-steps h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; margin-bottom: .3rem; }
.how-steps p { margin: 0; color: var(--mute); }
.how { padding-bottom: 0; }

/* ---------- coming soon ---------- */
.soon { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 3rem) 0 4rem; }
.soon-inner { max-width: 760px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.soon-inner .kicker::before { display: none; }
.soon-icon { width: 88px; height: 88px; border-radius: 28px; background: var(--paper); display: grid; place-items: center; margin-bottom: 1.8rem; box-shadow: 0 24px 50px -28px rgba(29,42,44,.45); }
.soon-icon svg { width: 44px; height: 44px; fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.soon .page-title { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
.soon .hero-sub { margin-inline: auto; }
.soon .hand-note { margin: .4rem 0 1.4rem; font-size: 1.9rem; }
.social-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.social-btns svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.soon-alt { margin-top: 2.4rem; color: var(--mute); font-size: .95rem; }
.soon-alt a { color: var(--teal); font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .ex-card, .ex-ebooks, .ex-consult { grid-column: span 1; grid-row: auto; }
  .ex-ebooks { grid-column: 1 / -1; }
  .ex-half { grid-column: span 1; }
}
@media (max-width: 960px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-ebooks .brand-logo { order: -1; width: 220px; justify-self: start; }
  .consult-photo { display: none; }
  .pgrid, .how-steps { grid-template-columns: 1fr; }
  .pcard { flex-direction: row; gap: 1.4rem; align-items: center; }
  .pcard .cover-img { width: 110px; margin: 0; flex: none; }
  .hero-grid, .about-grid, .product, .product-senior, .consult-grid, .faq-wrap { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 2.5rem); }
  .hero-figure { display: none; } /* en celular, después del hero va directo "Sobre mí"; las portadas se ven en Cuadernillos */
  .hero { padding-bottom: 1rem; }
  .about { padding-top: 3rem; }
  .about-portrait { max-width: 360px; }
  .product-visual { padding: 0; }
}
@media (max-width: 1080px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px;
    border: 0; border-radius: 50%; background: var(--paper-2); cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: flex-start; gap: 1.2rem;
    padding: 1.6rem 1.25rem 2rem; background: var(--paper); box-shadow: 0 20px 40px -20px rgba(29,42,44,.3);
    opacity: 0; transform: translateY(-10px); visibility: hidden;
    transition: opacity .3s, transform .4s var(--ease), visibility .4s;
  }
  .nav-links a:not(.btn) { font-size: 1.15rem; }
  .nav-links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav { background: rgba(251,248,243,.94); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .explore-grid { grid-template-columns: 1fr; }
  .ex-half { flex-direction: column; }
  .ex-half .ex-icon { margin-bottom: 1rem; }
  .post-card { grid-template-columns: 1fr; }
  .res-card { grid-template-columns: 1fr; }
  .res-cover { width: 200px; }
  .ex-ebooks { grid-template-columns: 1fr; }
  .ex-covers { min-height: 220px; }
  .pcard { flex-direction: column; align-items: stretch; }
  .pcard .cover-img { width: 160px; margin: 0 auto 1.2rem; }
  .pack, .pack-buy { flex-direction: column; align-items: flex-start; }
  .series-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .series-prices { grid-template-columns: 1fr; gap: 1.8rem; }
  .career { grid-template-columns: 1fr; }
  .mini .cover-img { width: 220px; }
  .hero-figure .hand-note { left: .5rem; bottom: -2.2rem; font-size: 1.4rem; }
  .portrait-tag { right: .5rem; }
  .audience-list { gap: .4rem 1.4rem; font-size: 1.05rem; }
  .audience-list li { gap: 1.4rem; }
  .audience-list li + li::before { margin-left: -1.4rem; margin-right: -.8rem; }
  .product-buy { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { flex: 1 1 auto; }
}
