/* =========================================================
   Marco Montiel Mondragón — v2
   Identidad derivada de la portada de "Memorias inquietas de una oveja negra":
   lana (crema), uniforme (azul tinta), atardecer (bermellón) y ámbar del título.
   Tipografía: Fraunces (autor) · Special Elite (diario / máquina de escribir) · Inter (lectura)
   ========================================================= */

:root {
  --papel: #f6efe3;
  --papel-2: #efe4d2;
  --lana: #e6d5ba;
  --tinta: #1d2633;
  --tinta-2: #2a3647;
  --noche: #16191e;
  --atardecer: #e0552f;
  --brasa: #c63d24;
  --ambar: #f3a43a;
  --gris: #5f6670;
  --linea: rgba(29, 38, 51, .14);
  --r: 22px;
  --pad: clamp(1.4rem, 3vw, 2.6rem);
  --max: 1760px;
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-diario: "Special Elite", "Courier New", monospace;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--atardecer); color: var(--papel); }
[hidden] { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: clamp(1rem, 3vw, 3rem); }

/* ---------- Tipografía ---------- */
.kicker {
  font-family: var(--f-diario);
  font-size: .95rem;
  letter-spacing: .01em;
  margin: 0 0 1rem;
  color: var(--brasa);
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
}
.kicker b {
  font-weight: 400;
  background: var(--tinta); color: var(--papel);
  padding: .15em .7em; border-radius: 999px; font-size: .85em;
}
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 7.2vw, 6.4rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: -.015em; line-height: 1.12; }
.mark { font-style: italic; color: var(--atardecer); font-weight: 700; }
.inv .mark, .noche .mark { color: var(--ambar); }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.32rem); line-height: 1.55; max-width: 42ch; }
.mono { font-family: var(--f-diario); }
p { margin: 0 0 1rem; }
.small { font-size: .9rem; color: var(--gris); }
.inv .small, .noche .small { color: #b9c0ca; }
.num { font-family: var(--f-diario); font-size: .95rem; color: var(--atardecer); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 239, 227, .9);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--linea);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; position: relative; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--papel), 0 0 0 5px var(--atardecer); }
.brand span { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; line-height: 1.05; letter-spacing: -.01em; }
.brand span small { display: block; font-family: var(--f-diario); font-weight: 400; font-size: .78rem; color: var(--brasa); letter-spacing: 0; margin-top: .15rem; }
.nav { display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: inline-flex; padding: .55rem .75rem; border-radius: 999px;
  font-size: .9rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--papel-2); }
.nav a[aria-current="page"] { background: var(--tinta); color: var(--papel); }
.nav .nav-cta a { background: var(--atardecer); color: #fff; font-weight: 600; padding-inline: 1.1rem; margin-left: .35rem; }
.nav .nav-cta a:hover { background: var(--brasa); }
.nav-toggle {
  display: none; background: var(--tinta); color: var(--papel);
  border: 0; border-radius: 999px; padding: .7rem 1.1rem; cursor: pointer;
  font-family: var(--f-body); font-weight: 600; font-size: .9rem;
}

/* ---------- Bloques (grid) ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  padding-block: clamp(2.2rem, 5vw, 4.5rem);
}
.grid > * { min-width: 0; }
.c-12 { grid-column: span 12; } .c-8 { grid-column: span 8; } .c-7 { grid-column: span 7; }
.c-6 { grid-column: span 6; } .c-5 { grid-column: span 5; } .c-4 { grid-column: span 4; } .c-3 { grid-column: span 3; }

/* Tarjetas */
.inv, .yel, .pillar, .stat, .testi, .route, .card {
  border-radius: var(--r);
  padding: var(--pad);
}
.inv { background: var(--tinta); color: var(--papel); }
.yel { background: linear-gradient(140deg, var(--atardecer), var(--ambar)); color: var(--tinta); }
.yel .kicker, .yel .num { color: var(--tinta); }
.yel .kicker b { background: var(--tinta); color: var(--papel); }
.inv .kicker { color: var(--ambar) !important; }
.pillar, .testi, .route, .card { background: #fffaf2; border: 1px solid var(--linea); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: .4rem; border-bottom: 1px dashed var(--linea); }
.section-head .kicker { margin: 0; }

/* ---------- Hero ---------- */
.hero { align-items: center; min-height: calc(100svh - 76px - 60px); padding-block: clamp(2rem, 4vw, 3.5rem); }
.hero .c-7 { display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; }
.hero h1 .line { display: block; }
.hero h1 + div .lead { margin-bottom: 1.6rem; }

/* Atardecer del libro como escenario */
.ocaso {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin-inline: auto;
  display: grid; place-items: center;
}
.ocaso::before {
  content: ""; position: absolute; inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--ambar) 0%, var(--atardecer) 38%, var(--brasa) 62%, #7d2318 100%);
  animation: respira 7s ease-in-out infinite;
}
.ocaso img {
  position: relative; width: 84%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  box-shadow: 0 30px 60px -20px rgba(22, 25, 30, .55);
  border: 6px solid var(--papel);
}
.ocaso .sello {
  position: absolute; right: 2%; bottom: 8%;
  background: var(--tinta); color: var(--papel);
  font-family: var(--f-diario); font-size: .9rem; line-height: 1.25;
  padding: .9rem 1.1rem; border-radius: 16px; transform: rotate(-4deg);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.45);
  max-width: 13rem;
}
@keyframes respira { 0%,100% { transform: scale(1); filter: saturate(1); } 50% { transform: scale(1.025); filter: saturate(1.15); } }

.pinos { display: block; width: 100%; height: clamp(60px, 9vw, 120px); color: var(--tinta); }

/* ---------- Botones ---------- */
.btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--f-body); font-size: .98rem; font-weight: 600;
  padding: .95rem 1.45rem; min-height: 48px;
  border: 2px solid var(--tinta); border-radius: 999px;
  background: var(--tinta); color: var(--papel);
  text-decoration: none; cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--atardecer); border-color: var(--atardecer); color: #fff; transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--tinta); }
.btn.ghost:hover { background: var(--tinta); color: var(--papel); border-color: var(--tinta); }
.btn.yel-btn { background: var(--atardecer); border-color: var(--atardecer); color: #fff; }
.btn.yel-btn:hover { background: var(--ambar); border-color: var(--ambar); color: var(--tinta); }
.inv .btn, .noche .btn { background: var(--ambar); border-color: var(--ambar); color: var(--tinta); }
.inv .btn:hover, .noche .btn:hover { background: var(--papel); border-color: var(--papel); }
.inv .btn.ghost, .noche .btn.ghost { background: transparent; color: var(--papel); border-color: rgba(246,239,227,.6); }
.inv .btn.ghost:hover, .noche .btn.ghost:hover { background: var(--papel); color: var(--tinta); }
.yel .btn { background: var(--tinta); border-color: var(--tinta); color: var(--papel); }
.yel .btn:hover { background: var(--papel); border-color: var(--papel); color: var(--tinta); }
.yel .btn.ghost { background: transparent; color: var(--tinta); }

/* ---------- Banda (marquee) ---------- */
.marquee { overflow: hidden; white-space: nowrap; background: var(--tinta); color: var(--papel); }
.marquee .track {
  display: inline-flex; gap: 2.2rem; padding: 1.05rem 0;
  font-family: var(--f-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  animation: marquee 44s linear infinite;
}
.marquee .track span:nth-child(even) { color: var(--atardecer); font-style: normal; }
.marquee.inv-m { background: var(--atardecer); color: #fff; }
.marquee.inv-m .track span:nth-child(even) { color: var(--tinta); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Rutas ---------- */
.route {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem;
  min-height: 290px; text-decoration: none;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.route:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(29,38,51,.45); background: #fff; }
.route:hover .arrow { background: var(--atardecer); border-color: var(--atardecer); color: #fff; }
.arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--tinta);
  font-size: 1.1rem; transition: all .25s;
}

/* ---------- Listas ---------- */
.list-lines { list-style: none; margin: 0; padding: 0; }
.list-lines li { border-top: 1px dashed var(--linea); padding: .95rem 0; display: grid; grid-template-columns: 3.4rem minmax(0,1fr); gap: 1rem; }
.list-lines li:last-child { border-bottom: 1px dashed var(--linea); }
.inv .list-lines li { border-color: rgba(246,239,227,.22); }
.inv .num { color: var(--ambar); }

/* Notas del diario: frases tachadas */
.quote-wall { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
.quote-wall li {
  background: #fffaf2; border: 1px solid var(--linea); border-radius: 6px;
  padding: 1.2rem 1.1rem 1.4rem;
  font-family: var(--f-diario); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.35;
  box-shadow: 0 10px 22px -18px rgba(29,38,51,.6);
  transform: rotate(-1.2deg);
  background-image: repeating-linear-gradient(transparent 0 27px, rgba(224,85,47,.14) 27px 28px);
}
.quote-wall li:nth-child(even) { transform: rotate(1.1deg); }
.quote-wall li s { text-decoration-color: var(--atardecer); text-decoration-thickness: 3px; }
.quote-wall li:hover { transform: rotate(0) translateY(-3px); }

.pillar h3 { margin-top: 2rem; }
.pillar .num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--papel-2); color: var(--brasa);
}
.yel.pillar .num { background: rgba(255,255,255,.35); color: var(--tinta); }

.stat { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; min-height: 190px; background: #fffaf2; border: 1px solid var(--linea); }
.stat strong { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.04em; color: var(--atardecer); }
.stat.inv { background: var(--tinta); border: 0; }
.stat.inv strong { color: var(--ambar); }
.stat.yel { border: 0; }
.stat.yel strong { color: var(--tinta); }

blockquote { margin: 0; }
.pull {
  font-family: var(--f-display); font-weight: 700; font-style: italic;
  font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -.02em;
}
.pull cite { display: block; margin-top: 1.2rem; font-family: var(--f-diario); font-style: normal; font-size: .95rem; font-weight: 400; color: var(--brasa); }
.inv .pull cite { color: var(--ambar); }

.testi { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.testi p { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.3rem; line-height: 1.3; }
.testi footer { font-family: var(--f-diario); font-size: .88rem; color: var(--brasa); }
.yel.testi footer { color: var(--tinta); }

/* ---------- Placeholders de foto ---------- */
.ph {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  border-radius: var(--r); overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(243,164,58,.35), transparent 55%),
    repeating-linear-gradient(135deg, transparent 0 16px, rgba(29,38,51,.05) 16px 17px),
    var(--lana);
  display: flex; align-items: flex-end;
}
.ph.tall { aspect-ratio: 4 / 5; }
.ph.wide { aspect-ratio: 16 / 9; }
.ph .ph-label {
  font-family: var(--f-diario); font-size: .85rem;
  background: var(--tinta); color: var(--papel); padding: .45rem .75rem; margin: 1rem; border-radius: 8px;
}

/* ---------- Libro ---------- */
.cover {
  width: 100%; max-width: 340px; margin: 0 auto;
  border-radius: 6px 14px 14px 6px;
  box-shadow: -10px 0 0 -4px #0d0f12 inset, 0 40px 70px -28px rgba(0,0,0,.75), 0 0 0 1px rgba(0,0,0,.2);
  transform: perspective(1200px) rotateY(-12deg) rotateX(2deg);
  transition: transform .5s ease;
}
.cover:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }

/* Mundo del libro: la noche y el atardecer de la portada */
.noche {
  background:
    radial-gradient(circle at 78% 42%, rgba(224,85,47,.55) 0, rgba(198,61,36,.25) 22%, transparent 46%),
    linear-gradient(180deg, #121418, var(--noche) 60%, #1d2228);
  color: var(--papel);
}
.noche h1, .noche h2, .noche h3 { color: var(--papel); }
.noche .kicker { color: var(--ambar); }
.noche .kicker b { background: var(--atardecer); color: #fff; }
.noche .pillar, .noche .testi, .noche .card { background: rgba(255,255,255,.04); border-color: rgba(246,239,227,.14); color: var(--papel); }
.noche .pillar .num { background: rgba(243,164,58,.15); color: var(--ambar); }
.noche .testi footer { color: var(--ambar); }
.noche .section-head { border-color: rgba(246,239,227,.18); }
.titulo-libro { font-family: var(--f-diario); font-weight: 400; letter-spacing: 0; line-height: 1; }
.titulo-libro .oveja { display: block; color: var(--papel); font-size: 1.05em; }
.titulo-libro .negra { display: block; color: var(--ambar); font-size: 1.35em; }

/* ---------- FAQ ---------- */
details { border-bottom: 1px dashed var(--linea); }
details:first-of-type { border-top: 1px dashed var(--linea); }
summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--f-display); font-weight: 700; font-size: 1.2rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--papel-2); color: var(--brasa); font-family: var(--f-body); font-weight: 600;
}
details[open] summary::after { content: "–"; background: var(--atardecer); color: #fff; }
details > div { padding: 0 0 1.2rem; max-width: 68ch; }

/* ---------- Formulario ---------- */
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .4rem; font-size: .88rem; font-weight: 600; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 1rem;
  padding: .9rem 1rem; border: 1.5px solid rgba(29,38,51,.3); border-radius: 14px;
  background: #fff; color: var(--tinta);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(224,85,47,.35); border-color: var(--atardecer); }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.form .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .92rem; }
.form .check input { width: 20px; height: 20px; margin-top: .2rem; flex: none; accent-color: var(--atardecer); }
.form .error { color: var(--brasa); font-weight: 600; font-size: .9rem; min-height: 1.2em; }
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--papel-2); }
.tabs button {
  font-family: var(--f-body); font-size: .95rem; font-weight: 600;
  padding: .75rem 1.3rem; border: 0; border-radius: 999px; background: transparent; color: var(--tinta); cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--tinta); color: var(--papel); }

