/* ==========================================================================
   Valiente Podcast Academia - hoja de estilos principal
   Sin frameworks ni build: HTML + CSS + JS estaticos.
   Indice:
   1. Fuentes  2. Tokens  3. Base  4. Utilidades  5. Botones
   6. Encabezado y navegacion  7. Hero y cabeceras de pagina
   8. Reproductor de bienvenida  9. Secciones y componentes
   10. Podcast / Spotify  11. Articulos (prosa)  12. Pie de pagina
   13. Pagina de enlaces  14. Animaciones  15. Impresion
   ========================================================================== */

/* 1. Fuentes (autoalojadas, licencia SIL OFL en assets/fonts) ------------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-valiente-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-valiente-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
  --night-900: #120d14;
  --night-800: #1e1820;
  --night-700: #2a2030;
  --plum-700: #4a1d44;
  --plum-600: #5e2452;
  --magenta-600: #94397f;
  --magenta-500: #a8458f;
  --magenta-400: #c2559f;
  --rose-100: #f6e7f0;
  --rose-50: #fbf2f7;
  --dawn-600: #e98a3f;
  --dawn-500: #f4a259;
  --dawn-300: #f8c48e;
  --dawn-100: #fdebd7;
  --cream-50: #fbf6f0;
  --cream-100: #f5ede4;
  --white: #ffffff;
  --ink-900: #241c22;
  --ink-700: #4a3f48;
  --ink-500: #6e6270;
  --line: #e7dce2;
  --line-dark: rgba(255, 255, 255, 0.16);

  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(36, 28, 34, 0.06), 0 2px 10px rgba(36, 28, 34, 0.05);
  --shadow: 0 18px 40px -18px rgba(36, 28, 34, 0.28);
  --shadow-lg: 0 40px 80px -30px rgba(18, 13, 20, 0.55);

  --container: 1160px;
  --narrow: 760px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --sky: linear-gradient(180deg, #120d14 0%, #1e1520 20%, #36183a 42%, #5e2452 62%, #9c4580 80%, #e0805f 93%, #f4a259 100%);

  color-scheme: light;
}

/* 3. 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;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--magenta-600); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--plum-600); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 1.35rem + 2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem); line-height: 1.25; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 700; }
hr { border: 0; height: 1px; background: var(--line); margin: 2.5rem 0; }

::selection { background: var(--dawn-300); color: var(--night-800); }
q { quotes: "\201C" "\201D" "\2018" "\2019"; }

:focus-visible {
  outline: 3px solid var(--magenta-600);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible { outline-color: var(--dawn-500); }

/* 4. Utilidades ----------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink-900); padding: 10px 16px; border-radius: 999px;
  font-weight: 700; text-decoration: none; box-shadow: var(--shadow);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.65em;
  margin: 0 0 1rem;
  font: 700 0.78rem/1.2 var(--font-sans);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--magenta-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--dawn-300); }

.lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.6; color: var(--ink-700); }
.on-dark .lead { color: rgba(255, 255, 255, 0.86); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* 5. Botones -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0.9em 1.55em;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 700 1rem/1.1 var(--font-sans); letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--magenta-600); color: var(--white); box-shadow: 0 14px 30px -14px rgba(148, 57, 127, 0.8); }
.btn--primary:hover { background: var(--plum-600); color: var(--white); }
.btn--dawn { background: var(--dawn-500); color: var(--night-800); box-shadow: 0 14px 30px -14px rgba(244, 162, 89, 0.9); }
.btn--dawn:hover { background: var(--dawn-300); color: var(--night-800); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: var(--white); background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn--outline { border-color: var(--ink-900); color: var(--ink-900); background: transparent; }
.btn--outline:hover { background: var(--ink-900); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-weight: 700; text-decoration: none; color: var(--magenta-600);
}
.link-arrow .icon { transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--dawn-300); }

/* 6. Encabezado y navegacion --------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; color: var(--white); }
/* El fondo va en un pseudo-elemento: si el desenfoque estuviera en el header,
   el menu movil (position: fixed) quedaria atrapado dentro de el. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(18, 13, 20, 0.86);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: opacity 0.35s var(--ease);
}
.js .site-header:not(.is-scrolled):not(.is-open)::before { opacity: 0; }
.site-header.is-open::before { background: var(--night-900); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand svg { height: 28px; width: auto; }
.brand .logo__word { fill: currentColor; }
.brand .logo__bar { fill: var(--dawn-500); }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.nav__list { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; color: rgba(255, 255, 255, 0.88); text-decoration: none;
  font-weight: 600; font-size: 0.97rem; padding: 6px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--dawn-500); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav__link:hover, .nav__link[aria-current] { color: var(--white); }
.nav__link:hover::after, .nav__link[aria-current]::after { transform: scaleX(1); }
.nav__cta { min-height: 44px; padding: 0.6em 1.15em; font-size: 0.95rem; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); color: var(--white);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 20px; height: 14px; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .site-header__inner { flex-wrap: wrap; }
  .nav { width: 100%; overflow-x: auto; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
  .nav__list { gap: 18px; }
  .nav__cta { display: none; }

  .js .nav-toggle { display: inline-flex; }
  .js .site-header__inner { flex-wrap: nowrap; }
  .js .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 59;
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    width: auto; padding: 28px var(--gutter) 40px; overflow-y: auto;
    background: var(--night-900);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .js .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .js .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .js .nav__link { display: block; padding: 14px 4px; font-family: var(--font-serif); font-size: 1.6rem; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .js .nav__link::after { display: none; }
  .js .nav__link[aria-current] { color: var(--dawn-300); }
  .js .nav__cta { display: inline-flex; min-height: 54px; font-size: 1.05rem; }
}
body.nav-open { overflow: hidden; }

/* 7. Hero y cabeceras de pagina ------------------------------------------- */
.sky {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--white); background: var(--night-800);
}
.sky__bg { position: absolute; inset: 0; z-index: -2; background: var(--sky); }
.sky__stars {
  position: absolute; inset: calc(var(--header-h) + 8px) 0 45% 0; z-index: -1; opacity: 0.75;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 22% 42%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 35% 12%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 48% 30%, #fff 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 58% 9%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 67% 36%, #fff 50%, transparent 52%),
    radial-gradient(1.3px 1.3px at 78% 16%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 88% 44%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 94% 8%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 5% 58%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 41% 52%, #fff 50%, transparent 52%),
    radial-gradient(1.1px 1.1px at 73% 58%, #fff 50%, transparent 52%);
}
.sky__sun {
  position: absolute; z-index: -1; left: 72%; bottom: -260px;
  width: min(640px, 120vw); aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%);
  background: radial-gradient(circle at 50% 50%, rgba(255, 236, 205, 0.95) 0%, rgba(253, 196, 128, 0.9) 22%, rgba(244, 162, 89, 0.55) 40%, rgba(244, 162, 89, 0) 68%);
}
.sky__waves { position: absolute; left: 0; right: 0; bottom: 34px; z-index: -1; width: 100%; height: 120px; opacity: 0.5; }
.sky__waves path { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.2; }
.sky__tear { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: clamp(28px, 4vw, 54px); }
.sky__tear .tear-back { fill: rgba(251, 246, 240, 0.45); }
.sky__tear .tear-front { fill: var(--cream-50); }
.sky--to-rose .sky__tear .tear-front { fill: var(--rose-50); }

.hero { padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(150px, 16vw, 210px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.h1-kicker {
  display: block; margin-bottom: 1.1rem;
  font: 700 0.8rem/1.3 var(--font-sans); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dawn-300);
}
.hero h1 em, .page-hero h1 em { color: var(--dawn-300); }
.hero .lead { max-width: 34em; margin-bottom: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 1.6rem 0 0; padding: 0; list-style: none; font-size: 0.92rem; color: rgba(255, 255, 255, 0.78); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dawn-500); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.page-hero { padding: calc(var(--header-h) + clamp(36px, 6vw, 72px)) 0 clamp(96px, 11vw, 140px); }
.page-hero .sky__sun { left: 82%; bottom: -330px; width: min(560px, 110vw); opacity: 0.85; }
.page-hero .lead { max-width: 40em; }
.page-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); max-width: 18em; }
.page-hero--article h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); max-width: 20em; }

