/* =========================================================
   Ajustes v2b: visual del inicio, llamador a scrollear,
   IA y política, motor centrado, logos
   ========================================================= */

/* Inicio: texto a la izquierda, radar a la derecha */
.intro { min-height: min(calc(100vh - 76px), 780px); padding: clamp(48px, 7vw, 88px) 0 clamp(96px, 10vw, 120px); }
.intro-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; width: 100%; }
.intro-title { font-size: clamp(3rem, 7.2vw, 6.4rem); }
.intro-visual { position: relative; width: 100%; max-width: 480px; justify-self: center; aspect-ratio: 1; }
.radar { width: 100%; height: 100%; display: block; overflow: visible; }
.r-ring { fill: none; stroke: var(--lavender); stroke-width: 1.2; opacity: .45; }
.r-ring--dash { stroke-dasharray: 3 7; opacity: .6; }
.r-link { stroke: var(--pink); stroke-width: 1.2; stroke-dasharray: 4 6; opacity: .45; animation: pnFlow 2s linear infinite; }
.r-node { fill: var(--lavender); }
.r-node--pink { fill: var(--pink); filter: drop-shadow(0 0 6px rgba(228,11,124,.6)); }
.r-node--cyan { fill: var(--cyan); filter: drop-shadow(0 0 6px rgba(0,240,255,.7)); }
.r-node--royal { fill: var(--royal); }
.r-core { fill: var(--pink); }
.r-core-halo { fill: none; stroke: var(--pink); stroke-width: 2; opacity: .35; transform-box: fill-box; transform-origin: center; animation: halo 2.6s ease-out infinite; }
.r-spin, .r-sweep { transform-box: view-box; transform-origin: 240px 240px; }
.r-spin { animation: spin 40s linear infinite; }
.r-spin--slow { animation-duration: 60s; }
.r-spin--rev { animation-duration: 48s; animation-direction: reverse; }
.r-sweep { animation: spin 7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes halo { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(2.4); opacity: 0; } }
.radar-chip {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  padding: .5rem 1rem; border-radius: 999px; background: var(--white); color: var(--ink);
  font-weight: 700; font-size: .9rem; box-shadow: 0 12px 26px -12px rgba(20,23,58,.35); white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.radar-chip--dark { background: var(--obsidian); color: var(--white); animation-delay: -2s; }
.radar-chip--pink { background: var(--pink); color: var(--white); animation-delay: -4s; }

/* Llamador a scrollear */
.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(18px, 3vw, 32px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--ink); z-index: 2;
}
.scroll-cue:hover { color: var(--pink); }
.scroll-cue-text { font-family: var(--font-alt); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue-arrow {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--pink); box-shadow: var(--shadow-pink); animation: cueBounce 1.8s ease-in-out infinite;
}
.scroll-cue-arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes cueBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* Hero: la bajada ahora es el CV resumido */
.hero-lead--cv { font-size: clamp(.98rem, 1.25vw, 1.08rem); line-height: 1.7; max-width: 36em; }

