
/* ══════════════════════════════════════════════════════════════
   YORUBA537 · Sistema visual v59
   Identidad intacta: negro cálido + dorado.
   El dorado pasa a ser ACENTO, no relleno.
   ══════════════════════════════════════════════════════════════ */

/* ── 1. TOKENS ────────────────────────────────────────────── */
:root {
  color-scheme: dark;

  /* Marca */
  --gold:        #D8BA72;
  --gold-bright: #F2DEA8;
  --gold-deep:   #A07F35;
  --gold-ink:    #241A06;
  --gold-light:  var(--gold-bright);
  --gold-dark:   var(--gold-deep);

  /* Superficies */
  --bg:      #0A0806;
  --bg-soft: #100D09;
  --deep:    var(--bg);
  --dark:    #12100B;
  --dark2:   #16130E;
  --dark3:   #1B1710;

  --surface:   rgba(255, 246, 228, .035);
  --surface-2: rgba(255, 246, 228, .07);
  --line:      rgba(216, 186, 114, .13);
  --line-2:    rgba(216, 186, 114, .28);
  --line-3:    rgba(216, 186, 114, .55);

  /* Texto */
  --ink:   #F3EBDB;
  --ink-2: #BEB19A;
  --ink-3: #8A7F6A;
  --text:  var(--ink);
  --text-muted: var(--ink-2);

  /* Acento dinámico — cada card lo sobreescribe vía JS */
  --accent:   #D8BA72;
  --accent-2: #A07F35;

  /* Tipografía */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-brand:   'Cinzel Decorative', 'Playfair Display', serif;
  --font-ui:      'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'EB Garamond', Georgia, serif;

  --step--2: .75rem;
  --step--1: .8125rem;
  --step-0:  .9375rem;
  --step-1:  1.0625rem;
  --step-2:  1.25rem;
  --step-3:  clamp(1.45rem, 3vw, 1.95rem);
  --step-4:  clamp(1.9rem, 4.6vw, 2.9rem);

  --sp-1:4px; --sp-2:8px;  --sp-3:12px; --sp-4:16px; --sp-5:24px;
  --sp-6:32px; --sp-7:48px; --sp-8:72px; --sp-9:104px;

  --r-xs:6px; --r-sm:10px; --r-md:16px; --r-lg:22px; --r-pill:999px;

  --sh-1: 0 1px 2px rgba(0,0,0,.4);
  --sh-2: 0 6px 18px -6px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.4);
  --sh-3: 0 22px 48px -16px rgba(0,0,0,.75), 0 8px 18px -8px rgba(0,0,0,.5);

  --ease:     cubic-bezier(.16,1,.3,1);
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --t-fast:.16s; --t:.32s; --t-slow:.6s;

  --maxw: 1080px;
  --nav-h: 60px;
}

/* ── 2. RESET ─────────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-1);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; }

::selection { background: rgba(216,186,114,.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

* { scrollbar-width: thin; scrollbar-color: rgba(216,186,114,.28) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: rgba(216,186,114,.24);
  border-radius: var(--r-pill);
  border: 3px solid var(--bg);
}

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  z-index: 2000; background: var(--gold); color: var(--gold-ink);
  padding: 10px 20px; border-radius: var(--r-pill);
  font-family: var(--font-ui); font-size: var(--step--1); font-weight: 600;
  text-decoration: none; transition: top var(--t) var(--ease);
}
.skip-link:focus { top: 12px; }

/* ── 3. CAPAS DE FONDO ────────────────────────────────────── */
/* Los símbolos yoruba se conservan, pero atenuados con máscara
   radial para que jamás compitan con el contenido. */
#bgSymbols {
  position: fixed; inset: 0; z-index: -2;
  pointer-events: none;
  opacity: .38;
  -webkit-mask-image: radial-gradient(ellipse 115% 75% at 50% 26%, #000 0%, rgba(0,0,0,.3) 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 115% 75% at 50% 26%, #000 0%, rgba(0,0,0,.3) 55%, transparent 100%);
}

/* Halos cálidos: dan profundidad al negro plano */
#bgGlow {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% -6%,  rgba(216,186,114,.14), transparent 65%),
    radial-gradient(ellipse 45% 35% at 6% 40%,   rgba(184,124,44,.075), transparent 60%),
    radial-gradient(ellipse 50% 40% at 97% 70%,  rgba(216,186,114,.06), transparent 62%),
    var(--bg);
}

/* Grano fino */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 400;
  pointer-events: none; opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
}

/* ── 4. REVELADO AL SCROLL ────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ── 5. TIPOGRAFÍA Y UTILIDADES DE SECCIÓN ────────────────── */
.eyebrow {
  font-family: var(--font-ui);
  font-size: var(--step--2); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep);
}

.section-head {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--sp-3); margin-bottom: var(--sp-7); text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 600; line-height: 1.2; letter-spacing: .005em;
  color: var(--ink); text-align: center; margin: 0;
}
/* Variante en versales: la serif en mayúsculas necesita algo de tracking
   para no apelotonarse. */
.section-title.is-caps {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
}

.section-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-deep), var(--gold-bright) 45%, var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-sub {
  text-align: center; color: var(--ink-3);
  font-family: var(--font-ui); font-size: var(--step-0);
  line-height: 1.6; max-width: 46ch; margin: 0 auto;
}

.divider {
  position: relative;
  width: 72px; height: 1px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--line-3), transparent);
}
.divider::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 4px; height: 4px; margin: -2px 0 0 -2px;
  border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 10px rgba(216,186,114,.9);
}

/* ── 6. NAVBAR ────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 900;
  height: var(--nav-h);
  padding: 0 var(--sp-5);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  background: rgba(10,8,6,.7);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
          backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background var(--t) var(--ease),
              border-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease);
}
.navbar.is-scrolled {
  background: rgba(10,8,6,.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -14px rgba(0,0,0,.9);
}

.navbar-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0; border-radius: var(--r-pill);
}

.navbar-logo-icon {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-brand); font-weight: 900; font-size: .72rem;
  color: var(--gold-ink);
  background: linear-gradient(140deg, var(--gold-bright), var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 0 0 1px rgba(216,186,114,.35), 0 4px 14px -4px rgba(216,186,114,.45);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.navbar-logo:hover .navbar-logo-icon {
  transform: rotate(-8deg) scale(1.06);
  box-shadow: 0 0 0 1px rgba(216,186,114,.55), 0 6px 20px -4px rgba(216,186,114,.65);
}

.navbar-logo-text {
  font-family: var(--font-brand);
  font-size: .84rem; font-weight: 700; letter-spacing: .12em;
  background: linear-gradient(100deg, var(--gold-deep), var(--gold-bright) 50%, var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-links { display: flex; align-items: center; gap: var(--sp-1); }
.navbar-links a {
  font-family: var(--font-ui);
  font-size: var(--step--1); font-weight: 500; letter-spacing: .05em;
  color: var(--ink-2); text-decoration: none; cursor: pointer;
  padding: 8px 14px; border-radius: var(--r-pill);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.navbar-links a:hover { color: var(--gold-bright); background: var(--surface-2); }

.navbar-social { display: flex; align-items: center; gap: 2px; }
.navbar-social a {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink-3);
  transition: color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              transform var(--t) var(--ease);
}
.navbar-social a:hover {
  color: var(--gold-bright); background: var(--surface-2);
  transform: translateY(-2px);
}
.navbar-social svg { width: 17px; height: 17px; }

.navbar-tagline {
  font-family: var(--font-ui); font-size: var(--step--2);
  color: var(--gold-deep); letter-spacing: .08em;
}

/* ── 7. HERO DE MARCA ─────────────────────────────────────── */
.hero {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  position: relative;
}
.hero .symbol { margin-bottom: var(--sp-2); }
.hero .brand { font-size: clamp(1.5rem, 4.4vw, 2.4rem); margin-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.symbol {
  font-size: .9rem; letter-spacing: .55em; text-indent: .55em;
  color: var(--gold-deep);
  margin-bottom: var(--sp-4);
  animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; text-shadow: 0 0 24px rgba(216,186,114,.55); }
}