.breadcrumbs { margin: 0 0 1.4rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; opacity: 0.5; }
.breadcrumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }

.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 1.2rem 0 0; padding: 0; list-style: none; font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); }
.article-meta li { display: inline-flex; align-items: center; gap: 8px; }

/* 8. Reproductor de bienvenida -------------------------------------------- */
.voice {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}
.voice__head { display: flex; align-items: center; gap: 14px; }
.voice__badge {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px;
  background: rgba(244, 162, 89, 0.18); color: var(--dawn-300);
}
.voice__badge .icon { width: 24px; height: 24px; }
.voice__label { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dawn-300); }
.voice__title { margin: 2px 0 0; font-family: var(--font-serif); font-size: 1.4rem; font-weight: 500; line-height: 1.2; }
.voice__player { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-top: 22px; }
.voice__play {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; border: 0; border-radius: 50%;
  background: var(--dawn-500); color: var(--night-800); cursor: pointer;
  box-shadow: 0 0 0 0 rgba(244, 162, 89, 0.55);
  animation: voice-pulse 2.8s var(--ease) infinite;
  transition: transform 0.2s var(--ease), background-color 0.2s;
}
.voice__play:hover { transform: scale(1.05); background: var(--dawn-300); }
.voice__play .icon { width: 26px; height: 26px; }
.voice__play .icon-pause { display: none; }
.voice.is-playing .voice__play { animation: none; }
.voice.is-playing .voice__play .icon-play { display: none; }
.voice.is-playing .voice__play .icon-pause { display: block; }
.voice.is-unavailable .voice__play { animation: none; opacity: 0.55; cursor: not-allowed; }
.voice__wave { position: relative; display: flex; align-items: center; gap: 3px; height: 48px; }
.voice__wave span {
  flex: 1 1 0; min-width: 2px; height: calc(var(--h, 40) * 1%);
  border-radius: 3px; background: rgba(255, 255, 255, 0.32);
  transform-origin: center; transition: background-color 0.2s;
}
.voice__wave span.is-played { background: var(--dawn-300); }
.voice.is-playing .voice__wave span { animation: voice-bar 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * -90ms); }
.voice__seek {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer;
}
.voice__wave:focus-within { outline: 3px solid var(--dawn-500); outline-offset: 4px; border-radius: 8px; }
.voice__time { min-width: 3.2em; text-align: right; font-size: 0.92rem; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.85); }
.voice__fallback { display: none; margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.22); font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); }
.voice__fallback a { color: var(--dawn-300); font-weight: 700; }
.voice.is-unavailable .voice__fallback { display: block; }
.voice__spotify { display: none; margin-top: 22px; }
.voice.is-spotify .voice__spotify { display: block; min-height: 152px; border-radius: 12px; background: rgba(0, 0, 0, 0.22); }
.voice.is-spotify .voice__player { display: none; }
.voice__spotify iframe { display: block; width: 100%; height: 152px; border: 0; border-radius: 12px; }
.voice__via { margin: 14px 0 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.66); }
.voice__via a { color: var(--dawn-300); font-weight: 700; }
.voice__transcript { margin-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 14px; }
.voice__transcript summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 0.95rem; color: rgba(255, 255, 255, 0.92);
}
.voice__transcript summary::-webkit-details-marker { display: none; }
.voice__transcript summary .icon { transition: transform 0.2s var(--ease); }
.voice__transcript[open] summary .icon { transform: rotate(180deg); }
.voice__text { margin-top: 12px; max-height: 260px; overflow-y: auto; padding-right: 6px; font-size: 0.97rem; line-height: 1.7; color: rgba(255, 255, 255, 0.86); }
.voice__text p { margin-bottom: 0.8em; }