/* IA y política, versión más amigable */
.views2 { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.2rem; align-items: stretch; }
.view2 {
  display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 22px 46px -30px rgba(20,23,58,.4); transition: transform .25s, box-shadow .25s;
}
.view2:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.view2-art { position: relative; aspect-ratio: 2 / 1; display: grid; place-items: center; }
.view2-art svg { width: 86%; height: auto; }
.view2-art--pink { background: radial-gradient(circle at 1px 1px, rgba(228,11,124,.18) 1px, transparent 1.5px) 0 0 / 16px 16px, linear-gradient(145deg, var(--pink-50), var(--pink-100)); }
.view2-art--lav { background: radial-gradient(circle at 1px 1px, rgba(123,131,235,.25) 1px, transparent 1.5px) 0 0 / 16px 16px, linear-gradient(145deg, var(--lavender-50), var(--lavender-100)); }
.view2-art--dark { background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(150deg, var(--obsidian), var(--indigo)); }
.view2-num {
  position: absolute; left: 1.2rem; top: 1rem; font-weight: 800; font-size: .85rem; letter-spacing: .1em;
  color: var(--pink); background: var(--white); padding: .25rem .6rem; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.view2-body { padding: clamp(22px, 3vw, 32px); }
.view2-body h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.2; margin-bottom: .7rem; }
.view2-body p { margin: 0; font-size: 1rem; line-height: 1.7; }
.views2-link {
  align-self: center; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--obsidian); box-shadow: 0 12px 24px -10px rgba(20,23,58,.5);
}
.views2-link svg { width: 24px; height: 24px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.view2--wide { flex-direction: row; max-width: 980px; margin: 0 auto; }
.view2--wide .view2-art { flex: 0 0 42%; aspect-ratio: auto; min-height: 220px; }
.view2--wide .view2-body { align-self: center; }
/* Piezas de las ilustraciones */
.va-screen { fill: var(--white); filter: drop-shadow(0 10px 16px rgba(20,23,58,.15)); }
.va-bar { fill: var(--obsidian); }
.va-dot { fill: var(--pink); }
.va-face { fill: none; stroke: var(--lavender); stroke-width: 4; stroke-linecap: round; }
.va-wave path { stroke: var(--pink); stroke-width: 4; stroke-linecap: round; }
.va-wave { animation: waveP 1.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes waveP { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.va-badge { fill: var(--pink); }
.va-badge-t { fill: var(--white); font: 800 12px var(--font-head); text-anchor: middle; }
.va-shield { fill: var(--white); stroke: var(--royal); stroke-width: 3; filter: drop-shadow(0 10px 16px rgba(20,23,58,.15)); }
.va-check { fill: none; stroke: var(--pink); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.va-flag rect { fill: var(--royal); opacity: .85; }
.va-flag path { stroke: var(--obsidian); stroke-width: 3; stroke-linecap: round; }
.va-flag--2 rect { fill: var(--pink); }
.va-person { fill: none; stroke: var(--white); stroke-width: 4; stroke-linecap: round; }
.va-chip { fill: none; stroke: var(--cyan); stroke-width: 3; }
.va-chip-core { fill: var(--pink); }
.va-pins { stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; }
.va-arrow { fill: none; stroke: var(--pink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Motor de análisis centrado con el párrafo */
@media (min-width: 861px) { .engine { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); } }

/* Logos de asociaciones */
.assoc-logo img { max-height: 64px; max-width: 180px; }
.assoc-logo--text { font-size: 1.8rem; }

@media (max-width: 1024px) {
  .intro-inner { grid-template-columns: 1fr; }
  .intro-visual { max-width: 360px; }
}
@media (max-width: 860px) {
  .views2 { grid-template-columns: 1fr; }
  .views2-link { transform: rotate(90deg); justify-self: center; }
  .view2--wide { flex-direction: column; }
  .view2--wide .view2-art { flex: none; aspect-ratio: 2 / 1; min-height: 0; }
}
@media (max-width: 640px) {
  .intro { padding-bottom: 110px; }
  .intro-visual { max-width: 300px; }
  .radar-chip { font-size: .78rem; padding: .4rem .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .r-spin, .r-sweep, .r-core-halo, .r-link, .radar-chip, .scroll-cue-arrow, .va-wave { animation: none; }
}
.intro .data-rain { display: none; }

/* Texto corrido unificado: todos los párrafos con el tamaño y color de la entradilla */
.prose p, .prose .lead, .about-copy p, .about-copy .lead {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.6; color: var(--ink);
}
.ai-head { margin-bottom: clamp(32px, 4vw, 48px); }
.ai-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; }
.book-bridge--3 { margin: clamp(56px, 8vw, 96px) 0 0; }

/* Cierre: redes a la derecha de "Hablemos" */
.closing-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.6rem clamp(24px, 4vw, 56px); margin-top: 1.6rem; }
.closing-actions .closing-cta { margin-top: 0; }
.closing-actions .closing-social { margin-top: 0; gap: .7rem; }
.closing-social a {
  display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1rem .6rem .7rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); font-size: .95rem; transition: border-color .2s, color .2s, transform .2s;
}
.closing-social a:hover { border-color: var(--pink); color: var(--pink); transform: translateY(-2px); }
.closing-social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.closing-social svg .fill { fill: currentColor; stroke: none; }
.closing-social a svg { color: var(--pink); }
.closing-social a:hover svg { color: var(--pink); }