.brand {
  font-family: var(--font-brand);
  font-size: clamp(1.7rem, 6.5vw, 3.2rem);
  font-weight: 900; line-height: 1;
  letter-spacing: .1em; text-indent: .1em;
  background: linear-gradient(105deg,
    var(--gold-deep) 0%, var(--gold) 28%, var(--gold-bright) 48%,
    var(--gold) 68%, var(--gold-deep) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--sp-4);
  animation: shimmer 9s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

.tagline {
  font-family: var(--font-ui);
  font-size: var(--step--1); font-weight: 500;
  letter-spacing: .24em; text-indent: .24em; text-transform: uppercase;
  line-height: 1.8; max-width: 40ch;
  color: var(--ink-2);
  margin: 0;
}

.hero-desc {
  max-width: 52ch; font-size: var(--step-1);
  line-height: 1.75; color: var(--ink-2);
}
.hero-desc strong { color: var(--gold); font-weight: 600; }

.scroll-hint, .scroll-arrow { display: none; }

/* ── 8. HERO PATAKÍ ───────────────────────────────────────── */
.hero-pataki {
  max-width: var(--maxw); margin-inline: auto;
  padding: var(--sp-6) var(--sp-5) var(--sp-8);
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
/* Techo al alto de la imagen: en pantallas grandes el hero no debe
   empujar el resto de la página fuera del primer pantallazo. */
.hero-pataki > .hero-img-wrap { max-width: 400px; width: 100%; justify-self: center; }

/* Marco dorado — mismo espíritu, ejecución más limpia */
.hero-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  padding: 5px;
  border: 5px solid transparent;
  border-radius: var(--r-sm);
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(155deg,
      #F5E4A8 0%, #C9A64A 10%, #8B6A18 20%,
      #EBD188 32%, #C9A64A 44%,
      #7A5A10 54%, #C9A64A 64%,
      #EBD188 76%, #8B6A18 86%, #D6B45C 100%) border-box;
  box-shadow:
    0 30px 60px -22px rgba(0,0,0,.85),
    0 10px 24px -12px rgba(0,0,0,.6),
    0 0 60px -20px rgba(216,186,114,.35),
    inset 0 2px 0 rgba(255,240,170,.5),
    inset 0 -2px 0 rgba(40,26,4,.75);
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.hero-img-wrap:hover {
  transform: translateY(-4px);
  box-shadow:
    0 38px 70px -22px rgba(0,0,0,.9),
    0 12px 28px -12px rgba(0,0,0,.6),
    0 0 80px -18px rgba(216,186,114,.5),
    inset 0 2px 0 rgba(255,240,170,.6),
    inset 0 -2px 0 rgba(40,26,4,.75);
}

.hero-img-wrap::before {
  content: '';
  position: absolute; inset: 0;
  border: 1.5px solid rgba(18,11,2,.9);
  border-radius: calc(var(--r-sm) - 4px);
  box-shadow: inset 0 1px 4px rgba(0,0,0,.8);
  z-index: 2; pointer-events: none;
}
.hero-img-wrap::after { display: none; }

.hero-img-inner {
  position: relative; width: 100%; height: 100%;
  overflow: hidden; border-radius: calc(var(--r-sm) - 5px);
}
.hero-img-inner::before {
  content: '';
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border: 1px solid rgba(216,186,114,.22);
  border-radius: inherit;
  background: linear-gradient(to top, rgba(10,8,6,.55) 0%, transparent 38%);
}

.hero-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 20%;
  transition: transform 1.1s var(--ease);
}
.hero-img-wrap:hover img { transform: scale(1.035); }

/* Ornamentos de esquina */
.hero-frame-corners { position: absolute; inset: -5px; z-index: 4; pointer-events: none; }
.hero-frame-corners svg {
  position: absolute; width: 22px; height: 22px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.7));
}
.hero-frame-corners svg:nth-child(1) { top:0; left:0; }
.hero-frame-corners svg:nth-child(2) { top:0; right:0; transform: scaleX(-1); }
.hero-frame-corners svg:nth-child(3) { bottom:0; left:0; transform: scaleY(-1); }
.hero-frame-corners svg:nth-child(4) { bottom:0; right:0; transform: scale(-1,-1); }

.hero-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-ui);
  font-size: .625rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: #DFF3E4;
  padding: 5px 11px 5px 9px;
  border-radius: var(--r-pill);
  background: rgba(24,60,32,.78);
  border: 1px solid rgba(120,210,150,.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px -4px rgba(0,0,0,.7);
}

.hero-content { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4); }

.hero-signo {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui);
  font-size: var(--step--2); font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: var(--surface);
}

a.hero-signo { text-decoration: none; transition: border-color var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease); }
a.hero-signo::after {
  content: '→'; letter-spacing: 0; font-size: 1.1em; line-height: 1;
  transition: transform var(--t) var(--ease);
}
@media (hover: hover) {
  a.hero-signo:hover { border-color: var(--gold); background: rgba(216,186,114,.12); color: var(--gold-bright); }
  a.hero-signo:hover::after { transform: translateX(3px); }
}
a.hero-signo:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Tarjetas de "Últimos publicados": toda la tarjeta lleva a la ficha del signo
   (los botones siguen haciendo lo suyo) */
.latest-card[data-href] { cursor: pointer; }
.latest-card .sign-name a { color: inherit; text-decoration: none; }
@media (hover: hover) { .latest-card[data-href]:hover .sign-name { color: var(--gold-bright); } }
.latest-card .sign-name { transition: color var(--t) var(--ease); }

.hero-titulo {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.hero-pataki .hero-desc {
  font-size: var(--step-1); color: var(--ink-2);
  line-height: 1.75; max-width: 42ch; margin: 0;
}

.hero-btns {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  margin-top: var(--sp-2); width: 100%;
}

/* ── 8b. HERO CON CLIP (9:16) ──────────────────────────────────
   El marco dorado es siempre 9:16. Si LATEST[0] trae heroVideo,
   publicar.py pone la clase has-video en #hero-pataki-wrap y añade un
   <video> encima de la imagen (que queda como respaldo).
   · Escritorio: cuadro dorado con el clip dentro, texto a la derecha.
   · Móvil (desde v179): el mismo cuadro dorado, centrado, con el texto debajo, casi de borde a borde. */
.hero-pataki > .hero-img-wrap { aspect-ratio: 9 / 16; }
@media (min-width: 861px) {
  .hero-pataki > .hero-img-wrap {
    /* nunca más alto que la ventana: el cuadro cabe entero en el 1.er pantallazo */
    width: min(380px, calc((100svh - var(--nav-h) - 110px) * 9 / 16));
    min-width: 260px;
    justify-self: end;
  }
}
.hero-cine-video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.hero-img-wrap:hover .hero-cine-video { transform: scale(1.035); }
.hero-img-inner .hero-badge { z-index: 3; }

@media (max-width: 860px) {
  /* v179: en móvil el clip va dentro del mismo marco dorado 9:16 que en PC,
     con el título y los botones debajo. El cuadro nunca es más alto que la
     ventana, para que se vea entero en el primer pantallazo. */
  .hero-pataki.has-video > .hero-img-wrap {
    /* v179b: casi de borde a borde (6 px de margen a cada lado) */
    width: calc(100vw - 12px); min-width: 0; max-width: none;
    margin-inline: calc(50% - 50vw + 6px);
  }
  .hero-pataki.has-video .hero-desc { display: none; }
  .hero-pataki.has-video .hero-img-wrap:hover img,
  .hero-pataki.has-video .hero-img-wrap:hover .hero-cine-video { transform: none; }
  .hero-pataki.has-video .hero-img-wrap:hover { transform: none; }
}

/* ── 9. BOTONES ───────────────────────────────────────────── */
.btn,
.hero-btn-primary, .hero-btn-secondary,
.btn-free, .btn-buy, .btn-tiktok, .btn-wallpaper,
.btn-unlock, .btn-submit, .child-btn,
.book-buy, .book-sample {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              background var(--t) var(--ease),
              border-color var(--t) var(--ease),
              color var(--t) var(--ease),
              filter var(--t) var(--ease);
}
.btn svg, .hero-btn-primary svg, .hero-btn-secondary svg,
.btn-free svg, .btn-buy svg, .btn-tiktok svg, .btn-wallpaper svg,
.btn-unlock svg, .child-btn svg, .book-buy svg, .book-sample svg {
  width: 1em; height: 1em; flex-shrink: 0;
}

/* Primario dorado con brillo que barre en hover */
.hero-btn-primary, .btn-free, .btn-buy, .btn-submit, .child-btn-buy, .book-buy {
  color: var(--gold-ink);
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  box-shadow: 0 6px 20px -8px rgba(216,186,114,.7), inset 0 1px 0 rgba(255,255,255,.28);
  overflow: hidden;
}
.hero-btn-primary::after, .btn-free::after, .btn-buy::after,
.btn-submit::after, .child-btn-buy::after, .book-buy::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .75s var(--ease);
  pointer-events: none;
}
.hero-btn-primary:hover::after, .btn-free:hover::after, .btn-buy:hover::after,
.btn-submit:hover::after, .child-btn-buy:hover::after, .book-buy:hover::after { transform: translateX(120%); }

.hero-btn-primary:hover, .btn-free:hover, .btn-buy:hover,
.btn-submit:hover, .child-btn-buy:hover, .book-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(216,186,114,.85), inset 0 1px 0 rgba(255,255,255,.35);
}
.hero-btn-primary:active, .btn-free:active, .btn-buy:active, .btn-submit:active { transform: translateY(0); }

.hero-btn-primary { padding: 14px 26px; font-size: var(--step-0); }
.hero-btn-primary, .hero-btn-secondary { flex: 1 1 auto; min-width: 190px; }

/* Secundario: vidrio con borde */
.hero-btn-secondary, .btn-tiktok, .btn-wallpaper, .btn-unlock, .child-btn-free, .book-sample {
  color: var(--ink);
  background: var(--surface-2);
  border-color: var(--line-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-btn-secondary:hover, .btn-tiktok:hover, .btn-wallpaper:hover,
.btn-unlock:hover, .child-btn-free:hover:not([disabled]), .book-sample:hover {
  color: var(--gold-bright);
  border-color: var(--line-3);
  background: rgba(216,186,114,.11);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.8);
}

.hero-btn-secondary { padding: 14px 26px; font-size: var(--step-0); }

.btn-submit { width: 100%; padding: 15px; font-size: var(--step-0); letter-spacing: .06em; }
.btn-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.btn-free, .btn-buy   { width: 100%; padding: 11px 18px; font-size: var(--step--1); }
.btn-tiktok           { width: 100%; padding: 11px 18px; font-size: var(--step--1); }
.btn-wallpaper        { width: 100%; padding: 11px 18px; font-size: var(--step--1); }
.btn-unlock           { width: 100%; padding: 12px 18px; font-size: var(--step--1); margin-top: var(--sp-2); }

/* v180 — botones de red: "Ver en" + logo (Facebook y TikTok), uno por red */
.btn-net { gap: 8px; }
.btn-net .net-txt { letter-spacing: .04em; }
.btn-net svg.net-logo { width: 1.5em; height: 1.5em; flex-shrink: 0; }
.btn-net-fb:hover { border-color: rgba(24,119,242,.65); }
.btn-net-tt:hover { border-color: rgba(37,244,238,.55); }
.sign-actions-row.sign-nets > * { padding-inline: var(--sp-2); }
.hero-nets { display: flex; gap: var(--sp-3); width: 100%; }
.hero-nets > .hero-btn-secondary { flex: 1 1 0; min-width: 0; }

/* ── 10. SUPERFICIE DE CARD (base compartida) ─────────────── */
.latest-card, .sign-card, .meyi-card, .children-panel, .child-card {
  position: relative;
  border-radius: var(--r-md);
  background:
    linear-gradient(168deg, rgba(255,246,228,.055) 0%, rgba(255,246,228,.018) 42%, rgba(255,246,228,0) 100%),
    var(--dark2);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  transition: transform var(--t) var(--ease),
              border-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              background var(--t) var(--ease);
}

/* Filete de acento superior */
.latest-card::before, .sign-card::before, .meyi-card::before {
  content: '';
  position: absolute; top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--t) var(--ease), left var(--t) var(--ease), right var(--t) var(--ease);
}
.latest-card:hover::before, .sign-card:hover::before,
.meyi-card:hover::before, .meyi-card.open::before {
  opacity: .9; left: 0; right: 0;
}