@keyframes voice-pulse {
  0% { box-shadow: 0 0 0 0 rgba(244, 162, 89, 0.55); }
  70% { box-shadow: 0 0 0 18px rgba(244, 162, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 162, 89, 0); }
}
@keyframes voice-bar { from { transform: scaleY(0.55); } to { transform: scaleY(1); } }

/* 9. Secciones y componentes ---------------------------------------------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--rose { background: var(--rose-50); }
.section--cream { background: var(--cream-100); }
.section--night { position: relative; background: var(--night-800); color: var(--white); overflow: hidden; isolation: isolate; }
.section--night h2, .section--night h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p:last-child { margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* Lista de "te sientes asi" */
.feel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.feel__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.feel__list { list-style: none; margin: 0; padding: 0; }
.feel__list li {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-serif); font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.42rem); line-height: 1.4; color: var(--ink-900);
}
.feel__list li:first-child { border-top: 1px solid var(--line); }
.feel__num { font: 700 0.82rem/2.2 var(--font-sans); letter-spacing: 0.08em; color: var(--magenta-600); }
.feel__close {
  margin-top: 2rem; padding: 22px 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm);
  font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; line-height: 1.5; color: var(--plum-600);
}
@media (max-width: 860px) {
  .feel { grid-template-columns: 1fr; }
  .feel__intro { position: static; }
}