/* ---------- Footer ---------- */
.site-footer { background: var(--tinta); color: var(--papel); position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; right: -8vw; top: -12vw; width: 36vw; height: 36vw; border-radius: 50%;
  background: radial-gradient(circle, var(--ambar), var(--atardecer) 45%, transparent 70%); opacity: .35;
}
.site-footer .grid { position: relative; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ambar); }
.site-footer .kicker { color: var(--ambar); }
.foot-list { list-style: none; padding: 0; margin: 0; line-height: 2.1; }
.foot-big { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.03em; }
.foot-big em { color: var(--ambar); }
.legal { font-size: .8rem; color: #aeb6c1; border-top: 1px solid rgba(246,239,227,.15); padding-top: 1.4rem; }

/* ---------- WhatsApp fijo ---------- */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: #1f9d55; color: #fff; border-radius: 999px;
  font-weight: 600; font-size: .92rem; padding: .85rem 1.25rem; text-decoration: none;
  box-shadow: 0 12px 26px -10px rgba(0,0,0,.45);
}
.wa:hover { background: #17834a; }

/* ---------- Revelado ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

.todo {
  font-family: var(--f-diario); font-size: .78rem;
  background: var(--ambar); color: var(--tinta); padding: .1rem .45rem; border-radius: 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav a { padding: .5rem .55rem; font-size: .84rem; }
}
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--papel); padding: 1rem clamp(1rem, 3vw, 3rem) 1.4rem; border-bottom: 1px solid var(--linea);
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
  }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 1rem; font-size: 1rem; }
  .nav .nav-cta a { margin: .4rem 0 0; justify-content: center; }
  .c-8, .c-7, .c-6, .c-5, .c-4 { grid-column: span 12; }
  .c-3 { grid-column: span 6; }
  .quote-wall { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero { min-height: auto; }
  .ocaso { max-width: 440px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .c-3 { grid-column: span 12; }
  .quote-wall { grid-template-columns: minmax(0,1fr); }
  .form .row { grid-template-columns: minmax(0,1fr); }
  .brand span small { display: none; }
  .brand img { width: 42px; height: 42px; }
  .route { min-height: 210px; }
  .stat { min-height: 150px; }
  .tabs { display: flex; }
  .tabs button { flex: 1; padding-inline: .6rem; }
  .ocaso .sello { right: 0; bottom: 2%; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee .track { animation-duration: 80s; }
}

/* ---------- Fotos reales (v3) ---------- */
.foto { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.retrato-marco { border-radius: var(--r); overflow: hidden; background: var(--papel-2); position: relative; }
.retrato-marco::before {
  content: ""; position: absolute; width: 46%; aspect-ratio: 1; left: -16%; top: 12%; border-radius: 50%;
  background: radial-gradient(circle, var(--ambar), var(--atardecer) 55%, transparent 72%); opacity: .55;
}
.retrato-marco img { position: relative; width: 100%; height: auto; mix-blend-mode: multiply; }
.foto-pie { font-family: var(--f-diario); font-size: .85rem; color: var(--brasa); margin-top: .6rem; }

/* ---------- Galería del Rebaño (v5) ---------- */
.galeria { margin: 0; display: flex; flex-direction: column; }
.galeria .foto { flex: 1; min-height: 260px; max-height: 520px; }
.galeria .c-12 .foto, .c-12.galeria .foto { max-height: 620px; }
.c-12.galeria .foto { object-position: center 40%; }

/* ---------- Marca Oveja Negra · Rebaño de Creativos (v6) ---------- */
.ov-icon { width: 50px; height: 50px; color: var(--tinta); flex: none; --cara: var(--papel); }
.brand .ov-icon { filter: drop-shadow(0 2px 0 rgba(224,85,47,.35)); }
.logo-on {
  font-family: "Josefin Sans", var(--f-body); font-weight: 700; text-transform: uppercase;
  line-height: .9; letter-spacing: .02em; color: var(--tinta);
  font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 1.4rem; display: inline-block;
}
.logo-on .l1 { display: flex; align-items: center; gap: .02em; }
.logo-on .l1 .ov-icon { width: 1.05em; height: 1.05em; margin-right: -.02em; }
.logo-on .l2 { display: block; }
.logo-on small {
  display: block; font-weight: 600; font-size: .3em; letter-spacing: .48em; margin-top: .55em; color: var(--gris);
}
.foot-logo { color: var(--papel); margin-bottom: 1.6rem; }
.foot-logo .ov-icon { color: var(--papel); --cara: var(--tinta); }
.foot-logo small { color: #aeb6c1; }
.galeria .foto[src*="curso-"], .galeria .foto[src*="flyer"] { object-fit: contain; background: var(--papel-2); }

h1 .line { display: block; }

/* ---------- Audio y video (v7) ---------- */
.embed-spotify { display: block; width: 100%; border: 0; border-radius: 14px; background: var(--tinta-2); min-height: 152px; }
.reel-wrap { display: flex; justify-content: center; background: var(--papel-2); border-radius: var(--r); padding: 1rem; }
.embed-reel { display: block; width: 100%; max-width: 320px; aspect-ratio: 9 / 16; height: auto; border: 0; border-radius: 14px; background: var(--tinta); }
.embed-yt { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r); background: var(--tinta); }

/* ---------- Fragmentos del libro (v8) ---------- */
.fragmentos { border-radius: 0; }
.fragmentos .pull { color: var(--papel); font-size: clamp(1.8rem, 3.8vw, 3.2rem); max-width: 24ch; }
.fragmentos .pull cite { color: var(--ambar); }
.nota-libro {
  margin: 0; padding: 1.6rem 1.6rem 1.8rem; border-radius: 8px;
  background: #fbf4e6; color: var(--tinta);
  font-family: var(--f-diario); font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.45;
  background-image: repeating-linear-gradient(transparent 0 29px, rgba(224,85,47,.14) 29px 30px);
  box-shadow: 0 18px 30px -20px rgba(0,0,0,.7); transform: rotate(-.8deg);
}
.nota-libro:nth-of-type(even) { transform: rotate(.7deg); }
.nota-libro p { margin: 0; }
.dedicatoria { border-top: 1px dashed rgba(246,239,227,.2); padding-top: 1.6rem; }
.dedicatoria .lead { color: var(--lana); font-family: var(--f-display); font-style: italic; }
.frase-libro {
  margin: 1.2rem 0 0; padding-left: 1rem; border-left: 3px solid var(--atardecer);
  font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--tinta-2);
}
.frase-cierre { font-family: var(--f-diario); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 52ch; margin: 0 auto 1.4rem; }
.frase-cierre span { display: block; margin-top: .4rem; font-size: .9em; }

/* ---------- Libro interactivo 3D (v9) ---------- */
.libro3d-bloque { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.libro3d-escena {
  perspective: 1800px; width: 100%; display: grid; place-items: center;
  padding: 2.5rem 0 1.5rem; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.libro3d-escena:active { cursor: grabbing; }
.libro3d {
  --w: min(290px, 62vw); --h: calc(var(--w) * 1.62); --d: calc(var(--w) * .11);
  width: var(--w); height: var(--h); position: relative; transform-style: preserve-3d;
  transform: translateX(var(--tx, 0)) scale(var(--s, 1)) rotateX(var(--rx, -6deg)) rotateY(var(--ry, -28deg));
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.libro3d.arrastrando { transition: none; }
.libro3d > div { position: absolute; }
.libro3d img { display: block; pointer-events: none; }
.l3-tapa { inset: 0; transform-style: preserve-3d; transform-origin: left center; transform: translateZ(calc(var(--d) / 2)); transition: transform 1.1s cubic-bezier(.3,.7,.2,1); }
.libro3d.abierto .l3-tapa { transform: translateZ(calc(var(--d) / 2)) rotateY(-158deg); }
.l3-frente, .l3-solapa { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; border-radius: 3px 8px 8px 3px; }
.l3-frente { box-shadow: inset 6px 0 10px -6px rgba(0,0,0,.6); }
.l3-frente img { width: 100%; height: 100%; object-fit: cover; }
.l3-solapa {
  transform: rotateY(180deg); background: #fbf7ef; color: #1d2633;
  padding: calc(var(--w) * .07); font-family: Georgia, "Times New Roman", serif;
  font-size: calc(var(--w) * .036); line-height: 1.4; border-radius: 8px 3px 3px 8px;
}
.l3-solapa img { width: 100%; aspect-ratio: 268 / 248; object-fit: cover; margin-bottom: .8em; }
.l3-solapa p { margin: 0 0 .6em; text-align: justify; hyphens: auto; }
.l3-solapa b { color: #c8761f; }
.l3-pagina {
  inset: 2px 2px 2px 0; transform: translateZ(calc(var(--d) / 2 - 1px));
  background: #fbf4e6; color: #1d2633; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--w) * .1); font-family: var(--f-diario); font-size: calc(var(--w) * .052); line-height: 1.4;
  box-shadow: inset 10px 0 18px -12px rgba(0,0,0,.4);
}
.l3-pagina span { margin-top: 1em; text-align: right; font-size: .85em; color: var(--brasa); }
.l3-contra {
  inset: 0; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 8px 3px 3px 8px; overflow: hidden; color: #f1e7d6;
  padding: calc(var(--w) * .08) calc(var(--w) * .075);
  font-family: Georgia, "Times New Roman", serif; font-size: calc(var(--w) * .033); line-height: 1.38;
  background:
    radial-gradient(circle at 50% 48%, rgba(200,60,40,.75) 0, rgba(150,40,30,.45) 24%, transparent 42%),
    linear-gradient(180deg, #1b1d20, #121416 70%, #0d0f11);
}
.l3-contra p { margin: 0 0 .75em; text-align: justify; hyphens: auto; }
.l3-contra b { color: #f3a43a; font-weight: 700; }
.l3-lomo {
  width: var(--d); height: var(--h); left: calc(50% - var(--d) / 2);
  transform: rotateY(-90deg) translateZ(calc(var(--w) / 2));
  background: linear-gradient(90deg, #0f1113, #1d2024 50%, #0f1113);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: .7em 0;
  writing-mode: vertical-rl; color: #e9a046; font-family: Georgia, serif; font-size: calc(var(--d) * .3); white-space: nowrap; overflow: hidden;
}
.l3-lomo .t { color: #f1e7d6; }
.l3-lomo .t b { font-family: var(--f-diario); font-weight: 400; font-size: 1.25em; }
.l3-lomo .t i { font-family: var(--f-diario); font-style: normal; color: #f3a43a; font-size: 1.45em; }
.l3-cantos {
  width: var(--d); height: calc(var(--h) - 6px); top: 3px; left: calc(50% - var(--d) / 2);
  transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 3px));
  background: repeating-linear-gradient(90deg, #f6eedd 0 2px, #e0d3ba 2px 3px);
}
.l3-arriba, .l3-abajo {
  width: calc(var(--w) - 3px); height: var(--d); top: calc(50% - var(--d) / 2);
  background: repeating-linear-gradient(0deg, #f6eedd 0 2px, #e0d3ba 2px 3px);
}
.l3-arriba { transform: rotateX(90deg) translateZ(calc(var(--h) / 2 - 3px)); }
.l3-abajo { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2 - 3px)); }
.libro3d-controles { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.07); }
.libro3d-controles button {
  font-family: var(--f-body); font-size: .9rem; font-weight: 600; min-height: 44px;
  padding: .6rem 1rem; border: 0; border-radius: 999px; background: transparent; color: var(--papel); cursor: pointer;
}
.libro3d-controles button:hover { background: rgba(255,255,255,.12); }
.libro3d-controles button[aria-pressed="true"] { background: var(--ambar); color: var(--tinta); }
.libro3d-pista { font-family: var(--f-diario); font-size: .85rem; color: #b9c0ca; margin: 0; }
@media (max-width: 600px) { .libro3d-controles button { padding: .55rem .75rem; font-size: .85rem; } }

/* ---------- Encabezado con la oveja de la portada (v10) ---------- */
.brand .brand-oveja { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--papel), 0 0 0 5px var(--atardecer); flex: none; }
.brand span { font-size: 1.02rem; line-height: 1.08; }
@media (max-width: 1240px) { .nav a { padding: .5rem .5rem; font-size: .82rem; } }
@media (max-width: 600px) { .brand .brand-oveja { width: 44px; height: 44px; } .brand span { font-size: .95rem; } }

/* ---------- Rebaño: imagen principal (v11) ---------- */
.hero-rebano { min-height: auto; padding-top: clamp(1rem, 2.5vw, 2rem); }
.principal-rebano .foto { width: 100%; height: auto; max-height: none; aspect-ratio: 1671 / 941; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(22,25,30,.55); }
.hero-texto { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: end; }
.hero-texto .kicker, .hero-texto .logo-on { grid-column: 1 / -1; }
.hero-texto h1 { font-size: clamp(2.4rem, 5.6vw, 5rem); margin: 0; }
@media (max-width: 1020px) { .hero-texto { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hero a todo lo ancho del Rebaño (v12) ---------- */
.hero-full { position: relative; width: 100%; overflow: hidden; background: #121418; color: var(--papel); }
.hero-full-img { display: block; width: 100%; height: auto; aspect-ratio: 1671 / 941; object-fit: cover; }
.hero-full-velo {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14,16,20,.9) 0%, rgba(14,16,20,.72) 26%, rgba(14,16,20,.28) 46%, rgba(14,16,20,0) 60%),
    linear-gradient(180deg, rgba(14,16,20,.35) 0%, rgba(14,16,20,0) 30%);
}
.hero-full-texto {
  position: absolute; top: 0; left: 0; width: min(46%, 640px);
  padding: clamp(1.6rem, 4vw, 4rem) 0 0 max(clamp(1rem, 3vw, 3rem), calc((100vw - var(--max)) / 2 + 3rem));
}
.hero-full-texto .kicker { color: var(--ambar); }
.hero-full-texto .kicker b { background: var(--atardecer); color: #fff; }
.hero-full-texto h1 { color: var(--papel); font-size: clamp(2.1rem, 3.9vw, 3.9rem); line-height: 1.02; margin: 0 0 1rem; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero-full-texto h1 .mark { color: var(--ambar); }
.hero-full-texto .lead { color: #eadfcd; font-size: clamp(1rem, 1.3vw, 1.18rem); max-width: 34ch; margin-bottom: 1.4rem; }
.hero-full-texto .btn { background: var(--ambar); border-color: var(--ambar); color: var(--tinta); }
.hero-full-texto .btn:hover { background: var(--papel); border-color: var(--papel); }
.hero-full-texto .btn.ghost { background: transparent; color: var(--papel); border-color: rgba(246,239,227,.7); }
.hero-full-texto .btn.ghost:hover { background: var(--papel); color: var(--tinta); }
@media (max-width: 1020px) {
  .hero-full-velo { background: linear-gradient(180deg, rgba(18,20,24,0) 55%, #121418 100%); }
  .hero-full-texto { position: relative; width: 100%; padding: 1.6rem clamp(1rem, 3vw, 3rem) 2.6rem; margin-top: -1px; }
  .hero-full-texto h1 { font-size: clamp(2rem, 7vw, 3rem); }
}
@media (min-width: 1021px) {
  .hero-full-texto { width: min(42%, 600px); padding-top: clamp(1.4rem, 3.2vw, 3.2rem); }
  .hero-full-texto .lead { display: none; }
  .hero-full-texto .btns { flex-wrap: nowrap; }
  .hero-full-texto .btn { padding: .85rem 1.2rem; font-size: .95rem; white-space: nowrap; }
}
@media (min-width: 1021px) {
  .hero-full-velo { background: radial-gradient(ellipse 62% 64% at 0% 0%, rgba(14,16,20,.9) 0%, rgba(14,16,20,.7) 45%, rgba(14,16,20,0) 100%); }
}

/* ---------- Semblanza de la solapa (v13) ---------- */
.semblanza { max-width: 58ch; }
.semblanza .lead { max-width: none; margin-bottom: 1rem; }
.semblanza .lead strong { color: var(--brasa); font-weight: 700; }
.semblanza-cierre { padding-left: 1rem; border-left: 3px solid var(--atardecer); }
.semblanza-cierre em { font-family: var(--f-display); font-size: 1.12em; font-weight: 600; color: var(--tinta); }

/* ---------- Grabadora de cassette (v15) ---------- */
.walkman { --azul: #2c4a8f; --azul-2: #1f3670; --metal: #c9ccd2; max-width: 460px; margin: 0 auto; position: relative; padding-top: 34px; }
.wk-teclas { position: absolute; top: 0; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 1; }
.wk-tecla {
  display: inline-flex; align-items: center; gap: .35rem; height: 44px; padding: 0 1rem 8px;
  border: 0; border-radius: 8px 8px 0 0; cursor: pointer; text-decoration: none;
  font-family: var(--f-body); font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: #2b2f36;
  background: linear-gradient(180deg, #f2f3f5, #b9bdc4); box-shadow: inset 0 -3px 0 rgba(0,0,0,.18), 0 2px 0 #8a8f98;
  transition: transform .12s, box-shadow .12s;
}
.wk-tecla:hover { filter: brightness(1.05); }
.wk-tecla[aria-pressed="true"], .walkman.sonando .wk-play { transform: translateY(8px); box-shadow: inset 0 2px 4px rgba(0,0,0,.3); }
.wk-play { background: linear-gradient(180deg, #ffd27a, var(--ambar)); color: var(--tinta); }
.wk-rec .wk-punto { width: 10px; height: 10px; border-radius: 50%; background: #d8342a; box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.wk-cuerpo {
  position: relative; border-radius: 22px; padding: 18px 18px 14px;
  background: linear-gradient(160deg, #3a5cab, var(--azul) 45%, var(--azul-2));
  box-shadow: inset 0 2px 0 rgba(255,255,255,.25), inset 0 -4px 0 rgba(0,0,0,.25), 0 30px 50px -24px rgba(22,25,30,.7);
}
.wk-marca { display: flex; align-items: baseline; gap: .6rem; color: #e9eef9; margin-bottom: 12px; }
.wk-marca b { font-family: var(--f-diario); font-weight: 400; font-size: 1.05rem; letter-spacing: .06em; }
.wk-marca span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.wk-led { margin-left: auto; width: 10px; height: 10px; border-radius: 50%; background: #5a1410; box-shadow: inset 0 1px 2px rgba(0,0,0,.6); }
.walkman.grabando .wk-led { background: #ff3b2f; box-shadow: 0 0 10px #ff3b2f; animation: parpadeo 1s steps(2) infinite; }
@keyframes parpadeo { 50% { opacity: .35; } }
.wk-ventana { border-radius: 12px; padding: 10px; background: linear-gradient(180deg, #11151c, #1b212b); box-shadow: inset 0 3px 8px rgba(0,0,0,.7); }
.wk-cassette { position: relative; border-radius: 8px; background: #e8e2d4; padding: 10px 12px 26px; }
.wk-etiqueta {
  background: repeating-linear-gradient(180deg, #fbf6ea 0 13px, #f0c9b7 13px 14px); border-radius: 4px;
  padding: 6px 10px 44px; font-family: var(--f-diario); font-size: .82rem; color: var(--tinta); line-height: 1.25;
  border-top: 6px solid var(--atardecer);
}
.wk-etiqueta span { float: right; font-size: .72rem; color: var(--brasa); }
.wk-carretes {
  position: absolute; left: 50%; top: 52px; transform: translateX(-50%); width: 62%; height: 46px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 8px;
  background: rgba(20,22,28,.85); border-radius: 23px;
}
.wk-carrete {
  width: 34px; height: 34px; border-radius: 50%; position: relative; z-index: 1;
  background:
    radial-gradient(circle, #e8e2d4 0 5px, transparent 5.5px),
    repeating-conic-gradient(#f4f1ea 0 18deg, #9aa0aa 18deg 60deg);
  box-shadow: 0 0 0 4px #3a2b22;
}
.wk-cinta { flex: 1; height: 22px; margin: 0 -2px; background: linear-gradient(180deg, #4a3226, #2e1f17); border-radius: 4px; }
.walkman.sonando .wk-carrete { animation: gira 1.6s linear infinite; }
.walkman.sonando .wk-der { animation-duration: 2.3s; }
@keyframes gira { to { transform: rotate(360deg); } }
.wk-boca { position: absolute; left: 22%; right: 22%; bottom: 6px; height: 14px; background: #cfc7b5; clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }
.wk-pie { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.wk-contador {
  font-family: var(--f-diario); font-size: .95rem; letter-spacing: .2em; color: #ffd27a;
  background: #0f1319; padding: 3px 10px; border-radius: 6px; box-shadow: inset 0 1px 3px rgba(0,0,0,.8);
}
.wk-rejilla { flex: 1; height: 22px; border-radius: 6px; background: repeating-linear-gradient(90deg, rgba(0,0,0,.35) 0 3px, transparent 3px 7px); }
.wk-volumen { font-size: .65rem; letter-spacing: .2em; color: #dfe6f5; padding: 4px 8px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.wk-cable { width: 4px; height: 46px; margin: 0 auto; background: linear-gradient(180deg, #1b1d22, #555); border-radius: 2px; }
.wk-estado { text-align: center; font-family: var(--f-diario); font-size: .92rem; color: var(--brasa); margin: .4rem 0 0; }
@media (prefers-reduced-motion: reduce) { .walkman.sonando .wk-carrete { animation-duration: 6s; } }
@media (max-width: 420px) { .wk-tecla { padding: 0 .65rem 8px; font-size: .7rem; } .wk-etiqueta { font-size: .74rem; } }
.wk-etiqueta { padding-bottom: 58px; }
.wk-carretes { top: auto; bottom: 30px; height: 50px; border-radius: 25px; }
.wk-carrete { width: 38px; height: 38px; }
@media (max-width: 480px) { .wk-marca span { display: none; } .wk-carretes { width: 72%; } }

/* ---------- Retrato principal con fondo oscuro (v16) ---------- */
.retrato-oscuro { margin: 0; border-radius: var(--r); overflow: hidden; background: #0b0b0d; box-shadow: 0 30px 60px -28px rgba(22,25,30,.6); }
.retrato-oscuro img { display: block; width: 100%; height: auto; }

/* ---------- Hero de Marco: retrato alargado a sangre (v17) ---------- */
.marco-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(44vw, 640px)); align-items: stretch; background: var(--papel); }
.marco-hero-texto {
  align-self: center; padding: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem) clamp(2rem, 5vw, 4.5rem) max(clamp(1rem, 3vw, 3rem), calc((100vw - var(--max)) / 2 + 3rem));
}
.marco-hero-foto { margin: 0; position: relative; background: #0d0d11; min-height: 100%; }
.marco-hero-foto img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 5; object-fit: cover; object-position: 58% top; border-radius: 0; }
.marco-hero-foto::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--atardecer); z-index: 1; }
@media (max-width: 1020px) {
  .marco-hero { grid-template-columns: minmax(0, 1fr); }
  .marco-hero-foto { order: -1; }
  .marco-hero-foto img { max-height: 82svh; object-position: 58% top; }
  .marco-hero-foto::before { inset: auto 0 0 0; width: auto; height: 6px; }
}

/* v20 · Hero de Inicio con foto a todo lo ancho (propuesta A) */
.hero-inicio { position: relative; isolation: isolate; overflow: hidden; background: #0d0c0c; color: var(--papel); min-height: min(calc(100svh - 76px), 860px); display: flex; align-items: center; }
.hero-inicio-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 78% 30%; }
.hero-inicio-velo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,12,.9) 0%, rgba(10,10,12,.72) 32%, rgba(10,10,12,.2) 52%, rgba(10,10,12,0) 62%), linear-gradient(0deg, rgba(10,10,12,.5), rgba(10,10,12,0) 32%); }
.hero-inicio-texto { width: 100%; max-width: var(--max); margin-inline: auto; padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 3vw, 3rem); }
.hero-inicio-texto > * { max-width: 600px; }
.hero-inicio-firma { display: flex; align-items: baseline; gap: .7rem; font-family: "Special Elite", "Courier New", monospace; font-size: .98rem; line-height: 1.5; color: var(--ambar); margin: 0 0 1.2rem; }
.hero-inicio-firma::before { content: ""; flex: 0 0 34px; height: 2px; background: var(--atardecer); transform: translateY(-.3em); }
.hero-inicio-firma strong { font-weight: 400; color: var(--papel); }
.hero-inicio h1 { color: var(--papel); font-size: clamp(3rem, 6.4vw, 6rem); line-height: 1; margin: 0 0 1.2rem; text-shadow: 0 2px 24px rgba(0,0,0,.5); }
.hero-inicio h1 .line { display: block; }
.hero-inicio h1 .mark { color: var(--ambar); font-style: italic; }
.hero-inicio .lead { color: #efe4d2; font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 40ch; margin: 0 0 1.8rem; }
.hero-inicio .btn { background: var(--ambar); border-color: var(--ambar); color: var(--tinta); }
.hero-inicio .btn:hover { background: var(--papel); border-color: var(--papel); }
.hero-inicio .btn.ghost { background: transparent; color: var(--papel); border-color: rgba(246,239,227,.7); }
.hero-inicio .btn.ghost:hover { background: var(--papel); color: var(--tinta); }
@media (max-width: 1020px) {
  .hero-inicio { display: block; min-height: 0; }
  .hero-inicio-img { position: relative; inset: auto; height: 62svh; max-height: 520px; object-position: 80% 30%; }
  .hero-inicio-velo { display: none; }
  .hero-inicio-texto { margin-top: -4.5rem; position: relative; padding: 2rem clamp(1rem, 4vw, 2rem) 2.8rem; background: linear-gradient(180deg, rgba(13,12,12,0) 0, #0d0c0c 4.5rem); }
  .hero-inicio h1 { font-size: clamp(2.3rem, 10vw, 3.4rem); }
}

/* v21 · Teclas de grabadora en el título "Ramiro, PLAY y REC" */
.tit-teclas { line-height: 1.5; }
.tecla-tit {
  display: inline-flex; align-items: center; gap: .3em; vertical-align: .12em;
  padding: .32em .7em .42em; margin-inline: .08em; border-radius: .35em .35em .12em .12em;
  font-family: var(--f-body); font-style: normal; font-size: .5em; font-weight: 700; letter-spacing: .1em; line-height: 1; color: #2b2f36; white-space: nowrap;
  background: linear-gradient(180deg, #f2f3f5, #b9bdc4); box-shadow: inset 0 -.18em 0 rgba(0,0,0,.18), 0 .14em 0 #8a8f98, 0 .3em .6em rgba(0,0,0,.12);
}
.tecla-tit.tecla-play { background: linear-gradient(180deg, #ffd27a, var(--ambar)); color: var(--tinta); }
.tecla-tit.tecla-play > span { font-size: .85em; }
.tecla-tit .wk-punto { width: .6em; height: .6em; border-radius: 50%; background: #d8342a; box-shadow: 0 0 0 .12em rgba(255,255,255,.6); }

/* v22 · Retrato de "Quién guía el Rebaño" (camisa blanca, fondo oscuro) */
.retrato-guia { border-radius: var(--r); overflow: hidden; background: #0d0d0f; position: relative; box-shadow: 0 24px 50px -28px rgba(22,25,30,.55); }
.retrato-guia::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--atardecer); }
.retrato-guia img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }

/* v25 · Teclas grandes en Escucha y tarjetas de medios enlazadas */
.tit-teclas-xl { display: flex; flex-wrap: wrap; align-items: center; gap: .35em .4em; line-height: 1.2; }
.tit-teclas-xl .tecla-tit { font-size: .55em; margin: 0; }
.media-card { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: #121418; color: var(--papel); text-decoration: none; box-shadow: 0 24px 50px -30px rgba(22,25,30,.6); }
.media-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.media-card:hover img { transform: scale(1.03); filter: brightness(.85); }
.media-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,12,.85) 0%, rgba(10,10,12,.1) 45%, rgba(10,10,12,0) 60%); pointer-events: none; }
.media-yt { aspect-ratio: 16 / 9; }
.media-yt img { object-position: 55% 22%; }
.media-reel { aspect-ratio: 9 / 16; max-width: 340px; }
.media-reel img { object-position: center 30%; }
.media-play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: rgba(246,239,227,.92); box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s; }
.media-play::before { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--tinta); }
.media-card:hover .media-play { transform: translate(-50%, -50%) scale(1.08); }
.media-play-yt { width: 84px; height: 58px; border-radius: 16px; background: #e62117; }
.media-play-yt::before { border-color: transparent transparent transparent #fff; left: 52%; }
.media-pie { position: absolute; z-index: 1; left: 1.1rem; right: 1.1rem; bottom: 1rem; font-size: .98rem; font-weight: 600; line-height: 1.35; }
.media-pie b { display: inline-block; margin-right: .5rem; padding: .15rem .55rem; border-radius: 999px; background: var(--atardecer); color: #fff; font-family: var(--f-diario); font-weight: 400; font-size: .78rem; }
.media-spotify { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .9rem; background: linear-gradient(135deg, #24272d, #121418); }
.media-spotify::after { display: none; }
.media-spotify img { width: 96px; height: auto; aspect-ratio: 415 / 672; object-fit: cover; border-radius: 6px; }
.media-sp-texto { display: flex; flex-direction: column; gap: .2rem; }
.media-sp-texto small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #1ed760; font-weight: 700; }
.media-sp-texto b { font-family: var(--f-display); font-size: 1.2rem; line-height: 1.15; }
.media-sp-texto span { font-size: .9rem; opacity: .75; }
.media-play-sp { position: relative; left: auto; top: auto; transform: none; flex-shrink: 0; width: 56px; height: 56px; background: #1ed760; margin-right: .4rem; }
.media-play-sp::before { border-color: transparent transparent transparent #121418; border-width: 10px 0 10px 16px; }
.media-spotify:hover .media-play-sp { transform: scale(1.08); }
.link-sub { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; text-decoration-color: var(--atardecer); }
.link-sub:hover { color: var(--atardecer); }
.inv .link-sub:hover { color: var(--ambar); }
@media (max-width: 480px) { .media-spotify { grid-template-columns: 72px minmax(0, 1fr) auto; } .media-spotify img { width: 72px; } .media-play-sp { width: 46px; height: 46px; } }

/* v26 · Walkman horizontal ilustrado con animación */
.walkman2 { max-width: 560px; margin: 0 auto; }
.wk2-svg { display: block; width: 100%; height: auto; overflow: visible; }
.wk2-equipo { animation: wk2-flota 5s ease-in-out infinite; }
.wk2-sombra { transform-box: fill-box; transform-origin: center; animation: wk2-sombra 5s ease-in-out infinite; }
.wk2-audifonos { transform-box: view-box; transform-origin: 430px 24px; animation: wk2-mece 6s ease-in-out infinite; }
@keyframes wk2-flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes wk2-sombra { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.94); opacity: .7; } }
@keyframes wk2-mece { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-2deg); } }
.wk2-key { cursor: pointer; outline: none; }
.wk2-key .cap { transition: transform .12s ease, filter .2s; }
.wk2-key:hover .cap { filter: brightness(1.08); }
.wk2-key:active .cap, .walkman2.sonando [data-wk="play"] .cap, .walkman2.grabando [data-wk="rec"] .cap { transform: translateY(7px); }
.wk2-key:focus-visible .cap rect:first-child { stroke: var(--atardecer); stroke-width: 3; }
.wk2-hub { transform-box: fill-box; transform-origin: center; }
.walkman2.sonando .wk2-hub { animation: wk2-gira 1.3s linear infinite; }
.walkman2.sonando .wk2-hub-der { animation-duration: 1.9s; }
@keyframes wk2-gira { to { transform: rotate(360deg); } }
.walkman2.sonando .wk2-cinta { animation: wk2-cinta .6s linear infinite; }
@keyframes wk2-cinta { to { stroke-dashoffset: -8; } }
.wk2-rollo-izq, .wk2-rollo-der { transform-box: fill-box; transform-origin: center; transition: transform 2s ease; }
.walkman2.sonando .wk2-rollo-izq { animation: wk2-rollo-a 12s ease-in-out infinite alternate; }
.walkman2.sonando .wk2-rollo-der { animation: wk2-rollo-b 12s ease-in-out infinite alternate; }
@keyframes wk2-rollo-a { to { transform: scale(.72); } }
@keyframes wk2-rollo-b { to { transform: scale(1.4); } }
.wk2-eq rect { transform-box: fill-box; transform-origin: bottom; transform: scaleY(.25); }
.walkman2.sonando .wk2-eq rect { animation: wk2-eq .9s ease-in-out infinite alternate; }
.walkman2.sonando .wk2-eq rect:nth-child(2) { animation-delay: -.3s; animation-duration: .7s; }
.walkman2.sonando .wk2-eq rect:nth-child(3) { animation-delay: -.6s; }
.walkman2.sonando .wk2-eq rect:nth-child(4) { animation-delay: -.15s; animation-duration: .6s; }
.walkman2.sonando .wk2-eq rect:nth-child(5) { animation-delay: -.45s; animation-duration: .8s; }
.walkman2.sonando .wk2-eq rect:nth-child(6) { animation-delay: -.75s; }
.walkman2.sonando .wk2-eq rect:nth-child(7) { animation-delay: -.2s; animation-duration: .75s; }
@keyframes wk2-eq { from { transform: scaleY(.2); } to { transform: scaleY(1); } }
.walkman2.grabando .wk2-led { fill: #ff3b2f; animation: wk2-parpadeo 1s steps(2) infinite; }
@keyframes wk2-parpadeo { 50% { opacity: .2; } }
.nota { opacity: 0; transform-box: fill-box; transform-origin: center; }
.walkman2.sonando .nota { animation: wk2-nota 2.6s ease-out infinite; }
.walkman2.sonando .n2 { animation-delay: .9s; }
.walkman2.sonando .n3 { animation-delay: 1.7s; }
@keyframes wk2-nota { 0% { opacity: 0; transform: translate(0, 0) rotate(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(-18px, -120px) rotate(-18deg); } }
.walkman2 .wk-estado { margin-top: .6rem; }

/* v27 · Manifiesto en Rebaño */
.manifiesto { background: var(--tinta); color: var(--papel); border-radius: var(--r); padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem); text-align: center; margin-block: clamp(2rem, 5vw, 4rem); }
.manifiesto .kicker { justify-content: center; color: var(--ambar); }
.manifiesto .kicker b { background: var(--atardecer); color: #fff; }
.manifiesto h2 { color: var(--papel); font-size: clamp(2.2rem, 5.4vw, 5rem); line-height: 1.02; max-width: 18ch; margin: 0 auto 2rem; text-wrap: balance; }
.manifiesto h2 .mark { color: var(--ambar); }
.manifiesto .btn { background: var(--ambar); border-color: var(--ambar); color: var(--tinta); }
.manifiesto .btn:hover { background: var(--papel); border-color: var(--papel); }

/* v28 · Hero de Rebaño: foto a la derecha, texto a toda la altura, pilares en franja */
.hero-rebano2 { position: relative; isolation: isolate; overflow: hidden; background: #121418; color: var(--papel); min-height: clamp(660px, calc(100svh - 76px), 900px); display: flex; align-items: center; padding-bottom: 5.5rem; }
.hr2-img { position: absolute; z-index: -2; top: 0; right: 0; height: 100%; width: auto; max-width: none; aspect-ratio: 1290 / 900; object-fit: cover; }
.hr2-velo { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #121418 0%, #121418 22%, rgba(18,20,24,.92) 32%, rgba(18,20,24,.6) 42%, rgba(18,20,24,.15) 54%, rgba(18,20,24,0) 62%), linear-gradient(0deg, rgba(18,20,24,.95) 0%, rgba(18,20,24,.6) 12%, rgba(18,20,24,0) 28%); }
.hr2-texto { width: min(44%, 680px); display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; padding: clamp(2.5rem, 5vw, 4.5rem) 0 1rem max(clamp(1rem, 3vw, 3rem), calc((100vw - var(--max)) / 2 + 3rem)); }
.hr2-texto .kicker { color: var(--ambar); margin: 0; }
.hr2-texto .kicker b { background: var(--atardecer); color: #fff; }
.hr2-texto h1 { color: var(--papel); font-size: clamp(2.8rem, 5.4vw, 5.8rem); line-height: 1; margin: 0; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.hr2-texto h1 .mark { display: block; margin-top: .2em; color: var(--ambar); font-size: .6em; line-height: 1.08; }
.hr2-texto .lead { color: #e6dccb; font-size: clamp(1.05rem, 1.35vw, 1.25rem); max-width: 36ch; margin: 0; }
.hr2-texto .btn { background: var(--ambar); border-color: var(--ambar); color: var(--tinta); }
.hr2-texto .btn:hover { background: var(--papel); border-color: var(--papel); }
.hr2-texto .btn.ghost { background: transparent; color: var(--papel); border-color: rgba(246,239,227,.7); }
.hr2-texto .btn.ghost:hover { background: var(--papel); color: var(--tinta); }
.hr2-pilares { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem calc(max(clamp(1rem, 3vw, 3rem), calc((100vw - var(--max)) / 2 + 3rem)) + 8.5rem) 1.9rem max(clamp(1rem, 3vw, 3rem), calc((100vw - var(--max)) / 2 + 3rem)); }
.hr2-pilares::before { content: ""; position: absolute; left: max(clamp(1rem, 3vw, 3rem), calc((100vw - var(--max)) / 2 + 3rem)); right: calc(max(clamp(1rem, 3vw, 3rem), calc((100vw - var(--max)) / 2 + 3rem)) + 8.5rem); top: 50%; height: 1px; background: linear-gradient(90deg, rgba(243,164,58,.15), var(--ambar) 20%, var(--ambar) 80%, rgba(243,164,58,.15)); transform: scaleX(0); transform-origin: left; animation: hr2-hilo 1.4s .2s ease forwards; }
.hr2-pilares li { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .6rem; padding: .3rem .9rem; background: rgba(18,20,24,.82); border-radius: 999px; font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: clamp(1.05rem, 1.7vw, 1.5rem); color: #f7d58a; text-shadow: 0 0 18px rgba(243,164,58,.45); opacity: 0; transform: translateY(8px); animation: hr2-entra .6s ease forwards; }
.hr2-pilares li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ambar); box-shadow: 0 0 12px 3px rgba(243,164,58,.65); }
.hr2-pilares li:nth-child(1) { animation-delay: .4s; } .hr2-pilares li:nth-child(2) { animation-delay: .6s; } .hr2-pilares li:nth-child(3) { animation-delay: .8s; } .hr2-pilares li:nth-child(4) { animation-delay: 1s; } .hr2-pilares li:nth-child(5) { animation-delay: 1.2s; }
@keyframes hr2-entra { to { opacity: 1; transform: none; } }
@keyframes hr2-hilo { to { transform: scaleX(1); } }
@media (max-width: 1020px) {
  .hero-rebano2 { display: block; min-height: 0; padding-bottom: 0; }
  .hr2-img { position: relative; width: 100%; height: 56svh; max-height: 520px; aspect-ratio: auto; object-position: 42% center; }
  .hr2-velo { display: none; }
  .hr2-texto { width: 100%; margin-top: -4rem; position: relative; padding: 2rem clamp(1rem, 4vw, 2rem) 1rem; background: linear-gradient(180deg, rgba(18,20,24,0) 0, #121418 4rem); }
  .hr2-texto h1 { font-size: clamp(2.3rem, 10vw, 3.4rem); }
  .hr2-pilares { position: relative; flex-wrap: wrap; justify-content: flex-start; gap: .6rem; padding: .5rem clamp(1rem, 4vw, 2rem) 2.4rem; }
  .hr2-pilares::before { display: none; }
  .hr2-pilares li { font-size: 1.05rem; padding: .35rem .8rem; border: 1px solid rgba(243,164,58,.35); }
}

/* v31 · Cierre: transformación, dedicatoria y rompecabezas */
/* ACTO 1 · Transformación */
.tr{position:relative;background:var(--noche)}
.tr-sticky{position:relative;height:calc(100svh - 76px);min-height:560px;overflow:hidden}
.tr-img{position:absolute;inset:0}
.tr-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 70%}
.tr-img .luz{opacity:0;will-change:opacity}
.tr-capa{position:absolute;pointer-events:none}
.voz{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;text-align:center;white-space:nowrap}
.voz span{grid-area:1/1;transition:opacity .9s ease,transform .9s ease,filter .9s ease}
.voz .vieja{font:clamp(.68rem,1.35vw,1.15rem) var(--f-diario);color:#c9ccd2;background:rgba(20,22,26,.55);padding:.25rem .6rem;border-radius:4px;text-decoration:line-through;text-decoration-color:rgba(224,85,47,0);transition:opacity .9s ease,text-decoration-color .5s ease}
.voz .nueva{font:italic 700 clamp(.85rem,1.9vw,1.7rem)/1.1 var(--f-display);color:var(--oro);opacity:0;transform:translateY(10px) scale(.96);text-shadow:0 0 18px rgba(243,164,58,.85),0 0 40px rgba(243,164,58,.45),0 2px 4px rgba(0,0,0,.6)}
.voz.tacha .vieja{text-decoration-color:var(--atardecer)}
.voz.luz .vieja{opacity:0;filter:blur(4px)}
.voz.luz .nueva{opacity:1;transform:none}
.tr-velo{position:absolute;inset:0;background:linear-gradient(0deg,rgba(15,17,20,.85),rgba(15,17,20,0) 30%),linear-gradient(180deg,rgba(15,17,20,.7),rgba(15,17,20,0) 25%);pointer-events:none}
.tr-titulo{position:absolute;left:clamp(1rem,4vw,3.5rem);top:clamp(1.2rem,5vh,3rem);right:1rem;display:grid}
.tr-titulo h2{grid-area:1/1;margin:0;font:800 clamp(2rem,5vw,4.6rem)/1 var(--f-display);letter-spacing:-.02em;transition:opacity .8s ease,transform .8s ease;text-shadow:0 2px 24px rgba(0,0,0,.6)}
.tr-titulo .t1{color:#d9dbe0}
.tr-titulo .t2{color:var(--papel);opacity:0;transform:translateY(12px)}
.tr-titulo .t2 em{color:var(--ambar)}
.tr.fase2 .t1{opacity:0;transform:translateY(-12px)}
.tr.fase2 .t2{opacity:1;transform:none}
.tr-pie{position:absolute;left:clamp(1rem,4vw,3.5rem);bottom:clamp(1rem,4vh,2.2rem);text-align:left;font:14px var(--f-diario);color:var(--oro);transition:opacity .6s}
.tr-pie .barra{display:block;width:min(260px,60vw);height:3px;margin:.6rem 0 0;background:rgba(246,239,227,.18);border-radius:3px;overflow:hidden}
.tr-pie .barra i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--atardecer),var(--ambar))}

/* ACTO 2 · Dedicatoria */
.dedi{background:var(--papel);color:var(--tinta);padding:clamp(4rem,9vw,8rem) clamp(1rem,4vw,3.5rem)}
.dedi-in{max-width:1500px;margin:0 auto;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(2rem,5vw,5rem);align-items:start}
.dedi .kicker{color:var(--brasa)}
.dedi h2{font:800 clamp(2.4rem,5.4vw,5rem)/1 var(--f-display);letter-spacing:-.02em;margin:0 0 1.5rem;text-wrap:balance}
.dedi h2 em{color:var(--atardecer)}
.dedi-foto{position:sticky;top:6.5rem}
.dedi-foto img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--r);box-shadow:0 40px 80px -40px rgba(22,25,30,.6)}
.dedi-foto figcaption{font:13px var(--f-diario);color:var(--brasa);margin-top:.7rem}
.dedi-texto p{font:clamp(1.08rem,1.35vw,1.28rem)/1.75 var(--f-body);margin:0 0 1.3rem;max-width:62ch}
.dedi-texto p.capitular::first-letter{float:left;font:800 4.4em/.8 var(--f-display);color:var(--atardecer);margin:.08em .12em 0 0}
.dedi-texto .resalta{font:italic 600 clamp(1.4rem,2.2vw,2rem)/1.3 var(--f-display);color:var(--tinta);border-left:4px solid var(--atardecer);padding-left:1.1rem;margin:2rem 0}
.firma{margin-top:2.5rem;padding-top:1.4rem;border-top:1px dashed rgba(29,38,51,.3)}
.firma strong{display:block;font:700 1.5rem var(--f-display)}
.firma span{font:14px var(--f-diario);color:var(--brasa)}

/* ACTO 3 · Rompecabezas */
.rc{background:radial-gradient(ellipse 80% 60% at 50% 0%,#1c2230 0%,var(--noche) 70%);padding:clamp(4rem,8vw,7rem) clamp(1rem,4vw,3.5rem) clamp(3rem,6vw,5rem)}
.rc-cab{max-width:1500px;margin:0 auto 2rem;display:flex;flex-wrap:wrap;gap:1.2rem 2rem;align-items:end;justify-content:space-between}
.rc-cab h2{font:800 clamp(2.2rem,4.8vw,4.4rem)/1 var(--f-display);margin:0;letter-spacing:-.02em;max-width:16ch}
.rc-cab h2 em{color:var(--ambar)}
.rc-cab p{margin:0;max-width:44ch;color:#d8cfbf}
.rc-ctrl{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.rc-cont{font:14px var(--f-diario);color:var(--oro);margin-right:.4rem}
.rc-stage{position:relative;max-width:1500px;margin:0 auto;border-radius:var(--r);background:rgba(246,239,227,.03);border:1px solid rgba(246,239,227,.08);overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none}
.rc-board{position:absolute;border-radius:6px;background:rgba(246,239,227,.04);box-shadow:0 0 0 1px rgba(243,164,58,.25),0 30px 80px -30px rgba(0,0,0,.8);transition:box-shadow .8s}
.rc-board svg{position:absolute;inset:0;overflow:visible}
.rc-board svg path{fill:rgba(246,239,227,.025);stroke:rgba(247,213,138,.42);stroke-width:1.2;stroke-dasharray:5 5}
.rc-bandeja-et{position:absolute;font:13px var(--f-diario);color:rgba(247,213,138,.7)}
.pz{position:absolute;left:0;top:0;cursor:grab;filter:drop-shadow(0 6px 10px rgba(0,0,0,.55));transition:filter .2s;will-change:transform}
.pz.arrastra{cursor:grabbing;filter:drop-shadow(0 18px 24px rgba(0,0,0,.6)) brightness(1.06)}
.pz.lista{cursor:default;filter:none;pointer-events:none}
.pz.anima{transition:transform .45s cubic-bezier(.2,.8,.2,1),filter .2s}
.pz i{display:block;width:100%;height:100%;background-repeat:no-repeat}
.pz:focus-visible{outline:none}
.pz:focus-visible i{filter:brightness(1.25)}
.rc-completa{position:absolute;border-radius:6px;opacity:0;pointer-events:none;transition:opacity .8s;background-size:cover}
.rc.armado .rc-board{box-shadow:0 0 0 2px var(--ambar),0 0 60px 10px rgba(243,164,58,.35)}
.rc.armado .rc-completa{opacity:1}
.rc-msg{position:absolute;left:50%;transform:translateX(-50%);bottom:1rem;font:italic 700 clamp(1.1rem,2vw,1.6rem) var(--f-display);color:var(--oro);text-align:center;opacity:0;transition:opacity .6s;pointer-events:none;text-shadow:0 2px 12px rgba(0,0,0,.8);width:90%}
.rc.armado .rc-msg{opacity:1}
.rc-flash{position:absolute;inset:0;background:radial-gradient(circle at var(--fx,50%) var(--fy,50%),#fff,rgba(247,213,138,.8) 20%,rgba(243,164,58,0) 60%);opacity:0;pointer-events:none}
.rc.rompe .rc-flash{animation:flash 1.1s ease-out forwards}
@keyframes flash{0%{opacity:0}12%{opacity:1}100%{opacity:0}}
.rc.rompe .rc-stage{animation:tiembla .45s linear}
@keyframes tiembla{0%,100%{transform:none}20%{transform:translate(-6px,3px)}40%{transform:translate(5px,-4px)}60%{transform:translate(-4px,-2px)}80%{transform:translate(3px,4px)}}

/* Seres de luz */
.luz-capa{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity 1.6s ease;background:radial-gradient(ellipse 70% 60% at 50% 45%,rgba(243,164,58,.22) 0%,rgba(224,85,47,.08) 40%,rgba(15,17,20,0) 75%),var(--noche);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:clamp(1.5rem,4vw,3rem);text-align:center;overflow:hidden}
.rc.revelado .luz-capa{opacity:1;visibility:visible}
.luz-capa canvas{position:absolute;inset:0;width:100%;height:100%}
.luz-cont{position:relative;z-index:1;max-width:1100px}
.luz-cont h3{font:800 clamp(2rem,4.6vw,4.2rem)/1.04 var(--f-display);margin:0 0 .9rem;letter-spacing:-.02em;color:var(--papel);opacity:0;transform:translateY(14px);transition:opacity 1s .4s,transform 1s .4s}
.luz-cont h3 em{color:var(--ambar)}
.luz-cont .sub{font:clamp(1rem,1.4vw,1.2rem)/1.6 var(--f-body);color:#e6dccb;max-width:56ch;margin:0 auto 2rem;opacity:0;transition:opacity 1s .9s}
.rc.revelado .luz-cont h3{opacity:1;transform:none}
.rc.revelado .luz-cont .sub{opacity:1}
.seres{list-style:none;margin:0 0 2.2rem;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem 1rem}
.ser{display:inline-flex;align-items:center;gap:.7rem;padding:.55rem 1.1rem .55rem .6rem;border-radius:999px;background:rgba(246,239,227,.05);border:1px solid rgba(247,213,138,.22);font:italic 600 clamp(1rem,1.45vw,1.3rem)/1.25 var(--f-display);color:var(--papel);opacity:0;transform:translateY(16px) scale(.96)}
.ser .orbe{flex:0 0 auto;width:26px;height:26px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff 0%,var(--c) 45%,rgba(0,0,0,0) 72%);box-shadow:0 0 14px 4px var(--c);animation:late 3.2s ease-in-out infinite}
.rc.revelado .ser{animation:aparece .9s cubic-bezier(.2,.8,.2,1) forwards}
@keyframes aparece{to{opacity:1;transform:none}}
@keyframes late{0%,100%{transform:scale(1);opacity:.9}50%{transform:scale(1.18);opacity:1}}
.luz-cierre{font:italic 700 clamp(1.3rem,2.4vw,2rem)/1.3 var(--f-display);color:var(--oro);margin:0 0 1.6rem;opacity:0;transition:opacity 1.2s;text-shadow:0 0 24px rgba(243,164,58,.5)}
.luz-btns{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:center;opacity:0;transition:opacity 1s}
.rc.final .luz-cierre,.rc.final .luz-btns{opacity:1}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

@media (max-width:860px){
  .dedi-in{grid-template-columns:minmax(0,1fr)}
  .dedi-foto{position:relative;top:auto}
  .luz-capa{justify-content:flex-start;padding-top:3rem}
}
@media (prefers-reduced-motion:reduce){
  .ser .orbe{animation:none}
}

/* v31 · Cierre: ajustes para el sitio */
.tr,.dedi,.rc{--noche:#0f1114;--oro:#f7d58a;--r:22px}
.tr-titulo .kicker{margin:0 0 .6rem;font-family:var(--f-diario);font-size:14px;color:var(--ambar)}
.tr-titulo .kicker b{background:var(--atardecer);color:#fff}
.tr-titulo{grid-template-columns:minmax(0,1fr)}
.tr-titulo .kicker{grid-area:auto}
.tr-titulo h2{grid-row:2}
.rc{color:var(--papel)}
.rc .kicker{color:var(--ambar)}.rc .kicker b{background:var(--atardecer);color:#fff}
.rc .btn{background:var(--ambar);border-color:var(--ambar);color:var(--tinta)}
.rc .btn:hover{background:var(--papel);border-color:var(--papel)}
.rc .btn.ghost{background:transparent;color:var(--papel);border-color:rgba(246,239,227,.6)}
.rc .btn.ghost:hover{background:var(--papel);color:var(--tinta)}
.dedi .kicker b{background:var(--atardecer);color:#fff}
.rc h2,.dedi h2,.tr h2{text-transform:none}

/* v33 · Transformación automática */
.tr-otra{display:none;margin:0;padding:.45rem .9rem;border-radius:999px;border:1px solid rgba(247,213,138,.55);background:rgba(15,17,20,.55);color:var(--oro);font:14px var(--f-diario);cursor:pointer}
.tr-otra:hover{background:var(--ambar);color:var(--tinta);border-color:var(--ambar)}
.tr-otra:focus-visible{outline:3px solid var(--oro);outline-offset:3px}
.tr.encendida .tr-pie-txt{display:none}
.tr.encendida .tr-otra{display:inline-block}
.tr.encendida .barra{opacity:0}
.tr .voz .vieja,.tr .voz .nueva{transition-duration:.6s}

/* v34 · Firma como logotipo */
.brand-firma { display: inline-flex; align-items: center; padding: .2rem 0; }
.brand-firma .firma-logo { width: auto; height: 62px; border-radius: 0; box-shadow: none; object-fit: contain; display: block; }
.firma-pie { display: block; width: auto; height: 84px; margin: 0 0 1.4rem; }
.js .brand-firma .firma-logo.escribe { -webkit-mask-image: linear-gradient(90deg,#000 0 45%,transparent 55%); mask-image: linear-gradient(90deg,#000 0 45%,transparent 55%); -webkit-mask-size: 240% 100%; mask-size: 240% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 100% 0; mask-position: 100% 0; animation: firma-trazo 2.6s .25s cubic-bezier(.55,.1,.35,1) forwards; }
@keyframes firma-trazo { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@media (max-width: 600px) { .brand-firma .firma-logo { height: 50px; } .firma-pie { height: 70px; } }
@media (prefers-reduced-motion: reduce) { .js .brand-firma .firma-logo.escribe { animation: none; -webkit-mask-image: none; mask-image: none; } }
.tr-titulo h1.kicker { font-weight: 400; }

/* v36 · Crédito de la dedicatoria */
.firma span { display: block; }
.firma-kairon { display: inline-block; margin-top: .35rem; font: 600 .82rem var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--tinta); text-decoration: none; border-bottom: 1px solid rgba(29,38,51,.3); padding-bottom: 1px; }
.firma-kairon:hover { color: var(--atardecer); border-color: var(--atardecer); }

/* v37 · Letra de máquina de escribir más grande y legible */
.kicker, .num, .pull cite, .testi footer, .foto-pie, .todo, .libro3d-pista, .wk-estado, .hero-inicio-firma,
.media-pie b, .tr-pie, .dedi-foto figcaption, .firma span, .rc-cont, .rc-bandeja-et, .tr-titulo .kicker, .tr-otra,
.ph .ph-label, .ocaso .sello, .frase-cierre, .voz .vieja {
  -webkit-text-stroke: .35px currentColor; letter-spacing: .015em;
}
.kicker { font-size: 1.12rem; }
.num { font-size: 1.1rem; }
.pull cite { font-size: 1.1rem; }
.testi footer { font-size: 1.02rem; }
.foto-pie { font-size: 1rem; line-height: 1.4; }
.todo { font-size: .9rem; }
.libro3d-pista { font-size: 1rem; }
.wk-estado { font-size: 1.05rem; }
.hero-inicio-firma { font-size: 1.12rem; }
.media-pie b { font-size: .9rem; }
.ph .ph-label { font-size: 1rem; }
.ocaso .sello { font-size: 1.02rem; }
.tr-pie { font-size: 16px; }
.dedi-foto figcaption { font-size: 15px; }
.firma span { font-size: 16px; }
.rc-cont { font-size: 16px; }
.rc-bandeja-et { font-size: 15px; }
.tr-titulo .kicker { font-size: 16px; }
.tr-otra { font-size: 15px; }
.voz .vieja { font-size: clamp(.78rem, 1.5vw, 1.25rem); }
.frase-cierre { font-size: clamp(1.1rem, 1.7vw, 1.3rem); }
@media (max-width: 600px) {
  .kicker { font-size: 1.02rem; }
  .hero-inicio-firma { font-size: 1.02rem; }
}

/* v38 · Jerarquía nombre / oficio en el hero de Inicio */
.hero-inicio-texto .hero-inicio-firma { display: block; gap: 0; margin: 0 0 1.6rem; -webkit-text-stroke: 0; }
.hero-inicio-firma::before { display: none; }
.hif-nombre { display: flex; align-items: center; gap: .8rem; margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; letter-spacing: -.01em; color: var(--papel); }
.hif-nombre::before { content: ""; flex: 0 0 36px; height: 2px; background: var(--atardecer); }
.hif-rol { margin: .45rem 0 0 calc(36px + .8rem); font-family: var(--f-diario); font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.45; color: var(--ambar); -webkit-text-stroke: .35px currentColor; letter-spacing: .015em; max-width: 34ch; }
@media (max-width: 600px) { .hif-nombre { font-size: 1.45rem; } .hif-rol { font-size: .98rem; } }

/* v39 · Hero de Inicio: textos aprovechan el espacio hasta la foto */
@media (min-width: 1021px) {
  .hero-inicio-texto > * { max-width: min(760px, calc(44vw - 2rem)); }
  .hero-inicio h1 { font-size: clamp(3.2rem, 6.9vw, 7rem); }
  .hero-inicio .lead { max-width: min(640px, calc(42vw - 2rem)); font-size: clamp(1.1rem, 1.55vw, 1.35rem); text-wrap: pretty; }
  .hif-rol { max-width: min(600px, calc(40vw - 4rem)); font-size: clamp(1.02rem, 1.3vw, 1.2rem); text-wrap: balance; }
  .hif-nombre { font-size: clamp(1.6rem, 2.4vw, 2.3rem); }
}

/* v40 · WhatsApp con opciones */
.wa-widget { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; }
.wa-widget .wa { position: static; display: inline-flex; align-items: center; gap: .55rem; border: 0; cursor: pointer; font-family: var(--f-body); font-size: .98rem; }
.wa-widget .wa svg { width: 22px; height: 22px; }
.wa-widget .wa[aria-expanded="true"] { background: var(--tinta); }
.wa-panel { width: min(360px, calc(100vw - 36px)); max-height: calc(100svh - 120px); overflow: auto; background: var(--papel); color: var(--tinta); border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45), 0 0 0 1px rgba(29,38,51,.08); transform-origin: bottom right; animation: wa-abre .25s cubic-bezier(.2,.8,.2,1); }
.wa-panel[hidden] { display: none; }
@keyframes wa-abre { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.wa-cab { display: flex; align-items: center; gap: .75rem; background: #1f9d55; color: #fff; padding: .9rem 1rem; border-radius: 20px 20px 0 0; }
.wa-cab img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; }
.wa-cab div { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.wa-cab strong { font-size: 1.02rem; }
.wa-cab span { font-size: .84rem; opacity: .9; }
.wa-cerrar { background: transparent; border: 0; color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; padding: .2rem .4rem; border-radius: 8px; }
.wa-cerrar:hover { background: rgba(255,255,255,.15); }
.wa-saludo { margin: 1rem 1rem .6rem; padding: .8rem 1rem; background: #fff; border-radius: 4px 14px 14px 14px; font-size: .95rem; line-height: 1.45; box-shadow: 0 1px 0 rgba(29,38,51,.08); }
.wa-opciones { list-style: none; margin: 0; padding: .2rem 1rem 1rem; display: grid; gap: .5rem; }
.wa-opciones a { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .75rem 1rem; border-radius: 12px; border: 1.5px solid rgba(31,157,85,.35); background: #fff; color: var(--tinta); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.3; transition: background .15s, border-color .15s, transform .15s; }
.wa-opciones a i { font-style: normal; color: #1f9d55; }
.wa-opciones a:hover, .wa-opciones a:focus-visible { background: #e9f7ef; border-color: #1f9d55; transform: translateX(2px); outline: none; }

/* v40 · Únete pensado para jóvenes */
.unete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; background: radial-gradient(ellipse 70% 60% at 0% 0%, rgba(224,85,47,.35), rgba(224,85,47,0) 60%), radial-gradient(ellipse 60% 60% at 100% 100%, rgba(243,164,58,.22), rgba(243,164,58,0) 60%), var(--tinta); color: var(--papel); border-radius: 28px; padding: clamp(1.6rem, 4vw, 3.5rem); margin-block: clamp(2rem, 5vw, 4rem); }
.unete .kicker { color: var(--ambar); }
.unete .kicker b { background: var(--atardecer); color: #fff; }
.unete h2 { color: var(--papel); font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1; margin: 0 0 1.6rem; text-wrap: balance; }
.unete h2 .mark { color: var(--ambar); font-style: italic; }
.unete-foto { position: relative; margin: 0 0 1.8rem; }
.unete-foto img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; transform: rotate(-1.5deg); box-shadow: 0 24px 50px -24px rgba(0,0,0,.7); }
.sticker { position: absolute; font-family: var(--f-diario); font-size: clamp(.95rem, 1.3vw, 1.1rem); -webkit-text-stroke: .3px currentColor; padding: .45rem .9rem; border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.6); white-space: nowrap; }
.sticker.s1 { top: -.8rem; left: 1rem; background: var(--ambar); color: var(--tinta); transform: rotate(-6deg); }
.sticker.s2 { bottom: 1.2rem; right: -.6rem; background: var(--atardecer); color: #fff; transform: rotate(5deg); }
.sticker.s3 { bottom: -.9rem; left: 2rem; background: var(--papel); color: var(--tinta); transform: rotate(3deg); }
.unete-pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.unete-pasos li { display: flex; align-items: center; gap: .9rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.4; color: #f1e8d8; }
.unete-pasos b { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ambar); color: var(--tinta); font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; }
.unete-form { background: var(--papel); color: var(--tinta); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.unete-form h3 { font-family: var(--f-display); font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 0 0 1rem; line-height: 1.05; }
.unete-aviso { margin: 0 0 1.3rem; padding: .9rem 1rem; background: #fff4e0; border-left: 5px solid var(--ambar); border-radius: 0 12px 12px 0; font-size: 1.02rem; line-height: 1.5; color: var(--tinta); }
.unete-aviso strong { display: block; color: var(--brasa); font-size: 1.05rem; }
.unete-form .tabs { margin-bottom: 1.3rem; }
.unete-form .tabs button { font-size: 1rem; }
.unete-form .form label { font-size: 1rem; }
.unete-form .form input, .unete-form .form textarea { font-size: 1.05rem; padding: .85rem 1rem; }
.unete-form .form .check { font-size: .98rem; }
.unete-form .btn { background: var(--atardecer); border-color: var(--atardecer); color: #fff; font-size: 1.05rem; }
.unete-form .btn:hover { background: var(--tinta); border-color: var(--tinta); color: var(--papel); }
.unete-form .btn.ghost { background: transparent; color: var(--tinta); border-color: var(--tinta); }
.unete-form .btn.ghost:hover { background: var(--tinta); color: var(--papel); }
@media (max-width: 1020px) { .unete { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .sticker.s2 { right: .4rem; } .unete { border-radius: 20px; } }
.unete-form .form, .unete-form .form label, .unete-form .form .row > * { min-width: 0; }
.unete-form .form input:not([type="checkbox"]), .unete-form .form textarea { box-sizing: border-box; width: 100%; max-width: 100%; }
.unete-form .form .error:empty { min-height: 0; margin: 0; }
/* v41 · Etiquetas rectas sobre la foto de Únete */
.sticker.s1, .sticker.s2, .sticker.s3 { transform: none; }
.sticker.s1 { top: .9rem; left: .9rem; }
.sticker.s2 { bottom: .9rem; right: .9rem; }
.sticker.s3 { bottom: .9rem; left: .9rem; }
@media (max-width: 600px) { .sticker { font-size: .88rem; padding: .35rem .7rem; } .sticker.s2 { right: .6rem; } .sticker.s3 { left: .6rem; } .sticker.s1 { left: .6rem; top: .6rem; } }
.unete-foto img { transform: none; }

/* v42 · Etiquetas de Únete fuera de la foto */
.unete-foto .sticker { display: none; }
.unete-foto { margin-bottom: 1rem; }
.unete-chips { list-style: none; margin: 0 0 1.8rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.unete-chips li { font-family: var(--f-diario); font-size: clamp(.98rem, 1.3vw, 1.1rem); -webkit-text-stroke: .3px currentColor; padding: .5rem 1rem; border-radius: 999px; }
.unete-chips .c1 { background: var(--ambar); color: var(--tinta); }
.unete-chips .c2 { background: var(--papel); color: var(--tinta); }
.unete-chips .c3 { background: var(--atardecer); color: #fff; }

/* v42 · Voces del Rebaño: tarjetas que se voltean */
.voces { text-align: center; padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 3vw, 2.5rem); margin-block: clamp(2rem, 5vw, 4rem); border-radius: 28px; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(243,164,58,.18), rgba(243,164,58,0) 70%), var(--noche, #16191e); color: var(--papel); }
.voces-cab { max-width: 820px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); }
.voces-cab .kicker { justify-content: center; color: var(--ambar); }
.voces-cab .kicker b { background: var(--atardecer); color: #fff; }
.voces-cab h2 { color: var(--papel); font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.02; margin: 0 0 1rem; text-wrap: balance; }
.voces-cab h2 .mark { color: var(--ambar); font-style: italic; }
.voces-hint { margin: 0; font-family: var(--f-diario); font-size: 1.05rem; color: #f7d58a; -webkit-text-stroke: .3px currentColor; }
.voces-hint span { display: inline-block; animation: voz-gira 3s ease-in-out infinite; }
@keyframes voz-gira { 0%, 70% { transform: rotate(0); } 85%, 100% { transform: rotate(360deg); } }
.voces-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); justify-items: center; }
.voz-card { width: 100%; max-width: 380px; perspective: 1400px; }
.voz-flip { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; background: transparent; cursor: pointer; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2,.75,.2,1); font: inherit; color: inherit; text-align: center; }
.voz-flip:focus-visible { outline: 3px solid var(--ambar); outline-offset: 6px; border-radius: 24px; }
.voz-card:hover .voz-flip:not([aria-pressed="true"]) { transform: rotateY(-8deg) rotateX(4deg) translateY(-6px); }
.voz-flip[aria-pressed="true"] { transform: rotateY(180deg); }
.voz-cara { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: clamp(1.4rem, 2.6vw, 2.2rem); border-radius: 24px; -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.voz-frente { background: var(--papel); color: var(--tinta); }
.v-ambar .voz-frente { background: linear-gradient(150deg, #ffd27a, var(--ambar)); }
.v-bermellon .voz-frente { background: linear-gradient(150deg, #f07a4d, var(--atardecer)); color: #fff; }
.voz-frente::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 18px solid rgba(29,38,51,.07); }
.v-bermellon .voz-frente::after { border-color: rgba(255,255,255,.12); }
.voz-gen { position: absolute; top: 1.1rem; left: 1.1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 50%; border: 2px dashed currentColor; transform: rotate(-10deg); line-height: 1; }
.voz-gen small { font-family: var(--f-diario); font-size: .58rem; letter-spacing: .04em; }
.voz-gen b { font-family: var(--f-display); font-size: 1.7rem; font-weight: 800; }
.voz-comilla { font-family: var(--f-display); font-weight: 900; font-size: 6rem; line-height: .5; height: 2.6rem; opacity: .35; }
.voz-texto { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.voz-texto em { font-style: normal; color: var(--atardecer); }
.v-bermellon .voz-texto em { color: var(--tinta); }
.voz-pie { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; font-family: var(--f-diario); font-size: .98rem; -webkit-text-stroke: .3px currentColor; }
.voz-pie i { font-style: normal; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--tinta); color: var(--papel); font-size: 1.1rem; transition: transform .3s; }
.voz-card:hover .voz-pie i { transform: rotate(180deg); }
.voz-atras { transform: rotateY(180deg); background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--c) 35%, transparent), transparent 60%), #0f1114; color: var(--papel); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.voz-orbe { width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--c) 45%, transparent 72%); box-shadow: 0 0 30px 8px color-mix(in srgb, var(--c) 60%, transparent); animation: late 3.2s ease-in-out infinite; }
.voz-pilar { font-family: var(--f-diario); font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c); -webkit-text-stroke: .3px currentColor; }
.voz-frase { font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: clamp(1.4rem, 2.1vw, 1.9rem); line-height: 1.18; text-wrap: balance; color: var(--papel); }
.voz-sub { font-size: 1.02rem; line-height: 1.5; color: #d8cfbf; max-width: 28ch; }
.voz-sello { position: absolute; bottom: 1.1rem; left: 0; right: 0; font-family: var(--f-diario); font-size: .85rem; color: rgba(247,213,138,.75); }
@keyframes late { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@media (max-width: 1020px) { .voces-grid { grid-template-columns: minmax(0, 1fr); } .voz-card { max-width: 420px; } }
@media (prefers-reduced-motion: reduce) { .voz-flip { transition: none; } .voz-orbe, .voces-hint span { animation: none; } }
.voz-gen { width: 72px; height: 72px; gap: .15rem; } .voz-gen small { font-size: .78rem; letter-spacing: .12em; -webkit-text-stroke: .3px currentColor; }
.voz-pie span { white-space: nowrap; } @media (max-width: 600px) { .voz-pie { font-size: .88rem; } }

/* v43 · Voces: numeración arriba a la izquierda, como el resto del sitio */
.voces { text-align: left; }
.voces-cab { max-width: 1240px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); }
.voces-cab .kicker { justify-content: flex-start; }
.voces-cab h2 { max-width: 18ch; }
.voz-flip { text-align: center; }
.voces-cab h2 { max-width: 22ch; }

/* v44 · Luz del corazón en el hero de Rebaño */
.hr2-foto-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hr2-luces { position: absolute; inset: 0; pointer-events: none; }
.luz-c { position: absolute; transform: translate(-50%, -50%); aspect-ratio: 1; border-radius: 50%; }
.luz-c::before, .luz-c::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.luz-c::before { background: radial-gradient(circle, #fffbe8 0%, #ffe6a0 12%, rgba(243,164,58,.85) 30%, rgba(224,85,47,.35) 55%, rgba(224,85,47,0) 72%); animation: luzc-late 3.2s ease-in-out infinite; }
.luz-c::after { inset: -60%; background: radial-gradient(circle, rgba(247,213,138,.35), rgba(247,213,138,0) 60%); animation: luzc-halo 3.2s ease-in-out infinite; }
.luz-c.marco { width: 11%; mix-blend-mode: screen; }
.luz-c.nino { width: 6.5%; }
.luz-c.nino::before { background: radial-gradient(circle, #fff 0%, #fff4cf 14%, rgba(247,213,138,.85) 30%, rgba(243,164,58,.35) 52%, rgba(243,164,58,0) 72%); }
.luz-c.n1::before, .luz-c.n1::after { animation-delay: -.8s; }
.luz-c.n2::before, .luz-c.n2::after { animation-delay: -1.6s; }
.luz-c.n3::before, .luz-c.n3::after { animation-delay: -2.4s; }
@keyframes luzc-late { 0%, 100% { transform: scale(.88); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes luzc-halo { 0%, 100% { transform: scale(.85); opacity: .5; } 50% { transform: scale(1.15); opacity: .9; } }
@media (max-width: 1020px) { .hr2-img { height: auto; max-height: none; aspect-ratio: 1290 / 900; } }
@media (prefers-reduced-motion: reduce) { .luz-c::before, .luz-c::after { animation: none; } }

/* v45 · Transición hero → 01: horizonte de luz */
.hero-inicio::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 32%; z-index: -1; pointer-events: none; background: linear-gradient(0deg, #0f1114 0%, rgba(15,17,20,0) 100%); }
.horizonte { position: relative; overflow: hidden; background: #0f1114; padding: 84px 0 1.1rem; }
.horizonte-sol { position: absolute; left: 50%; top: 0; width: 300px; height: 84px; margin-left: -150px; border-radius: 150px 150px 0 0; background: radial-gradient(ellipse 50% 100% at 50% 100%, #fff6dc 0%, #ffd27a 22%, var(--ambar) 40%, rgba(224,85,47,.75) 60%, rgba(224,85,47,0) 100%); transform-origin: 50% 100%; animation: horiz-sol 6s ease-in-out infinite alternate; }
@keyframes horiz-sol { from { transform: scale(.94); opacity: .85; } to { transform: scale(1.05); opacity: 1; } }
.horizonte-linea { height: 2px; margin-bottom: 1rem; background: linear-gradient(90deg, rgba(224,85,47,0), var(--atardecer) 20%, var(--ambar) 50%, var(--atardecer) 80%, rgba(224,85,47,0)); box-shadow: 0 0 18px 3px rgba(243,164,58,.55); }
.horizonte-mq { overflow: hidden; white-space: nowrap; }
.horizonte-t { display: inline-flex; align-items: center; gap: 1.8rem; padding: .2rem 0; animation: horiz-mq 42s linear infinite; }
.horizonte-t span { font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: clamp(1.15rem, 1.9vw, 1.6rem); color: var(--papel); }
.horizonte-t .sep { font-style: normal; font-size: 1rem; color: var(--ambar); }
@keyframes horiz-mq { to { transform: translateX(-33.333%); } }
@media (max-width: 1020px) { .hero-inicio::after { display: none; } .horizonte { padding-top: 64px; } .horizonte-sol { width: 220px; height: 64px; margin-left: -110px; } }
@media (prefers-reduced-motion: reduce) { .horizonte-sol, .horizonte-t { animation: none; } }
.hero-inicio { background: #0f1114; }
@media (max-width: 1020px) { .hero-inicio-texto { background: linear-gradient(180deg, rgba(15,17,20,0) 0, #0f1114 4.5rem); } }

/* v46 · Frases en movimiento entre la sección 01 y la 02 */
.horizonte { padding-bottom: 0; }
.horizonte-linea { margin-bottom: 0; }
.frases-banda { background: #0f1114; padding: 1.1rem 0 1.2rem; border-top: 1px solid rgba(243,164,58,.35); }

/* v47 · Hero → 01 en fundido oscuro; el resplandor baja entre 01 y 02 como amanecer hacia la luz */
.tr-velo{background:linear-gradient(0deg,rgba(15,17,20,.92),rgba(15,17,20,0) 30%),linear-gradient(180deg,#0f1114 0%,rgba(15,17,20,.75) 9%,rgba(15,17,20,0) 30%)}
.frases-banda{border-top:0;padding:1.4rem 0 .4rem}
.horizonte{padding:72px 0 0}
.horizonte-linea{margin:0}
.horizonte-alba{height:clamp(90px,11vw,160px);background:linear-gradient(180deg,rgba(243,164,58,.55) 0%,rgba(247,213,138,.45) 22%,#f6efe3 100%),#f6efe3}
@media (max-width:1020px){.horizonte{padding-top:56px}}
.horizonte-alba{height:clamp(56px,6vw,96px)}

/* v48 · Firma con «Antonio» y rompecabezas como tarjeta dentro de Rebaño */
.brand-firma .firma-logo { height: 62px; }
@media (max-width: 600px) { .brand-firma .firma-logo { height: 46px; } }
.rc.rc-tarjeta { border-radius: 28px; margin-block: clamp(2rem, 5vw, 4rem); padding-inline: clamp(1rem, 3vw, 2.5rem); }
.rc.rc-tarjeta .kicker b { background: var(--atardecer); color: #fff; }

/* v49 · Pantalla de luz: les habla de tú; afirmaciones con símbolo de luz (Constelación) */
.rc .luz-cont{max-width:1180px;width:100%}
.rc .luz-kick{font:15px var(--f-diario);color:var(--oro);letter-spacing:.04em;margin:0 0 1rem;opacity:0;transition:opacity .8s .2s}
.rc.revelado .luz-kick{opacity:1}
.rc .luz-cont h3{font-size:clamp(2.2rem,5.2vw,4.8rem);line-height:1.02;text-wrap:balance}
.rc .luz-cont h3 .tacha{position:relative;display:inline-block;color:#9aa0aa}
.rc .luz-cont h3 .tacha::after{content:"";position:absolute;left:-2%;right:-2%;top:54%;height:.09em;border-radius:3px;background:var(--atardecer);transform:scaleX(0);transform-origin:left;transition:transform .7s 1.3s cubic-bezier(.6,.1,.3,1)}
.rc.revelado .luz-cont h3 .tacha::after{transform:scaleX(1)}
.rc .luz-cont h3 em{display:block;text-shadow:0 0 34px rgba(243,164,58,.45);opacity:0;transition:opacity 1.1s 2s}
.rc.revelado .luz-cont h3 em{opacity:1}
.rc .luz-cont .sub{font-size:clamp(1.1rem,1.6vw,1.4rem);max-width:52ch;margin-bottom:clamp(2rem,4vw,3rem);transition:opacity 1s 2.6s}
.seres.seres-v49{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.8rem,1.6vw,1.2rem);text-align:left;margin:0 0 clamp(2rem,4vw,3rem)}
.seres-v49 .ser{display:flex;align-items:center;gap:clamp(.9rem,2vw,1.4rem);padding:clamp(.9rem,1.8vw,1.3rem) clamp(1rem,2vw,1.6rem);border-radius:20px;background:linear-gradient(100deg,color-mix(in srgb,var(--c) 14%,transparent),rgba(246,239,227,.03) 55%);border:1px solid color-mix(in srgb,var(--c) 38%,transparent);font:inherit;color:var(--papel)}
.rc.revelado .seres-v49 .ser{animation:aparece .9s cubic-bezier(.2,.8,.2,1) var(--d,1s) forwards}
.seres-v49 .halo{flex:0 0 auto;width:clamp(58px,6vw,76px);height:clamp(58px,6vw,76px);display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--c) 30%,transparent) 0%,transparent 70%)}
.seres-v49 .sim{display:block;width:72%;height:72%;overflow:visible;filter:drop-shadow(0 0 4px var(--c)) drop-shadow(0 0 14px var(--c))}
.seres-v49 .sim *{fill:none;stroke:var(--c);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1}
.rc.revelado .seres-v49 .sim *{animation:traza 1.4s cubic-bezier(.55,.1,.3,1) calc(var(--d,1s) + .2s) forwards}
@keyframes traza{to{stroke-dashoffset:0}}
.seres-v49 .ser p{margin:0;font:italic 700 clamp(1.3rem,2.1vw,1.85rem)/1.2 var(--f-display);color:var(--papel);text-shadow:0 2px 14px rgba(0,0,0,.6)}
.seres-v49 .ser p b{font-weight:800;color:var(--c)}
.rc .luz-cierre{font-size:clamp(1.5rem,2.8vw,2.3rem)}
@media (max-width:760px){.seres.seres-v49{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.seres-v49 .sim *{stroke-dashoffset:0;animation:none!important}}
@media (max-width:600px){.rc .luz-capa{padding-inline:.9rem}.seres-v49 .ser{padding:.85rem .9rem;gap:.8rem}.seres-v49 .halo{width:48px;height:48px}.seres-v49 .ser p{font-size:1.25rem}}

/* v50 · Inicio 05: descripción positiva de Marco */
.guia-tit { margin: 0 0 1.2rem; max-width: 22ch; text-wrap: balance; }
.guia-txt { max-width: 58ch; margin: 0; }
.guia-txt strong { color: var(--tinta); }

/* v51 · Inicio 02 «¿Quién eres tú?»: puertas con símbolo (opción A) */
.quien{padding-block:clamp(1rem,2vw,2rem) clamp(2rem,4vw,3.5rem)}
.quien-cab{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:1rem 3rem;align-items:end;margin-bottom:clamp(1.6rem,3vw,2.6rem)}
.quien-cab h2{font:800 clamp(2.4rem,5.4vw,5rem)/1 var(--f-display);letter-spacing:-.02em;margin:0;text-wrap:balance}
.quien-cab h2 em{color:var(--atardecer)}
.quien-cab .lead{margin:0;color:#3b4554}
.quien-puertas{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(.9rem,1.5vw,1.3rem)}
.qp{position:relative;display:flex;text-decoration:none;color:inherit;border-radius:26px;transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s,border-color .45s}
.qp:hover{transform:translateY(-5px)}
.qp:focus-visible{outline:3px solid var(--ambar);outline-offset:3px}
.qp-h,.qp-p,.qp-para,.qp-tag{display:block}
.qp-sim{display:block;overflow:visible}
.qp-sim *{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.qp-ir{display:grid;place-items:center;flex:0 0 auto;width:52px;height:52px;border-radius:50%;border:1.5px solid currentColor;font-size:1.2rem;transition:transform .4s,background .4s,color .4s,border-color .4s}
.qp-joven{grid-row:span 3;flex-direction:column;justify-content:space-between;gap:2rem;padding:clamp(1.8rem,3.4vw,3.2rem);color:var(--papel);
  background:radial-gradient(ellipse 80% 70% at 100% 100%,rgba(243,164,58,.32),rgba(243,164,58,0) 60%),radial-gradient(ellipse 60% 60% at 0% 0%,rgba(224,85,47,.30),rgba(224,85,47,0) 60%),var(--tinta)}
.qp-joven:hover{box-shadow:0 34px 70px -34px rgba(224,85,47,.7)}
.qp-arriba{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}
.qp-joven .qp-sim{width:clamp(70px,7vw,96px);height:clamp(70px,7vw,96px);color:var(--ambar);filter:drop-shadow(0 0 10px rgba(243,164,58,.7))}
.qp-tag{font:13px var(--f-diario);letter-spacing:.04em;border-radius:999px;padding:.32rem .8rem;background:#f7d58a;color:var(--tinta)}
.qp-joven .qp-h{margin:0 0 1rem;font:800 clamp(2.3rem,4.2vw,4.2rem)/1.02 var(--f-display);letter-spacing:-.02em;text-wrap:balance}
.qp-joven .qp-h em{color:var(--ambar)}
.qp-joven .qp-p{font-size:clamp(1.12rem,1.45vw,1.35rem);line-height:1.55;color:#ece2d1;max-width:40ch}
.qp-accion{display:flex;align-items:center;gap:1rem;font:700 clamp(1.05rem,1.3vw,1.2rem) var(--f-body);color:var(--ambar)}
.qp-joven:hover .qp-ir{background:var(--ambar);color:var(--tinta);border-color:var(--ambar);transform:translateX(6px)}
.qp-sec{align-items:center;gap:clamp(1rem,2vw,1.6rem);padding:clamp(1.2rem,2.2vw,1.8rem) clamp(1.2rem,2.4vw,2rem);background:#fbf7f0;border:1.5px solid rgba(29,38,51,.1)}
.qp-sec:hover{border-color:var(--c);box-shadow:0 24px 44px -28px rgba(29,38,51,.45)}
.qp-halo{flex:0 0 auto;display:grid;place-items:center;width:clamp(62px,5.6vw,80px);height:clamp(62px,5.6vw,80px);border-radius:20px;color:var(--c);background:color-mix(in srgb,var(--c) 13%,transparent)}
.qp-halo .qp-sim{width:58%;height:58%}
.qp-txt{flex:1 1 auto;min-width:0}
.qp-para{font:13px var(--f-diario);color:var(--c);margin-bottom:.35rem;letter-spacing:.03em}
.qp-sec .qp-h{margin:0 0 .35rem;font:800 clamp(1.4rem,2vw,1.95rem)/1.1 var(--f-display);letter-spacing:-.01em;color:var(--tinta)}
.qp-sec .qp-p{font-size:clamp(1rem,1.15vw,1.1rem);line-height:1.5;color:#46505f}
.qp-sec .qp-ir{color:var(--tinta)}
.qp-sec:hover .qp-ir{background:var(--c);border-color:var(--c);color:#fff;transform:translateX(5px)}
@media (max-width:1020px){.quien-cab{grid-template-columns:1fr}.quien-puertas{grid-template-columns:1fr}.qp-joven{grid-row:auto}}
@media (max-width:620px){.qp-sec{flex-wrap:wrap}.qp-sec .qp-ir{display:none}}

/* Regalo · Para Marco */
.dedi .despedida{margin-top:2rem;font-style:italic;color:#46505f}
.dedi .firma{margin-top:.6rem}
.regalo-pie .wrap{text-align:left;padding-block:clamp(2.5rem,5vw,4rem)}
.site-header .nav-toggle{display:none}
.dedi .saludo{font:italic 700 clamp(1.5rem,2.2vw,2rem)/1.2 var(--f-display);color:var(--atardecer);margin:0 0 1rem}