.latest-card:hover, .sign-card:hover, .meyi-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow:
    var(--sh-3),
    0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent),
    0 24px 50px -26px color-mix(in srgb, var(--accent) 65%, transparent);
}

/* ── 11. ÚLTIMOS PUBLICADOS ───────────────────────────────── */
.latest-section {
  max-width: var(--maxw); margin-inline: auto;
  padding: var(--sp-7) var(--sp-5) var(--sp-6);
}

/* Carrusel de los 10 últimos: 3 a la vista en escritorio, 2 en tablet y,
   en móvil, una tarjeta centrada con las vecinas asomando más pequeñas. */
.latest-car { position: relative; }
.latest-grid {
  position: relative;
  display: flex; gap: var(--sp-5);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 2px 16px;
}
.latest-grid::-webkit-scrollbar { display: none; }
.latest-grid:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: var(--r-md); }
.latest-grid > .latest-card {
  flex: 0 0 calc((100% - 2 * var(--sp-5)) / 3);
  min-width: 0; scroll-snap-align: start;
}
.latest-nav {
  position: absolute; top: calc(50% - 14px); z-index: 5;
  width: 46px; height: 46px; margin-top: -23px;
  display: grid; place-items: center;
  border-radius: 50%; cursor: pointer;
  color: var(--gold-bright);
  background: rgba(10,8,6,.78);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(216,186,114,.45);
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.9);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), background var(--t) var(--ease);
}
.latest-nav svg { width: 22px; height: 22px; }
.latest-prev { left: -20px; }
.latest-next { right: -20px; }
@media (min-width: 1240px) { .latest-prev { left: -64px; } .latest-next { right: -64px; } }
.latest-nav:disabled { opacity: 0; pointer-events: none; }
@media (hover: hover) { .latest-nav:hover { background: rgba(40,30,12,.92); transform: scale(1.06); } }
.latest-nav:active { transform: scale(.96); }
.latest-nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.latest-dots { display: none; }
.hero-btn-secondary[hidden] { display: none !important; }

@media (max-width: 1024px) {
  .latest-grid > .latest-card { flex-basis: calc((100% - var(--sp-5)) / 2); }
}
@media (max-width: 640px) {
  .latest-car { margin-inline: calc(50% - 50vw); }
  .latest-nav { display: none; }
  .latest-grid {
    gap: 6px; padding: 8px 14vw 14px;
    scroll-padding-inline: 14vw;
  }
  .latest-grid > .latest-card,
  .latest-grid > .latest-card:hover {
    flex: 0 0 72vw; scroll-snap-align: center;
    transform: scale(var(--s, 1)); opacity: var(--o, 1);
    transition: none;
    will-change: transform;
    box-shadow: 0 14px 30px -18px rgba(0,0,0,.9);
  }
  .latest-grid > .latest-card::before { display: none; }
  .latest-dots {
    display: flex; justify-content: center; gap: 7px; margin-top: 4px;
  }
  .latest-dots span {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(216,186,114,.28);
    transition: width var(--t) var(--ease), background var(--t) var(--ease);
  }
  .latest-dots span.on { width: 18px; border-radius: 3px; background: var(--gold); }
}
/* Donde el navegador lo soporta, el efecto de tamaño lo calcula el propio
   motor de scroll (sin JavaScript en cada fotograma): va fluido. */
@supports (animation-timeline: view()) {
  @media (max-width: 640px) {
    .latest-grid > .latest-card,
    .latest-grid > .latest-card:hover {
      animation: latestFocus linear both;
      animation-timeline: view(inline);
    }
  }
}
@keyframes latestFocus {
  0%   { transform: scale(.88); opacity: .62; }
  50%  { transform: scale(1);   opacity: 1; }
  100% { transform: scale(.88); opacity: .62; }
}
@media (prefers-reduced-motion: reduce) {
  .latest-grid > .latest-card { animation: none !important; }
}
/* Sin desenfoques dentro del carrusel: son lo que más pesa al deslizar */
.latest-grid .btn-tiktok, .latest-grid .btn-wallpaper, .latest-grid .wallpaper-watermark {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: rgba(14,11,8,.78);
}

.latest-card { padding: var(--sp-5); display: flex; flex-direction: column; }

/* Tarjeta con la imagen del patakí a sangre: el contenido flota encima
   de un degradado que le garantiza el contraste. */
.latest-card.has-bg {
  padding: 0;
  aspect-ratio: 3/4;
  min-height: 420px;
  overflow: hidden;
  justify-content: flex-end;
}

.latest-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.latest-card.has-bg:hover .latest-bg { transform: scale(1.06); }

/* Viñeta general: baja la exposición de la foto sin tapar el motivo */
.latest-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(6,4,3,.55) 0%, rgba(6,4,3,.18) 45%, transparent 75%),
    linear-gradient(to top, color-mix(in srgb, var(--accent) 18%, transparent), transparent 40%);
  transition: opacity var(--t) var(--ease);
}
.latest-card.has-bg:hover .latest-scrim { opacity: .88; }

/* El degradado fuerte cuelga del propio bloque de contenido, así crece
   con él: da igual que el subtítulo ocupe una línea o tres. */
.latest-body {
  position: relative; z-index: 2;
  padding: var(--sp-8) var(--sp-5) var(--sp-5);
  display: flex; flex-direction: column;
  background: linear-gradient(to top,
    rgba(6,4,3,.97)  0%,
    rgba(6,4,3,.95) 45%,
    rgba(6,4,3,.82) 68%,
    rgba(6,4,3,.42) 85%,
    transparent    100%);
}

.latest-card.has-bg .wallpaper-watermark {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-family: var(--font-brand);
  font-size: .5rem; letter-spacing: .18em;
  color: rgba(242,222,168,.85);
  background: rgba(10,8,6,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(216,186,114,.2);
  padding: 3px 8px; border-radius: var(--r-pill);
}

/* Sobre la foto, el texto necesita algo más de peso y sombra */
.latest-card.has-bg .sign-name {
  font-size: var(--step-3);
  text-shadow: 0 2px 14px rgba(0,0,0,.85);
}
.latest-card.has-bg .sign-subtitle {
  color: var(--ink-2);
  text-shadow: 0 1px 10px rgba(0,0,0,.9);
}
.latest-card.has-bg .sign-number {
  color: var(--gold);
  text-shadow: 0 1px 10px rgba(0,0,0,.9);
}

.sign-actions-row { display: flex; gap: var(--sp-2); }
.sign-actions-row > * { flex: 1 1 0; min-width: 0; padding-inline: var(--sp-3); }

.latest-badge {
  display: inline-flex; align-items: center; gap: 7px;
  align-self: flex-start;
  font-family: var(--font-ui);
  font-size: var(--step--2); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(216,186,114,.1);
  border: 1px solid var(--line-2);
  padding: 5px 12px; border-radius: var(--r-pill);
  margin-bottom: var(--sp-4);
}

.dot-gold {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100% { opacity:.45; } 50% { opacity:1; } }

.card-header { margin-bottom: var(--sp-4); }

/* ── 13. BUSCADOR ─────────────────────────────────────────── */
/* ── LIBROS · un volumen por orisha, venta en Payhip ─────────
   Payhip siempre lleva al comprador a su página de pago (su script ya
   no abre checkout superpuesto): los botones son enlaces normales.
   No usar aquí clases hero-btn-*: publicar.py reescribe la primera
   que encuentra. */
.books-section {
  max-width: var(--maxw); margin-inline: auto;
  padding: var(--sp-7) var(--sp-5) var(--sp-6);
}

/* Yemayá: el libro disponible, con su portada real en grande */
.book-feature {
  display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: var(--sp-7); align-items: center;
  padding: var(--sp-7);
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 55% 75% at 24% 50%, rgba(38,56,112,.34), transparent 70%),
    linear-gradient(160deg, var(--dark2), var(--dark));
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
}
.book-object {
  position: relative; width: 100%; max-width: 400px; margin-inline: auto;
  border-radius: 2px 5px 5px 2px;
  transition: transform var(--t-slow) var(--ease);
}
.book-object img {
  display: block; width: 100%; height: auto;
  border-radius: inherit;
  box-shadow:
    0 0 0 1px rgba(216,186,114,.16),
    0 34px 60px -22px rgba(0,0,0,.95),
    0 14px 26px -14px rgba(0,0,0,.85);
}
/* Lomo y brillo muy tenues: que se lea como un libro, sin maqueta 3D */
.book-object::before, .book-object::after { content: ''; position: absolute; pointer-events: none; border-radius: inherit; }
.book-object::before { inset: 0 auto 0 0; width: 3%; background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(0,0,0,.4) 55%, transparent); }
.book-object::after  { inset: 0; background: linear-gradient(112deg, rgba(255,255,255,.07), transparent 32%); }
.book-feature:hover .book-object { transform: translateY(-6px); }