/* Tarjetas */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards--3 { grid-template-columns: 1fr; } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, 3vw, 32px); border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 6px 0 2px; font-family: var(--font-sans); font-weight: 750; font-size: 1.2rem; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-700); }
.card .link-arrow { margin-top: auto; padding-top: 12px; }
.card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--rose-100); color: var(--magenta-600);
}
.card__icon .icon { width: 26px; height: 26px; }
.card--dawn .card__icon { background: var(--dawn-100); color: var(--dawn-600); }

/* Pasos del metodo */
.steps { --steps-gap: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--steps-gap); list-style: none; margin: 0; padding: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 32px; right: calc(25% - var(--steps-gap) * 0.75 - 32px); height: 2px; background: linear-gradient(90deg, var(--rose-100), var(--magenta-400), var(--dawn-500)); z-index: 0; }
.step { position: relative; z-index: 1; }
.step__num {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%;
  background: var(--cream-50); border: 2px solid var(--magenta-600);
  font: italic 500 1.5rem/1 var(--font-serif); color: var(--magenta-600);
}
.section--rose .step__num { background: var(--rose-50); }
.section--cream .step__num { background: var(--cream-100); }
.step:last-child .step__num { background: var(--dawn-500); border-color: var(--dawn-500); color: var(--night-800); }
.step h3 { font-size: 1.25rem; margin-bottom: 0.35em; }
.step p { margin: 0; color: var(--ink-700); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Producto destacado */
.feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature--reverse .feature__media { order: -1; }
.feature__sub { margin-top: -0.2em; font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--plum-600); }
.checks { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.checks li { position: relative; padding-left: 32px; line-height: 1.45; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.05em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--magenta-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks--single { grid-template-columns: 1fr; }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }
.bonus {
  display: flex; gap: 14px; align-items: flex-start; margin: 1.4rem 0; padding: 16px 18px;
  border-radius: var(--radius); background: var(--dawn-100); border: 1px solid #f6d3ad; color: var(--ink-900);
}
.bonus .icon { width: 26px; height: 26px; color: var(--dawn-600); margin-top: 2px; }
.bonus p { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.88rem; font-weight: 650; color: var(--ink-700); }
.on-dark .chips li { background: rgba(255, 255, 255, 0.08); border-color: var(--line-dark); color: rgba(255, 255, 255, 0.85); }

.cover {
  position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 5; max-width: 440px; margin-inline: auto; width: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-lg); color: var(--white);
  background: var(--sky); box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}
