/* =========================================================
   Ductilidad Psicológica · Rediseño v4 (versión de revisión)
   Sistema sobrio y consistente a partir del libro:
   · Montserrat (portada) para titulares · Aileron (interior del libro) para lectura
   · Petróleo, crema y un único acento dorado
   · 7 tamaños de texto, 2 radios, 2 sombras
   · v4: ilustración del video educativo (edificio, gráfica tensión-transformación,
     ciclo DART con diana) y libro que pasa páginas. Componentes nuevos: EXPERIMENTAL.
   ========================================================= */

/* ---------- Fuentes (alojadas en el sitio) ---------- */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("../fonts/aileron-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("../fonts/aileron-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("../fonts/aileron-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
/* Respaldos con métricas aproximadas para limitar saltos al cargar */
@font-face { font-family: "Montserrat Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 112%; ascent-override: 86%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: "Aileron Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 98%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }

/* ---------- Tokens ----------
   Contrastes (WCAG 2.2): texto #03262A / papel 15,5:1 · petróleo #073A3E / crema 11:1
   crema / tinta 14,2:1 · oro #F7DC9A / #073A3E 9,3:1 · turquesa #3CC7CE / #073A3E 6,1:1
   bronce #8A5714 / crema 5,4:1 · el oro sobre fondos claros es solo decorativo */
:root {
  --ink: #03262A;
  --teal-900: #073A3E;
  --teal-800: #0A4B4F;
  --turq-600: #0B7F88;
  --turq-300: #3CC7CE;
  --gold: #EDB04E;
  --gold-soft: #F7DC9A;
  --bronze: #8A5714;
  --paper: #FFFBF3;
  --cream: #F7F1E4;
  --mist: #B9D6D3;
  --muted: #3D5A5C;
  --line: rgba(7, 58, 62, 0.14);
  --line-dark: rgba(247, 241, 228, 0.16);

  /* Ilustración (EXPERIMENTAL): turquesa de las páginas del libro y colores DART del video.
     Blanco sobre --sci-1 4,8:1, sobre --sci-2 6,3:1. Los colores DART no se usan como texto sobre claro. */
  --sci-1: #0C7F87;
  --sci-2: #0A6A72;
  --sci-3: #07555C;
  --aqua: #89D1CC;
  --tint: #DEF2F1;
  --rasp: #C22A53;
  --c-d: #FBBC8E;
  --c-a: #CCE2BB;
  --c-r: #E19C96;
  --c-t: #B9E4EB;

  --f-head: "Montserrat", "Montserrat Fallback", system-ui, sans-serif;
  --f-body: "Aileron", "Aileron Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Escala tipográfica (7 tamaños) */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.125rem;
  --fs-lg: clamp(1.19rem, 1.11rem + 0.35vw, 1.375rem);
  --fs-xl: clamp(1.4rem, 1.27rem + 0.6vw, 1.75rem);
  --fs-2xl: clamp(1.95rem, 1.45rem + 2vw, 2.9rem);
  --fs-3xl: clamp(2.45rem, 1.55rem + 3.6vw, 4.25rem);

  --r-sm: 6px;
  --r-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(3, 38, 42, 0.08), 0 6px 16px -8px rgba(3, 38, 42, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(3, 38, 42, 0.55);

  --space-section: clamp(4.5rem, 3rem + 5vw, 7.5rem);
  --gutter: 16px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: light;
}
@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --header-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: var(--fs-base); line-height: 1.65; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--f-head); line-height: 1.15; text-wrap: balance; }
p, ul, ol, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }
a { color: var(--teal-800); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; color: inherit; }
cite, em, i { font-style: italic; }
strong { font-weight: 600; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--teal-800); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-soft); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 100; padding: 0.75rem 1rem; background: var(--gold); color: var(--ink); border-radius: var(--r-sm); font-family: var(--f-head); font-weight: 600; }
.skip-link:focus { top: 12px; outline-color: var(--ink); }
.container { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Texto ---------- */
.eyebrow { display: flex; align-items: center; gap: 0.6rem; font-family: var(--f-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze); margin-bottom: 1rem; }
.eyebrow::before { content: ""; flex: none; width: 1.5rem; height: 1.5px; background: currentColor; }
.bookflip__head .eyebrow { justify-content: center; }
.eyebrow--turq, .dark .eyebrow { color: var(--turq-300); }
.section-title { font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.015em; color: var(--teal-900); }
.section-title em { font-style: normal; color: inherit; }
.section-lead { margin-top: 1.1rem; font-size: var(--fs-lg); line-height: 1.6; color: var(--muted); max-width: 40em; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.prose { max-width: 38em; }
.prose > * + * { margin-top: 1em; }
.small { font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }

/* ---------- Fondos: base crema y tres momentos oscuros ---------- */
.section { padding-block: var(--space-section); position: relative; overflow-x: hidden; }
@supports (overflow: clip) { .section { overflow-x: clip; } }
.light { background: var(--paper); }
.cream { background: var(--cream); }
.dark { position: relative; isolation: isolate; color: var(--cream); background: var(--teal-900); }
.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("../img/textura-portada-960.webp") center / cover no-repeat; opacity: 0.22; }
@media (min-width: 961px) { .dark::before { background-image: url("../img/textura-portada-1920.webp"); } }
.dark .section-title { color: var(--cream); }
.dark .section-lead, .dark .small { color: var(--mist); }
.dark a:not(.btn) { color: var(--cream); }

/* ---------- Texturas compartidas (EXPERIMENTAL) ----------
   Dos materiales para toda la página: el grano de papel del libro en los fondos claros
   y la acuarela de la portada en los oscuros y en el turquesa. */
:root {
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .03 0 0 0 0 .23 0 0 0 0 .24 0 0 0 .075 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
  --watercolor: url("../img/textura-portada-960.webp");
}
@media (min-width: 961px) { :root { --watercolor: url("../img/textura-portada-1920.webp"); } }
.light, .strip, .situations-section, .faq-section { background-color: var(--paper); background-image: var(--grain); }
.cream { background-color: var(--cream); background-image: var(--grain); }
.science::before, .closing::before, .site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--watercolor) center / cover no-repeat; }
.science::before { mix-blend-mode: multiply; opacity: 0.45; }
.closing::before { z-index: -2; opacity: 0.3; }
.site-footer { position: relative; isolation: isolate; }
.site-footer::before { opacity: 0.14; }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 52px; padding: 0.7rem 1.5rem;
  border: 1.5px solid transparent; border-radius: var(--r-sm); font-family: var(--f-head); font-weight: 600; font-size: 0.97rem;
  letter-spacing: 0.01em; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn .icon-ext { transition: transform 0.2s var(--ease); }