.book-info { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4); min-width: 0; }
.book-tag {
  font-family: var(--font-ui); font-size: var(--step--2); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-ink); background: var(--gold);
  border-radius: var(--r-pill); padding: 4px 12px;
}
.book-tag.is-soon { color: var(--gold); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.book-title { font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; line-height: 1.1; color: var(--ink); margin: 0; }
.book-title span { display: block; margin-top: 4px; font-family: var(--font-brand); font-weight: 700; font-size: var(--step-4); letter-spacing: .03em; color: var(--gold); }
.book-subtitle { text-wrap: balance; font-family: var(--font-body); font-style: italic; font-size: var(--step-2); line-height: 1.35; color: var(--ink-2); margin: calc(var(--sp-2) * -1) 0 0; }
.book-meta {
  display: flex; flex-wrap: wrap; gap: 4px 0;
  list-style: none; margin: 0; padding: 0;
  font-family: var(--font-ui); font-size: var(--step--1); color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.book-meta li + li::before { content: '✦'; margin: 0 var(--sp-2); font-size: .6em; vertical-align: middle; color: var(--gold-deep); }
.book-desc { font-family: var(--font-body); font-size: var(--step-1); line-height: 1.6; color: var(--ink-2); margin: 0; max-width: 46ch; }
.book-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-2); }
.book-buy    { padding: 13px 26px; font-size: var(--step-0); }
.book-sample { padding: 12px 22px; font-size: var(--step--1); }
.book-more {
  font-family: var(--font-ui); font-size: var(--step--1); font-weight: 500;
  color: var(--gold); background: none; border: 0; border-bottom: 1px solid var(--line-2);
  padding: 2px 0; cursor: pointer;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.book-more:hover { color: var(--gold-bright); border-color: var(--line-3); }
.book-buy:focus-visible, .book-sample:focus-visible, .book-more:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.book-fine { font-family: var(--font-ui); font-size: var(--step--2); color: var(--ink-3); margin: 0; }

/* Shangó: aún no ha salido, franja compacta */
.book-soon {
  margin-top: var(--sp-5);
  display: grid; grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: var(--sp-5); align-items: center;
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--dark), var(--bg));
  border: 1px solid var(--line);
}
.soon-info { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-2); min-width: 0; }
.book-soon .book-title { font-size: var(--step-1); }
.book-soon .book-title span { font-size: var(--step-3); color: var(--ink-2); margin-top: 2px; }
.book-soon .book-desc { font-size: var(--step-0); color: var(--ink-3); }

/* Portada provisional de Shangó: misma composición que la real de Yemayá.
   Cuando exista la portada definitiva, se sustituye por un <img> igual al de Yemayá. */
.soon-cover {
  container-type: inline-size;
  position: relative; aspect-ratio: 1241 / 1754;
  display: flex; flex-direction: column; align-items: center;
  padding: 13% 10% 0; text-align: center; overflow: hidden;
  background: #000; border-radius: 2px 4px 4px 2px;
  box-shadow: 0 0 0 1px rgba(216,186,114,.14), 0 14px 28px -14px rgba(0,0,0,.9);
  opacity: .85;
}
.soon-cover::before, .soon-cover::after { content: ''; position: absolute; pointer-events: none; }
.soon-cover::before { inset: 5%; border: 1px solid rgba(216,186,114,.55); }
.soon-cover::after  { inset: 6.2%; border: 1px solid rgba(216,186,114,.22); }
.soon-cover-brand  { font-family: var(--font-ui); font-size: 4.2cqw; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3); }
.soon-cover-rule   { width: 38%; height: 1px; margin: 3cqw 0 4cqw; background: var(--gold-deep); }
.soon-cover-kicker { font-family: var(--font-ui); font-size: 5.4cqw; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); }
.soon-cover-name   { font-family: var(--font-ui); font-weight: 600; font-size: 17cqw; line-height: 1; color: #fff; margin-top: 2cqw; }
.soon-cover-sub    { font-family: var(--font-body); font-style: italic; font-size: 5.6cqw; color: var(--ink-3); margin-top: 3cqw; }
.soon-cover-halo {
  width: 54%; aspect-ratio: 1; margin-top: 10cqw; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 6.5%, rgba(216,186,114,.55) 6.5% 7.6%, transparent 7.6% 9.5%);
  -webkit-mask: radial-gradient(circle, transparent 40%, #000 42%);
          mask: radial-gradient(circle, transparent 40%, #000 42%);
}

@media (prefers-reduced-motion: reduce) {
  .book-object { transition: none; }
  .book-feature:hover .book-object { transform: none; }
}

/* Ficha del libro (usa .modal-overlay / .modal del sitio) */
.modal.modal-book {
  max-width: 640px; margin-top: var(--nav-h); overflow-y: auto;
  max-height: calc(100vh - var(--nav-h) - 2 * var(--sp-5));
  max-height: calc(100dvh - var(--nav-h) - 2 * var(--sp-5));
}
.book-modal-title { font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; color: var(--ink); margin: 0 0 var(--sp-3); padding-right: 40px; }
.book-modal-body p { font-family: var(--font-body); font-size: var(--step-1); line-height: 1.65; color: var(--ink-2); margin: var(--sp-4) 0; }
.book-modal-body h4 { font-family: var(--font-ui); font-size: var(--step--2); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin: var(--sp-6) 0 var(--sp-3); }
.book-includes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.book-includes li { display: flex; gap: var(--sp-3); font-family: var(--font-ui); font-size: var(--step-0); line-height: 1.55; color: var(--ink-2); }
.book-includes li::before { content: '✦'; flex-shrink: 0; font-size: .7em; line-height: 2.2; color: var(--gold-deep); }
.book-toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.book-toc li { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: var(--sp-3); align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.book-toc-num  { font-family: var(--font-ui); font-size: var(--step--2); letter-spacing: .08em; color: var(--gold-deep); }
.book-toc-name { font-family: var(--font-body); font-size: var(--step-1); color: var(--ink); }
.book-toc-sign { font-family: var(--font-ui); font-size: var(--step--2); color: var(--ink-3); white-space: nowrap; }
.book-toc-more { font-family: var(--font-ui); font-size: var(--step--2); color: var(--ink-3); margin: var(--sp-3) 0 0; }
.book-modal-buy { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .book-feature { grid-template-columns: 1fr; gap: var(--sp-6); padding: var(--sp-6); }
  .book-object { max-width: 290px; }
  .book-info { align-items: center; text-align: center; }
  .book-meta, .book-actions { justify-content: center; }
  .book-subtitle { margin-top: 0; }
}
@media (max-width: 720px) {
  .book-soon { grid-template-columns: 96px minmax(0, 1fr); }
  .book-soon > .book-sample { grid-column: 2; justify-self: start; }
}
@media (max-width: 560px) {
  .books-section { padding-inline: var(--sp-4); }
  .book-feature { padding: var(--sp-5) var(--sp-4) var(--sp-6); }
  .book-object { max-width: 250px; }
  .book-actions { flex-direction: column; width: 100%; }
  .book-buy, .book-sample { width: 100%; }
  .book-soon { grid-template-columns: 80px minmax(0, 1fr); gap: var(--sp-4); padding: var(--sp-4); }
  .book-soon > .book-sample { grid-column: 1 / -1; justify-self: stretch; }
  .book-toc li { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .book-toc-sign { grid-column: 2; }
}

.search-section {
  max-width: var(--maxw); margin-inline: auto;
  padding: var(--sp-6) var(--sp-5);
}

.search-wrapper { position: relative; max-width: 560px; margin: 0 auto var(--sp-5); }

.search-input {
  width: 100%;
  padding: 16px 52px 16px 50px;
  font-family: var(--font-ui);
  font-size: var(--step-0); font-weight: 400; letter-spacing: .01em;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  outline: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              background var(--t) var(--ease);
}
.search-input::placeholder { color: var(--ink-3); }
/* Ocultamos la ✕ nativa de type="search": ya tenemos .search-clear */
.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search-input:focus {
  border-color: var(--line-3);
  background: rgba(216,186,114,.07);
  box-shadow: 0 0 0 4px rgba(216,186,114,.1), 0 10px 30px -14px rgba(0,0,0,.8);
}
.search-input:focus-visible { outline: none; }

.search-icon {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  color: var(--ink-3); pointer-events: none;
  display: flex; transition: color var(--t) var(--ease);
}
.search-icon svg { width: 17px; height: 17px; }
.search-input:focus ~ .search-icon { color: var(--gold); }

.search-clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  display: none; place-items: center;
  color: var(--ink-3);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.search-clear.visible { display: grid; }
.search-clear:hover { color: var(--gold); background: var(--surface-2); }
.search-clear svg { width: 14px; height: 14px; }

.search-count:not(:empty) {
  display: block;
  text-align: center;
  font-family: var(--font-ui); font-size: var(--step--1);
  color: var(--ink-3); letter-spacing: .06em;
  margin: 0 0 var(--sp-5);
}
.search-count:empty { display: none; }

/* ── 14. SIGN CARDS ───────────────────────────────────────── */
.signs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: var(--sp-4);
}

.sign-card { padding: var(--sp-5); }

.sign-number {
  font-family: var(--font-ui);
  font-size: var(--step--2); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: var(--sp-2);
}

.sign-name {
  font-family: var(--font-display);
  font-size: var(--step-2); font-weight: 600;
  line-height: 1.25; letter-spacing: -.005em;
  color: var(--ink);
  margin-bottom: 6px;
}

.sign-subtitle {
  font-family: var(--font-ui);
  font-size: var(--step--1); line-height: 1.55;
  color: var(--ink-3);
}

.child-link {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit;
  transition: border-color 200ms cubic-bezier(.23,1,.32,1), transform 160ms cubic-bezier(.23,1,.32,1), background 200ms cubic-bezier(.23,1,.32,1);
}
@media (hover: hover) and (pointer: fine) { .child-link:hover { border-color: var(--line-3); background: var(--surface-2); transform: translateY(-2px); } }
.child-link:focus-visible { border-color: var(--line-3); background: var(--surface-2); }
.child-link:active { transform: scale(.97); }
.child-link .child-go {
  margin-top: auto; padding-top: 6px;
  font-family: var(--font-ui); font-size: var(--step--2); font-weight: 600; letter-spacing: .08em;
  color: var(--gold); opacity: .55; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
@media (hover: hover) and (pointer: fine) { .child-link:hover .child-go { opacity: 1; transform: translateX(3px); } }
.child-link:focus-visible .child-go { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .child-link, .child-link .child-go { transition: none; transform: none !important; } }
.sign-name a, .child-name a { color: inherit; text-decoration: none; }
.sign-name a:hover, .child-name a:hover { color: var(--gold); }
.sign-page-link {
  display: inline-block; margin-top: 6px;
  font-family: var(--font-ui); font-size: var(--step--1); font-weight: 600;
  color: var(--gold); text-decoration: none;
}
.sign-page-link:hover { color: var(--gold-bright); text-decoration: underline; }
.search-pataki-title {
  font-family: var(--font-ui); font-size: var(--step--1); font-weight: 600;
  color: var(--gold); margin-top: var(--sp-3);
}
.sign-aliases {
  font-family: var(--font-ui);
  font-size: var(--step--2, .75rem); line-height: 1.45;
  color: var(--ink-3); opacity: .85;
  margin-top: 2px;
}

.sign-actions { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-3); }

.badge-available, .badge-soon {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-ui);
  font-size: var(--step--2); font-weight: 600;
  letter-spacing: .1em;
  padding: 4px 11px; border-radius: var(--r-pill);
  margin-top: var(--sp-3);
}
.badge-available { color: #8FD8A6; background: rgba(90,190,120,.1); border: 1px solid rgba(120,210,150,.24); }
.badge-soon      { color: var(--ink-3); background: var(--surface); border: 1px solid var(--line); }

.dot { width: 5px; height: 5px; border-radius: 50%; }
.dot-green { background: #7FD69C; box-shadow: 0 0 8px rgba(127,214,156,.7); }
.dot-gray  { background: var(--ink-3); }

.no-results {
  display: none; text-align: center;
  padding: var(--sp-8) var(--sp-5);
  color: var(--ink-3);
}
.no-results .icon {
  font-size: 1.6rem; color: var(--gold-deep);
  margin-bottom: var(--sp-3); opacity: .7;
}
.no-results p { font-family: var(--font-ui); font-size: var(--step-0); line-height: 1.7; }

/* ── 15. MEYIS ────────────────────────────────────────────── */
.meyis-section {
  max-width: var(--maxw); margin-inline: auto;
  padding: var(--sp-6) var(--sp-5) var(--sp-9);
  min-height: 400px;
}

.meyis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-3);
}

.meyi-card {
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
  cursor: pointer;
  display: flex; flex-direction: column; gap: 3px;
  overflow: hidden;
}
.meyi-card.open {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  background:
    linear-gradient(168deg, color-mix(in srgb, var(--accent) 14%, transparent) 0%, rgba(255,246,228,.02) 55%, transparent 100%),
    var(--dark2);
}

.meyi-number {
  font-family: var(--font-ui);
  font-size: .625rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-3);
}

.meyi-name {
  font-family: var(--font-display);
  font-size: var(--step-1); font-weight: 600;
  line-height: 1.3; color: var(--ink);
  margin-bottom: var(--sp-3);
}

.meyi-theme { font-family: var(--font-ui); font-size: var(--step--1); color: var(--ink-3); margin-bottom: var(--sp-3); }

.meyi-toggle {
  display: flex; align-items: center; gap: 7px;
  margin-top: auto;
  font-family: var(--font-ui);
  font-size: var(--step--2); font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold-deep);
  transition: color var(--t) var(--ease);
}
.meyi-card:hover .meyi-toggle, .meyi-card.open .meyi-toggle { color: var(--gold-bright); }