.cover::before {
  content: ""; position: absolute; left: 50%; bottom: -38%; z-index: -1; width: 120%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 236, 205, 0.95) 0%, rgba(253, 196, 128, 0.85) 25%, rgba(244, 162, 89, 0.4) 45%, rgba(244, 162, 89, 0) 66%);
}
.cover__tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.cover__title { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); line-height: 1; letter-spacing: -0.02em; }
.cover__title em { display: block; font-weight: 500; color: var(--dawn-300); }
.cover__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.92); }
.cover__foot svg { height: 18px; width: auto; }
.cover__foot .logo__word { fill: currentColor; }
.cover__foot .logo__bar { fill: var(--night-800); }
.cover--alt { transform: rotate(1.5deg); background: linear-gradient(170deg, #2a2030 0%, #4a1d44 55%, #94397f 100%); }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--dawn-100); color: #8a4a12; font-size: 0.85rem; font-weight: 700; }
.status + h2 { margin-top: 0.6em; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dawn-600); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .cover { max-width: 380px; }
}

/* Manifiesto */
.manifesto { max-width: 900px; margin-inline: auto; text-align: center; }
.manifesto__text { margin: 0 0 1.6rem; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink-900); }
.manifesto__text em { color: var(--magenta-600); }
.wave-divider { width: 160px; height: 28px; margin: 0 auto 1.6rem; color: var(--magenta-600); }
.wave-divider path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Valores / mini tarjetas */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.value { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.value h3 { font-size: 1.3rem; margin-bottom: 0.3em; color: var(--plum-600); }
.value p { margin: 0; color: var(--ink-700); }

/* Comparativo si / no */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 1.6rem 0; }
.compare__col { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.compare__col h3 { display: flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-weight: 750; font-size: 1.1rem; margin-bottom: 0.8em; }
.compare__col ul { margin: 0; padding-left: 1.1em; }
.compare__col li { margin-bottom: 0.5em; color: var(--ink-700); }
.compare__col--yes { border-top: 4px solid var(--magenta-600); }
.compare__col--no { border-top: 4px solid var(--dawn-500); }

/* Tarjetas de articulos */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.post-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__band { position: relative; height: 112px; overflow: hidden; background: var(--sky); }
.post-card__band::after {
  content: ""; position: absolute; left: var(--sun-x, 70%); bottom: -70px; width: 150px; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 236, 205, 0.95) 0%, rgba(253, 196, 128, 0.8) 30%, rgba(244, 162, 89, 0) 68%);
}
.post-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 26px; }
.post-card__tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--rose-100); color: var(--plum-600); font-size: 0.78rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.post-card h3 { margin: 0; font-size: 1.32rem; }
.post-card h3 a { color: var(--ink-900); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { margin: 0; color: var(--ink-700); font-size: 0.98rem; }
.post-card__meta { margin-top: auto; padding-top: 6px; font-size: 0.88rem; font-weight: 650; color: var(--ink-500); }

/* Preguntas frecuentes */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-family: var(--font-serif); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); font-weight: 500; line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--rose-100); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--magenta-600); transform: translate(-50%, -50%); transition: transform 0.25s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 4px 22px; color: var(--ink-700); }
.faq__answer p:last-child { margin-bottom: 0; }

/* Banda de llamado final */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: var(--white); text-align: center; padding-block: clamp(80px, 10vw, 130px); }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, #2a1730 0%, #5e2452 45%, #b4527f 78%, #f4a259 100%); }
.cta-band .sky__sun { left: 50%; bottom: -380px; width: min(760px, 140vw); }
.cta-band h2 { font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.6rem); margin-bottom: 0.35em; }
.cta-band h2 em { color: var(--dawn-300); }
.cta-band .lead { max-width: 34em; margin: 0 auto 2rem; }
.tear-top { position: absolute; left: 0; right: 0; top: -1px; z-index: 1; width: 100%; height: clamp(24px, 3.5vw, 46px); transform: scaleY(-1); }
.tear-top .tear-front { fill: var(--cream-50); }
.tear-top .tear-back { fill: rgba(251, 246, 240, 0.45); }
.tear-top--rose .tear-front { fill: var(--rose-50); }

