/* =====================================================================
   INVITACIÓN · GRADUACIÓN Y LICENCIAMIENTO
   Estilos base, introducción (sobre de gala), páginas y componentes
   ===================================================================== */

/* ---------- Tipografías (incluidas en el proyecto, licencia OFL) ---------- */
@font-face { font-family: 'Cinzel'; src: url('../assets/fonts/cinzel.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../assets/fonts/cormorant.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../assets/fonts/cormorant-italica.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Great Vibes'; src: url('../assets/fonts/great-vibes.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../assets/fonts/montserrat.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

/* ---------- Variables ---------- */
:root {
  --azul-noche: #07172D;
  --azul-profundo: #102746;
  --oro: #D7B46A;
  --oro-claro: #F2DDA8;
  --oro-oscuro: #9c7a35;
  --marfil: #F7F3E9;
  --verde-militar: #344331;
  --rojo: #9e201a;
  --tinta: #2a2417;

  --metal: linear-gradient(180deg, #fff3cf 0%, #f2dda8 22%, #d7b46a 48%, #a57b30 70%, #e9cf8e 100%);
  --metal-boton: linear-gradient(180deg, #f8e6b4 0%, #e2c27a 45%, #c49a48 55%, #e7c985 100%);

  --serif: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
  --serif-texto: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --guion: 'Great Vibes', 'Segoe Script', cursive;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --alto: 100vh;                                  /* main.js lo ajusta al alto real de la pantalla */
  --u: min(1vw, calc(var(--alto) / 180), 4.8px);  /* unidad que crece con la pantalla */
  --sup: env(safe-area-inset-top, 0px);
  --inf: env(safe-area-inset-bottom, 0px);
  --barra-sup: 62px;
  --barra-inf: 78px;
}

@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  background: #050f20;
  color: var(--marfil);
  font-family: var(--sans);
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; -webkit-appearance: none; appearance: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--oro-claro); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.particulas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 35; }

/* =====================================================================
   INTRODUCCIÓN: el sobre de gala (azul noche, cuero, filetes dorados,
   sello de cera y cinta de la bandera)
   ===================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 30;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  /* grano del cuero (ruido fino, se dibuja una sola vez) */
  --grano: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .7 0 0 0 0 .78 0 0 0 0 1 0 0 0 .8 -.3'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  --cuero:
    var(--grano),
    repeating-conic-gradient(from 0deg at 50% 54%, rgba(150,185,255,.055) 0deg 1.2deg, transparent 1.2deg 6.5deg),
    radial-gradient(ellipse 50% 46% at 50% 54%, rgba(70,110,200,.3), transparent 72%),
    radial-gradient(ellipse 130% 110% at 50% 45%, #132e63 0%, #0c214d 40%, #08173a 70%, #040b22 100%);
}
.intro__fondo {
  position: absolute; inset: 0; overflow: hidden;
  background: radial-gradient(ellipse 95% 62% at 50% 44%, #1d3f80 0%, #11295c 34%, #08193d 64%, #030a1b 100%);
}
/* luces desenfocadas del salón (bokeh) */
.intro__bokeh {
  position: absolute; inset: -5%;
  background:
    radial-gradient(circle at 12% 14%, rgba(255,214,140,.34) 0, rgba(255,214,140,0) 2.4%),
    radial-gradient(circle at 86% 9%, rgba(255,224,160,.3) 0, rgba(255,224,160,0) 3%),
    radial-gradient(circle at 92% 30%, rgba(255,200,120,.22) 0, rgba(255,200,120,0) 4%),
    radial-gradient(circle at 6% 38%, rgba(255,210,140,.2) 0, rgba(255,210,140,0) 3.6%),
    radial-gradient(circle at 20% 70%, rgba(130,170,255,.16) 0, rgba(130,170,255,0) 5%),
    radial-gradient(circle at 80% 64%, rgba(255,214,140,.24) 0, rgba(255,214,140,0) 3%),
    radial-gradient(circle at 70% 18%, rgba(255,240,200,.18) 0, rgba(255,240,200,0) 1.6%),
    radial-gradient(circle at 34% 8%, rgba(255,230,180,.22) 0, rgba(255,230,180,0) 2%),
    radial-gradient(circle at 52% 92%, rgba(255,200,120,.16) 0, rgba(255,200,120,0) 7%),
    radial-gradient(ellipse 60% 30% at 50% 100%, rgba(255,190,100,.12), transparent 70%);
}
.intro__rayos {
  position: absolute; left: 50%; top: 38%; width: 220vmax; height: 220vmax; margin: -110vmax 0 0 -110vmax;
  background: repeating-conic-gradient(from 0deg, rgba(255,222,160,.035) 0deg 2deg, transparent 2deg 10deg);
  -webkit-mask: radial-gradient(closest-side, #000 0%, rgba(0,0,0,.4) 25%, transparent 55%);
          mask: radial-gradient(closest-side, #000 0%, rgba(0,0,0,.4) 25%, transparent 55%);
}
/* mesa con libros, birretes y pergamino en primer plano, un poco desenfocados */
.intro__mesa { position: absolute; bottom: -3%; width: min(58vw, 330px); height: min(42vw, 240px); filter: blur(1.2px) brightness(.82) saturate(.95); }
.intro__mesa svg { position: absolute; filter: drop-shadow(0 8px 10px rgba(0,0,0,.6)); }
.intro__mesa--izq { left: -6%; }
.intro__mesa--der { right: -6%; }
.intro__mesa--izq .intro__libros { left: 0; bottom: 0; width: 78%; }
.intro__mesa--izq .intro__birrete { left: 12%; bottom: 46%; width: 62%; transform: rotate(-8deg); }
.intro__mesa--der .intro__diploma { right: 6%; bottom: 6%; width: 86%; transform: rotate(-12deg); }
.intro__mesa--der .intro__birrete { right: 4%; bottom: 30%; width: 64%; transform: rotate(10deg) scaleX(-1); }
.intro__cinta-oro { position: absolute; width: min(60vw, 330px); filter: blur(.8px) drop-shadow(0 6px 8px rgba(0,0,0,.5)); opacity: .9; }
.intro__cinta-oro--izq { left: -14%; bottom: 14%; transform: rotate(8deg); }
.intro__cinta-oro--der { right: -16%; top: 8%; transform: scaleX(-1) rotate(160deg); opacity: .55; filter: blur(2.5px); }

.intro__contenido {
  position: relative; width: 100%; max-width: 620px; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: max(10px, calc(var(--u) * 2.6));
  padding: calc(var(--sup) + 14px) 12px calc(var(--inf) + 14px);
  text-align: center;
}
.intro__aviso {
  margin: 0;
  font-family: var(--guion); font-weight: 400; line-height: 1.1;
  font-size: max(31px, calc(var(--u) * 9.2));
  background: var(--metal); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(40,25,5,.85)) drop-shadow(0 0 16px rgba(242,200,110,.35));
  padding: 0 .2em;
}
.intro__pista { margin: 0; font-size: 12.5px; letter-spacing: .08em; color: rgba(242,221,168,.7); }
.intro__encabezado {
  margin: 0 0 calc(var(--u) * -1); display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: max(12px, calc(var(--u) * 3.3)); letter-spacing: .24em; color: var(--oro-claro);
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
.intro__encabezado > span:first-child { padding-left: .24em; }
.intro__encabezado i { font-style: normal; font-family: var(--guion); text-transform: none; letter-spacing: 0; font-size: 1.5em; color: var(--oro); }
.intro__promo { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 800; font-size: .78em; letter-spacing: .38em; color: var(--oro); }
.intro__promo b { font-weight: 800; }
.intro__promo i { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--oro)); }
.intro__promo i:last-child { transform: scaleX(-1); }

/* --- el sobre --- */
.sobre {
  --sw: max(250px, min(94vw, 480px, calc((var(--alto) - 290px) * 1.4)));
  --sh: calc(var(--sw) * .62);
  position: relative; flex: none;
  width: var(--sw); height: var(--sh);
  margin: calc(var(--sh) * .1) 0 calc(var(--sh) * .08);
  perspective: 1400px; cursor: pointer;
}
.sobre__sombra {
  position: absolute; left: 6%; right: 6%; bottom: -9%; height: 14%;
  background: radial-gradient(closest-side, rgba(0,0,0,.75), transparent); filter: blur(3px);
}
.sobre__laurel-ext { z-index: 0;
  position: absolute; top: -14%; height: 120%; width: auto; aspect-ratio: 120 / 300;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.6));
}
.sobre__laurel-ext--izq { left: -15%; transform: rotate(-12deg); }
.sobre__laurel-ext--der { right: -15%; transform: scaleX(-1) rotate(-12deg); }
@media (max-width: 599px) { .sobre__laurel-ext { display: none; } }
.sobre__escena { position: absolute; inset: 0; z-index: 1; transform-origin: 50% 60%; }

.sobre__interior {
  position: absolute; inset: 0; z-index: 0; border-radius: 8px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 20%, rgba(40,70,140,.55), transparent 70%),
    linear-gradient(180deg, #071330 0%, #040b1e 100%);
  box-shadow: inset 0 10px 24px rgba(0,0,0,.7);
}
.sobre__bolsillo, .solapa__cara { background: var(--cuero); background-size: 240px 240px, auto, auto, auto; }
.sobre__bolsillo {
  position: absolute; inset: 0; z-index: 5; border-radius: 8px;
  clip-path: polygon(0 0, 50% 56.8%, 100% 0, 100% 100%, 0 100%);
}
.sobre__bolsillo svg, .sobre__borde, .sobre__cinta { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sobre__borde { z-index: 7; pointer-events: none; }

/* solapa de arriba (se abre en 3D) */
.sobre__solapa {
  position: absolute; left: 0; right: 0; top: 0; height: 56.8%; z-index: 6;
  transform-origin: 50% 0; transform: perspective(1100px) rotateX(0deg);
  transform-style: preserve-3d;
}
.solapa__cara { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.solapa__cara svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.solapa__cara--frente {
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background:
    var(--grano),
    repeating-conic-gradient(from 0deg at 50% 100%, rgba(150,185,255,.05) 0deg 1.2deg, transparent 1.2deg 6.5deg),
    linear-gradient(180deg, #1a3b78 0%, #10285a 55%, #0a1c42 100%);
  background-size: 240px 240px, auto, auto;
}
.solapa__cara--dorso {
  transform: rotateX(180deg);
  clip-path: polygon(0 100%, 100% 100%, 50% 0);
  background:
    repeating-linear-gradient(45deg, rgba(215,180,106,.13) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(-45deg, rgba(215,180,106,.13) 0 1px, transparent 1px 10px),
    radial-gradient(ellipse 80% 90% at 50% 100%, #2a4f95, #132c63 60%, #0b1d45);
}
.solapa__sombra { position: absolute; inset: 0; background: #020713; opacity: 0; }
.solapa__cara--dorso .solapa__sombra { opacity: .65; }

/* luz dorada que sale de adentro */
.sobre__luz {
  position: absolute; z-index: 2; left: 50%; top: 18%;
  width: calc(var(--sw) * 1.9); height: calc(var(--sw) * 1.9);
  margin: calc(var(--sw) * -.95) 0 0 calc(var(--sw) * -.95);
  border-radius: 50%; pointer-events: none; opacity: 0; transform: scale(.2);
  background:
    radial-gradient(closest-side, rgba(255,252,232,.98), rgba(255,226,150,.7) 14%, rgba(255,196,100,.25) 36%, transparent 66%),
    repeating-conic-gradient(from 0deg, rgba(255,232,170,.42) 0deg 2.2deg, transparent 2.2deg 9deg);
  -webkit-mask: radial-gradient(closest-side, #000 25%, transparent 100%);
          mask: radial-gradient(closest-side, #000 25%, transparent 100%);
  mix-blend-mode: screen;
}

/* tarjeta de marfil con filigrana (dentro del sobre) */
.sobre__ranura { position: absolute; left: 0; right: 0; bottom: 4%; top: -170%; z-index: 3; overflow: hidden; pointer-events: none; }
.sobre__tarjeta {
  position: absolute; left: 6.5%; right: 6.5%; bottom: 0; height: calc(var(--sh) * .86);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 4% 6%; text-align: center; color: #13223c; border-radius: 3px;
  background:
    radial-gradient(120% 90% at 50% 28%, #fffdf6 0%, #f9f0da 52%, #ecd8aa 100%);
  box-shadow: inset 0 0 0 2px #c9a24f, inset 0 0 0 6px #fffaf0, inset 0 0 0 7px #b48d42, inset 0 0 26px rgba(150,110,40,.25), 0 -4px 16px rgba(0,0,0,.35);
  transform: translateY(0);
}
.tarjeta__esq { position: absolute; width: 19%; height: auto; aspect-ratio: 1; }
.tarjeta__esq--1 { top: 3%; left: 2%; }
.tarjeta__esq--2 { top: 3%; right: 2%; transform: scaleX(-1); }
.tarjeta__esq--3 { bottom: 3%; left: 2%; transform: scaleY(-1); }
.tarjeta__esq--4 { bottom: 3%; right: 2%; transform: scale(-1, -1); }
.tarjeta__birrete { width: 23%; height: auto; flex: none; margin: -3% 0 1%; filter: drop-shadow(0 3px 3px rgba(0,0,0,.35)); }
.tarjeta__centro { display: flex; align-items: center; justify-content: center; gap: 3%; width: 100%; }
.tarjeta__laurel { flex: none; height: calc(var(--sw) * .15); width: auto; aspect-ratio: 120 / 300; }
.tarjeta__laurel--der { transform: scaleX(-1); }
.tarjeta__titulo {
  margin: 0; font-family: var(--serif); font-weight: 800; text-transform: uppercase;
  font-size: calc(var(--sw) * .047); line-height: 1.12; letter-spacing: .03em; color: #13223c;
}
.tarjeta__titulo i { display: block; font-family: var(--guion); text-transform: none; font-style: normal; font-weight: 400; font-size: 1.25em; line-height: .85; color: #9c7a35; }
.tarjeta__nombre { margin: 2.5% 0 0; font-family: var(--guion); font-size: calc(var(--sw) * .06); line-height: 1; color: #4f370c; }
.tarjeta__promo { margin: 1.5% 0 0; font-family: var(--serif); font-weight: 700; text-transform: uppercase; font-size: calc(var(--sw) * .025); letter-spacing: .24em; color: var(--verde-militar); }

/* adornos sobre el cuero */
.sobre__laurel { position: absolute; z-index: 7; top: 30%; height: 50%; width: auto; aspect-ratio: 120 / 300; filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); }
.sobre__laurel--izq { left: 7%; transform: rotate(-8deg); }
.sobre__laurel--der { right: 7%; transform: scaleX(-1) rotate(-8deg); }
.sobre__nombre {
  position: absolute; z-index: 7; left: 0; right: 0; bottom: 15.5%; margin: 0;
  font-family: var(--serif); font-weight: 700; font-size: calc(var(--sw) * .052); letter-spacing: .03em; white-space: nowrap;
  background: var(--metal); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(10,6,2,.85));
}
.sobre__estrellas {
  position: absolute; z-index: 7; left: 0; right: 0; bottom: 8%; margin: 0;
  display: flex; align-items: center; justify-content: center; gap: calc(var(--sw) * .01);
}
.sobre__estrellas i { width: 22%; height: 1.2px; background: linear-gradient(90deg, transparent, #d7b46a); }
.sobre__estrellas i:last-child { transform: scaleX(-1); }
.sobre__estrellas svg { width: calc(var(--sw) * .028); height: calc(var(--sw) * .028); fill: #f2dda8; filter: drop-shadow(0 0 3px rgba(255,214,140,.8)); }
.sobre__estrellas svg.grande { width: calc(var(--sw) * .04); height: calc(var(--sw) * .04); }
/* reflejo que recorre el cuero */
.sobre__brillo { position: absolute; inset: 0; z-index: 7; border-radius: 8px; overflow: hidden; pointer-events: none; mix-blend-mode: soft-light; }
.sobre__brillo::before {
  content: ''; position: absolute; top: -30%; bottom: -30%; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg);
}

/* cinta de la bandera (en dos mitades: se sueltan al romperse el sello) */
.sobre__cinta { z-index: 8; pointer-events: none; filter: drop-shadow(0 4px 4px rgba(0,0,0,.5)); }
.sobre__cinta path { fill: none; stroke-linecap: butt; }
.cinta-roja { stroke: #c8281d; stroke-width: 18; }
.cinta-amarilla { stroke: #eac21b; stroke-width: 18; }
.cinta-verde { stroke: #0b7a3b; stroke-width: 18; }
.cinta-filo { stroke: #e3c47c; stroke-width: 3.5; }
.cinta-luz { stroke: #fff; stroke-opacity: .16; stroke-width: 9; transform: translate(-4px, -10px); }
.sobre__cinta--izq { transform-origin: 3% 84%; }
.sobre__cinta--der { transform-origin: 97% 24%; }

/* sello de cera */
.sello {
  position: absolute; z-index: 9; left: 50%; top: 53%;
  width: calc(var(--sw) * .19); height: calc(var(--sw) * .19);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 5px 6px rgba(0,0,0,.6));
}
.sello::after {
  content: ''; position: absolute; inset: -6%; border-radius: 50%;
  border: 2px solid rgba(242,221,168,.7);
  animation: anillo-sello 2.4s ease-out infinite;
}
.sello__mitad { position: absolute; inset: 0; width: 100%; height: 100%; }
.sello__mitad--izq { clip-path: polygon(0 0, 54% 0, 46% 38%, 55% 60%, 47% 100%, 0 100%); }
.sello__mitad--der { clip-path: polygon(54% 0, 100% 0, 100% 100%, 47% 100%, 55% 60%, 46% 38%); }

/* botones dorados */
.boton-oro, .boton-contorno {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 26px; border-radius: 999px;
  font-family: var(--sans); font-weight: 800; font-size: 14.5px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; text-align: center; line-height: 1.2;
  transition: transform .2s ease, box-shadow .3s ease;
}
.boton-oro {
  border: 0; color: #13223c; background: var(--metal-boton);
  box-shadow: 0 0 0 1px #8a6526, 0 0 0 4px rgba(242,221,168,.25), 0 10px 26px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.75);
}
.boton-oro::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent);
  transform: skewX(-20deg);
  animation: barrido 3.8s ease-in-out infinite;
}
.boton-contorno {
  border: 1.5px solid var(--oro); color: var(--oro-claro);
  background: rgba(7,23,45,.6);
  box-shadow: 0 8px 20px rgba(0,0,0,.35), inset 0 0 18px rgba(215,180,106,.12);
}
.boton-oro svg, .boton-contorno svg { width: 21px; height: 21px; flex: none; position: relative; z-index: 1; }
.boton-oro span, .boton-contorno span { position: relative; z-index: 1; }
.boton-oro:active, .boton-contorno:active { transform: translateY(1px) scale(.98); }
.boton-abrir { min-width: min(78vw, 300px); font-size: 15px; letter-spacing: .18em; }

.destello-pantalla {
  position: fixed; inset: 0; z-index: 45; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 45%, #fffbea 0%, #f6e4b4 30%, rgba(215,180,106,.75) 58%, rgba(7,23,45,.2) 100%);
}

/* =====================================================================
   ESCENARIO Y BARRAS
   ===================================================================== */
.escenario {
  position: fixed; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  background: #040b18 radial-gradient(ellipse at 50% 35%, #0f2549 0%, #061226 60%, #030913 100%);
}
.app {
  position: relative; width: 100%; max-width: 560px; height: var(--alto);
  overflow: hidden; background: var(--azul-noche);
  visibility: hidden;
}
body.abierta .app { visibility: visible; }

.barra-sup {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0;
  height: calc(var(--barra-sup) + var(--sup)); padding: var(--sup) 12px 0;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, rgba(3,10,22,.85) 0%, rgba(3,10,22,.5) 60%, rgba(3,10,22,0) 100%);
  pointer-events: none;
}
.barra-sup > * { pointer-events: auto; }
.sello-fecha {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
  background: var(--metal); color: #13223c;
  box-shadow: 0 0 0 2px rgba(7,23,45,.9), 0 0 0 3.5px rgba(242,221,168,.6), 0 6px 14px rgba(0,0,0,.4);
}
.sello-fecha b { font-family: var(--serif); font-size: 18px; font-weight: 800; }
.sello-fecha span { font-size: 8.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-top: 2px; padding-left: .14em; }
.controles-audio { display: flex; gap: 8px; }

.boton-redondo {
  position: relative; flex: none;
  width: 46px; height: 46px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid rgba(215,180,106,.75);
  background: rgba(7,23,45,.62); color: var(--oro-claro);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  transition: transform .2s ease, background .3s ease, opacity .3s ease, box-shadow .3s ease;
}
.boton-redondo svg { width: 22px; height: 22px; }
.boton-redondo:active { transform: scale(.93); }
.boton-redondo:disabled { opacity: .35; cursor: default; }
.boton-audio.sonando { background: rgba(215,180,106,.22); box-shadow: 0 0 0 3px rgba(242,221,168,.18), 0 0 18px rgba(242,221,168,.35); }
.boton-audio.no-disponible { opacity: .42; }
.boton-audio.no-disponible::after {
  content: ''; position: absolute; left: 22%; right: 22%; top: 50%; height: 1.8px;
  background: var(--oro-claro); transform: rotate(-45deg);
}
.boton-audio.comprobando { opacity: .6; }
.ecualizador {
  position: absolute; right: 6px; bottom: 7px; height: 9px;
  display: flex; gap: 1.5px; align-items: flex-end; opacity: 0; transition: opacity .3s;
}
.ecualizador i { width: 2px; height: 35%; border-radius: 1px; background: var(--oro-claro); }
.sonando .ecualizador { opacity: 1; }
.ico-mudo { display: none; }
.silenciado .ico-sonido { display: none; }
.silenciado .ico-mudo { display: block; }

.barra-inf {
  position: absolute; z-index: 20; left: 0; right: 0; bottom: 0;
  height: calc(var(--barra-inf) + var(--inf)); padding: 0 14px var(--inf);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: linear-gradient(0deg, rgba(3,10,22,.94) 0%, rgba(3,10,22,.65) 55%, rgba(3,10,22,0) 100%);
}
.boton-nav { width: 52px; height: 52px; }
.boton-nav svg { width: 24px; height: 24px; }
.boton-nav--sig { background: rgba(215,180,106,.2); }
.indicadores { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.indicador {
  position: relative; width: 9px; height: 9px; padding: 0; border: 0; border-radius: 6px; cursor: pointer;
  background: rgba(242,221,168,.32);
  transition: width .35s ease, background .35s ease, box-shadow .35s ease;
}
.indicador::before { content: ''; position: absolute; inset: -12px -5px; }
.indicador.activo { width: 26px; background: var(--metal); box-shadow: 0 0 10px rgba(242,221,168,.6); }

.pista-deslizar {
  position: absolute; z-index: 21; left: 50%; bottom: calc(var(--barra-inf) + var(--inf) + 4px);
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(7,23,45,.85); border: 1px solid rgba(215,180,106,.45);
  color: var(--oro-claro); font-size: 12.5px; letter-spacing: .04em;
  opacity: 0; pointer-events: none; transition: opacity .5s ease;
}
.pista-deslizar.visible { opacity: 1; }
.pista-deslizar svg { width: 20px; height: 20px; }

.aviso-flotante {
  position: fixed; z-index: 70; left: 50%; bottom: calc(var(--barra-inf) + var(--inf) + 14px);
  transform: translate(-50%, 16px);
  width: max-content; max-width: min(90vw, 420px);
  padding: 12px 18px; border-radius: 12px;
  background: rgba(7,23,45,.96); border: 1px solid rgba(215,180,106,.6);
  color: var(--marfil); font-size: 14px; line-height: 1.4; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.aviso-flotante.visible { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================================
   PÁGINAS
   ===================================================================== */
.paginas { position: absolute; inset: 0; perspective: 1600px; overflow: hidden; }
.pagina { position: absolute; inset: 0; visibility: hidden; overflow: hidden; transform-origin: 50% 50%; }
.pagina.activa, .pagina.saliendo { visibility: visible; }
.pagina.saliendo { pointer-events: none; }
.pagina__fondo { position: absolute; inset: 0; overflow: hidden; }
.pagina__scroll {
  position: absolute; inset: 0; z-index: 2;
  overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  scrollbar-width: none;
  padding: calc(var(--barra-sup) + var(--sup) + 6px) clamp(22px, 7vw, 36px) calc(var(--barra-inf) + var(--inf) + 10px);
}
.pagina__scroll::-webkit-scrollbar { display: none; }
.pagina__contenido {
  position: relative; min-height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: space-evenly;
  gap: max(8px, calc(var(--u) * 2.4));
  text-align: center;
}
.pagina__contenido--arriba { justify-content: flex-start; padding-top: 10px; }

/* marco dorado de las páginas */
.marco-dorado {
  position: absolute; z-index: 1; pointer-events: none;
  top: calc(var(--barra-sup) + var(--sup) - 8px); bottom: calc(var(--barra-inf) + var(--inf) - 10px);
  left: 8px; right: 8px;
}
.marco-dorado::before { content: ''; position: absolute; inset: 4px; border: 1.3px solid rgba(215,180,106,.5); }
.marco-dorado::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(215,180,106,.2); }
.esq {
  position: absolute; width: clamp(62px, 19vw, 104px); height: clamp(62px, 19vw, 104px);
  filter: drop-shadow(0 0 4px rgba(242,200,110,.4));
}
.esq--1 { top: 0; left: 0; }
.esq--2 { top: 0; right: 0; transform: scaleX(-1); }
.esq--3 { bottom: 0; left: 0; transform: scaleY(-1); }
.esq--4 { bottom: 0; right: 0; transform: scale(-1, -1); }

/* fondos */
.foco {
  position: absolute; left: 50%; top: -12%; width: 130%; height: 62%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255,226,150,.3), rgba(255,226,150,.08) 55%, transparent);
}
.tema-azul .pagina__fondo {
  background: radial-gradient(130% 78% at 50% 30%, #2448a2 0%, #183a7c 24%, #0f2754 52%, #07172D 84%);
}
.tema-azul .pagina__fondo::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 7px, rgba(255,255,255,.025) 7px 9px, transparent 9px 17px);
  -webkit-mask: linear-gradient(180deg, #000 0%, rgba(0,0,0,.5) 55%, transparent 90%);
          mask: linear-gradient(180deg, #000 0%, rgba(0,0,0,.5) 55%, transparent 90%);
}
.tema-azul .pagina__fondo::after {
  content: ''; position: absolute; left: -10%; right: -10%; bottom: -6%; height: 34%;
  background: radial-gradient(ellipse at 50% 100%, rgba(242,221,168,.16), transparent 65%);
}
.tema-calido .pagina__fondo { background: #20170c url('../assets/images/texturas/camuflaje.svg') center / 240px; }
.tema-calido .pagina__fondo::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 22%, rgba(255,178,80,.55), rgba(150,80,20,.35) 45%, transparent 75%),
    linear-gradient(180deg, rgba(40,22,6,.55), rgba(18,10,3,.88));
}
.tema-calido .foco { background: radial-gradient(closest-side, rgba(255,210,130,.35), transparent); }
.tema-camuflado .pagina__fondo { background: #252e1f url('../assets/images/texturas/camuflaje.svg') center / 260px; }
.tema-camuflado .pagina__fondo::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 85% 50% at 50% 30%, rgba(255,186,90,.42), rgba(120,80,30,.2) 40%, transparent 72%),
    linear-gradient(180deg, rgba(7,23,45,.45) 0%, rgba(16,39,70,.35) 40%, rgba(7,23,45,.9) 100%);
}
.tema-camuflado .foco { background: radial-gradient(closest-side, rgba(255,214,140,.32), transparent); }
.tema-galeria .pagina__fondo {
  background: radial-gradient(120% 70% at 50% 18%, #1d3a70 0%, #10264d 45%, #07172D 85%);
}
.tema-galeria .pagina__fondo::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
  background: url('../assets/images/texturas/camuflaje.svg') center / 200px;
  opacity: .12;
  -webkit-mask: linear-gradient(transparent, #000); mask: linear-gradient(transparent, #000);
}
.tema-luz .pagina__fondo { background: radial-gradient(ellipse 95% 70% at 50% 40%, #2d53a2 0%, #15306a 42%, #07172D 86%); }
.rayos {
  position: absolute; left: 50%; top: 40%; width: 240vmax; height: 240vmax;
  margin: -120vmax 0 0 -120vmax;
  background: repeating-conic-gradient(from 0deg, rgba(255,228,160,.15) 0deg 4deg, transparent 4deg 13deg);
  -webkit-mask: radial-gradient(closest-side, #000 0%, rgba(0,0,0,.55) 22%, transparent 48%);
          mask: radial-gradient(closest-side, #000 0%, rgba(0,0,0,.55) 22%, transparent 48%);
}

/* ---------- Títulos ---------- */
.titulo-oro {
  margin: 0;
  font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: max(21px, calc(var(--u) * 6.6)); line-height: 1.12; letter-spacing: .05em;
  background-image: linear-gradient(110deg, transparent 38%, rgba(255,255,255,.95) 50%, transparent 62%), var(--metal);
  background-size: 260% 100%, 100% 100%;
  background-position: 170% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(40,25,5,.9)) drop-shadow(0 0 14px rgba(242,200,110,.42));
  text-wrap: balance;
  /* espacio para las tildes: el degradado solo pinta dentro de la caja */
  padding: .2em .08em .06em; margin-top: -.14em;
}
.titulo-pagina { font-size: max(20px, calc(var(--u) * 6.2)); max-width: 18ch; }
.titulo-portada { display: flex; flex-direction: column; align-items: center; font-size: max(25px, calc(var(--u) * 8)); line-height: 1.02; }
.titulo-portada__y { font-family: var(--guion); text-transform: none; letter-spacing: 0; font-size: .9em; line-height: .95; margin: -.02em 0 .04em; }
.sobretitulo {
  margin: 0; display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: max(11px, calc(var(--u) * 2.9)); letter-spacing: .42em; text-transform: uppercase;
  color: var(--oro-claro); padding-left: .42em;
}
.sobretitulo::before, .sobretitulo::after { content: ''; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--oro)); }
.sobretitulo::after { transform: scaleX(-1); }
.titulo-3d {
  margin: 0; max-width: 15ch;
  font-family: var(--serif); font-weight: 900; text-transform: uppercase;
  font-size: max(23px, calc(var(--u) * 7.2)); line-height: 1.04; letter-spacing: .03em;
  color: #fff4d6;
  -webkit-text-stroke: 1px #3b2606; paint-order: stroke fill;
  text-shadow: 0 1px 0 #d6a64e, 0 2px 0 #be8f39, 0 3px 0 #a3792a, 0 4px 0 #86601d, 0 5px 0 #654712,
               0 9px 16px rgba(0,0,0,.75), 0 0 30px rgba(255,190,90,.5);
  text-wrap: balance;
}
.titulo-pergamino {
  margin: 0; font-family: var(--serif); font-weight: 800; text-transform: uppercase;
  font-size: max(18px, calc(var(--u) * 5.4)); line-height: 1.15; letter-spacing: .05em;
  color: #34452a; text-shadow: 0 1px 0 rgba(255,255,255,.7);
  text-wrap: balance;
}
.nombre-grande {
  margin: 0; display: flex; flex-direction: column;
  font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: max(21px, calc(var(--u) * 6.6)); line-height: 1.08; letter-spacing: .09em;
  color: var(--marfil);
  text-shadow: 0 2px 10px rgba(0,0,0,.65), 0 0 20px rgba(242,221,168,.25);
}
.nombre-grande span:last-child { font-size: .8em; color: var(--oro-claro); letter-spacing: .15em; }
.nombre-medio span, .intro__nombre span { display: block; }
.intro__nombre span + span { font-size: .82em; }
.nombre-medio {
  margin: 0; font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: max(17px, calc(var(--u) * 5.2)); line-height: 1.15; letter-spacing: .08em;
  color: var(--marfil); text-shadow: 0 2px 8px rgba(0,0,0,.65);
}
.subtitulo {
  margin: 0; max-width: 28ch;
  font-family: var(--serif-texto); font-style: italic; font-weight: 500;
  font-size: max(17px, calc(var(--u) * 5)); line-height: 1.3; color: #efe6cc;
}
.texto-cuerpo {
  margin: 0; max-width: 34ch;
  font-family: var(--serif-texto); font-weight: 500;
  font-size: max(17px, calc(var(--u) * 4.7)); line-height: 1.42; color: #f1e8d0;
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
  text-wrap: pretty;
}
.texto-cuerpo--claro { color: #f4ecd6; }
.pendiente { color: transparent; text-shadow: none; }
.escribiendo .escrito::after {
  content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.14em;
  background: var(--oro-claro); animation: parpadeo .8s steps(1) infinite;
}
.etiqueta-seccion {
  margin: 0; font-weight: 800; font-size: 12px; letter-spacing: .38em; text-transform: uppercase;
  color: var(--oro); padding-left: .38em;
}
.pista-chica { margin: 0; font-size: 12.5px; letter-spacing: .05em; color: rgba(242,221,168,.78); }

/* ---------- Retrato ovalado con laureles ---------- */
.escena-retrato { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.retrato {
  --w: calc(var(--u) * 44);
  position: relative; margin: 0; flex: none;
  width: var(--w); height: calc(var(--w) * 1.25);
}
.retrato__aro {
  position: absolute; inset: 0; z-index: 2; border-radius: 50%;
  padding: calc(var(--w) * .036);
  background: conic-gradient(from 200deg, #8c6a2c, #f6e2a8, #c9a24f, #fff1c4, #9c7a35, #f2dda8, #b8913f, #8c6a2c);
  box-shadow: 0 0 0 1.5px #4a3510, 0 0 0 calc(var(--w) * .02) rgba(242,221,168,.45), 0 14px 34px rgba(0,0,0,.55), 0 0 36px rgba(242,200,110,.32);
}
.retrato__foto {
  position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background: #0b1c36;
}
.retrato__foto img { width: 100%; height: 100%; object-fit: cover; }
.retrato__foto::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255,240,196,.9), inset 0 0 24px rgba(0,0,0,.45);
}
.retrato__laurel {
  position: absolute; z-index: 1; bottom: -9%;
  width: calc(var(--w) * .5); height: calc(var(--w) * 1.25);
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.5));
}
.retrato__laurel--izq { left: calc(var(--w) * -.3); }
.retrato__laurel--der { right: calc(var(--w) * -.3); transform: scaleX(-1); }
.retrato__orbita {
  position: absolute; z-index: 3; inset: calc(var(--w) * -.045); border-radius: 50%; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 74%, rgba(255,236,180,0) 74%, rgba(255,236,180,.95) 97%, #fff 98.6%, transparent 99.2%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  animation: orbita 5.5s linear infinite;
}
.retrato__estrellas { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.retrato__estrellas svg {
  position: absolute; width: calc(var(--w) * .075); height: calc(var(--w) * .075);
  transform: translate(-50%, -50%); fill: #f2dda8;
  filter: drop-shadow(0 0 3px rgba(255,220,140,.9));
  animation: titilar 2.4s ease-in-out infinite;
}
.retrato--chico { --w: calc(var(--u) * 37); }
.retrato--militar { --w: calc(var(--u) * 40); margin-top: calc(var(--u) * 7); }
.retrato--militar .retrato__aro { padding: calc(var(--w) * .07); }
.retrato--militar .retrato__foto { overflow: visible; }
.retrato--militar .retrato__foto img { border-radius: 50%; }
.retrato--militar .retrato__foto::before {
  content: ''; position: absolute; inset: calc(var(--w) * -.04); border-radius: 50%; z-index: -1;
  background: linear-gradient(180deg, #b52a22, #7a1511);
}

/* decoraciones */
.deco { position: absolute; pointer-events: none; z-index: 4; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); overflow: visible; }
.deco--birrete { width: calc(var(--u) * 24); left: calc(50% - var(--u) * 37); top: -3%; transform: rotate(-15deg); }
.deco--gorra { width: calc(var(--u) * 21); right: calc(50% - var(--u) * 35); bottom: 2%; transform: rotate(9deg); }
.deco--diploma { width: calc(var(--u) * 22); left: calc(50% - var(--u) * 34); bottom: 3%; transform: rotate(-22deg); }
.deco--bandera-izq, .deco--bandera-der { z-index: 0; width: calc(var(--u) * 30); top: 20%; opacity: .95; }
.deco--bandera-izq { left: calc(50% - var(--u) * 42); transform: rotate(-10deg); }
.deco--bandera-der { right: calc(50% - var(--u) * 42); transform: scaleX(-1) rotate(-10deg); }
.deco--birrete-alto { width: calc(var(--u) * 20); left: calc(50% - var(--u) * 30); top: -6%; transform: rotate(-16deg); }
.deco--toque { width: calc(var(--u) * 14); right: calc(50% - var(--u) * 29); bottom: -1%; transform: rotate(10deg); }
.deco--gorra-alta { z-index: 5; width: calc(var(--u) * 30); left: 50%; top: calc(var(--u) * -2); transform: translateX(-50%) rotate(-3deg); }
.escena-retrato--militar .deco--bandera-izq, .escena-retrato--militar .deco--bandera-der { top: 6%; width: calc(var(--u) * 32); }

/* ---------- Cintas y sellos ---------- */
.cinta {
  position: relative; z-index: 6; isolation: isolate;
  margin: 0; display: inline-block; padding: .55em 1.5em;
  font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: max(12.5px, calc(var(--u) * 3.6)); line-height: 1.2; letter-spacing: .08em;
  background: linear-gradient(180deg, #cf372c, #921b16 60%, #6a110e);
  color: #fff3d6; text-shadow: 0 1px 0 rgba(0,0,0,.55);
  box-shadow: inset 0 2px 0 #e9b964, inset 0 -2px 0 #b88a3a, 0 6px 14px rgba(0,0,0,.45);
}
.cinta::before, .cinta::after {
  content: ''; position: absolute; z-index: -1; top: 30%; width: 1.3em; height: 100%;
  background: #5c0e0b;
}
.cinta::before { left: -1.1em; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 40% 50%); }
.cinta::after { right: -1.1em; clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%); }
.cinta--oro {
  background: var(--metal-boton); color: #13223c; text-shadow: 0 1px 0 rgba(255,255,255,.5);
  box-shadow: inset 0 1px 0 #fff6d8, inset 0 -2px 0 #8c6a2c, 0 6px 14px rgba(0,0,0,.45);
}
.cinta--oro::before, .cinta--oro::after { background: #8c6a2c; }
.cinta--roja { margin-top: calc(var(--u) * -6); max-width: 92%; }
.promo-sello {
  margin: 0; display: inline-block; line-height: 1.25;
  padding: .55em 1.3em .55em 1.6em;
  font-weight: 800; font-size: max(11.5px, calc(var(--u) * 3.1)); letter-spacing: .32em; text-transform: uppercase;
  color: #13223c; background: var(--metal);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
}
.promo-sello--verde { background: linear-gradient(180deg, #55694a, #344331 55%, #26321f); color: var(--oro-claro); }
.institucion {
  margin: 0; max-width: 30ch;
  font-family: var(--serif); font-weight: 600; text-transform: uppercase;
  font-size: max(12.5px, calc(var(--u) * 3.4)); line-height: 1.45; letter-spacing: .07em;
  color: var(--oro-claro);
}
.regimiento {
  margin: 0; display: flex; flex-direction: column; gap: 3px;
  font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: max(12.5px, calc(var(--u) * 3.6)); line-height: 1.3; letter-spacing: .06em;
  color: var(--marfil); text-shadow: 0 2px 6px rgba(0,0,0,.8);
}
.regimiento__nombre { font-size: 1.28em; color: var(--oro-claro); letter-spacing: .1em; }
.unidad {
  margin: 0; font-family: var(--guion); font-size: max(30px, calc(var(--u) * 8.4)); line-height: 1;
  color: var(--oro-claro); text-shadow: 0 2px 8px rgba(0,0,0,.85), 0 0 18px rgba(242,200,110,.35);
}

/* ---------- Pergamino (agradecimientos) ---------- */
.pergamino {
  position: relative; width: 100%; max-width: 430px;
  margin: calc(var(--u) * 21 + 40px) auto calc(var(--u) * 2);
  padding: calc(var(--u) * 6.5) calc(var(--u) * 5) calc(var(--u) * 5.5);
  color: var(--tinta);
  background: radial-gradient(130% 90% at 50% 35%, #fffcf3 0%, #f7eedb 45%, #ecdcb5 80%, #d6bb80 100%);
  border: 9px solid transparent;
  border-image: linear-gradient(135deg, #7d5d22, #f6e2a8 22%, #b8913f 45%, #fff3cf 60%, #9c7a35 80%, #e6c97f) 1;
  box-shadow: 0 0 0 2px #3d2a0b, 0 22px 50px rgba(0,0,0,.6), 0 0 70px rgba(255,180,80,.22);
}
.pergamino::before { content: ''; position: absolute; inset: 5px; border: 1px solid rgba(150,110,40,.55); pointer-events: none; }
.pergamino::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .33 0 0 0 0 .12 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.pergamino__barra {
  position: absolute; left: -9px; right: -9px; top: -26px; height: 20px;
  display: flex; justify-content: space-evenly; align-items: center;
  background: linear-gradient(180deg, #4e360f, #c9a24f 35%, #fff0c4 50%, #a67c32 70%, #45300c);
  box-shadow: 0 4px 8px rgba(0,0,0,.45);
}
.pergamino__barra i {
  width: 10px; height: 10px;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  background: #f2dda8;
}
.pergamino__barra i:nth-child(1), .pergamino__barra i:nth-child(5) { background: #d0342a; }
.pergamino__barra i:nth-child(2), .pergamino__barra i:nth-child(4) { background: #f2cf1d; }
.pergamino__barra i:nth-child(3) { background: #1f9a4c; }
.corona {
  position: absolute; left: 50%; width: 100%; transform: translateX(-50%); pointer-events: none;
  top: calc(-26px - 9px - var(--u) * 21); height: calc(var(--u) * 21 + 12px);
}
.corona__bandera { position: absolute; bottom: -8px; width: 44%; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
.corona__bandera--izq { left: 2%; transform: rotate(-5deg); }
.corona__bandera--der { right: 2%; transform: scaleX(-1) rotate(-5deg); }
.corona__birrete { position: absolute; z-index: 2; left: 22%; top: 0; width: 30%; transform: rotate(-12deg); filter: drop-shadow(0 6px 8px rgba(0,0,0,.55)); }
.corona__gorra { position: absolute; z-index: 3; right: 18%; bottom: 4px; width: 34%; transform: rotate(4deg); filter: drop-shadow(0 6px 8px rgba(0,0,0,.55)); }
.adorno-linea {
  display: block; width: 64%; height: 12px; margin: 8px auto 14px; position: relative;
  background: linear-gradient(90deg, transparent, #b48d42 30%, #b48d42 70%, transparent) center / 100% 1px no-repeat;
}
.adorno-linea::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px;
  transform: translate(-50%, -50%) rotate(45deg); background: #b48d42; box-shadow: 0 0 0 3px #f7eedb, 0 0 0 4px #b48d42;
}
.foto-familia {
  margin: 0 auto calc(var(--u) * 4); width: 66%; max-width: 280px;
  aspect-ratio: 4 / 3;
  border: 5px solid #fffdf7; background: #e9dcc0;
  box-shadow: 0 0 0 1.5px #b48d42, 0 10px 20px rgba(60,40,10,.4);
  transform: rotate(-1.6deg);
  overflow: hidden;
}
.foto-familia img { width: 100%; height: 100%; object-fit: cover; }
.texto-palabras p {
  margin: 0 0 .65em;
  font-family: var(--serif-texto); font-weight: 600;
  font-size: max(16.5px, calc(var(--u) * 4.5)); line-height: 1.4; color: #2b2618;
}
.texto-palabras p:last-child { margin-bottom: 0; }

/* ---------- Galería ---------- */
.galeria { width: 100%; max-width: 440px; margin-top: calc(var(--u) * 3); }
.galeria__titulo {
  display: flex; align-items: center; gap: 10px; margin: 0 0 10px;
  font-family: var(--serif); font-weight: 700; font-size: 15px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--oro-claro);
}
.galeria__titulo svg { width: 20px; height: 20px; flex: none; }
.galeria__titulo::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(215,180,106,.7), transparent); }
.galeria--militar .galeria__titulo { color: #d9e0b5; }
.galeria__rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.foto-tarjeta {
  position: relative; display: block; width: 100%; min-height: 90px; aspect-ratio: 4 / 5;
  padding: 2px; border: 0; border-radius: 7px; cursor: zoom-in; overflow: hidden;
  background: linear-gradient(135deg, #8c6a2c, #f6e2a8 40%, #b8913f 70%, #f2dda8);
  box-shadow: 0 6px 16px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(16px) scale(.95);
  transition: opacity .6s ease var(--retraso, 0s), transform .7s cubic-bezier(.2,.8,.2,1) var(--retraso, 0s);
}
.galeria--militar .foto-tarjeta { background: linear-gradient(135deg, #6f7d4e, #d7b46a 45%, #344331 75%, #b8a56a); }
.foto-tarjeta.visible { opacity: 1; transform: none; }
.foto-tarjeta img, .foto-tarjeta .foto-respaldo { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; background: #0b1c36; }
.foto-tarjeta:first-child { grid-column: span 2; grid-row: span 2; }
.foto-tarjeta:nth-child(5):last-child { grid-column: span 2; aspect-ratio: 5 / 3; }
.foto-tarjeta__titulo {
  position: absolute; left: 2px; right: 2px; bottom: 2px; border-radius: 0 0 5px 5px;
  padding: 18px 9px 7px; text-align: left;
  font-size: 11.5px; font-weight: 600; letter-spacing: .03em; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.foto-tarjeta:not(:first-child) .foto-tarjeta__titulo { display: none; }
.foto-tarjeta:nth-child(5):last-child .foto-tarjeta__titulo { display: block; }

/* ---------- Ventana de foto ampliada ---------- */
.lightbox { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox__fondo { position: absolute; inset: 0; background: rgba(3,8,18,.94); }
.lightbox__marco {
  position: relative; margin: 0; max-width: min(92vw, 560px);
  padding: 6px; border-radius: 10px;
  background: linear-gradient(135deg, #8c6a2c, #f6e2a8 40%, #b8913f 70%, #f2dda8);
  box-shadow: 0 20px 60px rgba(0,0,0,.7);
}
.lightbox__marco img {
  width: auto; max-width: 100%; max-height: calc(var(--alto) - 190px);
  border-radius: 6px; background: #0b1c36; object-fit: contain;
}
.lightbox__marco figcaption {
  position: absolute; left: 0; right: 0; top: 100%; margin-top: 12px;
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 14px; color: var(--oro-claro);
}
#lightbox-contador { opacity: .75; white-space: nowrap; }
.lightbox__cerrar { position: absolute; top: calc(var(--sup) + 12px); right: 12px; }
.lightbox__ant, .lightbox__sig { position: absolute; top: 50%; margin-top: -23px; }
.lightbox__ant { left: 10px; }
.lightbox__sig { right: 10px; }

/* ---------- Ceremonia ---------- */
.calendario {
  position: relative; width: calc(var(--u) * 58); min-width: 200px; max-width: 260px;
  padding: 0 10px calc(var(--u) * 3.6);
  border-radius: 14px; overflow: visible;
  background: linear-gradient(180deg, #fffaf0, #efe3c6);
  color: #13223c;
  box-shadow: 0 0 0 2px #b48d42, 0 0 0 5px rgba(242,221,168,.3), 0 14px 30px rgba(0,0,0,.5);
}
.calendario::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: max(34px, calc(var(--u) * 9.5));
  border-radius: 14px 14px 0 0; background: linear-gradient(180deg, #b52a22, #7a1511);
}
.calendario__anillas { position: absolute; top: -10px; left: 0; right: 0; display: flex; justify-content: space-around; padding: 0 22%; }
.calendario__anillas i { width: 9px; height: 22px; border-radius: 5px; background: var(--metal); box-shadow: 0 2px 3px rgba(0,0,0,.45); }
.calendario__semana {
  position: relative; margin: 0; height: max(34px, calc(var(--u) * 9.5));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: max(12px, calc(var(--u) * 3.3)); letter-spacing: .3em; text-transform: uppercase;
  color: #fff3d6; padding-left: .3em;
}
.calendario__dia {
  margin: calc(var(--u) * 1.5) 0 0;
  font-family: var(--serif); font-weight: 800; font-size: max(58px, calc(var(--u) * 19)); line-height: .95;
  background: linear-gradient(180deg, #d7b46a, #7d5d22);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.calendario__mes {
  margin: 4px 0 0; font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: max(12px, calc(var(--u) * 3.4)); letter-spacing: .08em; color: #13223c;
}
.ceremonia__fila { display: flex; gap: 12px; width: 100%; max-width: 360px; }
.tarjeta-info {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 8px; border-radius: 12px;
  background: rgba(7,23,45,.55); border: 1px solid rgba(215,180,106,.5);
  box-shadow: inset 0 0 22px rgba(215,180,106,.08);
}
.tarjeta-info__valor {
  margin: 0; font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: max(15px, calc(var(--u) * 4.3)); line-height: 1.2; letter-spacing: .04em; color: var(--oro-claro);
}
.tarjeta-info__valor b { display: block; font-size: 1.7em; line-height: 1; color: var(--marfil); }
.tarjeta-info__icono { width: max(30px, calc(var(--u) * 9)); height: max(30px, calc(var(--u) * 9)); color: var(--oro); }
.reloj { width: max(48px, calc(var(--u) * 14)); height: max(48px, calc(var(--u) * 14)); }
.reloj__hora, .reloj__minuto { transform-origin: 50px 50px; transition: transform 1.8s cubic-bezier(.3,1.25,.5,1) .5s; }
.tarjeta-lugar {
  position: relative; width: 100%; max-width: 360px; text-align: left;
  padding: 14px 16px 14px 56px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(242,221,168,.13), rgba(7,23,45,.55));
  border: 1px solid rgba(215,180,106,.55);
}
.tarjeta-lugar__pin { position: absolute; left: 14px; top: 16px; width: 30px; height: 30px; color: var(--oro); }
.tarjeta-lugar__nombre {
  margin: 0 0 6px; font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: max(13px, calc(var(--u) * 3.6)); line-height: 1.3; letter-spacing: .04em; color: var(--marfil);
}
.tarjeta-lugar__direccion { margin: 0; font-size: max(14px, calc(var(--u) * 3.8)); line-height: 1.4; color: #e8dcbc; }
.boton-ancho { width: 100%; max-width: 360px; }

/* ---------- Celebración ---------- */
.medalla-icono {
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; flex: none;
  background: var(--metal); color: #13223c;
  box-shadow: 0 0 0 3px rgba(7,23,45,.9), 0 0 0 5px rgba(242,221,168,.55), 0 0 30px rgba(242,200,110,.5);
}
.medalla-icono svg { width: 30px; height: 30px; }
.anfitriones { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 8px; }
.anfitrion {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(7,23,45,.6); border: 1px solid rgba(215,180,106,.42);
}
.anfitrion svg { width: 22px; height: 22px; flex: none; color: var(--oro); }
.anfitrion__nombre { display: block; font-family: var(--serif-texto); font-weight: 700; font-size: max(19px, calc(var(--u) * 5.3)); line-height: 1.15; color: var(--marfil); }
.anfitrion__rol { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--oro); }
.botones { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 360px; }
.cierre {
  margin: 0; max-width: 18ch;
  font-family: var(--guion); font-size: max(27px, calc(var(--u) * 7.6)); line-height: 1.15;
  color: var(--oro-claro); text-shadow: 0 0 18px rgba(242,200,110,.45), 0 2px 6px rgba(0,0,0,.6);
}

/* ---------- Portada: botón compartir ---------- */
.indicacion {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  padding: 8px 6px 0; border: 0; border-top: 1px solid rgba(215,180,106,.35); background: none; cursor: pointer;
  font-size: 12.5px; letter-spacing: .05em; color: rgba(242,221,168,.92);
}
.indicacion svg { width: 17px; height: 17px; flex: none; }

/* ---------- Foto que falta (respaldo sin imagen rota) ---------- */
.foto-respaldo {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 38%, #1f3d70, #0b1c36 72%);
}
.foto-respaldo::after {
  content: attr(data-inicial);
  font-family: var(--serif); font-weight: 800; font-size: 2.6em; color: var(--oro); opacity: .85;
}

.sin-js {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; text-align: center;
  background: #07172D; color: #F2DDA8; font: 18px/1.5 Georgia, serif;
}

.solo-lectores {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.lightbox__marco img.sin-foto {
  width: min(80vw, 420px); height: min(100vw, 525px);
  background: radial-gradient(circle at 50% 38%, #1f3d70, #0b1c36 72%);
}

/* =====================================================================
   PORTADA: el afiche como una tarjeta física
   ===================================================================== */
.tema-afiche .pagina__fondo { background: #050d1c; }
.afiche-ambiente {
  position: absolute; left: -12%; top: -12%; width: 124%; height: 124%; max-width: none;
  object-fit: cover; opacity: .55;
  filter: blur(26px) saturate(1.25) brightness(.62);
  transform: scale(1.08);
}
.tema-afiche .pagina__fondo::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 45%, transparent 30%, rgba(3,8,18,.72) 100%);
}
.tema-afiche .foco { top: -20%; opacity: .8; }
.tema-afiche .pagina__scroll { padding-left: 14px; padding-right: 14px; }
.portada--afiche { justify-content: center; gap: max(10px, calc(var(--u) * 3)); }

.afiche {
  --aw: max(180px, min(100%, 440px, calc((var(--alto) - var(--barra-sup) - var(--sup) - var(--barra-inf) - var(--inf) - 318px) * .6667)));
  position: relative; margin: 0; flex: none;
  width: var(--aw); aspect-ratio: 2 / 3;
  perspective: 1100px;
}
.afiche__tarjeta {
  position: absolute; inset: 0; border-radius: 6px;
  transform-style: preserve-3d;
  transform: translateY(var(--vaiven-t)) rotateX(calc(var(--incl-x, 0deg) + var(--vaiven-x))) rotateY(calc(var(--incl-y, 0deg) + var(--vaiven-y)));
  box-shadow: 0 0 0 1px #4a3510, 0 0 0 3.5px #c9a24f, 0 0 0 4.5px #fff1c4, 0 0 0 6px #7d5d22,
              0 26px 50px rgba(0,0,0,.65), 0 0 70px rgba(242,200,110,.28);
}
.afiche__foto { position: absolute; inset: 0; border-radius: 6px; overflow: hidden; background: #0b1c36; }
.afiche__foto img { width: 100%; height: 100%; object-fit: cover; }
.afiche__foto .foto-respaldo { font-size: 3em; }
/* luz que resbala sobre el brillo (sigue la inclinación) */
.afiche__reflejo {
  position: absolute; inset: 0; border-radius: 6px; pointer-events: none; mix-blend-mode: soft-light;
  background:
    radial-gradient(circle at calc(var(--luz-x, 50%) + var(--vaiven-g)) var(--luz-y, 28%), rgba(255,255,255,.55), rgba(255,255,255,.08) 32%, transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.1), transparent 40%, rgba(0,0,0,.18));
}
/* barrido dorado cada tanto */
.afiche__barrido { position: absolute; inset: 0; border-radius: 6px; pointer-events: none; overflow: hidden; mix-blend-mode: screen; }
.afiche__barrido::before {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,236,190,0) 30%, rgba(255,240,205,.42) 50%, rgba(255,236,190,0) 70%, transparent 100%);
  transform: skewX(-16deg);
}
.afiche__destellos { position: absolute; inset: 0; pointer-events: none; }
.afiche__destellos svg {
  position: absolute; left: var(--x); top: var(--y);
  width: calc(var(--aw) * .075 * var(--s, 1)); height: calc(var(--aw) * .075 * var(--s, 1));
  fill: #fffaf0; opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  filter: drop-shadow(0 0 4px #ffe6a6) drop-shadow(0 0 10px rgba(255,214,130,.8));
}
.afiche__sombra {
  position: absolute; left: 6%; right: 6%; bottom: -5%; height: 7%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.75), transparent);
  filter: blur(4px);
}

/* =====================================================================
   VIDEO DEL LICENCIAMIENTO
   ===================================================================== */
.video-recuerdo {
  position: relative; margin: calc(var(--u) * 15) 0 calc(var(--u) * 2);
  width: min(74%, 270px);
}
.video-recuerdo[hidden] { display: none; }
.video-recuerdo__corona { position: absolute; left: -16%; right: -16%; top: calc(var(--u) * -13); height: calc(var(--u) * 16); z-index: 3; pointer-events: none; }
.video-recuerdo__bandera { position: absolute; bottom: 0; width: 46%; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
.video-recuerdo__bandera--izq { left: 0; transform: rotate(-6deg); }
.video-recuerdo__bandera--der { right: 0; transform: scaleX(-1) rotate(-6deg); }
.video-recuerdo__gorra { position: absolute; left: 50%; bottom: calc(var(--u) * -3); width: 40%; transform: translateX(-50%) rotate(-3deg); filter: drop-shadow(0 6px 8px rgba(0,0,0,.55)); }
.video-recuerdo__marco {
  position: relative; aspect-ratio: 9 / 16; cursor: pointer;
  padding: 6px; border-radius: 16px;
  background: conic-gradient(from 200deg, #8c6a2c, #f6e2a8, #c9a24f, #fff1c4, #9c7a35, #f2dda8, #b8913f, #8c6a2c);
  box-shadow: 0 0 0 1.5px #4a3510, 0 0 0 5px rgba(158,32,26,.85), 0 0 0 6.5px #f2dda8, 0 18px 40px rgba(0,0,0,.6), 0 0 44px rgba(255,190,90,.35);
}
.video-recuerdo video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 11px; background: #1d2416; }
.video-recuerdo__icono {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center; color: var(--oro-claro);
  background: rgba(7,23,45,.62); border: 2px solid var(--oro);
  box-shadow: 0 0 24px rgba(242,200,110,.45);
  transition: opacity .4s ease, transform .4s ease;
}
.video-recuerdo__icono svg { width: 30px; height: 30px; margin-left: 4px; }
.video-recuerdo.reproduciendo .video-recuerdo__icono { opacity: 0; transform: scale(.7); }
.video-recuerdo figcaption { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 12px; }
.video-recuerdo__titulo { font-family: var(--guion); font-size: max(28px, calc(var(--u) * 8)); line-height: 1; color: var(--oro-claro); text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.video-recuerdo__pista { font-size: 12px; letter-spacing: .05em; color: rgba(242,221,168,.7); }

/* =====================================================================
   PADRINOS
   ===================================================================== */
.titulo-guion {
  margin: 0; font-family: var(--guion); font-weight: 400;
  font-size: max(40px, calc(var(--u) * 11.5)); line-height: 1.05;
  color: #2f4a26; text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.padrinos__texto {
  margin: 0 auto; max-width: 30ch;
  font-family: var(--serif-texto); font-style: italic; font-weight: 600;
  font-size: max(16.5px, calc(var(--u) * 4.5)); line-height: 1.35; color: #3a3220;
}
.padrinos { display: flex; flex-direction: column; gap: max(14px, calc(var(--u) * 4.6)); margin-top: max(14px, calc(var(--u) * 4.6)); }
.padrinos__titulo {
  margin: 0 0 4px; display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--serif); font-weight: 800; text-transform: uppercase;
  font-size: max(12px, calc(var(--u) * 3.3)); letter-spacing: .14em; color: #7a5a20;
}
.padrinos__titulo::before, .padrinos__titulo::after { content: ''; width: 22px; height: 1px; background: #b48d42; flex: none; }
.padrinos__nombre { margin: 0; font-family: var(--guion); font-size: max(28px, calc(var(--u) * 8)); line-height: 1.12; color: #2f5a2a; }
.padrinos__nombre--falta {
  font-family: var(--serif-texto); font-style: italic; font-weight: 600;
  font-size: max(16px, calc(var(--u) * 4.3)); letter-spacing: .06em; color: rgba(70,58,34,.6);
}
.padrinos__laurel { position: absolute; right: 10px; bottom: 10px; width: 16%; height: auto; aspect-ratio: 120 / 300; opacity: .09; pointer-events: none; }
.pergamino--padrinos { padding-bottom: calc(var(--u) * 7); }

/* ---------- Portada: «Una ocasión especial para compartir» ---------- */
.llamado {
  position: relative; width: 100%; max-width: 420px;
  padding: max(13px, calc(var(--u) * 3.6)) 15% max(16px, calc(var(--u) * 4.4));
  text-align: center; border-radius: 10px;
  background: radial-gradient(120% 110% at 50% 0%, #1d3c7a 0%, #10285a 52%, #091a40 100%);
  border: 1.5px solid #c9a24f;
  box-shadow: inset 0 0 0 4px rgba(7,23,45,.92), inset 0 0 0 5px rgba(242,221,168,.42),
              0 16px 34px rgba(0,0,0,.55), 0 0 40px rgba(242,200,110,.18);
}
.llamado__titulo {
  position: relative; z-index: 2; margin: 0;
  font-family: var(--guion); font-size: max(26px, calc(var(--u) * 7.4)); line-height: 1.06;
  background: var(--metal); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(30,18,4,.85)); padding: 0 .1em;
}
.llamado__adorno { display: block; position: relative; width: 62%; height: 12px; margin: 5px auto 6px; background: linear-gradient(90deg, transparent, #c9a24f, transparent) center / 100% 1px no-repeat; }
.llamado__adorno::before { content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; transform: translate(-50%, -50%) rotate(45deg); background: #d7b46a; box-shadow: 0 0 6px rgba(242,200,110,.8); }
.llamado__texto {
  position: relative; z-index: 2; margin: 0 0 12px;
  font-family: var(--serif-texto); font-style: italic; font-weight: 500;
  font-size: max(15px, calc(var(--u) * 4.2)); line-height: 1.28; color: #efe6cc;
}
.llamado__boton { position: relative; z-index: 5; min-height: 44px; padding: 10px 18px; font-size: 12px; letter-spacing: .1em; white-space: nowrap; }
.llamado__boton svg { width: 18px; height: 18px; }
.llamado > svg { position: absolute; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(0,0,0,.55)); }
.llamado__laurel { left: 5%; top: 16%; height: 62%; width: auto; aspect-ratio: 120 / 300; opacity: .85; filter: none; }
.llamado__laurel--der { left: auto; right: 5%; transform: scaleX(-1); }
.llamado__cinta { z-index: 1; left: -12%; bottom: -9%; width: 27%; transform: rotate(-28deg); }
.llamado__gorra { z-index: 3; left: -8%; bottom: -19%; width: 24%; transform: rotate(-10deg); }
.llamado__birrete { z-index: 3; right: -6%; bottom: 9%; width: 21%; transform: rotate(12deg); }
.llamado__diploma { z-index: 4; right: -9%; bottom: -15%; width: 26%; transform: rotate(-12deg); }
.portada--afiche .indicacion { border-top: 0; padding-top: 2px; min-height: 30px; font-size: 12px; opacity: .85; }