.meyi-arrow {
  display: inline-flex;
  transition: transform var(--t) var(--ease);
}
.meyi-arrow svg { width: 13px; height: 13px; }
.meyi-card.open .meyi-arrow { transform: rotate(180deg); }

/* Panel acordeón */
.children-panel {
  display: none;
  grid-column: 1 / -1;
  padding: var(--sp-5);
  margin: var(--sp-1) 0 var(--sp-3);
  box-shadow: var(--sh-1);
}
.children-panel.open {
  display: block;
  animation: panelIn .42s var(--ease) both;
  /* Familia desplegada: se distingue de las cards cerradas —
     fondo casi negro, borde dorado de 2px y leve resplandor dorado */
  background: #0f0c08;
  border: 2px solid var(--gold);
  box-shadow:
    0 0 26px -4px rgba(216, 186, 114, .30),
    0 0 0 1px rgba(216, 186, 114, .10),
    0 22px 44px -26px rgba(0, 0, 0, .85);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(-10px) scale(.99); }
  to   { opacity: 1; transform: none; }
}
.children-panel:hover { transform: none; }

.children-header {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-ui);
  font-size: var(--step--2); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
  padding-bottom: var(--sp-3);
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line);
}

.children-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: var(--sp-3);
}

.child-card {
  padding: var(--sp-4);
  border-radius: var(--r-sm);
  background: var(--dark3);
  box-shadow: none;
}
.child-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: var(--sh-2);
}

.child-number {
  font-family: var(--font-ui);
  font-size: .625rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}

.child-name {
  font-family: var(--font-display);
  font-size: var(--step-0); font-weight: 600;
  line-height: 1.3; color: var(--ink);
  margin-bottom: var(--sp-3);
}

.child-count-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: .5625rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-ink);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  padding: 3px 9px; border-radius: var(--r-pill);
  margin-bottom: var(--sp-3);
}

.child-patakis { display: flex; flex-direction: column; gap: var(--sp-3); }

.child-pataki-entry { padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.child-pataki-entry:first-child { padding-top: 0; border-top: none; }

.child-pataki-title {
  font-family: var(--font-body);
  font-size: var(--step-0); font-style: italic;
  line-height: 1.4; color: var(--ink-2);
  margin-bottom: var(--sp-2);
}

.child-actions { display: flex; flex-direction: column; gap: 6px; }

.child-btn {
  width: 100%; padding: 8px 10px;
  font-size: .6875rem; letter-spacing: .05em;
  border-radius: var(--r-sm);
}

.child-soon {
  font-family: var(--font-ui);
  font-size: var(--step--1);
  color: var(--ink-3); opacity: .8;
  padding: 4px 0;
}

/* ── 16. MODALES ──────────────────────────────────────────── */
.modal-overlay, .legal-modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  display: flex; justify-content: center;
  padding: var(--sp-5);
  background: rgba(6,4,3,.8);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t) var(--ease);
}
.modal-overlay { align-items: center; }
.legal-modal-overlay { align-items: flex-start; overflow-y: auto; z-index: 600; }
.modal-overlay.active, .legal-modal-overlay.active { opacity: 1; pointer-events: all; }

.modal, .legal-modal {
  position: relative;
  width: 100%;
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  border-radius: var(--r-lg);
  background:
    linear-gradient(168deg, rgba(255,246,228,.06), rgba(255,246,228,.015) 50%, transparent),
    var(--dark2);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.4);
}
.modal { max-width: 440px; transform: translateY(18px) scale(.98); transition: transform var(--t) var(--ease); }
.modal-overlay.active .modal { transform: none; }
.legal-modal { max-width: 660px; margin: auto; }

.modal-close, .legal-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.05rem; line-height: 1;
  color: var(--ink-3);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.modal-close:hover, .legal-modal-close:hover { color: var(--gold); background: var(--surface-2); }

.modal-symbol {
  width: 52px; height: 52px; margin: 0 auto var(--sp-4);
  display: grid; place-items: center;
  font-size: 1.35rem;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(216,186,114,.09);
  border: 1px solid var(--line-2);
}

.modal-title {
  font-family: var(--font-display);
  font-size: var(--step-2); font-weight: 600;
  color: var(--ink); text-align: center;
  margin-bottom: var(--sp-2);
}

.modal-desc {
  text-align: center;
  font-family: var(--font-ui); font-size: var(--step-0);
  line-height: 1.65; color: var(--ink-3);
  margin-bottom: var(--sp-5);
}
.modal-desc strong { color: var(--ink); font-weight: 600; }

.email-input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-ui); font-size: var(--step-0);
  color: var(--ink);
  background: rgba(0,0,0,.28);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  outline: none;
  margin-bottom: var(--sp-3);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.email-input::placeholder { color: var(--ink-3); }
.email-input:focus {
  border-color: var(--line-3);
  box-shadow: 0 0 0 4px rgba(216,186,114,.1);
}
.email-input:focus-visible { outline: none; }

/* Consentimiento para la lista de correo (RGPD: casilla sin marcar por defecto) */
.consent {
  display: flex; align-items: flex-start; gap: var(--sp-2);
  margin: 0 0 var(--sp-4);
  font-family: var(--font-ui); font-size: var(--step--1);
  line-height: 1.5; color: var(--ink-2);
  text-align: left; cursor: pointer;
}
.consent input {
  flex: none; width: 17px; height: 17px; margin: 2px 0 0;
  accent-color: var(--gold); cursor: pointer;
}
.consent input:focus-visible { outline: 2px solid var(--line-3); outline-offset: 2px; }
.modal-legal a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.modal-legal a:hover, .modal-legal a:focus-visible { color: var(--gold); }

.modal-legal {
  text-align: center;
  font-family: var(--font-ui); font-size: var(--step--2);
  color: var(--ink-3); line-height: 1.6;
  margin-top: var(--sp-3);
}