/* Aviso de cuidado */
.care-box {
  margin: 2rem 0; padding: 20px 22px; border-radius: var(--radius);
  background: var(--dawn-100); border-left: 5px solid var(--dawn-600); color: var(--ink-900);
}
.care-box__title, .prose .care-box__title { margin: 0 0 0.4em; font-weight: 800; font-size: 1.05rem; }
.care-box p:last-child { margin-bottom: 0; }

.note { margin: 2rem 0; padding: 20px 22px; border-radius: var(--radius); background: var(--rose-50); border: 1px solid var(--rose-100); }
.note p:last-child { margin-bottom: 0; }

/* Lista de episodios */
.episodes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.ep-group { padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.ep-group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 0.9em; font-size: 1.3rem; }
.ep-group h3 .icon { color: var(--magenta-600); }
.ep-list { list-style: none; margin: 0; padding: 0; }
.ep-list li + li { border-top: 1px dashed var(--line); }
.ep-list a {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 11px 0;
  color: var(--ink-900); text-decoration: none; line-height: 1.4;
}
.ep-list a:hover { color: var(--magenta-600); }
.ep-list .ep-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 11px 0; line-height: 1.4; }
.spotify .ep-list .ep-row { color: rgba(255, 255, 255, 0.92); }
.ep-list .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--magenta-600); }
.ep-list small { display: block; margin-top: 2px; font-size: 0.82rem; color: var(--ink-500); }

/* 10. Podcast / Spotify ---------------------------------------------------- */
.podcast { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.podcast__glow { position: absolute; right: -10%; top: -30%; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(148, 57, 127, 0.45), rgba(148, 57, 127, 0) 65%); }
.on-dark h2 em, .section--night h2 em { color: var(--dawn-300); }
.stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 1.6rem 0 2rem; padding: 0; list-style: none; }
.stats strong { display: block; font-family: var(--font-serif); font-size: 2.1rem; font-weight: 600; line-height: 1.05; color: var(--dawn-300); }
.stats span { font-size: 0.92rem; color: rgba(255, 255, 255, 0.78); }
.spotify {
  padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark);
}
.spotify__title { margin: 0 0 0.9rem; font-weight: 750; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dawn-300); }
.spotify .ep-list li + li { border-top-color: var(--line-dark); }
.spotify .ep-list a { color: rgba(255, 255, 255, 0.92); }
.spotify .ep-list a:hover { color: var(--dawn-300); }
.spotify .ep-list .icon { color: var(--dawn-300); }
.spotify .ep-list small { color: rgba(255, 255, 255, 0.6); }
.spotify__frame { margin-top: 18px; }
.spotify__frame iframe { width: 100%; height: 352px; border: 0; border-radius: 14px; background: var(--night-700); }
.spotify__load { width: 100%; margin-top: 18px; }
.spotify__note { margin: 10px 0 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }
.section:not(.section--night) .spotify { background: var(--night-800); color: var(--white); border: 0; box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .podcast { grid-template-columns: 1fr; } }