.btn:hover .icon-ext { transform: translate(2px, -2px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #F4C46B; }
.btn--teal { background: var(--teal-900); color: var(--cream); }
.btn--teal:hover { background: var(--teal-800); }
.btn--ghost { color: var(--cream); border-color: rgba(247, 241, 228, 0.55); }
.btn--ghost:hover { background: rgba(247, 241, 228, 0.08); border-color: var(--cream); }
.btn--outline { color: var(--teal-900); border-color: var(--teal-900); }
.btn--outline:hover { background: var(--teal-900); color: var(--cream); }
.btn--small { min-height: 44px; padding: 0.45rem 1rem; font-size: 0.9rem; }
.icon-ext { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
@media (max-width: 479px) { .actions .btn { width: 100%; } }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-head); font-weight: 600; font-size: 0.97rem; color: var(--teal-800); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link--light { color: var(--gold-soft) !important; text-decoration-color: rgba(247, 220, 154, 0.55); }
.link-button { min-height: 44px; padding: 0.4rem 0.2rem; border: 0; background: none; color: var(--teal-800); font-family: var(--f-head); font-weight: 600; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 0.3em; cursor: pointer; }

/* ---------- Mariposa dorada (portada y método DART) ---------- */
.bfly { position: absolute; left: 0; top: 0; z-index: 4; width: var(--bf, 60px); aspect-ratio: 200 / 184.4; pointer-events: none; perspective: 420px; will-change: transform; }
.bfly__body { position: absolute; inset: 0; transform-style: preserve-3d; }
.bfly__w { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform-origin: 58% 55.64%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25)); }
.bfly.is-flying .bfly__w--up { animation: wing-up 0.2s ease-in-out infinite alternate; }
.bfly.is-flying .bfly__w--lo { animation: wing-lo 0.2s ease-in-out infinite alternate; }
.bfly.is-flutter .bfly__w--up { animation: wing-up 0.18s ease-in-out 6 alternate; }
.bfly.is-flutter .bfly__w--lo { animation: wing-lo 0.18s ease-in-out 6 alternate; }
@keyframes wing-up { to { transform: rotate3d(0.53, 0.848, 0, 66deg); } }
@keyframes wing-lo { to { transform: rotate3d(0.53, 0.848, 0, -66deg); } }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; color: var(--cream); background: var(--ink); border-bottom: 1px solid rgba(247, 220, 154, 0.14); }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.6); }
@media (max-height: 520px) { .site-header { position: relative; } html { scroll-padding-top: 16px; } }
.site-header__inner { display: flex; align-items: center; gap: 0.6rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; margin-right: auto; color: var(--cream); text-decoration: none; }
.brand__bfly { width: 32px; flex: none; }
.brand__bfly svg { width: 100%; height: auto; }
.brand__name { display: flex; flex-direction: column; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.82rem; line-height: 1.15; color: var(--gold-soft); }
.lang-switch { order: 2; display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 0.5rem; border: 1px solid rgba(247, 241, 228, 0.3); border-radius: var(--r-sm); color: var(--cream); font-family: var(--f-head); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-decoration: none; }
.lang-switch:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.site-nav { order: 4; }
.site-header__cta { order: 3; }
.site-nav__toggle { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 44px; min-height: 44px; padding: 0 0.75rem; border: 1px solid rgba(247, 241, 228, 0.3); border-radius: var(--r-sm); background: transparent; color: var(--cream); font-family: var(--f-head); font-weight: 600; cursor: pointer; }
.site-nav__toggle-icon, .site-nav__toggle-icon::before, .site-nav__toggle-icon::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.25s var(--ease), background-color 0.2s; }
.site-nav__toggle-icon { position: relative; }
.site-nav__toggle-icon::before, .site-nav__toggle-icon::after { content: ""; position: absolute; left: 0; }
.site-nav__toggle-icon::before { top: -6px; }
.site-nav__toggle-icon::after { top: 6px; }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-icon { background: transparent; }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-icon::before { transform: translateY(6px) rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list a { display: flex; align-items: center; min-height: 48px; color: var(--cream); font-family: var(--f-head); font-weight: 500; text-decoration: none; }
.site-nav__list a:hover { color: var(--gold-soft); }
.site-nav__lang a { color: var(--gold-soft); }
@media (max-width: 1199px) {
  .js .site-nav__list { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 0.5rem var(--gutter) 1.25rem; background: var(--ink); border-bottom: 1px solid rgba(247, 220, 154, 0.2); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .js .site-nav__toggle[aria-expanded="true"] + .site-nav__list { display: block; }
  .site-nav__list li + li a { border-top: 1px solid var(--line-dark); }
  .site-nav__list a { font-size: 1.05rem; }
  .no-js .site-nav__toggle { display: none; }
  .no-js .site-header__inner { flex-wrap: wrap; }
  .no-js .site-nav { order: 5; width: 100%; }
  .no-js .site-nav__list { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
  .no-js .site-nav__list li + li a { border: 0; }
}
@media (max-width: 459px) {
  .hide-narrow { display: none; }
  .site-header__inner { gap: 0.4rem; }
  .brand__name { font-size: 0.7rem; letter-spacing: 0.1em; }
  .brand__bfly { width: 26px; }
  .site-header__cta { padding: 0.45rem 0.8rem; }
  .site-nav__toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 419px) { .lang-switch { display: none; } }
@media (min-width: 420px) { .site-nav__lang { display: none; } }
@media (min-width: 1200px) {
  .site-nav, .site-header__cta, .lang-switch { order: 0; }
  .site-nav__toggle { display: none; }
  .site-nav__list { display: flex; gap: 0.15rem; margin-right: 0.5rem; }
  .site-nav__list a { position: relative; padding: 0 0.7rem; min-height: 44px; font-size: 0.9rem; }
  .site-nav__list a::after { content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 8px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
  .site-nav__list a:hover::after, .site-nav__list a:focus-visible::after { transform: scaleX(1); }
}

/* Progreso de lectura (EXPERIMENTAL) */
.read-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--gold); transform-origin: left center; transform: scaleX(var(--p, 0)); }

/* ---------- 1 · Portada fotográfica ---------- */
.hero { position: relative; isolation: isolate; background: var(--ink); color: var(--cream); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(3, 38, 42, 0.55) 0%, rgba(3, 38, 42, 0.8) 100%), var(--watercolor) 70% 100% / cover no-repeat; }
.hero__media { position: relative; aspect-ratio: 4 / 3; max-height: 62vh; width: 100%; }
.hero__media picture, .hero__photo { width: 100%; height: 100%; }
.hero__photo { object-fit: cover; object-position: 48% 22%; }
.hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3, 38, 42, 0) 55%, rgba(3, 38, 42, 0.85) 92%, var(--ink) 100%); }
.hero__book { position: absolute; z-index: 2; left: var(--gutter); bottom: -2.25rem; width: clamp(92px, 25vw, 150px); }
.hero__book img { width: 100%; border-radius: 2px 4px 4px 2px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 24px 40px -16px rgba(0, 0, 0, 0.7); }
.hero__bfly-stage { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero__bfly-stage .bfly { pointer-events: auto; cursor: pointer; --bf: clamp(40px, 6vw, 60px); }
.hero__grid { position: relative; z-index: 1; }
.hero__text { padding-block: 3.5rem 3.75rem; }
.hero__title { font-size: var(--fs-3xl); font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; color: var(--cream); max-width: 15ch; }
.hero__title:lang(en) { max-width: 17ch; }
.hero__accent { color: var(--gold-soft); }
.hero__lead { margin-top: 1.25rem; font-size: var(--fs-lg); line-height: 1.6; color: var(--mist); max-width: 34em; }
.hero__lead cite { color: var(--cream); }
.hero__aside { margin-top: 1.25rem; font-size: var(--fs-sm); color: var(--mist); }
.hero__aside a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-head); font-weight: 600; color: var(--gold-soft) !important; }
@media (min-width: 1200px) {
  /* La foto completa, centrada en vertical y fundida en la acuarela de la portada: no se recorta a ninguna autora */
  .hero { min-height: min(calc(100vh - var(--header-h)), 800px); display: flex; }
  .hero::before { background: linear-gradient(90deg, rgba(3, 38, 42, 0.9) 0%, rgba(3, 38, 42, 0.62) 45%, rgba(3, 38, 42, 0.35) 100%), var(--watercolor) right center / cover no-repeat; }
  .hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; aspect-ratio: auto; max-height: none; display: flex; align-items: center; --frame-h: min(100%, 62vw / 1.45); }
  .hero__media picture { width: 100%; height: var(--frame-h); }
  .hero__photo { height: 100%; object-position: 50% 30%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%), linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 16%), linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%); mask-composite: intersect; }
  .hero__media::after { display: none; }
  .hero__book { left: 13%; bottom: calc((100% - var(--frame-h)) / 2 + 4%); width: clamp(130px, 11vw, 180px); }
  .hero__grid { display: flex; align-items: center; }
  .hero__text { width: 40%; max-width: 31rem; padding-block: 4.5rem; padding-right: 1.5rem; }
  .hero__title { font-size: clamp(2.2rem, 0.5rem + 3.2vw, 3.6rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero__photo { animation: settle 1.6s var(--ease) both; }
  .js .hero__text > * { animation: rise 0.8s var(--ease) both; }
  .js .hero__text > :nth-child(2) { animation-delay: 0.08s; }
  .js .hero__text > :nth-child(3) { animation-delay: 0.16s; }
  .js .hero__text > :nth-child(4) { animation-delay: 0.24s; }
  .js .hero__text > :nth-child(5) { animation-delay: 0.32s; }
  .js .hero__book { animation: rise 1s 0.3s var(--ease) both; }
}
@keyframes settle { from { transform: scale(1.04); } to { transform: none; } }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }

/* ---------- 2 · Trayectoria ---------- */
.strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.strip__list { list-style: none; padding: 0; display: grid; }
.strip__item { display: grid; align-content: start; gap: 0.2rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.strip__item:first-child { border-top: 0; }
.strip__item strong { font-family: var(--f-head); font-weight: 700; font-size: var(--fs-xl); color: var(--teal-900); line-height: 1.2; }
.strip__item span { font-size: var(--fs-sm); color: var(--muted); }
@media (min-width: 768px) {
  .strip__list { grid-template-columns: repeat(3, 1fr); }
  .strip__item { padding: 2.25rem 2rem; border-top: 0; border-left: 1px solid var(--line); }
  .strip__item:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- 3 · La idea: escena del video (EXPERIMENTAL) ----------
   Edificio y gráfica tensión-transformación dibujados en SVG por main.js.
   El texto va sobre --sci-2 o sobre tarjetas petróleo: contraste ≥ 4,5:1. */
.science { position: relative; isolation: isolate; color: #fff; padding-top: var(--space-section); overflow-x: hidden;
  background: radial-gradient(110% 80% at 72% 38%, var(--sci-1) 0%, var(--sci-2) 52%, var(--sci-3) 100%); }
@supports (overflow: clip) { .science { overflow-x: clip; } }
.science .section-title, .science .section-title em { color: #fff; }
.science .section-lead { color: var(--tint); }
.eyebrow--light { color: var(--tint); }
.science__head { position: relative; z-index: 2; }
.science__motif span, .bookflip__motif span { position: absolute; z-index: -1; pointer-events: none; background: rgba(137, 209, 204, 0.07); }
.science__motif span:nth-child(1) { width: 34vw; height: 34vw; right: -6vw; top: -4vw; }
.science__motif span:nth-child(2) { width: 18vw; height: 18vw; right: 12vw; top: 22vw; }
.science__motif span:nth-child(3) { width: 26vw; height: 26vw; left: -8vw; bottom: 8vw; }
@media (prefers-reduced-motion: no-preference) {
  .science__motif span, .bookflip__motif span { animation: drift 28s ease-in-out infinite alternate; }
  .science__motif span:nth-child(2), .bookflip__motif span:nth-child(2) { animation-duration: 34s; animation-direction: alternate-reverse; }
}
@keyframes drift { to { transform: translate3d(2vw, 1.5vw, 0); } }
.science__scroller { position: relative; }
.science__stage { position: sticky; top: var(--header-h); z-index: 2; height: min(52svh, 520px); background: linear-gradient(180deg, var(--sci-1) 0%, var(--sci-2) 100%); border-bottom: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 16px 24px -20px rgba(0, 0, 0, 0.5); }
.science__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.science__steps { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0 var(--gutter); }
.science__step { min-height: 56svh; display: flex; align-items: flex-start; padding-top: 2rem; }
.science__step:first-child { padding-top: 34svh; min-height: 82svh; }
.science__step:last-child { min-height: 90svh; }
.science__card { width: 100%; max-width: 34rem; }
.science__kicker { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; font-family: var(--f-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tint); }
.science__kicker::before { content: ""; width: 1.5rem; height: 1.5px; background: currentColor; }
.science__chip { display: inline-block; padding: 0.15em 0.4em 0.1em; background: #fff; color: var(--teal-900); font-size: var(--fs-2xl); font-weight: 800; letter-spacing: 0.01em; text-transform: uppercase; line-height: 1.05; }
.science__chip--aqua { background: var(--aqua); }
.science__lede { margin-top: 0.6rem; font-size: var(--fs-xl); font-style: italic; line-height: 1.35; color: #fff; }
.science__card > p:not([class]) { margin-top: 0.75rem; color: #fff; }
.science__card strong { color: #fff; }
.science__big { font-size: var(--fs-2xl); font-weight: 700; line-height: 1.12; color: #fff; }
.science__big span { display: block; color: var(--aqua); }
.science__quote { margin-top: 0.9rem; padding-left: 1rem; border-left: 3px solid var(--gold); }
.science__quote p { font-size: var(--fs-lg); line-height: 1.5; color: #fff; }
.science__quote footer { margin-top: 0.6rem; font-size: var(--fs-sm); color: var(--gold-soft); }
.no-js .science__stage { display: none; }
.no-js .science__steps { padding-bottom: var(--space-section); }
.no-js .science__step { min-height: 0; padding: 0 0 1.5rem; }
@media (min-width: 960px) {
  .science__scroller { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
  .science__stage { grid-column: 2; grid-row: 1; height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); background: none; border: 0; box-shadow: none; }
  .science__steps { grid-column: 1; grid-row: 1; padding: 0; }
  .science__step, .science__step:first-child { min-height: 88vh; align-items: center; padding: 0; }
  .science__step:last-child { min-height: 135vh; align-items: flex-start; padding-top: 30vh; }
  .science__card > p:not([class]) { font-size: var(--fs-lg); }
}
/* Elementos del SVG */
.sci-ground { stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.5; }
.sci-city rect { fill: rgba(137, 209, 204, 0.06); stroke: rgba(255, 255, 255, 0.13); stroke-width: 1.2; }
.sci-city line { stroke: rgba(255, 255, 255, 0.1); stroke-width: 3; }
.sci-wind path { fill: none; stroke: rgba(255, 255, 255, 0.4); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 160 420; }
@media (prefers-reduced-motion: no-preference) { .sci-wind path { animation: wind 3.2s linear infinite; } .sci-wind path:nth-child(2n) { animation-duration: 4.1s; } .sci-wind path:nth-child(3n) { animation-duration: 2.7s; } }
@keyframes wind { from { stroke-dashoffset: 580; } to { stroke-dashoffset: 0; } }
.sci-mod-front { stroke: rgba(5, 59, 69, 0.4); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.sci-mod-side { fill: #79C1C2; stroke: rgba(5, 59, 69, 0.28); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sci-mod-top { fill: #F2FAF9; stroke: rgba(5, 59, 69, 0.28); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sci-mod-glass { fill: url(#sci-glass); }
.sci-mod-mull { fill: none; stroke: rgba(255, 255, 255, 0.4); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sci-core { fill: none; stroke: #fff; stroke-width: 2; filter: url(#sci-glow); }
.sci-antenna { stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.5; }
.sci-beacon { fill: #fff; filter: url(#sci-glow); }
.sci-axis { fill: none; stroke: rgba(255, 255, 255, 0.9); stroke-width: 1.6; }
.sci-label { fill: #fff; font-family: var(--f-head); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.sci-note { fill: var(--tint); font-family: var(--f-body); font-style: italic; }
.sci-ghost { fill: none; stroke: rgba(255, 255, 255, 0.3); stroke-width: 1.5; stroke-dasharray: 4 6; }
.sci-trail { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; filter: url(#sci-glow); }
.sci-region-e { fill: rgba(255, 255, 255, 0.07); }
.sci-region-p { fill: rgba(137, 209, 204, 0.14); }
.sci-umbral { stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.2; stroke-dasharray: 3 5; }
.sci-unload { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 2; stroke-dasharray: 6 5; }
.sci-dot { fill: #fff; filter: url(#sci-glow); }
.sci-chip rect { fill: #fff; }
.sci-chip text { fill: var(--teal-900); font-family: var(--f-head); font-weight: 700; letter-spacing: 0.08em; }
.sci-chip--aqua rect { fill: var(--aqua); }
.sci-chip--rasp rect { fill: var(--rasp); }
.sci-chip--rasp text { fill: #fff; }
.sci-arc { fill: none; stroke: rgba(255, 255, 255, 0.6); stroke-width: 1.5; stroke-dasharray: 2 6; }

/* Situaciones (sección propia) */
.situations-section { padding-top: clamp(3.5rem, 2.5rem + 3vw, 5rem); }
.situations__title { font-size: var(--fs-xl); font-weight: 700; color: var(--teal-900); margin-bottom: 1.5rem; }
.situations__list { list-style: none; padding: 0; display: grid; gap: 0 2.5rem; counter-reset: sit; }
@media (min-width: 768px) { .situations__list { grid-template-columns: repeat(3, 1fr); } }
.situations__list li { counter-increment: sit; padding: 1.25rem 0 1.5rem; border-top: 1px solid var(--line); }
.situations__list li::before { content: "0" counter(sit); display: block; font-family: var(--f-head); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.08em; color: var(--bronze); margin-bottom: 0.5rem; }
.situations__name { font-family: var(--f-head); font-weight: 600; color: var(--teal-900); margin-bottom: 0.35rem; font-size: var(--fs-lg); line-height: 1.3; }
.situations__list p:not(.situations__name) { color: var(--muted); font-size: var(--fs-base); }

/* ---------- 4 · Método DART ---------- */
.dart { position: relative; display: grid; gap: 2.5rem; --c: var(--c-d); }
.dart[data-active="1"] { --c: var(--c-a); }
.dart[data-active="2"] { --c: var(--c-r); }
.dart[data-active="3"] { --c: var(--c-t); }
@media (min-width: 960px) { .dart { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; } .cycle { position: sticky; top: calc(var(--header-h) + 2rem); } }
.dart__main { min-width: 0; }
/* Ciclo DART con diana (EXPERIMENTAL, del video): un mapa flexible, no una secuencia obligatoria */
.cycle { width: 100%; max-width: 400px; margin-inline: auto; }
.cycle__svg { display: block; width: 100%; height: auto; overflow: visible; }
.cycle__halo { fill: none; stroke: rgba(255, 255, 255, 0.05); stroke-width: 46; }
.cycle__step { --c: var(--c-d); cursor: pointer; }
.cycle__step--a { --c: var(--c-a); }
.cycle__step--r { --c: var(--c-r); }
.cycle__step--t { --c: var(--c-t); }
.cycle__arc { fill: none; stroke: var(--c); stroke-width: 16; stroke-dasharray: 100; stroke-dashoffset: 0; opacity: 0.42; transition: opacity 0.3s, stroke-width 0.3s var(--ease); }
.cycle__head { fill: var(--c); opacity: 0.42; transition: opacity 0.3s; }
.cycle__step.is-active .cycle__arc { opacity: 1; stroke-width: 20; }
.cycle__step.is-active .cycle__head { opacity: 1; }
.cycle__step:hover .cycle__arc, .cycle__step:hover .cycle__head { opacity: 0.8; }
.cycle__letter { fill: var(--c); font-family: var(--f-head); font-size: 24px; font-weight: 700; text-anchor: middle; dominant-baseline: central; }
.cycle__pin circle { fill: var(--ink); stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.5; }
.cycle__pin text { fill: #fff; font-family: var(--f-head); font-size: 11px; font-weight: 600; text-anchor: middle; dominant-baseline: central; }
.cycle__step.is-active .cycle__pin circle { fill: var(--c); stroke: #fff; }
.cycle__step.is-active .cycle__pin text { fill: var(--ink); }
.cycle__board { fill: #0A4B4F; stroke: rgba(255, 255, 255, 0.18); stroke-width: 2; }
.cycle__ring { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 3; }
.cycle__bull { fill: #fff; }
.cycle__tip { fill: none; stroke: #E6EEF0; stroke-width: 2.5; stroke-linecap: round; }
.cycle__barrel { fill: none; stroke: #C9D6D8; stroke-width: 9; stroke-linecap: round; }
.cycle__shaft { fill: none; stroke: #E6EEF0; stroke-width: 4; stroke-linecap: round; }
.cycle__flight { fill: var(--rasp); }
.cycle__flight--b { fill: #9E1F42; }
.cycle__dart, .cycle__dart-body { transform-box: view-box; transform-origin: 200px 200px; }
@media (prefers-reduced-motion: no-preference) {
  .js .cycle:not(.is-thrown) .cycle__arc { stroke-dashoffset: 100; }
  .js .cycle:not(.is-thrown) .cycle__head, .js .cycle:not(.is-thrown) .cycle__pin, .js .cycle:not(.is-thrown) .cycle__letter { opacity: 0; }
  .js .cycle:not(.is-thrown) .cycle__dart { opacity: 0; transform: translate(-150px, -150px) scale(1.25); }
  .cycle.is-thrown .cycle__arc { transition: stroke-dashoffset 0.9s var(--ease), opacity 0.3s, stroke-width 0.3s var(--ease); }
  .cycle.is-thrown .cycle__step--a .cycle__arc { transition-delay: 0.15s, 0s, 0s; }
  .cycle.is-thrown .cycle__step--r .cycle__arc { transition-delay: 0.3s, 0s, 0s; }
  .cycle.is-thrown .cycle__step--t .cycle__arc { transition-delay: 0.45s, 0s, 0s; }
  .cycle.is-thrown .cycle__pin, .cycle.is-thrown .cycle__letter { transition: opacity 0.4s 0.6s; }
  .cycle.is-thrown .cycle__dart { transition: transform 0.55s 1s cubic-bezier(0.3, 0.7, 0.35, 1), opacity 0.2s 1s; }
  .cycle.is-hit .cycle__dart-body { animation: wobble 0.6s ease-out; }
}
@keyframes wobble { 20% { transform: rotate(-4deg); } 45% { transform: rotate(3deg); } 70% { transform: rotate(-1.5deg); } 100% { transform: none; } }
.dart__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin-top: 0.5rem; border-bottom: 1px solid var(--line-dark); }
.dart__tab { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; min-height: 72px; padding: 0.6rem 0.25rem 0.9rem; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: transparent; color: var(--mist); cursor: pointer; text-align: center; transition: color 0.2s, border-color 0.2s; }
.dart__tab:hover { color: var(--cream); }
.dart__tab[aria-selected="true"] { color: var(--cream); border-bottom-color: var(--c); }
.dart__letter { font-family: var(--f-head); font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); font-weight: 700; line-height: 1; color: var(--gold-soft); }
.dart__tab:nth-child(1) .dart__letter { color: var(--c-d); }
.dart__tab:nth-child(2) .dart__letter { color: var(--c-a); }
.dart__tab:nth-child(3) .dart__letter { color: var(--c-r); }
.dart__tab:nth-child(4) .dart__letter { color: var(--c-t); }
.dart__tab:not([aria-selected="true"]) .dart__letter { opacity: 0.55; }
.dart__tab-name { font-family: var(--f-head); font-size: var(--fs-xs); font-weight: 600; line-height: 1.25; }
@media (max-width: 599px) { .dart__tab-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.dart__panels { margin-top: 2rem; }
.dart__panel { display: grid; gap: 1rem 3rem; }
.dart__panel + .dart__panel { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line-dark); }
.js .dart--tabs .dart__panel + .dart__panel { margin-top: 0; padding-top: 0; border-top: 0; }
.dart__panel[hidden] { display: none; }
.dart__panel h3 { font-size: var(--fs-2xl); font-weight: 700; color: var(--cream); letter-spacing: -0.015em; }
.dart__desc { max-width: 36em; font-size: var(--fs-lg); line-height: 1.6; color: var(--cream); }
.dart__step { font-family: var(--f-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c); display: flex; align-items: center; gap: 0.4rem; }
.dart__big { display: none; }
.dart__guide { padding-left: 1.25rem; border-left: 3px solid var(--c); font-size: var(--fs-xl); font-style: italic; line-height: 1.4; color: var(--gold-soft); max-width: 32em; }
.dart__guide span { display: block; margin-bottom: 0.35rem; font-family: var(--f-head); font-size: var(--fs-xs); font-style: normal; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--turq-300); }
.dart__book { color: var(--mist); font-size: var(--fs-sm); max-width: 40em; }
.dart__book span { white-space: nowrap; }
.dart__panel .text-link { justify-self: start; }
.dart--enter .dart__panel:not([hidden]) > * { animation: panel-in 0.45s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dart__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); }
.dart__foot p { max-width: 44em; color: var(--mist); font-size: var(--fs-sm); }

/* ---------- 5 · DART para personas ---------- */
.audience__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); align-items: center; }
@media (min-width: 1024px) { .audience__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.audience__media { position: relative; max-width: 400px; width: 100%; margin-inline: auto; }
.audience__media img { position: relative; z-index: 1; width: 100%; }
.audience__media--art { padding: 12px; background: #fff; border-radius: var(--r-sm); box-shadow: var(--shadow-lg); transform: rotate(-2deg); transition: transform 0.5s var(--ease); }
.audience__media--art:hover { transform: rotate(0deg) scale(1.01); }
.audience__media--art img { border-radius: 2px; }
.steps { list-style: none; padding: 0; display: grid; gap: 0 2.5rem; margin-top: 2rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.step { padding: 1.25rem 0 1.4rem; border-top: 1px solid var(--line); }
.step__letter { display: block; font-family: var(--f-head); font-size: 1.75rem; font-weight: 700; line-height: 1; margin-bottom: 0.5rem; color: var(--turq-600); }
.step__title { font-size: var(--fs-lg); font-weight: 600; line-height: 1.3; margin-bottom: 0.35rem; color: var(--teal-900); }
.step p { font-size: var(--fs-base); line-height: 1.6; color: var(--muted); }
.step__q { margin-top: 0.6rem; font-style: italic; color: var(--bronze) !important; }

/* ---------- 6 · DART para organizaciones ---------- */
.org__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: start; }
@media (min-width: 1024px) { .org__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.org__body { margin-top: 1.25rem; color: var(--ink); max-width: 36em; }
.org__intro .btn { margin-top: 1.75rem; }
.org__steps { list-style: none; padding: 0; }
.org__step { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1.25rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.org__step:last-child { border-bottom: 1px solid var(--line); }
.org__letter { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid var(--teal-900); font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; color: var(--teal-900); }
.org__step h3 { font-size: var(--fs-lg); font-weight: 600; color: var(--teal-900); margin-bottom: 0.3rem; }
.org__step p { color: var(--muted); }
.org__q { margin-top: 0.4rem; font-size: var(--fs-sm); font-style: italic; color: var(--bronze) !important; }

/* ---------- 7 · El libro que pasa páginas (EXPERIMENTAL) ---------- */
.bookflip { position: relative; isolation: isolate; padding-top: var(--space-section); padding-bottom: var(--space-section); background: var(--grain), linear-gradient(180deg, #E9F5F3 0%, var(--tint) 45%, #EAF5F2 100%); overflow-x: hidden; }
@supports (overflow: clip) { .bookflip { overflow-x: clip; } }
.bookflip__motif span:nth-child(1) { width: 30vw; height: 30vw; left: -8vw; top: 6rem; }
.bookflip__motif span:nth-child(2) { width: 20vw; height: 20vw; right: -4vw; top: 40%; }
.bookflip__motif span { background: rgba(12, 127, 135, 0.06); }
.bookflip__head { text-align: center; }
.bookflip__head .section-title { max-width: 22ch; margin-inline: auto; }
.bookflip__head .section-lead { margin-inline: auto; }
.book__subtitle { margin-top: 0.9rem; font-size: var(--fs-lg); font-style: italic; color: var(--bronze); }
/* Sin JavaScript: tira horizontal de páginas */
.flip { margin-top: 2.5rem; }
.flip__pages { list-style: none; margin: 0; padding: 0 var(--gutter) 1rem; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.flip__page { flex: 0 0 min(62vw, 240px); scroll-snap-align: center; background: #fff; box-shadow: var(--shadow-sm); }
.flip__page img { display: block; width: 100%; height: auto; }
.flip__end { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8em; height: 100%; min-height: 200px; padding: 12%; text-align: center; background: var(--cream); }
.flip__end-bfly { width: 26%; }
.flip__end-title { font-family: var(--f-head); font-weight: 700; color: var(--teal-900); line-height: 1.2; }
/* Con JavaScript: libro en 3D */
.flip--ready { height: calc(var(--turns, 7) * 52vh + 100vh); margin-top: 1rem; }
.flip--ready.flip--static { height: auto; }
.flip--ready .flip__stage { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; padding-inline: var(--gutter); }
.flip--static .flip__stage { position: relative; top: auto; height: auto; padding-block: 1rem; }
.flip--ready .flip__book { position: relative; width: calc(var(--pw, 300px) * 2); height: var(--ph, 450px); perspective: calc(var(--pw, 300px) * 6); transform: translateX(var(--shift, 0px)); }
.flip--ready .flip__pages { position: absolute; inset: 0; display: block; overflow: visible; padding: 0; }
.flip__shadow { position: absolute; top: 3%; bottom: -2%; left: calc(50% - var(--open, 0) * 50%); right: 0; border-radius: 6px; box-shadow: 0 30px 50px -18px rgba(3, 38, 42, 0.5), 0 10px 18px -10px rgba(3, 38, 42, 0.35); }
.flip__base { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; }
.flip__base .flip__end { border-radius: 0 3px 3px 0; font-size: calc(var(--pw, 300px) * 0.062); }
.flip__base .flip__end .btn { font-size: max(12px, calc(var(--pw, 300px) * 0.045)); min-height: 44px; }
.flip__base::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(3, 38, 42, 0.16), rgba(3, 38, 42, 0) 9%); }
.flip__leaf { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-origin: 0 50%; transform-style: preserve-3d; transform: rotateY(var(--a, 0deg)); will-change: transform; }
.flip__face { position: absolute; inset: 0; overflow: hidden; background: #fff; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flip__face--front { border-radius: 0 3px 3px 0; }
.flip__face--back { transform: rotateY(180deg); border-radius: 3px 0 0 3px; }
.flip__face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.flip__face--front::after, .flip__face--back::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.flip__face--front::after { background: linear-gradient(90deg, rgba(3, 38, 42, 0.18), rgba(3, 38, 42, 0) 8%), linear-gradient(90deg, rgba(3, 38, 42, 0) 40%, rgba(3, 38, 42, var(--shade, 0))); }
.flip__face--back::after { background: linear-gradient(270deg, rgba(3, 38, 42, 0.18), rgba(3, 38, 42, 0) 8%), linear-gradient(270deg, rgba(3, 38, 42, 0) 40%, rgba(3, 38, 42, var(--shade, 0))); }
.flip__leaf--cover .flip__face--front { border-radius: 2px 5px 5px 2px; }
.flip__leaf--cover .flip__face--front::after { background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.2) 2.5%, rgba(255, 255, 255, 0.06) 4%, rgba(0, 0, 0, 0) 9%); }
.flip__ui { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 0.75rem; width: min(100%, 44rem); }
.flip__ui[hidden] { display: none; }
.flip__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--teal-900); border-radius: 50%; background: #fff; color: var(--teal-900); cursor: pointer; transition: background-color 0.2s, color 0.2s, opacity 0.2s; }
.flip__btn:hover:not(:disabled) { background: var(--teal-900); color: #fff; }
.flip__btn:disabled { opacity: 0.35; cursor: default; }
.flip__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.flip__caption { min-height: 3.1em; font-size: var(--fs-sm); line-height: 1.45; text-align: center; color: var(--ink); }
.flip__caption cite { font-style: italic; }
.flip__count { display: block; margin-top: 0.15rem; font-family: var(--f-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; color: var(--bronze); }
/* Detalles del libro */
.book { display: grid; gap: 2rem clamp(3rem, 2rem + 4vw, 5rem); margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); align-items: start; }
@media (min-width: 960px) { .book { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.book__wings { margin-top: 1.75rem; padding-left: 1.25rem; border-left: 3px solid var(--gold); font-family: var(--f-head); font-size: var(--fs-lg); font-weight: 600; line-height: 1.45; color: var(--teal-900); }
.book__wings span { display: block; font-family: var(--f-body); font-weight: 400; color: var(--muted); }
.book__cols { display: grid; gap: 2rem 3rem; }
@media (min-width: 720px) { .book__cols { grid-template-columns: 1fr 1fr; } }
.book__cols h3 { font-size: var(--fs-xs); font-weight: 600; color: var(--bronze); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.16em; }
.tick-list, .parts-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 1.4rem; }
.tick-list li + li { margin-top: 0.6rem; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 50%; background: var(--sci-1); }
.parts-list li { display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.5rem; padding: 0.65rem 0; border-top: 1px solid var(--line); }
.parts-list__n { font-family: var(--f-head); font-weight: 600; color: var(--teal-800); }
.book__buy { display: grid; gap: 0.75rem; margin-top: 2.5rem; justify-items: start; }

/* ---------- 8 · Autoras ---------- */
.authors__intro { display: grid; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(3rem, 2rem + 3vw, 4.5rem); }
.authors__intro .section-head { margin-bottom: 0; }
.authors__photo { max-width: 380px; width: 100%; }
.authors__photo img { width: 100%; border-radius: var(--r-lg); }
@media (min-width: 960px) { .authors__intro { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .authors__photo { justify-self: end; } }
.authors__grid { display: grid; gap: 0 4rem; }
@media (min-width: 1024px) { .authors__grid { grid-template-columns: 1fr 1fr; } }
.author { display: grid; grid-template-columns: minmax(96px, 32%) minmax(0, 1fr); grid-template-areas: "photo head" "body body"; gap: 1.25rem; align-items: end; padding: 2rem 0; border-top: 1px solid var(--line); }
.author__photo { grid-area: photo; }
.author__photo img { width: 100%; border-radius: var(--r-lg); }
.author__head { grid-area: head; }
.author__body { grid-area: body; }
.author h3 { font-size: var(--fs-xl); font-weight: 700; color: var(--teal-900); }
.author__role { margin-top: 0.35rem; font-size: var(--fs-sm); line-height: 1.45; color: var(--bronze); }
.linkedin { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; margin-top: 0.75rem; padding: 0.4rem 0.9rem; border-radius: var(--r-sm); border: 1.5px solid var(--teal-900); color: var(--teal-900) !important; font-family: var(--f-head); font-weight: 600; font-size: 0.88rem; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.linkedin:hover { background: var(--teal-900); color: var(--cream) !important; }
.linkedin svg { width: 16px; height: 16px; fill: currentColor; }
.credentials { list-style: none; padding: 0; margin-top: 1.1rem; font-size: var(--fs-sm); color: var(--muted); }
.credentials li { padding: 0.5rem 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) {
  .author { grid-template-columns: 160px minmax(0, 1fr); grid-template-areas: "photo head" "photo body"; align-items: start; gap: 0.75rem 1.75rem; }
  .author__head { align-self: end; }
}
.disclosure { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; margin-top: 0.75rem; padding: 0.4rem 0; border: 0; background: none; color: var(--teal-800); font-family: var(--f-head); font-weight: 600; font-size: 0.95rem; cursor: pointer; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.disclosure::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform 0.25s var(--ease); }
.disclosure[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
.bio-full { margin-top: 0.75rem; padding-left: 1rem; border-left: 2px solid var(--gold-soft); font-size: var(--fs-base); }
.bio-full p + p { margin-top: 0.85em; }
.bio-full[hidden] { display: none; }

/* ---------- 9 · Meditaciones ---------- */
.meditations { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .meditations { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; } .player { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.player { border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; background: rgba(3, 38, 42, 0.45); }
.player[hidden] { display: none; }
.player__screen { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.player__poster { position: absolute; inset: 0; display: grid; place-items: center; background: url("../img/textura-portada-960.webp") center / cover; }
.player__poster-letter { font-family: var(--f-head); font-size: clamp(4rem, 3rem + 5vw, 6.5rem); font-weight: 700; line-height: 1; color: var(--gold-soft); }
.player__frame, .player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player.is-loaded .player__poster { display: none; }
.player__bar { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "toggle info" "progress progress"; gap: 0.9rem 1rem; align-items: center; padding: 1.1rem 1.1rem 0.6rem; }
.player__toggle { grid-area: toggle; position: relative; display: grid; place-items: center; width: 56px; height: 56px; border: 0; border-radius: 50%; background: var(--gold); color: var(--ink); cursor: pointer; transition: background-color 0.2s; }
.player__toggle:hover { background: #F4C46B; }
.player__toggle svg { width: 24px; height: 24px; fill: currentColor; }
.player__toggle .i-pause, .player__spinner { display: none; }
.player.is-playing .player__toggle .i-play { display: none; }
.player.is-playing .player__toggle .i-pause { display: block; }
.player.is-loading .player__toggle svg { display: none; }
.player.is-loading .player__spinner { display: block; width: 22px; height: 22px; border: 3px solid rgba(3, 38, 42, 0.25); border-top-color: var(--ink); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.player__info { grid-area: info; min-width: 0; }
.player__now { font-family: var(--f-head); font-size: var(--fs-lg); font-weight: 600; line-height: 1.25; color: var(--cream); }
.player__now-letter { color: var(--gold-soft); margin-right: 0.15rem; }
.player__status { font-size: var(--fs-sm); color: var(--mist); margin-top: 0.15rem; }
.player__progress { grid-area: progress; display: flex; align-items: center; gap: 0.9rem; }
.player__time { font-variant-numeric: tabular-nums; font-size: var(--fs-sm); color: var(--mist); white-space: nowrap; }
.player__fineprint { padding: 0.25rem 1.1rem 1.1rem; font-size: var(--fs-xs); line-height: 1.5; color: var(--mist); }
@media (min-width: 640px) { .player__bar { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.4fr); grid-template-areas: "toggle info progress"; } }
.player__range { flex: 1; min-width: 0; height: 44px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --pct: 0%; }
.player__range:disabled { cursor: default; opacity: 0.5; }
.player__range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--gold) var(--pct), rgba(221, 231, 223, 0.3) var(--pct)); }
.player__range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(221, 231, 223, 0.3); }
.player__range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--gold); }
.player__range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: var(--gold-soft); border: 0; }
.player__range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--gold-soft); border: 0; }
.player__range:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }
.tracks { list-style: none; padding: 0; border-top: 1px solid var(--line-dark); }
.tracks > li { border-bottom: 1px solid var(--line-dark); }
.track { display: grid; padding: 0.25rem 0 0.5rem; }
.track__select, .no-js .track { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.track__select { width: 100%; padding: 1rem 0.75rem; border: 0; border-left: 3px solid transparent; border-radius: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.track__select:hover { background: rgba(247, 241, 228, 0.05); }
.track__select[aria-current="true"] { border-left-color: var(--gold); background: rgba(247, 241, 228, 0.06); }
.track__letter { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1.5px solid rgba(247, 220, 154, 0.6); font-family: var(--f-head); font-size: 1.15rem; font-weight: 700; color: var(--gold-soft); }
.track__select[aria-current="true"] .track__letter { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.track__body { display: grid; gap: 0.2rem; }
.track__title { font-family: var(--f-head); font-size: var(--fs-lg); font-weight: 600; color: var(--cream); }
.track__desc { color: var(--mist); font-size: var(--fs-sm); line-height: 1.5; }
.track__meta { font-size: var(--fs-xs); color: var(--mist); }
.track__dur:not(:empty)::after { content: " · "; }
.track__yt { justify-self: start; margin-left: 4.5rem; font-size: var(--fs-xs); min-height: 44px; display: inline-flex; align-items: center; }
.no-js .track__yt { grid-column: 2; margin-left: 0; }

/* Fondo en video (EXPERIMENTAL): «Underwater Footage Of Rising Bubbles», James Cheney, Pexels (licencia Pexels).
   Velo petróleo del 84–92 %: crema ≥ 7:1 y gris verdoso ≥ 5,3:1 incluso sobre el destello del sol. */
.meditations-section::before { display: none; }
.meditations__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--teal-900) url("../video/meditaciones-fondo.webp") center / cover no-repeat; }
.meditations__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.meditations__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 58, 62, 0.86) 0%, rgba(7, 58, 62, 0.84) 45%, rgba(3, 38, 42, 0.92) 100%); }
.meditations__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); }
.bg-toggle { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; padding: 0.4rem 0.95rem; border: 1px solid rgba(247, 241, 228, 0.35); border-radius: var(--r-sm); background: transparent; color: var(--cream); font-family: var(--f-head); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: border-color 0.2s; }
.bg-toggle:hover { border-color: var(--cream); }
.bg-toggle[hidden] { display: none; }
.bg-toggle svg { width: 13px; height: 13px; fill: currentColor; }
.bg-toggle .i-play, .bg-toggle.is-paused .i-pause { display: none; }
.bg-toggle.is-paused .i-play { display: block; }
.meditations__credit { margin-left: auto; font-size: var(--fs-xs); color: var(--mist); }
.meditations__credit a { color: var(--cream); }

/* ---------- 10 · Opiniones ---------- */
.testimonials .section-title { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.testimonials__grid { display: grid; gap: 0 4rem; }
@media (min-width: 900px) { .testimonials__grid { grid-template-columns: 1fr 1fr; } .testimonial--feature { grid-column: 1 / -1; } }
.testimonial { padding: 2rem 0; border-top: 1px solid var(--line); }
.testimonial blockquote p { font-size: var(--fs-lg); line-height: 1.6; color: var(--ink); }
.testimonial blockquote p + p { margin-top: 0.75em; }
.testimonial--feature blockquote { position: relative; padding-left: 1.5rem; border-left: 3px solid var(--gold); }
.testimonial--feature blockquote p { font-size: var(--fs-xl); line-height: 1.5; color: var(--teal-900); max-width: 36em; }
.testimonial figcaption { margin-top: 1rem; font-size: var(--fs-sm); color: var(--muted); }
.testimonial figcaption strong { font-family: var(--f-head); color: var(--teal-900); }
.testimonial--feature figcaption { padding-left: 1.5rem; }

/* ---------- 10b · Cierre (EXPERIMENTAL, tarjeta final del video) ---------- */
.closing { position: relative; isolation: isolate; overflow: hidden; color: var(--cream); padding-block: clamp(4.5rem, 3rem + 5vw, 7.5rem); background: radial-gradient(85% 80% at 50% 35%, #0B4A50 0%, var(--teal-900) 55%, var(--ink) 100%); }
.closing__arc { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(980px, 130vw); transform: translate(-50%, -50%); fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; opacity: 0.55; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .closing__arc path { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2.4s var(--ease); }
  .js .closing.is-in .closing__arc path { stroke-dashoffset: 0; }
}
.closing__stage { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.closing__stage .bfly { --bf: clamp(30px, 3.4vw, 44px); }
.closing__grid { display: grid; gap: 2.5rem; justify-items: center; text-align: center; }
.closing__cover { width: min(48vw, 220px); }
.closing__cover img { width: 100%; border-radius: 2px 5px 5px 2px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 30px 50px -20px rgba(0, 0, 0, 0.7); }
.closing__kicker { font-family: var(--f-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }
.closing__title { margin-top: 0.75rem; font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.4rem); text-wrap: balance; font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; color: var(--cream); }
.closing__title span { display: block; color: var(--gold-soft); font-weight: 800; }
.closing__rule { position: relative; width: 180px; height: 24px; margin: 1.25rem auto 1.5rem; }
.closing__rule span { position: absolute; left: 0; right: 28px; top: 50%; height: 1.5px; background: linear-gradient(90deg, rgba(237, 176, 78, 0), var(--gold)); }
.closing__links { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: 0.35rem; justify-items: center; font-family: var(--f-head); font-weight: 600; font-size: var(--fs-sm); }
.closing__links li { display: flex; align-items: center; gap: 0.55rem; min-height: 44px; }
.closing__links svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-soft); stroke-width: 1.6; }
.closing__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); }
.closing__authors { margin-top: 0.75rem; font-size: var(--fs-sm); color: var(--mist); }
.closing__photo { width: min(78vw, 380px); }
.closing__photo img { width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
@media (min-width: 768px) {
  .closing__grid { grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); align-items: center; justify-items: stretch; text-align: left; column-gap: clamp(2rem, 1rem + 3vw, 4rem); }
  .closing__rule { margin-inline: 0; }
  .closing__links { justify-items: start; }
  .closing__cover { width: 100%; transform: rotate(-3deg); }
  .closing__photo { grid-column: 1 / -1; justify-self: center; width: min(60vw, 360px); margin-bottom: calc(-1 * clamp(4.5rem, 3rem + 5vw, 7.5rem)); }
}
@media (min-width: 1200px) {
  .closing__grid { grid-template-columns: 240px minmax(0, 1fr) 360px; }
  .closing__photo { grid-column: auto; width: 100%; align-self: end; }
}

/* ---------- 11 · Comunidad y contacto ---------- */
.community__grid { display: grid; gap: 2.5rem 4rem; align-items: start; }
@media (min-width: 960px) { .community__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.social { list-style: none; padding: 0; margin-top: 2rem; border-top: 1px solid var(--line); }
.social li { border-bottom: 1px solid var(--line); }
.social__link { display: flex; align-items: center; gap: 1rem; min-height: 64px; padding: 0.75rem 0; text-decoration: none; color: var(--teal-900) !important; font-family: var(--f-head); font-weight: 600; }
.social__link:hover span:first-of-type { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.3em; }
.social__link svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--teal-800); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social__link small { display: block; font-family: var(--f-body); font-size: var(--fs-sm); font-weight: 400; color: var(--muted); overflow-wrap: anywhere; }
.social__link > span:not(.sr-only) { min-width: 0; }
.contact h3 { font-size: var(--fs-xl); font-weight: 700; color: var(--teal-900); margin-bottom: 0.5rem; }
@media (min-width: 960px) { .contact { padding-left: 3rem; border-left: 1px solid var(--line); } }
.contact-mail { margin-block: 1rem 0.5rem; }
.contact-mail a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-head); font-size: clamp(1.02rem, 0.92rem + 0.5vw, 1.25rem); font-weight: 600; color: var(--teal-900); overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-bottom: 1rem; }
.copy-status { font-size: var(--fs-sm); color: var(--teal-800); font-weight: 600; }

/* ---------- 12 · Preguntas frecuentes ---------- */
.faq { display: grid; gap: 2rem 5rem; }
@media (min-width: 960px) { .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 64px; padding: 1rem 0; font-family: var(--f-head); font-size: var(--fs-lg); font-weight: 600; color: var(--teal-900); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 18px; height: 18px; background: linear-gradient(var(--teal-800), var(--teal-800)) center / 14px 2px no-repeat, linear-gradient(var(--teal-800), var(--teal-800)) center / 2px 14px no-repeat; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.1rem; max-width: 42em; }
.faq details p + p { margin-top: -0.4rem; }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: var(--mist); padding-block: 4.5rem 2rem; font-size: var(--fs-sm); }
.site-footer a { color: var(--cream); }
.site-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer__bfly { display: block; width: 52px; margin-bottom: 1rem; }
.site-footer__bfly svg { width: 100%; height: auto; }
.site-footer__name { font-family: var(--f-head); font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-soft); line-height: 1.2; }
.site-footer__brand .btn { margin-top: 1.5rem; }
.site-footer .btn--gold { color: var(--ink); }
.site-footer__links, .site-footer__social { list-style: none; padding: 0; }
.site-footer__links a, .site-footer__social a, .site-footer__contact p a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; overflow-wrap: anywhere; }
.site-footer__links a:hover, .site-footer__social a:hover, .site-footer__contact p a:hover { color: var(--gold-soft); text-decoration: underline; }
.site-footer__legal { margin-top: 3rem; font-size: var(--fs-xs); }
.site-footer__legal::before { content: ""; display: block; margin-bottom: 1.5rem; border-top: 1px solid rgba(247, 220, 154, 0.16); }

/* ---------- Cursor: la mariposa (icono de la marca) ----------
   Solo con ratón o panel táctil. El punto activo es la unión de las alas (16, 16).
   Sobre enlaces y botones la mariposa lleva una pequeña diana. Con colores forzados vuelve el cursor del sistema. */
@media (hover: hover) and (pointer: fine) {
  html { cursor: url("../img/cursor-mariposa.png") 16 16, auto; cursor: image-set(url("../img/cursor-mariposa.png") 1x, url("../img/cursor-mariposa@2x.png") 2x) 16 16, auto; }
  :is(a[href], button:not(:disabled), summary, label[for], select, [role="tab"], [role="button"], input[type="range"]:not(:disabled), .cycle__step, .bfly, .btn) {
    cursor: url("../img/cursor-mariposa-activa.png") 16 16, pointer;
    cursor: image-set(url("../img/cursor-mariposa-activa.png") 1x, url("../img/cursor-mariposa-activa@2x.png") 2x) 16 16, pointer;
  }
  :is(button:disabled, input:disabled, .flip__btn:disabled, .player__range:disabled) { cursor: url("../img/cursor-mariposa.png") 16 16, default; cursor: image-set(url("../img/cursor-mariposa.png") 1x, url("../img/cursor-mariposa@2x.png") 2x) 16 16, default; }
}
@media (forced-colors: active) {
  html, :is(a[href], button, summary, label[for], select, [role="tab"], [role="button"], input, .cycle__step, .bfly, .btn) { cursor: revert; }
}

/* ---------- Apariciones suaves ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
@media (forced-colors: active) {
  .btn, .player__toggle, .dart__tab, .track__select, .lang-switch, .linkedin { border: 2px solid ButtonText; }
}