/* Salida sin correo: discreta por defecto, destacada si el envío falla */
.modal-direct {
  display: block; width: fit-content;
  margin: var(--sp-4) auto 0;
  font-family: var(--font-ui); font-size: var(--step--1);
  color: var(--ink-2); text-decoration: none;
  border-bottom: 1px solid var(--line-2); padding-bottom: 1px;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.modal-direct:hover, .modal-direct:focus-visible { color: var(--gold); border-color: var(--line-3); outline: none; }
.modal-direct.is-emphasis { color: var(--gold); border-color: var(--gold); font-weight: 600; }
.modal-direct[hidden] { display: none; }

.success-msg { display: none; text-align: center; padding: var(--sp-5) 0; }
.success-msg .check {
  width: 62px; height: 62px; margin: 0 auto var(--sp-4);
  display: grid; place-items: center;
  font-size: 1.7rem; color: var(--gold);
  border-radius: 50%;
  background: rgba(216,186,114,.1);
  border: 1px solid var(--line-2);
  animation: popIn .5s var(--ease) both;
}
@keyframes popIn { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.success-msg h3 {
  font-family: var(--font-display); font-size: var(--step-2);
  color: var(--gold); margin-bottom: var(--sp-2);
}
.success-msg p { font-family: var(--font-ui); font-size: var(--step-0); color: var(--ink-3); line-height: 1.7; }

/* Modal legal */
.legal-modal h2 {
  font-family: var(--font-display);
  font-size: var(--step-2); font-weight: 600;
  color: var(--ink); margin-bottom: var(--sp-4);
  padding-right: var(--sp-6);
}
.legal-modal h3 {
  font-family: var(--font-ui);
  font-size: var(--step-0); font-weight: 600;
  letter-spacing: .04em; color: var(--gold);
  margin: var(--sp-5) 0 var(--sp-2);
}
.legal-modal p, .legal-modal li {
  font-family: var(--font-ui); font-size: var(--step--1);
  line-height: 1.75; color: var(--ink-2);
  margin-bottom: var(--sp-2);
}
.legal-modal ul { padding-left: 18px; margin-bottom: var(--sp-3); }
.legal-divider { height: 1px; background: var(--line); margin: var(--sp-4) 0; }

/* ── 17. FOOTER ───────────────────────────────────────────── */
footer, .legal-footer {
  text-align: center;
  padding: var(--sp-7) var(--sp-5);
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.35));
}

.legal-footer-brand, footer .brand-footer {
  font-family: var(--font-brand);
  font-size: .8rem; letter-spacing: .2em;
  background: linear-gradient(100deg, var(--gold-deep), var(--gold-bright) 50%, var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--sp-4);
}

.legal-links {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: var(--sp-1);
  margin-bottom: var(--sp-4);
}
.legal-links a {
  font-family: var(--font-ui); font-size: var(--step--1);
  color: var(--ink-3); text-decoration: none; cursor: pointer;
  padding: 6px 12px; border-radius: var(--r-pill);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.legal-links a:hover { color: var(--gold-bright); background: var(--surface-2); }

.legal-footer-copy {
  font-family: var(--font-ui); font-size: var(--step--2);
  color: var(--ink-3); letter-spacing: .04em;
}

/* ── 18. BANNER COOKIES ───────────────────────────────────── */
.cookie-banner {
  display: none;
  position: fixed; left: 50%; bottom: 18px;
  transform: translateX(-50%);
  z-index: 800;
  width: min(680px, calc(100vw - 32px));
  padding: var(--sp-4) var(--sp-5);
  flex-direction: row; align-items: center; gap: var(--sp-4);
  text-align: left;
  border-radius: var(--r-md);
  background: rgba(18,16,11,.9);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
          backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.9);
}
.cookie-banner.visible { display: flex; animation: cookieIn .5s var(--ease) both; }
@keyframes cookieIn { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }

.cookie-banner p {
  flex: 1;
  font-family: var(--font-ui); font-size: var(--step--1);
  line-height: 1.6; color: var(--ink-2);
}
.cookie-banner p a { color: var(--gold); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

.cookie-btns { display: flex; gap: var(--sp-2); flex-shrink: 0; }

.cookie-accept, .cookie-reject {
  font-family: var(--font-ui);
  font-size: var(--step--1); font-weight: 600; letter-spacing: .03em;
  padding: 9px 18px; border-radius: var(--r-pill);
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.cookie-accept {
  color: var(--gold-ink); border: none;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 50%, var(--gold-deep));
  box-shadow: 0 6px 18px -8px rgba(216,186,114,.7);
}
.cookie-accept:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(216,186,114,.85); }
.cookie-reject {
  color: var(--ink-2); background: var(--surface-2);
  border: 1px solid var(--line-2);
}
.cookie-reject:hover { color: var(--gold-bright); border-color: var(--line-3); }

/* ── 19. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 860px) {
  .hero-pataki { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero-img-wrap { max-width: 380px; margin-inline: auto; width: 100%; }
  .hero-content { align-items: center; text-align: center; }
  .hero-pataki .hero-desc { max-width: 46ch; }
  .hero-btns { justify-content: center; }
}

@media (max-width: 720px) {
  :root { --sp-8: 56px; --sp-9: 72px; }
  /* Dejamos un solo destino en el nav: Signos de Ifá */
  .navbar-links a:not([href="#signos"]) { display: none; }
  .navbar-links a { padding: 8px 10px; white-space: nowrap; }
  .navbar-tagline { display: none; }
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-btns { justify-content: center; }
}

@media (max-width: 520px) {
  :root { --nav-h: 56px; }
  body { font-size: var(--step-0); }
  .navbar { padding: 0 var(--sp-3) 0 var(--sp-4); }
  .navbar-logo-text { display: none; }
  .navbar-links { gap: 0; }
  .navbar-links a { padding: 8px 7px; }
  .navbar-social a { width: 30px; height: 30px; }
  .navbar-social svg { width: 16px; height: 16px; }
  .hero { padding: var(--sp-4) var(--sp-4) var(--sp-3); }
  .hero-pataki { padding: var(--sp-5) var(--sp-4) var(--sp-6); }
  .latest-section, .search-section, .meyis-section { padding-inline: var(--sp-4); }
  .signs-grid, .latest-grid { grid-template-columns: 1fr; }
  .meyis-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--sp-2); }
  /* v179: en móvil los signos de cada Meyi van en 2 columnas, como los Meyis */
  .children-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
  .children-grid .child-card { padding: var(--sp-3); }
  .children-grid .child-number { font-size: .58rem; letter-spacing: .08em; }
  .children-grid .child-name { font-size: .95rem; margin-bottom: var(--sp-2); overflow-wrap: anywhere; }
  .children-grid .child-go { font-size: .72rem; }
  .children-panel { padding: var(--sp-4); }
  .modal, .legal-modal { padding: var(--sp-6) var(--sp-4) var(--sp-5); border-radius: var(--r-md); }
  .hero-btn-primary, .hero-btn-secondary { min-width: 0; width: 100%; }
  .hero-btns { flex-direction: column; }
}

/* Fallback si el navegador no soporta color-mix */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .latest-card:hover, .sign-card:hover, .meyi-card:hover {
    border-color: var(--line-3);
    box-shadow: var(--sh-3), 0 0 0 1px var(--line-2);
  }
  .meyi-card.open { border-color: var(--line-3); }
}
/* Cards de patakí (home y fichas): primero solo el título; al tocarlas aparecen los botones */
.sg-pk .pk-more { position: absolute; top: 14px; left: 14px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; display: none; place-items: center; padding: 0; cursor: pointer; color: var(--ink); background: rgba(10,8,6,.45); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform 420ms var(--ease-ui), background 200ms var(--ease-ui), border-color 200ms var(--ease-ui); }
.sg-pk .pk-more svg { width: 18px; height: 18px; }
.js .sg-pk .pk-more { display: grid; }
.js .sg-pk { cursor: pointer; }
.js .sg-pk .pk-acts { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 460ms var(--ease-ui); }
.js .sg-pk .pk-acts-in { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s linear 460ms; }
.js .sg-pk .sign-actions, .js .sg-pk .sign-actions-row { perspective: 800px; }
/* Efecto puerta + fundido: el PDF baja como una trampilla, los botones de una fila se abren como dos hojas de puerta */
.js .sg-pk .sign-actions > .btn-free, .js .sg-pk .sign-actions-row > * { opacity: 0; backface-visibility: hidden; transition: opacity 320ms ease, transform 720ms cubic-bezier(.34, 1.4, .64, 1); }
.js .sg-pk .sign-actions > .btn-free, .js .sg-pk .sign-actions-row > :only-child { transform: rotateX(-92deg); transform-origin: 50% 0; }
.js .sg-pk .sign-actions-row > :first-child:not(:only-child) { transform: rotateY(92deg); transform-origin: 0 50%; }
.js .sg-pk .sign-actions-row > :last-child:not(:only-child) { transform: rotateY(-92deg); transform-origin: 100% 50%; }
.js .sg-pk.is-open .sign-actions > .btn-free, .js .sg-pk.is-open .sign-actions-row > :only-child, .js .sg-pk.is-open .sign-actions-row > :first-child:not(:only-child), .js .sg-pk.is-open .sign-actions-row > :last-child:not(:only-child) { opacity: 1; transform: none; }
.js .sg-pk.is-open .sign-actions > .btn-free { transition-delay: 120ms; }
.js .sg-pk.is-open .sign-actions > :nth-child(2) > * { transition-delay: 260ms; }
.js .sg-pk.is-open .sign-actions > :nth-child(3) > * { transition-delay: 390ms; }
.js .sg-pk .card-header { transition: opacity 400ms ease; }
.js .sg-pk.is-open .pk-acts { grid-template-rows: 1fr; }
.js .sg-pk.is-open .pk-acts-in { visibility: visible; transition: visibility 0s; }
.js .sg-pk.is-open .pk-more { transform: rotate(45deg); background: rgba(10,8,6,.7); border-color: var(--gold); color: var(--gold); }
.js .sg-pk .latest-bg { transition: transform 1.2s var(--ease), filter 500ms var(--ease-ui); }
.js .sg-pk.is-open .latest-bg { transform: scale(1.06); filter: brightness(.72); }
@media (hover: hover) and (pointer: fine) { .js .sg-pk:hover .pk-more { border-color: var(--gold); color: var(--gold); } }
@media (prefers-reduced-motion: reduce) { .js .sg-pk .pk-acts, .js .sg-pk .sign-actions > .btn-free, .js .sg-pk .sign-actions-row > *, .js .sg-pk .pk-more, .js .sg-pk .latest-bg { transition: none !important; } }

