/* =========================================================
   Versión 2 de textos (Nuevos textos e indicaciones.docx)
   ========================================================= */
.hero .hero-name { font-weight: 700; }
.hero .kicker { margin-bottom: .6rem; }

/* Inicio: la idea antes que la persona */
.intro {
  position: relative; overflow: hidden; min-height: min(calc(100vh - 76px), 860px); display: flex; align-items: center;
  padding: clamp(64px, 10vw, 120px) 0;
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(228,11,124,.10), transparent 60%),
    radial-gradient(700px 460px at 0% 100%, rgba(123,131,235,.12), transparent 60%),
    var(--white);
}
.intro .data-rain span { opacity: .4; }
.intro-inner { position: relative; }
.intro-title {
  font-weight: 800; font-size: clamp(3rem, 9vw, 7.5rem); line-height: .98; letter-spacing: -.045em;
  max-width: 11ch; margin: 0 0 .35em;
}
.intro-lead { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.55; max-width: 34em; color: var(--text); margin: 0; }
.intro-cue {
  display: inline-block; margin-top: clamp(40px, 6vw, 72px); width: 28px; height: 46px;
  border: 2px solid var(--ink); border-radius: 999px; position: relative; opacity: .55;
}
.intro-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--pink); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Bloques de texto corrido */
.prose { max-width: 820px; }
.prose p { font-size: 1.08rem; line-height: 1.75; }
.prose p:last-child { margin-bottom: 0; }
.prose .lead { font-size: clamp(1.2rem, 1.9vw, 1.4rem); line-height: 1.6; }
.prose-title { font-weight: 800; font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -.03em; margin-bottom: .5em; }
.prose--after { margin-top: clamp(32px, 4vw, 48px); }
.prose--after .about-quote { margin-top: 2rem; }

/* Citas largas */
.big-quote--sm { max-width: 26ch; font-size: clamp(1.7rem, 3.8vw, 3.1rem); line-height: 1.1; }
.quote-break--data .big-quote { position: relative; }

/* En pocas líneas (CV desplegable) */
.cv-short { margin: clamp(32px, 4vw, 48px) auto 0; max-width: 820px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.cv-short summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.4rem; display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; color: var(--ink); font-size: 1.05rem;
}
.cv-short summary::-webkit-details-marker { display: none; }
.cv-short summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--pink); transition: transform .25s; }
.cv-short[open] summary::after { transform: rotate(45deg); }
.cv-short p { padding: 0 1.4rem 1.4rem; margin: 0; font-size: 1rem; line-height: 1.7; color: var(--text); }

/* IA y política */
.views { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.view { position: relative; padding: clamp(28px, 3.5vw, 40px); border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px -28px rgba(20,23,58,.35); }
.view h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; margin-bottom: .7rem; }
.view p { margin: 0; font-size: 1.02rem; line-height: 1.7; }
.view-num { display: block; font-weight: 800; font-size: .9rem; letter-spacing: .1em; color: var(--pink); margin-bottom: 1rem; }
.view--accent { border-top: 4px solid var(--pink); }
.view--solo { max-width: 820px; margin: 0 auto; border-left: 4px solid var(--pink); }

/* Libros */
.book + .book { margin-top: clamp(64px, 9vw, 120px); }
.book-meta { font-family: var(--font-alt); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--muted); margin: -.3rem 0 1rem; font-variant-numeric: lining-nums; }
.book-badge { display: inline-block; font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); background: var(--pink); padding: .35em .9em; border-radius: 999px; margin-bottom: .9rem; }
.book-badge--soft { background: var(--pink-50); color: var(--pink-700); border: 1px solid var(--pink-100); }
.buy { margin-top: 1.6rem; }
.buy summary { list-style: none; display: inline-flex; }
.buy summary::-webkit-details-marker { display: none; }
.buy-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.buy-list a {
  display: inline-flex; flex-direction: column; padding: .65rem 1rem; border-radius: 14px; background: var(--white);
  border: 1.5px solid var(--pink-100); font-weight: 700; color: var(--ink); font-size: .92rem; line-height: 1.25; transition: border-color .2s, transform .2s;
}
.buy-list a span { font-weight: 400; font-size: .76rem; color: var(--muted); }
.buy-list a:hover { border-color: var(--pink); transform: translateY(-2px); color: var(--pink); }
.cover-type {
  position: relative; z-index: 1; aspect-ratio: 916 / 1359; display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.8rem 1.5rem; border-radius: 6px 14px 14px 6px; box-shadow: 0 30px 60px -20px rgba(20,23,58,.45); transform: rotate(-3deg); transition: transform .4s;
}
.book--reverse .cover-type { transform: rotate(3deg); }
.book .book-cover:hover .cover-type { transform: rotate(0) scale(1.02); }
.cover-type-author { font-family: var(--font-alt); font-weight: 500; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.cover-type-title { font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.cover-type-title em { font-style: normal; color: var(--pink); }
.cover-type--dark { background: linear-gradient(160deg, var(--obsidian), var(--indigo)); color: var(--white); }
.cover-type--pink { background: linear-gradient(160deg, var(--pink), #9A0758); color: var(--white); }
.book-bridge--3 span { display: block; }

/* 13 países */
.countries--13 li { font-size: clamp(1.7rem, 5vw, 4.2rem); }

/* Comunidad profesional */
.assocs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.assoc { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; padding: 1.8rem 1.2rem; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.assoc-logo { display: grid; place-items: center; height: 72px; width: 100%; font-weight: 800; font-size: 1.6rem; letter-spacing: -.01em; color: var(--ink); }
.assoc-logo img { max-height: 72px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
.assoc p { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--muted); }

/* Las animaciones del hero arrancan cuando entra en pantalla (ya no está arriba de todo) */
.js .hero .portrait, .js .hero .net-lines line, .js .hero .net-nodes circle, .js .hero .hs-icon svg * { animation-play-state: paused; }
.js .hero.is-in .portrait, .js .hero.is-in .net-lines line, .js .hero.is-in .net-nodes circle, .js .hero.is-in .hs-icon svg * { animation-play-state: running; }

@media (max-width: 1024px) {
  .assocs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .views { grid-template-columns: 1fr; }
  .intro { min-height: 0; }
}
@media (max-width: 480px) {
  .assocs { grid-template-columns: 1fr; }
}

/* Ajustes tras la revisión visual */
.closing { min-height: min(92vh, 900px); }
.prose .about-quote p { font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.4; }
.cover-type-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .closing-title { font-size: clamp(2rem, 9.4vw, 3rem); }
  .note-word { font-size: 2.6rem; opacity: .6; }
}