/* 11. Articulos (prosa) ----------------------------------------------------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.prose { width: 100%; max-width: 70ch; font-size: 1.1rem; line-height: 1.75; }
.prose > * + * { margin-top: 0; }
.prose h2 { margin: 2.2em 0 0.6em; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.prose h3 { margin: 1.8em 0 0.5em; font-family: var(--font-sans); font-weight: 750; font-size: 1.22rem; letter-spacing: -0.01em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--magenta-600); }
.prose .article-intro { font-size: clamp(1.18rem, 1.08rem + 0.4vw, 1.35rem); line-height: 1.65; color: var(--ink-900); }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--magenta-600); font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--plum-600); }
.prose table { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-size: 0.98rem; line-height: 1.5; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.prose th, .prose td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--night-800); color: var(--white); font-weight: 700; }
.prose tbody th { color: var(--plum-600); font-weight: 750; white-space: nowrap; }
.table-wrap { overflow-x: auto; margin: 1.6em 0; }
.table-wrap table { margin: 0; min-width: 560px; }
.episode-box { margin: 2.2em 0; padding: 22px 24px; border-radius: var(--radius); background: var(--night-800); color: var(--white); }
.episode-box__title, .prose .episode-box__title { display: flex; align-items: center; gap: 10px; margin: 0 0 0.6em; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dawn-300); }
.episode-box .ep-list a { color: rgba(255, 255, 255, 0.92); }
.episode-box .ep-list a:hover { color: var(--dawn-300); }
.episode-box .ep-list .icon { color: var(--dawn-300); }
.episode-box .ep-list li + li { border-top-color: var(--line-dark); }
.episode-box .ep-list small { color: rgba(255, 255, 255, 0.66); }
.prose .btn { text-decoration: none; }
.prose .care-box p:last-child, .prose .note p:last-child { margin-bottom: 0; }
.prose .episode-box .ep-list { margin: 0; padding: 0; }
.prose .episode-box .ep-list li { margin: 0; }
.prose .compare ul { margin-bottom: 0; }
.article-cta {
  width: 100%; max-width: 70ch; margin-top: 3rem; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius-lg);
  background: var(--rose-50); border: 1px solid var(--rose-100); text-align: center;
}
.article-cta h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.article-cta p { color: var(--ink-700); }

/* 12. Pie de pagina ---------------------------------------------------------- */
.site-footer { background: var(--night-900); color: rgba(255, 255, 255, 0.78); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 0.97rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.footer__brand svg { width: 190px; height: auto; color: var(--white); }
.footer__brand .logo__word { fill: currentColor; }
.footer__brand .logo__bar { fill: var(--dawn-500); }
.footer__brand .logo__sub { fill: rgba(255, 255, 255, 0.7); }
.footer__brand p { margin-top: 1.2rem; max-width: 30em; }
.footer__title { margin: 0 0 1rem; font: 750 0.8rem/1.2 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__list a { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.footer__list a:hover { color: var(--dawn-300); }
.footer__list .icon { width: 18px; height: 18px; color: var(--dawn-300); }
.footer__note { margin: clamp(36px, 5vw, 56px) 0 0; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.9rem; line-height: 1.6; }
.footer__note a { color: var(--dawn-300); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }
.footer__bottom a { color: rgba(255, 255, 255, 0.75); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* 13. Pagina de enlaces (link in bio) -------------------------------------- */
.links-page { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 48px 18px; }
.links-card { width: 100%; max-width: 460px; text-align: center; }
.links-card .brand-big svg { width: 220px; height: auto; margin: 0 auto; color: var(--white); }
.links-card .logo__word { fill: currentColor; }
.links-card .logo__bar { fill: var(--dawn-500); }
.links-card .logo__sub { fill: rgba(255, 255, 255, 0.75); }
.links-card__bio { margin: 1.2rem auto 2rem; max-width: 30em; color: rgba(255, 255, 255, 0.86); }
.links-list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.links-list a {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: var(--white);
  text-decoration: none; text-align: left; font-weight: 700;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 0.2s var(--ease), background-color 0.2s;
}
.links-list a:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.18); color: var(--white); }
.links-list a small { display: block; font-weight: 500; color: rgba(255, 255, 255, 0.75); }
.links-list .icon { width: 26px; height: 26px; color: var(--dawn-300); }
.links-list .is-main { background: var(--dawn-500); border-color: var(--dawn-500); color: var(--night-800); }
.links-list .is-main small { color: rgba(30, 24, 32, 0.75); }
.links-list .is-main .icon { color: var(--night-800); }
.links-list .is-main:hover { background: var(--dawn-300); color: var(--night-800); }
.links-foot { margin-top: 2rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.links-foot a { color: rgba(255, 255, 255, 0.9); }

/* Pagina 404 */
.notfound { min-height: 78vh; display: grid; align-items: center; }

/* 14. Animaciones ------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; }

@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; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
  .cover, .cover--alt { transform: none; }
}

/* 15. Impresion ---------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cta-band, .voice, .spotify, .nav-toggle, .sky__waves, .sky__tear, .tear-top { display: none !important; }
  .sky, .section--night { background: none !important; color: #000 !important; }
  .sky * { color: #000 !important; }
  body { background: #fff; font-size: 12pt; }
  a { color: #000; }
}