/* v182b — Fila de redes ("Ver en" Facebook / TikTok) + Wallpaper.
   Funciona tanto si el Wallpaper va en su propia fila como si está dentro de .sign-nets:
   fila 1 = Facebook | TikTok (mitad y mitad), fila 2 = Wallpaper a todo el ancho. */
.sign-actions-row.sign-nets { flex-wrap: wrap; row-gap: var(--sp-2); }
.sign-actions-row.sign-nets > .btn-net { flex: 1 1 calc(50% - var(--sp-2)); min-width: 0; padding-inline: var(--sp-2); overflow: hidden; }
.sign-actions-row.sign-nets > .btn-net:only-of-type { flex-basis: 100%; }
.sign-actions-row.sign-nets > .btn-wallpaper { order: 10; flex: 1 1 100%; width: 100%; min-width: 0; padding-inline: var(--sp-3); }
.btn-net .net-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Efecto puerta en esa fila: Facebook abre hacia la izquierda, TikTok hacia la derecha, Wallpaper baja como trampilla */
.js .sg-pk .sign-actions-row.sign-nets > .btn-net.btn-net-fb { transform: rotateY(92deg); transform-origin: 0 50%; }
.js .sg-pk .sign-actions-row.sign-nets > .btn-net.btn-net-tt { transform: rotateY(-92deg); transform-origin: 100% 50%; }
.js .sg-pk .sign-actions-row.sign-nets > .btn-net:only-of-type { transform: rotateX(-92deg); transform-origin: 50% 0; }
.js .sg-pk .sign-actions-row.sign-nets > .btn-wallpaper.btn-wallpaper { transform: rotateX(-92deg); transform-origin: 50% 0; }
.js .sg-pk.is-open .sign-actions-row.sign-nets > .btn-net.btn-net,
.js .sg-pk.is-open .sign-actions-row.sign-nets > .btn-wallpaper.btn-wallpaper { opacity: 1; transform: none; }
.js .sg-pk.is-open .sign-actions-row.sign-nets > .btn-wallpaper.btn-wallpaper { transition-delay: 390ms; }

/* Red de seguridad: cualquier fila con 3 o más botones (los del medio antes quedaban invisibles) */
.js .sg-pk .sign-actions-row > :not(:first-child):not(:last-child) { transform: rotateX(-92deg); transform-origin: 50% 0; }
.js .sg-pk.is-open .sign-actions-row > :nth-child(n) { opacity: 1; transform: none; }


/* v183 — hero con imagen ancha 3:4 en escritorio (crece hacia la izquierda; la altura no cambia).
   Solo si LATEST[0] trae heroImgWide y no hay vídeo; en móvil se sigue usando la 9:16. */
@media (min-width: 861px) {
  .hero-pataki.has-wide > .hero-img-wrap {
    aspect-ratio: 3 / 4;
    max-width: none;
    width: min(506px, calc(100% + clamp(0px, (100vw - 1000px) * .16, 70px)), calc((100svh - var(--nav-h) - 110px) * 3 / 4));
    min-width: 0;
    justify-self: end;
  }
  .hero-pataki.has-wide .hero-img-inner picture { display: block; width: 100%; height: 100%; }
}

/* v183b — Móvil: el hero se ve como las cards: mismo marco dorado 9:16 y
   el signo, el título y los botones van DENTRO de la imagen, sobre un degradado. */
@media (max-width: 860px) {
  .hero-pataki {
    --hero-w: min(100%, calc((100svh - var(--nav-h) - 24px) * 9 / 16));
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "hero";
    gap: 0; padding-inline: 6px;
  }
  .hero-pataki > .hero-img-wrap, .hero-pataki > .hero-content { grid-area: hero; }
  .hero-pataki > .hero-img-wrap,
  .hero-pataki.has-video > .hero-img-wrap {
    aspect-ratio: 9 / 16; width: var(--hero-w);
    max-width: none; min-width: 0; margin-inline: 0; justify-self: center;
  }
  .hero-pataki .hero-img-wrap:hover { transform: none; }
  .hero-pataki > .hero-content {
    position: relative; z-index: 5;
    align-self: end; justify-self: center;
    width: calc(var(--hero-w) - 20px); margin-bottom: 10px;
    padding: var(--sp-8) var(--sp-4) var(--sp-4);
    align-items: flex-start; text-align: left; gap: var(--sp-3);
    border-radius: 0 0 calc(var(--r-sm) - 5px) calc(var(--r-sm) - 5px);
    background: linear-gradient(to top,
      rgba(6,4,3,.97) 0%, rgba(6,4,3,.93) 45%, rgba(6,4,3,.78) 68%,
      rgba(6,4,3,.38) 85%, transparent 100%);
  }
  .hero-pataki .hero-desc { display: none; }
  .hero-pataki .hero-signo { padding: 5px 12px; background: rgba(10,8,6,.55); }
  .hero-pataki .hero-titulo { font-size: var(--step-3); text-shadow: 0 2px 14px rgba(0,0,0,.85); }
  .hero-pataki .hero-btns { flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-1); }
  .hero-pataki .hero-nets { gap: var(--sp-2); }
  .hero-pataki .hero-btn-primary,
  .hero-pataki .hero-btn-secondary { min-width: 0; width: 100%; padding: 11px 18px; font-size: var(--step--1); }
  .hero-pataki .hero-nets > .hero-btn-secondary { padding-inline: var(--sp-2); }
  .hero-pataki .hero-btn-secondary { background: rgba(14,11,8,.78); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ── PÁGINA DE SIGNO ─────────────────────────────────────── */
:root { --ease-ui: cubic-bezier(.23, 1, .32, 1); }
/* Mismo mosaico de símbolos que la portada, pero como imagen fija (sin JS) */
#bgSymbols { background: url(/assets/img/mosaico.webp) repeat 0 0 / 480px 480px; }
.sg-main { max-width: var(--maxw); margin: 0 auto; padding: calc(var(--nav-h) + var(--sp-6)) var(--sp-5) var(--sp-8); }
.sg-crumbs { font-family: var(--font-ui); font-size: var(--step--2); color: var(--ink-3); margin-bottom: var(--sp-5); }
.sg-crumbs a { color: var(--ink-2); text-decoration: none; } .sg-crumbs a:hover { color: var(--gold); }
.sg-head { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "t o" "i o"; column-gap: var(--sp-6); row-gap: 0; align-items: center; margin-bottom: var(--sp-6); }
.sg-head h1 { grid-area: t; align-self: end; }
.sg-head .sg-odu-wrap { grid-area: o; }
.sg-head .sg-info { grid-area: i; align-self: start; }
.sg-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--font-ui); font-size: var(--step--1); font-variant-numeric: tabular-nums; color: var(--gold); margin-bottom: 4px; }
.sg-meta span + span::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-deep); margin-right: 18px; vertical-align: middle; transform: translateY(-1px); }
.sg-head h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 var(--sp-3); text-wrap: balance; }
.sg-alias { font-family: var(--font-ui); font-size: var(--step--1); color: var(--ink-2); }
.sg-intro { font-size: var(--step-1); line-height: 1.8; color: var(--ink-2); max-width: 68ch; margin-top: var(--sp-4); }
.sg-odu { display: grid; grid-template-columns: repeat(2, 26px); gap: 14px 22px; padding: 26px 30px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--surface); }
/* Código binario: I = palo vertical · O = círculo relleno (como en el libro de Naveira) */
.sg-odu span { position: relative; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-bright), var(--gold) 55%, var(--gold-deep)); box-shadow: 0 3px 8px -3px rgba(0,0,0,.7); }
.sg-odu span.on { border-radius: 0; background: none; box-shadow: none; }
.sg-odu span.on::after { content: ""; position: absolute; left: 50%; top: -1px; bottom: -1px; width: 7px; margin-left: -3.5px; border-radius: 3px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright) 45%, var(--gold) 60%, var(--gold-deep)); box-shadow: 0 3px 8px -3px rgba(0,0,0,.7); }
.sg-odu-cap { font-family: var(--font-ui); font-size: .7rem; color: var(--ink-3); text-align: center; margin-top: 8px; letter-spacing: .08em; }
.sg-sec { margin-top: var(--sp-7); }
.sg-sec h2 { font-family: var(--font-display); font-size: var(--step-3); margin-bottom: var(--sp-4); }
.sg-sec h2 em { color: var(--gold); font-style: italic; }
.sg-sec p { color: var(--ink-2); line-height: 1.8; max-width: 72ch; margin-bottom: var(--sp-4); }
.sg-ficha { width: 100%; max-width: 720px; border-collapse: collapse; font-size: var(--step-0); }
.sg-ficha { font-variant-numeric: tabular-nums; }
.sg-ficha th, .sg-ficha td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sg-ficha th { font-family: var(--font-ui); font-size: var(--step--1); font-weight: 600; color: var(--gold); width: 38%; white-space: nowrap; }
.sg-ficha td { color: var(--ink-2); }
.sg-list { list-style: none; display: grid; gap: 10px; max-width: 72ch; }
.sg-list li { position: relative; padding-left: 22px; color: var(--ink-2); line-height: 1.7; }
.sg-list li::before { content: ''; position: absolute; left: 3px; top: .72em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); opacity: .85; }
.sg-two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.sg-box { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-5); background: var(--surface); }
.sg-box h3 { font-family: var(--font-display); font-size: var(--step-2); margin-bottom: var(--sp-3); }
.sg-box h3 .tag { font-family: var(--font-ui); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.tag.ire { color: #CFEFD8; background: rgba(40,110,60,.35); border: 1px solid rgba(120,210,150,.35); }
.tag.osobo { color: #F3D2CC; background: rgba(140,40,30,.35); border: 1px solid rgba(220,120,100,.35); }
.sg-box p { margin: 0; }
.sg-quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--sp-3); }
.sg-quotes blockquote { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); line-height: 1.5; color: var(--ink); border-top: 1px solid var(--line-2); padding: 14px 4px 0; text-wrap: pretty; }
/* Carrusel de patakís: se desplaza en horizontal a medida que haya más */
.sg-car-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); }
.sg-car-nav { display: flex; gap: 8px; }
.sg-car-nav button { transition: border-color 200ms var(--ease-ui), color 200ms var(--ease-ui), opacity 200ms var(--ease-ui), transform 160ms var(--ease-ui) !important; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color var(--t), color var(--t), opacity var(--t); }
.sg-car-nav button:hover { border-color: var(--gold); color: var(--gold); }
.sg-car-nav button[disabled] { opacity: .3; cursor: default; }
.sg-car-nav svg { width: 18px; height: 18px; }
.sg-car { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 320px); gap: var(--sp-5); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px var(--sp-4); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; overscroll-behavior-x: contain; }
.sg-car > * { scroll-snap-align: start; }
.sg-car .latest-card.has-bg { aspect-ratio: auto; width: 100%; height: 460px; min-height: 0; }
.sg-car .latest-card.has-bg .sign-name { font-size: 1.45rem; line-height: 1.22; }
.sg-soon { border: 1px solid rgba(var(--sc, 160,127,53), .55); border-radius: var(--r-md); padding: var(--sp-5); display: flex; flex-direction: column; justify-content: flex-end; height: 460px; overflow: hidden;
  background: radial-gradient(120% 75% at 50% 32%, rgba(var(--sc, 160,127,53), .62) 0%, rgba(var(--sc, 160,127,53), .22) 52%, rgba(10,8,6,.92) 100%), var(--dark2); }
.sg-soon .sign-number { color: var(--ink-2); }
.sg-soon .sign-name { font-size: var(--step-2); color: var(--ink-2); }
.sg-soon .badge-soon { margin-top: var(--sp-3); }
.sg-fam a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.sg-fam a:hover { color: var(--gold); }
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-chips a { font-family: var(--font-ui); font-size: var(--step--1); color: var(--ink-2); text-decoration: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; }
.sg-chips a:hover { color: var(--gold); border-color: var(--gold); }
.sg-pn { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-top: var(--sp-8); }
.sg-pn a { display: flex; flex-direction: column; gap: 4px; padding: var(--sp-4) var(--sp-5); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: var(--ink); font-family: var(--font-display); font-size: var(--step-1); transition: border-color 200ms var(--ease-ui), transform 160ms var(--ease-ui), background 200ms var(--ease-ui); }
.sg-pn a span { font-family: var(--font-ui); font-size: var(--step--2); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .sg-pn a:hover { border-color: var(--line-3); background: var(--surface-2); transform: translateY(-2px); } }
.sg-pn a:active, .sg-car-nav button:active { transform: scale(.97); }
.sg-next { text-align: right; align-items: flex-end; }
.sg-odu span { transition: transform 520ms var(--ease-ui), opacity 420ms var(--ease-ui); }
.js .sg-odu span { transform: scale(.6); opacity: 0; }
.js .sg-odu.is-in span { transform: none; opacity: 1; }
.js .sg-odu.is-in span:nth-child(1){transition-delay:.05s}.js .sg-odu.is-in span:nth-child(2){transition-delay:.1s}
.js .sg-odu.is-in span:nth-child(3){transition-delay:.15s}.js .sg-odu.is-in span:nth-child(4){transition-delay:.2s}
.js .sg-odu.is-in span:nth-child(5){transition-delay:.25s}.js .sg-odu.is-in span:nth-child(6){transition-delay:.3s}
.js .sg-odu.is-in span:nth-child(7){transition-delay:.35s}.js .sg-odu.is-in span:nth-child(8){transition-delay:.4s}
.js .sg-odu span { transition-property: transform, opacity, box-shadow; }
.sg-ficha tr { transition: background var(--t-fast) var(--ease); }
.sg-ficha tr:hover { background: var(--surface); }
@media (prefers-reduced-motion: reduce) {
  .js .sg-odu span { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media (max-width: 520px) { .sg-pn { grid-template-columns: 1fr; } .sg-next { text-align: left; align-items: flex-start; } }
.legal-footer-copy { color: var(--ink-3); opacity: 1; }
.sg-soon .badge-soon, .sg-soon .badge-soon * { color: var(--ink-2); }
.sg-lead { font-size: var(--step-1); color: var(--ink); line-height: 1.8; max-width: 70ch; margin-bottom: var(--sp-5) !important; }
.sg-h3 { font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); margin: var(--sp-6) 0 var(--sp-3); }
.sg-note { font-family: var(--font-ui); font-size: var(--step--1); color: var(--ink-3); margin-top: var(--sp-4); }
.sg-yo { display: grid; gap: var(--sp-5); max-width: 760px; }
.sg-verse { margin: 0; }
.sg-verse figcaption { font-family: var(--font-ui); font-size: var(--step--1); font-weight: 600; color: var(--gold); margin-bottom: 8px; }
.sg-verse blockquote { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); line-height: 1.75; color: var(--ink); padding: var(--sp-4) var(--sp-5); border: 1px solid var(--line-2); border-radius: var(--r-md); background: linear-gradient(180deg, rgba(216,186,114,.06), rgba(216,186,114,.015)); text-wrap: pretty; }
.sg-ebo { max-width: 760px; }
.sg-ebo .sg-h3 { margin-top: 0; }
.sg-cols { columns: 2 260px; column-gap: var(--sp-6); display: block; }
.sg-cols li { break-inside: avoid; margin-bottom: 10px; }
.sg-soon { position: relative; }
.sg-soon-odu { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); display: grid; grid-template-columns: repeat(2, 28px); gap: 16px 24px; }
.sg-soon-odu span { position: relative; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-bright), var(--gold) 55%, var(--gold-deep)); box-shadow: 0 4px 10px -3px rgba(0,0,0,.75); }
.sg-soon-odu span.on { border-radius: 0; background: none; box-shadow: none; }
.sg-soon-odu span.on::after { content: ""; position: absolute; left: 50%; top: -1px; bottom: -1px; width: 7px; margin-left: -3.5px; border-radius: 3px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright) 45%, var(--gold) 60%, var(--gold-deep)); box-shadow: 0 4px 10px -3px rgba(0,0,0,.75); }
.sg-fuente { margin-top: var(--sp-7); padding-top: var(--sp-4); border-top: 1px solid var(--line); font-family: var(--font-ui); font-size: var(--step--2); color: var(--ink-3); }
@media (max-width: 720px) {
  /* móvil: el dibujo del signo justo debajo del nombre */
  .sg-head { grid-template-columns: 1fr; grid-template-areas: "t" "o" "i"; }
  .sg-odu-wrap { justify-self: start; margin-bottom: var(--sp-4); }
  .sg-odu { grid-template-columns: repeat(2, 18px); gap: 10px 16px; padding: 14px 18px; }
  .sg-odu span { width: 18px; height: 18px; }
  .sg-odu span.on::after { width: 5px; margin-left: -2.5px; }
  .sg-two { grid-template-columns: 1fr; }
  .sg-main { padding-inline: var(--sp-4); }
  .sg-ficha th { white-space: normal; }
}
/* === Flechas laterales del carrusel de patakís === */
.sg-car-wrap { position: relative; padding-inline: 56px; }
.sg-car-arrow { position: absolute; top: 50%; z-index: 4; width: 46px; height: 46px; margin-top: -23px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(216,186,114,.55); background: rgba(10,8,6,.82); color: var(--gold-bright); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 8px 22px -8px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,246,228,.08); transition: opacity .2s var(--ease-ui), visibility .2s, background .2s var(--ease-ui), color .2s var(--ease-ui), border-color .2s var(--ease-ui), transform .16s var(--ease-ui); }
.sg-car-arrow--prev { left: 5px; }
.sg-car-arrow--next { right: 5px; }
.sg-car-arrow svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .sg-car-arrow:hover { background: var(--gold); border-color: var(--gold); color: #0A0806; } }
.sg-car-arrow:active { transform: scale(.92); }
.sg-car-arrow:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.sg-car-arrow[disabled] { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  .sg-car-arrow { display: none; }
  .sg-car-wrap { padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) { .sg-car-arrow { transition: none; } }
/* === Cartas con vídeo: YORUBA537 alterna con «Vídeo» (verde, como el «Nuevo» del hero) === */
.sg-car .sg-pk:has(.btn-net) .wallpaper-watermark {
  overflow: hidden;
  animation: yrbMarcaAlt 6s ease-in-out infinite;
}
.sg-car .sg-pk:has(.btn-net) .wallpaper-watermark::after {
  content: "Vídeo";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; padding-left: 10px;
  font-family: var(--font-ui); font-size: .5625rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #DFF3E4;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px rgba(120,210,150,.45);
  background:
    radial-gradient(circle at 10px 50%, #7FD69C 0 3px, rgba(127,214,156,.35) 3.5px, transparent 6px),
    rgb(24,60,32);
  opacity: 0;
  animation: yrbVideoAlt 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes yrbVideoAlt {
  0%, 42%  { opacity: 0; }
  50%, 92% { opacity: 1; }
  100%     { opacity: 0; }
}
@keyframes yrbMarcaAlt {
  0%, 42%  { color: rgba(242,222,168,.85); }
  50%, 92% { color: transparent; }
  100%     { color: rgba(242,222,168,.85); }
}
@media (prefers-reduced-motion: reduce) {
  .sg-car .sg-pk:has(.btn-net) .wallpaper-watermark { animation: none; color: transparent; }
  .sg-car .sg-pk:has(.btn-net) .wallpaper-watermark::after { animation: none; opacity: 1; }
}
