/* ==========================================================================
   Paula Serrano — Tributo a Adele
   Hoja de estilos principal
   --------------------------------------------------------------------------
   Los colores, tipografías, espaciados y sombras vienen de la base de
   estilo (assets/theme.css): variables var(--color-*), var(--font-*), var(--space-*).
   Aquí solo se define el layout específico de esta página.

   ÍNDICE
     1.  Variables locales y base
     2.  Cabecera fija (.nav) + menú móvil
     3.  Conmutador de idioma (.lang)
     4.  Utilidades (.rule, .kicker)
     5.  Hero (portada)
     6.  Barra "actuando ahora" (.livebar)
     7.  Estructura de secciones (.section)
     8.  El show (.show)
     9.  Repertorio (.rep-list)
     10. Galería (.gallery)
     11. Vídeo (.video-grid) — escritorio + carrusel móvil
     12. Sobre Paula (.bio)
     13. Servicios (.svc-grid)
     14. Contacto (.contact)
     15. Botón "volver arriba" (.to-top)
     16. Loader (cortina de carga)
     17. Footer
     18. Ajustes responsive (táctil / hero móvil)
   ========================================================================== */


/* 1. VARIABLES LOCALES Y BASE
   ========================================================================== */
:root {
  --leading: 28px;             /* altura de línea base para ritmo vertical */
  --half: 14px;
  --edge: clamp(20px, 5vw, 72px);  /* margen lateral de la página */
  --measure: 58ch;             /* ancho de lectura cómodo */
}
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; text-wrap: pretty; }
.plate { display: block; filter: none; border: 0; outline: 0; }  /* foto limpia, sin mat sepia */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--edge); }

/* --------------------------------------------------------------------------
   ANIMACIONES (escritorio) — todas se desactivan con prefers-reduced-motion.
   · [data-reveal]   entra con fundido + subida al ser visible (js/main.js)
   · .kenburns       zoom muy lento e infinito en la foto del hero
   · repertorio      cascada escalonada de los temas al revelarse
   · galería         zoom lento de la foto + filete dorado en hover
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px);
  transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Hero en dos tiempos: líneas del nombre + ken-burns de la foto */
.hero .display .line { display: block; opacity: 0; transform: translateY(14px);
  animation: line-in .9s cubic-bezier(.22,.61,.36,1) forwards; }
.hero .display .line:nth-child(1) { animation-delay: .55s; }
.hero .display .line:nth-child(2) { animation-delay: .72s; }
@keyframes line-in { to { opacity: 1; transform: none; } }
.kenburns { overflow: hidden; }
.kenburns img { animation: kenburns 18s ease-out both; transform-origin: 50% 30%; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Hero — paquete de entrada (cortina + hairline + stagger) */
/* A. Cortina: un panel se desliza y descubre la foto */
.hero-figure .plate { position: relative; }
.hero-figure .plate::before { content: ''; position: absolute; inset: 0; z-index: 2;
  background: var(--color-bg); transform-origin: right;
  animation: curtain 1.1s cubic-bezier(.76,0,.24,1) .15s forwards; }
@keyframes curtain { to { transform: scaleX(0); } }
/* B. Kicker dorado + hairline que se traza */
.hero .kicker { position: relative; padding-bottom: calc(0.7 * var(--leading));
  opacity: 0; animation: fade-up .7s ease .15s forwards; }
.hero .kicker::after { content: ''; position: absolute; left: 0; bottom: 0;
  width: 64px; height: 1px; background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  animation: draw .7s cubic-bezier(.22,.61,.36,1) .4s forwards; }
@keyframes draw { to { transform: scaleX(1); } }
/* C. Stagger: subtítulo y botones entran tras el nombre */
.hero .sub { opacity: 0; animation: fade-up .8s cubic-bezier(.22,.61,.36,1) .92s forwards; }
.hero .row { opacity: 0; animation: fade-up .8s cubic-bezier(.22,.61,.36,1) 1.08s forwards; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Repertorio en cascada: cada tema entra escalonado cuando la lista se revela */
.rep-list.is-in li { opacity: 1; transform: none; }
.rep-list li:nth-child(1)  { --d: .02s; }
.rep-list li:nth-child(2)  { --d: .06s; }
.rep-list li:nth-child(3)  { --d: .10s; }
.rep-list li:nth-child(4)  { --d: .14s; }
.rep-list li:nth-child(5)  { --d: .18s; }
.rep-list li:nth-child(6)  { --d: .22s; }
.rep-list li:nth-child(7)  { --d: .26s; }
.rep-list li:nth-child(8)  { --d: .30s; }
.rep-list li:nth-child(9)  { --d: .34s; }
.rep-list li:nth-child(10) { --d: .38s; }
.rep-list li:nth-child(11) { --d: .42s; }
.rep-list li:nth-child(12) { --d: .46s; }
.rep-list li:nth-child(13) { --d: .50s; }
.rep-list li:nth-child(14) { --d: .54s; }
.rep-list li:nth-child(15) { --d: .58s; }
.rep-list li:nth-child(16) { --d: .62s; }

/* Hover de galería: zoom lento + filete dorado */
@media (hover: hover) and (min-width: 721px) {
  .gallery figure { overflow: hidden; position: relative; }
  .gallery figure img { transition: transform 1.1s cubic-bezier(.22,.61,.36,1); }
  .gallery figure:hover img { transform: scale(1.06); }
  .gallery figure::after { content: ''; position: absolute; inset: 0; pointer-events: none;
    outline: 0 solid transparent; outline-offset: -10px;
    box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .35s ease; }
  .gallery figure:hover::after { box-shadow: inset 0 0 0 1px var(--color-accent); }

  /* Foto de "El show": mismo trato de hover que la galería */
  .show-figure .plate { overflow: hidden; position: relative; }
  .show-figure .plate img { transition: transform 1.1s cubic-bezier(.22,.61,.36,1); }
  .show-figure:hover .plate img { transform: scale(1.06); }
  .show-figure .plate::after { content: ''; position: absolute; inset: 0; pointer-events: none;
    box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .35s ease; }
  .show-figure:hover .plate::after { box-shadow: inset 0 0 0 1px var(--color-accent); }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero .display .line { opacity: 1; transform: none; animation: none; }
  .hero-figure .plate::before { animation: none; display: none; }
  .hero .kicker, .hero .kicker::after, .hero .sub, .hero .row { opacity: 1; transform: none; animation: none; }
  .kenburns img { animation: none; }
  .rep-list li { opacity: 1; transform: none; transition: none; }
}


/* 2. CABECERA FIJA (.nav) + MENÚ MÓVIL
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(10px);
  padding-inline: max(var(--edge), calc((100% - 1200px) / 2 + var(--edge)));
}
.nav-brand { display: flex; flex-direction: column; line-height: 1; gap: 3px;
  color: var(--color-text); text-decoration: none; }
.nav-brand:hover { color: var(--color-accent); }
.nav-brand:hover .sub { color: var(--color-accent); }
.nav-brand .sub { font-family: var(--font-body); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--color-accent-700); font-weight: 400; }
.nav .links { display: flex; align-items: center; gap: var(--space-4); }
.nav a { white-space: nowrap; letter-spacing: 0.01em; }
.nav a[aria-current='location'] { color: var(--color-accent); }
/* Hover de los enlaces del menú: trazo dorado que se dibuja (como email/footer) */
.nav .links > a { position: relative; padding-bottom: 3px; transition: color .3s ease; }
.nav .links > a::after { content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.22,.61,.36,1); }
.nav .links > a:hover { color: var(--color-accent); }
.nav .links > a:hover::after { transform: scaleX(1); }
@media (max-width: 860px) { .nav .links > a::after { display: none; } }

/* Botón hamburguesa (oculto en escritorio) */
.nav-toggle { display: none; }
.nav-toggle .bars { position: relative; display: block; width: 24px; height: 16px; }
.nav-toggle .bars i {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--color-text); border-radius: 2px; transform-origin: center;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle .bars i:nth-child(1) { top: 0; }
.nav-toggle .bars i:nth-child(2) { top: 7px; }
.nav-toggle .bars i:nth-child(3) { top: 14px; }
/* Al abrir el menú, las barras se transforman en una "X" */
.nav[data-open] .nav-toggle .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav[data-open] .nav-toggle .bars i:nth-child(2) { opacity: 0; }
.nav[data-open] .nav-toggle .bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú a pantalla completa en móvil (≤860px) */
@media (max-width: 860px) {
  .nav { backdrop-filter: none; background: var(--color-bg); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; min-height: 0; padding: 0; flex: none;
    border: 1px solid var(--color-divider); border-radius: var(--radius-md); z-index: 60; }
  @media (hover: hover) {
    .nav-toggle:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); border-color: var(--color-accent); }
    .nav-toggle:hover .bars i { background: var(--color-accent); }
  }
  .nav[data-open] .nav-toggle { border-color: var(--color-accent);
    background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
  .nav[data-open] .nav-toggle .bars i { background: var(--color-accent); }
  .nav[data-open] .nav-toggle::after { transform: scaleX(1); }
  .nav .links {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 0;
    background: var(--color-bg);
    padding: 0 var(--edge);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .32s ease, transform .32s ease, visibility 0s linear .32s;
  }
  .nav[data-open] .links {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .32s ease, transform .32s ease;
  }
  .nav .links { counter-reset: navi; }
  .nav .links > a {
    counter-increment: navi;
    display: flex; align-items: baseline; gap: var(--space-4);
    padding: calc(0.7 * var(--leading)) 0; font-size: clamp(30px, 8vw, 42px);
    font-family: var(--font-heading); font-weight: 400; line-height: 1;
    border-bottom: 1px solid var(--color-divider);
  }
  .nav .links > a:first-of-type { border-top: 1px solid var(--color-divider); }
  .nav .links > a::before {
    content: counter(navi, decimal-leading-zero);   /* numeral 01, 02… en dorado */
    font-size: 13px; letter-spacing: 0.15em; color: var(--color-accent);
    font-feature-settings: "tnum" 1; transform: translateY(-0.15em);
  }
  .nav .links .lang { display: flex; align-items: center; gap: var(--space-2);
    margin-top: calc(1.4 * var(--leading));
    font-family: var(--font-body); font-size: 14px; }
  .nav .links .lang a { padding: 6px 12px 6px 0; }
  .nav > .lang { display: none; }
}


/* 3. CONMUTADOR DE IDIOMA (.lang)
   --------------------------------------------------------------------------
   Hay dos: el standalone de la cabecera (escritorio) y el que va dentro
   de .links (solo visible dentro del menú móvil).
   ========================================================================== */
.lang { display: inline-flex; align-items: center; gap: 0; flex: none; letter-spacing: 0.08em;
  font-size: 12px; text-transform: uppercase; font-feature-settings: "tnum" 1; }
.lang a { padding: 4px 8px; text-decoration: none; color: color-mix(in srgb, var(--color-text) 55%, transparent); }
.lang a:hover { color: var(--color-accent); }
.lang a[aria-current='true'] { color: var(--color-accent); }
.lang .sep { width: 1px; height: 13px; background: var(--color-divider); }
.lang a[aria-disabled='true'] { pointer-events: none; opacity: 0.5; }   /* EN aún inactivo */
@media (min-width: 861px) { .nav .links .lang { display: none; } }   /* en escritorio, el de dentro del menú se oculta */


/* 4. UTILIDADES
   ========================================================================== */
.rule { height: 1px; border: 0; margin: 0; background: var(--color-divider); }

/* Hover de botones: suave, en concordancia con el subrayado del email.
   Un fino trazo dorado se dibuja bajo la etiqueta + leve tinte de fondo. */
.btn { position: relative; overflow: hidden;
  transition: background-color .35s ease, border-color .35s ease, color .35s ease; }
.btn::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 8px;
  height: 1px; background: var(--color-accent); transform: scaleX(0); transform-origin: center;
  transition: transform .45s cubic-bezier(.22,.61,.36,1); opacity: .8; }
.btn:hover::after { transform: scaleX(1); }
.btn-icon:hover::after { transform: scaleX(0); }
@media (hover: hover) { .btn-icon:hover::after { transform: scaleX(1); } }
.btn-primary:hover, .btn-secondary:hover {
  background: color-mix(in srgb, var(--color-accent) 9%, transparent);
  border-color: var(--color-accent); color: var(--color-accent-700); }
@media (prefers-reduced-motion: reduce) { .btn::after { transition: none; } }
.contact .row .btn { display: inline-flex; align-items: center; gap: var(--space-2); }
.contact .row .btn i { font-size: 0.92em; line-height: 1; display: inline-flex; align-items: center; }

.kicker {
  display: block; font-size: 13px; line-height: var(--half);
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-accent-700);
  font-feature-settings: "tnum" 1;
  margin: 0 0 calc(var(--leading) - var(--half));
}


/* 5. HERO (portada)
   ========================================================================== */
.hero { padding: 0;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: var(--leading) clamp(28px, 5vw, 84px); align-items: center;
  min-height: calc(100vh - 66px); }
.hero-copy { align-self: center; }
.display {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(52px, 8.2vw, 118px);
  line-height: 0.98;
  letter-spacing: -0.015em; margin: 0;
  margin-left: -0.042em;
}
.display .line { display: block; }
.display em { font-style: italic; color: var(--color-accent); }
.hero .sub { font-size: 18px; line-height: var(--leading); max-width: 46ch;
  margin: calc(1.4 * var(--leading)) 0 0;
  color: color-mix(in srgb, var(--color-text) 82%, transparent); }
.hero .row { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: calc(1.4 * var(--leading)); }
.hero-figure { margin: 0; width: 100%; justify-self: end; }
.hero-figure .plate { width: 100%; height: 100%; }
.hero-figure img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 28%; }
@media (min-width: 721px) {
  /* Hero cinematográfico a pantalla completa (foto apaisada + texto superpuesto) */
  .hero { position: relative; display: block; padding: 0; overflow: hidden;
    width: 100vw; margin-inline: calc(50% - 50vw);
    min-height: calc(100vh - 66px); }
  .hero-figure { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; justify-self: auto; }
  .hero-figure .plate { position: relative; width: 100%; height: 100%; }
  .hero-figure .plate::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(to top, color-mix(in srgb, #14110e 90%, transparent) 0%,
        color-mix(in srgb, #14110e 40%, transparent) 32%, transparent 62%),
      linear-gradient(to right, color-mix(in srgb, #14110e 68%, transparent) 0%,
        transparent 46%); }
  .hero-figure picture { display: block; width: 100%; height: 100%; }
  .hero-figure img { width: 100%; height: 100%; aspect-ratio: auto; min-height: 0;
    object-fit: cover; object-position: 50% 32%; }
  .hero-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; align-self: end;
    box-sizing: border-box; width: 100%; max-width: 1200px; margin-inline: auto;
    padding: 0 var(--edge) calc(2.6 * var(--leading)); }
  .hero .kicker { color: color-mix(in srgb, var(--color-accent) 76%, #fff);
    text-shadow: 0 1px 10px color-mix(in srgb, #14110e 60%, transparent); }
  .hero .kicker::after { background: var(--color-accent); }
  .hero .display { color: #fff; margin-left: -0.04em;
    text-shadow: 0 2px 30px color-mix(in srgb, #14110e 55%, transparent); }
  .hero .display em { color: var(--color-accent); }
  .hero .sub { color: color-mix(in srgb, #fff 88%, transparent); max-width: 44ch;
    text-shadow: 0 1px 12px color-mix(in srgb, #14110e 55%, transparent); }
  .hero .row .btn-primary { color: #fff; border-color: color-mix(in srgb, var(--color-accent) 85%, #fff); }
  .hero .row .btn-secondary { color: #fff; border-color: color-mix(in srgb, #fff 55%, transparent); }
  /* Indicador de scroll también en escritorio */
  .scroll-cue { position: absolute; left: 50%; bottom: calc(0.8 * var(--leading));
    transform: translateX(-50%); z-index: 3; display: flex; pointer-events: none;
    transition: opacity .4s ease; }
  .scroll-cue span { width: 1px; height: 40px; overflow: hidden; position: relative;
    background: color-mix(in srgb, #fff 30%, transparent); }
  .scroll-cue span::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%;
    background: var(--color-accent); animation: cue 1.8s ease-in-out infinite; }
  .hero[data-scrolled] .scroll-cue { opacity: 0; }
}


/* 6. BARRA "ACTUANDO AHORA" (.livebar)
   ========================================================================== */
.livebar { display: flex; align-items: center; justify-content: center;
  padding: calc(0.9 * var(--leading)) 0; text-align: center; }
.live-pill { display: inline-flex; align-items: center; gap: var(--space-3);
  flex-wrap: wrap; justify-content: center; }
.livebar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-accent) 55%, transparent);
  animation: pulse 2.4s ease-out infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-accent) 45%, transparent); }
  70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.live-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-accent-700); font-weight: 400; }
.live-sep { width: 1px; height: 15px; background: var(--color-divider); }
.live-text { font-family: var(--font-heading); font-size: 19px; letter-spacing: 0.01em; }
.livebar .place { color: var(--color-text); text-decoration: none; font-style: italic;
  position: relative; white-space: nowrap; transition: color .35s ease; }
.livebar .place::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: var(--color-accent);
  opacity: .35; transform: scaleX(1); transform-origin: left;
  transition: opacity .35s ease; }
.livebar .place:hover { color: var(--color-accent-700); }
.livebar .place:hover::after { opacity: 1; }
.place-arrow { font-style: normal; display: inline-block; margin-left: 4px; font-size: 0.72em;
  color: var(--color-accent); transform: translate(0, -1px);
  transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.livebar .place:hover .place-arrow { transform: translate(2px, -3px); }
@media (prefers-reduced-motion: reduce) { .livebar .dot { animation: none; } }
@media (max-width: 620px) { .live-sep { display: none; } .live-text { font-size: 17px; } }


/* 7. ESTRUCTURA DE SECCIONES (.section)
   ========================================================================== */
.section { padding: calc(3 * var(--leading)) 0; }
.section-head { max-width: var(--measure); }
.section-title { font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.01em; margin: 0;
  text-box: trim-both cap alphabetic; }
.lead { font-size: 18px; line-height: var(--leading); max-width: 60ch;
  color: color-mix(in srgb, var(--color-text) 80%, transparent);
  margin: calc(1.2 * var(--leading)) 0 0; }


/* 8. EL SHOW (.show)
   --------------------------------------------------------------------------
   Más peso a la foto: columna de imagen mayor y texto más estrecho.
   ========================================================================== */
/* 7b. CONCIERTO DESTACADO (.event)
   ========================================================================== */
.event-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: var(--leading) clamp(28px, 5vw, 72px); align-items: center; }
.event-copy { align-self: center; }
.event-copy .lead { max-width: 44ch; }
.event-meta { margin: calc(1.5 * var(--leading)) 0 calc(1.4 * var(--leading)); padding: 0;
  display: flex; flex-direction: column; }
.event-meta > div { display: grid; grid-template-columns: 12ch 1fr; align-items: baseline;
  gap: var(--space-4); padding: calc(0.62 * var(--leading)) 0;
  border-bottom: 1px solid var(--color-divider); }
.event-meta > div:first-child { border-top: 1px solid var(--color-divider); }
.event-meta dt { display: flex; align-items: center; gap: var(--space-3); margin: 0;
  font-family: var(--font-heading); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--color-accent-700); }
.event-meta dt i { width: 15px; text-align: center; font-size: 13px; }
.event-meta dd { margin: 0; font-family: var(--font-heading); font-size: clamp(18px, 2.1vw, 22px);
  color: var(--color-text); line-height: 1.2; }
.event-figure { position: relative; margin: 0; }
.event-figure .plate { overflow: hidden; }
.event-figure .plate img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  object-position: 50% 22%; transition: transform 1.1s cubic-bezier(.22,.61,.36,1); }
.event-figure:hover .plate img { transform: scale(1.05); }
.event-figure .date-stamp { position: absolute; z-index: 2; top: calc(-1 * var(--space-4));
  left: calc(-1 * var(--space-4)); background: var(--color-bg);
  border: 1px solid var(--color-accent); border-radius: var(--radius-md);
  padding: calc(var(--space-5) * 0.9) calc(var(--space-6) * 1.15 * 0.9) calc(var(--space-5) * 0.945); min-width: 5.87em; box-sizing: border-box;
  display: flex; flex-direction: column;
  align-items: center; line-height: 1; box-shadow: var(--shadow-sm);
  font-family: var(--font-heading); font-feature-settings: "tnum" 1; }
.event-figure .date-stamp .d { font-size: clamp(30px, 4vw, 42px); color: var(--color-text); }
.event-figure .date-stamp .m { font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-accent-700); margin-top: 4px; }
.event-figure .date-stamp .y { font-size: 12px; letter-spacing: 0.14em;
  color: color-mix(in srgb, var(--color-text) 55%, transparent); margin-top: 3px; padding-bottom: 8px; }
@media (max-width: 760px) {
  .event-grid { grid-template-columns: 1fr; }
  .event-figure { order: -1; }
  .event-figure .plate img { aspect-ratio: 4 / 3; }
  .event-figure .date-stamp { top: var(--space-3); left: var(--space-3);
    padding: var(--space-3) var(--space-4); }
}

/* Página de concierto: mapa del recinto y CTA final */
.venue-map { margin: 0; align-self: stretch; display: flex; flex-direction: column; }
.venue-map iframe { width: 100%; height: 100%; min-height: 340px; display: block;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md); }
.venue-map figcaption { display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) 2px 0; font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 62%, transparent); letter-spacing: 0.01em; }
.venue-map figcaption i { color: var(--color-accent-700); font-size: 13px; }
.venue-map figcaption strong { font-family: var(--font-heading); font-weight: 500;
  color: var(--color-text); }
.venue .event-copy { align-self: center; }
.cta-final { text-align: center; }
.cta-final .section-head { max-width: none; }
.cta-final .lead { margin-inline: auto; }
.cta-final .row { justify-content: center; margin-top: calc(1.4 * var(--leading)); }
@media (max-width: 760px) { .venue-map iframe { min-height: 260px; } }


.show { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--leading) clamp(28px, 5vw, 84px); align-items: stretch; }
.show-copy { align-self: center; }
.show-figure { margin: 0; }
.show-figure .plate { height: 100%; }
.show-figure img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 30%; min-height: 480px; }


/* 9. REPERTORIO (.rep-list)
   ========================================================================== */
@media (min-width: 721px) {
  #repertorio.section, #servicios.section {
    background: color-mix(in srgb, var(--color-accent) 6%, var(--color-bg));
    width: 100vw; margin-inline: calc(50% - 50vw);
    padding-inline: max(var(--edge), calc((100vw - 1200px) / 2 + var(--edge)));
  }
}
/* En móvil no hay bandas tintadas: reponemos la hairline entre secciones */
@media (max-width: 720px) {
  #repertorio.section, #galeria.section, #servicios.section, #contacto.contact {
    border-top: 1px solid var(--color-divider);
  }
}
.rep-list { list-style: none; margin: calc(1.4 * var(--leading)) 0 0; padding: 0;
  columns: 2; column-gap: clamp(28px, 5vw, 84px); }
.rep-list li { break-inside: avoid; display: flex; align-items: baseline; gap: var(--space-3);
  padding: calc(0.55 * var(--leading)) 0; border-bottom: 1px solid var(--color-divider);
  opacity: 0; transform: translateY(12px);
  transition-property: opacity, transform, border-color;
  transition-duration: .55s, .55s, .35s;
  transition-timing-function: ease, cubic-bezier(.22,.61,.36,1), ease;
  transition-delay: var(--d, 0s), var(--d, 0s), 0s; }
.rep-list li:hover { border-bottom-color: var(--color-accent); }
.rep-list .n { font-family: var(--font-heading); font-feature-settings: "tnum" 1;
  color: var(--color-accent-700); font-size: 15px; min-width: 2.2ch; text-align: right; flex: none;
  transition: color .35s ease; }
.rep-list li:hover .n { color: var(--color-accent); }
.rep-list .t { font-family: var(--font-heading); font-size: 21px; letter-spacing: 0.005em;
  transition: color .35s ease, transform .35s cubic-bezier(.22,.61,.36,1); }
.rep-list li:hover .t { color: var(--color-accent-700); transform: translateX(4px); }
@media (max-width: 620px) { .rep-list { columns: 1; } }


/* 10. GALERÍA (.gallery)
   --------------------------------------------------------------------------
   Rejilla de 6 columnas en escritorio; en móvil (≤720px) pasa a una sola
   columna a ancho completo con el alto natural de cada foto.
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 2vw, 24px); margin-top: calc(1.4 * var(--leading)); }
.gallery figure { margin: 0; }
.gallery .plate { width: 100%; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-wide { grid-column: span 4; } .g-wide img { aspect-ratio: 3 / 2; }
.g-tall { grid-column: span 2; } .g-tall img { aspect-ratio: 3 / 4; }
.g-half { grid-column: span 3; } .g-half img { aspect-ratio: 4 / 3; }
.g-portrait img { aspect-ratio: 3 / 4; }
.gallery figure { cursor: zoom-in; }
/* C · Fundido escalonado al entrar la galería en pantalla (solo portada) */
#galeria .gallery figure { opacity: 0; transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
#galeria.is-in .gallery figure { opacity: 1; transform: none; }
#galeria.is-in .gallery figure:nth-child(1) { transition-delay: .00s; }
#galeria.is-in .gallery figure:nth-child(2) { transition-delay: .05s; }
#galeria.is-in .gallery figure:nth-child(3) { transition-delay: .10s; }
#galeria.is-in .gallery figure:nth-child(4) { transition-delay: .15s; }
#galeria.is-in .gallery figure:nth-child(5) { transition-delay: .20s; }
#galeria.is-in .gallery figure:nth-child(6) { transition-delay: .25s; }
#galeria.is-in .gallery figure:nth-child(7) { transition-delay: .30s; }
#galeria.is-in .gallery figure:nth-child(8) { transition-delay: .35s; }
#galeria.is-in .gallery figure:nth-child(n+9) { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  #galeria .gallery figure { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 720px) {
  .grail-btn { display: none !important; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery figure { grid-column: span 1; }
  .gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .g-wide { grid-column: span 2; } .g-wide img { aspect-ratio: 3 / 2; }
  .g-half { grid-column: span 1; } .g-half img { aspect-ratio: 3 / 4; }
}

/* C · Carrusel horizontal en escritorio (≥721px)
   --------------------------------------------------------------------------
   La galería pasa de rejilla a una tira que se desliza en horizontal, con
   alto fijo y las fotos a su proporción natural. Flechas ‹ › por JS. */
@media (min-width: 721px) {
  .gallery-wrap { position: relative; margin-top: calc(1.4 * var(--leading)); }
  .gallery:not([data-static]) { grid-template-columns: none; display: flex; flex-wrap: nowrap;
    gap: clamp(14px, 1.6vw, 22px); margin-top: 0;
    height: min(64vh, 540px); overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; padding-bottom: 2px; }
  .gallery:not([data-static])::-webkit-scrollbar { display: none; }
  .gallery:not([data-static]) figure { grid-column: auto !important; flex: 0 0 auto;
    height: 100%; scroll-snap-align: center; transform: translateY(20px); }
  .gallery:not([data-static]) .plate { width: auto; height: 100%; }
  .gallery:not([data-static]) img { width: auto; height: 100%; aspect-ratio: auto !important; object-fit: cover; }
  #galeria.is-in .gallery figure { transform: none; }
  /* Flechas del carrusel */
  .grail-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 52px; height: 52px; display: grid; place-items: center; cursor: pointer;
    border: 1px solid var(--color-divider); border-radius: 50%;
    background: color-mix(in srgb, var(--color-bg) 86%, transparent);
    backdrop-filter: blur(6px); color: var(--color-accent-700);
    box-shadow: var(--shadow-md);
    transition: background .25s ease, border-color .25s ease, color .25s ease, opacity .3s ease; }
  .grail-btn:hover { border-color: var(--color-accent); color: var(--color-accent);
    background: var(--color-bg); }
  .grail-btn svg { width: 22px; height: 22px; }
  .grail-prev { left: -10px; } .grail-next { right: -10px; }
  .grail-btn[disabled] { opacity: 0; pointer-events: none; }
}

.gallery-more { display: flex; justify-content: center; margin-top: calc(1.4 * var(--leading)); }
/* Página de galería completa */
.gallery-page { padding-top: calc(2 * var(--leading)); }
.back-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-heading);
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent-700);
  text-decoration: none; margin-bottom: var(--leading);
  padding: 9px 18px 9px 15px; border: 1px solid var(--color-divider); border-radius: 100px;
  transition: color .3s ease, border-color .3s ease, background-color .3s ease; }
.back-link svg { width: 15px; height: 15px; flex: none;
  transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.back-link:hover { color: var(--color-accent); border-color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 7%, transparent); }
.back-link:hover svg { transform: translateX(-3px); }

/* A · LIGHTBOX
   ==========================================================================
   Se construye por JS (js/main.js). Fondo oscuro, imagen centrada grande,
   flechas de navegación, cierre con Esc/tap fuera y swipe en móvil. */
.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: color-mix(in srgb, var(--color-neutral-900, #14110e) 92%, #000);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
  -webkit-tap-highlight-color: transparent; }
.lb[data-open] { opacity: 1; visibility: visible; }
.lb-stage { position: relative; width: 100%; height: 100%;
  display: grid; place-items: center; padding: clamp(16px, 4vw, 56px); box-sizing: border-box; }
.lb-fig { margin: 0; max-width: min(1100px, 92vw); max-height: 86vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transform: scale(.985); transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.lb[data-open] .lb-fig { transform: scale(1); }
.lb-img { max-width: 100%; max-height: 82vh; object-fit: contain; display: block;
  box-shadow: 0 24px 70px rgba(0,0,0,.5); background: #000; }
.lb-img.is-swap { opacity: 0; transition: opacity .18s ease; }
.lb-count { font-family: var(--font-heading); font-feature-settings: "tnum" 1;
  color: color-mix(in srgb, #f3f2f2 78%, transparent); font-size: 15px; letter-spacing: .12em; }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid color-mix(in srgb, #f3f2f2 28%, transparent); background: transparent;
  color: #f3f2f2; border-radius: 50%; transition: background .25s ease, border-color .25s ease; }
.lb-btn:hover { background: color-mix(in srgb, var(--color-accent) 22%, transparent);
  border-color: var(--color-accent); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev { left: clamp(10px, 3vw, 34px); }
.lb-next { right: clamp(10px, 3vw, 34px); }
.lb-close { position: absolute; top: clamp(12px, 3vw, 26px); right: clamp(12px, 3vw, 26px);
  width: 48px; height: 48px; }
.lb-close svg { width: 20px; height: 20px; }
.lb:focus-visible { outline: none; }
@media (max-width: 620px) {
  .lb-stage { padding: 60px 8px 84px; }
  .lb-fig { max-width: 100%; max-height: calc(100dvh - 156px); gap: 10px; }
  .lb-img { max-height: calc(100dvh - 168px); }
  .lb-btn { width: 46px; height: 46px; }
  .lb-close { top: 12px; right: 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 58px); }
  .lb-next { right: calc(50% - 58px); }
  .lb-count { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .lb, .lb-fig, .lb-img { transition: none; }
}


/* 11. VÍDEO (YouTube)
   --------------------------------------------------------------------------
   Sección a sangre sobre fondo oscuro. Un vídeo destacado 16:9 arriba,
   separador dorado, y una fila de 3 miniaturas debajo. Cada pieza es una
   "carátula" (imagen de YouTube + botón play); el iframe solo se carga al
   pulsar, para que la página siga siendo ligera (ver js/main.js).
   Móvil (≤620px): las 3 miniaturas pasan a carrusel deslizable con puntos.
   ========================================================================== */
@media (min-width: 621px) {
  #video.section {
    background: var(--color-neutral-900);
    width: 100vw; margin-inline: calc(50% - 50vw);
    padding-inline: max(var(--edge), calc((100vw - 1200px) / 2 + var(--edge)));
  }
  #video .kicker { color: var(--color-accent); }
  #video .section-title { color: var(--color-bg); }
}
.video-lead { max-width: none; margin: calc(1.4 * var(--leading)) auto 0; }
/* Separador dorado horizontal con rombo central entre destacado y miniaturas */
.video-sep { max-width: none; margin: var(--leading) auto; height: 1px; position: relative;
  background: linear-gradient(to right, transparent,
    color-mix(in srgb, var(--color-accent) 55%, transparent) 20%,
    color-mix(in srgb, var(--color-accent) 55%, transparent) 80%, transparent); }
.video-sep::after { content: ''; position: absolute; left: 50%; top: 50%;
  width: 7px; height: 7px; background: var(--color-accent);
  transform: translate(-50%, -50%) rotate(45deg); }
.video-thumbs { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 22px); max-width: none; margin: 0 auto; }
.video-dots { display: none; }

/* Carátula de vídeo (botón) */
.yt { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  background: var(--color-neutral-900); overflow: hidden; aspect-ratio: 16 / 9; }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border: 0; display: block; }
.yt .yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--color-neutral-900) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, #fff 30%, transparent);
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease; }
.yt .yt-play svg { width: 26px; height: 26px; color: #fff; margin-left: 3px; }
.yt::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .3s ease; }
.yt:hover .yt-play { background: var(--color-accent); box-shadow: none; transform: translate(-50%, -50%) scale(1.06); }
.yt:hover::after { box-shadow: inset 0 0 0 1px var(--color-accent); }
.video-feature .yt .yt-play { width: 84px; height: 84px; }
.video-feature .yt .yt-play svg { width: 34px; height: 34px; }
/* Crossfade al cambiar el vídeo destacado */
.video-feature .yt { transition: opacity .32s ease; }
.video-feature .yt.is-fading { opacity: 0; }

@media (max-width: 620px) {
  .video-thumbs { display: flex; grid-template-columns: none;
    gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--edge)); padding: 0 var(--edge) var(--space-3); }
  .video-thumbs .yt { flex: 0 0 82%; scroll-snap-align: center; }
  .video-dots { display: flex; justify-content: center; gap: var(--space-2); margin-top: var(--space-4); }
  .video-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%;
    border: 1px solid var(--color-accent-700); background: transparent; cursor: pointer; }
  .video-dots button[aria-current='true'] { background: var(--color-accent); border-color: var(--color-accent); }
}


/* 12. SOBRE PAULA (.bio)
   ========================================================================== */
.bio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--leading) clamp(28px, 5vw, 84px); align-items: stretch; }
.bio-copy { align-self: center; }
.bio-figure { margin: 0; width: 100%; overflow: hidden; position: relative; }
.bio-figure .plate { width: 100%; height: 100%; }
.bio-figure img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  transition: transform 1.1s cubic-bezier(.22,.61,.36,1); }
.bio-figure::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .4s ease; }
@media (hover: hover) and (min-width: 721px) {
  .bio-figure { min-height: 480px; }
  .bio-figure:hover img { transform: scale(1.05); }
  .bio-figure:hover::after { box-shadow: inset 0 0 0 1px var(--color-accent); }
}
.bio .section-title { margin-bottom: var(--leading); }
.bio p { font-size: 16.5px; line-height: var(--leading); max-width: 56ch;
  color: color-mix(in srgb, var(--color-text) 82%, transparent); margin: 0 0 var(--leading); }
.bio p:last-child { margin-bottom: 0; }
.bio p a { color: var(--color-accent-700); text-decoration: none;
  position: relative; white-space: nowrap; transition: color .3s ease; }
.bio p a::after { content: ''; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.bio p a:hover { color: var(--color-accent); }
.bio p a:hover::after { transform: scaleX(1); }


/* 13. SERVICIOS (.svc-grid)
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 28px); margin-top: calc(1.4 * var(--leading)); }
.svc { border: 1px solid var(--color-divider); border-radius: var(--radius-md);
  padding: var(--leading) var(--space-6); display: flex; flex-direction: column; gap: var(--space-2);
  transition: border-color .5s ease, background-color .5s ease, transform .5s ease; }
.svc:hover { border-color: color-mix(in srgb, var(--color-accent) 45%, var(--color-divider));
  background: color-mix(in srgb, var(--color-accent) 5%, transparent); transform: translateY(-2px); }
.svc .n { font-family: var(--font-heading); font-feature-settings: "tnum" 1;
  font-size: 15px; color: var(--color-accent-700); letter-spacing: 0.06em;
  transition: color .5s ease; }
.svc:hover .n { color: var(--color-accent); }
.svc h3 { font-family: var(--font-heading); font-weight: 400; font-size: 24px; margin: 0; line-height: 1.1; }
.svc p { font-size: 14.5px; line-height: 1.6; margin: 0;
  color: color-mix(in srgb, var(--color-text) 72%, transparent); }
@media (max-width: 820px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; } }


/* 14. CONTACTO (.contact)
   ========================================================================== */
.contact { text-align: center; padding: calc(3.5 * var(--leading)) 0; }
.contact .section-head { max-width: none; }
.contact .lead { margin-inline: auto; }
.contact .row { display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center;
  margin-top: calc(1.6 * var(--leading)); }
.contact .mail { display: inline-block; font-family: var(--font-heading); font-size: clamp(28px, 5vw, 46px);
  color: var(--color-accent); text-decoration: none; letter-spacing: 0.01em;
  margin-top: calc(1.2 * var(--leading));
  position: relative; padding-bottom: 6px;
  transition: color .3s ease; }
.contact .mail::after { content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.contact .mail:hover { color: var(--color-accent-700); }
.contact .mail:hover::after { transform: scaleX(1); }

/* Animación de entrada de la sección de contacto (A · stagger + B · ken-burns)
   La sección lleva [data-reveal]; al añadirse .is-in, sus piezas entran escalonadas. */
.contact-b .invite-quote,
.contact-b .invite-mid,
.contact-b .contact-meta,
.contact-b .form-eyebrow,
.contact-b .cform .field,
.contact-b .cform .actions {
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.contact.is-in .invite-quote,
.contact.is-in .invite-mid,
.contact.is-in .contact-meta,
.contact.is-in .form-eyebrow,
.contact.is-in .cform .field,
.contact.is-in .cform .actions {
  opacity: 1; transform: none; }
.contact.is-in .invite-quote { transition-delay: .10s; }
.contact.is-in .invite-mid   { transition-delay: .20s; }
.contact.is-in .contact-meta { transition-delay: .30s; }
.contact.is-in .form-eyebrow { transition-delay: .16s; }
.contact.is-in .cform .field:nth-child(1) { transition-delay: .24s; }
.contact.is-in .cform .field:nth-child(2) { transition-delay: .30s; }
.contact.is-in .cform .field:nth-child(3) { transition-delay: .36s; }
.contact.is-in .cform .field:nth-child(4) { transition-delay: .42s; }
.contact.is-in .cform .field:nth-child(5) { transition-delay: .48s; }
.contact.is-in .cform .actions { transition-delay: .54s; }
/* B · Ken-burns lento y continuo en la foto de la tarjeta */
.contact.is-in .invite .plate-bg img { animation: contact-kb 22s ease-out both; transform-origin: 50% 30%; }
@keyframes contact-kb { from { transform: scale(1.12); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .contact-b .invite-quote, .contact-b .invite-mid, .contact-b .contact-meta,
  .contact-b .form-eyebrow, .contact-b .cform .field, .contact-b .cform .actions {
    opacity: 1; transform: none; transition: none; }
  .contact .invite .plate-bg img { animation: none; }
}

/* B · Contacto en dos columnas partidas por hairline: invitación + formulario */
.contact-b { display: grid; grid-template-columns: 0.9fr 1.1fr;
  max-width: 980px; margin: calc(1.9 * var(--leading)) auto 0; text-align: left;
  align-items: start; }
.contact-b .invite { padding-right: clamp(28px, 5vw, 64px); }
.contact-b .form-col { padding-left: clamp(28px, 5vw, 64px);
  border-left: 1px solid var(--color-divider); }
.contact-b .invite .mail { display: block; margin-top: calc(1.1 * var(--leading));
  font-size: clamp(26px, 3.4vw, 38px); }
.contact-b .invite p { font-size: 16px; line-height: var(--leading);
  color: color-mix(in srgb, var(--color-text) 80%, transparent); margin: 0; max-width: 32ch; }
.contact-b .invite .ig { display: inline-flex; align-items: center; gap: var(--space-3);
  margin-top: var(--leading); font-size: 15px; color: var(--color-text);
  text-decoration: none; position: relative; }
.contact-b .invite .ig i { color: var(--color-accent-700); }
.contact-b .invite .ig .lbl { position: relative; transition: color .3s ease; }
.contact-b .invite .ig .lbl::after { content: ''; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.contact-b .invite .ig:hover .lbl { color: var(--color-accent); }
.contact-b .invite .ig:hover .lbl::after { transform: scaleX(1); }
.contact-b .invite .form-eyebrow, .contact-b .form-col .form-eyebrow { font-family: var(--font-heading);
  font-size: clamp(22px, 2.6vw, 28px); letter-spacing: 0.005em; margin: 0 0 calc(1.3 * var(--leading));
  color: var(--color-text); }
@media (max-width: 760px) {
  .contact-b .form-col .form-eyebrow { font-size: 26px; position: relative;
    padding-bottom: var(--space-3); margin-bottom: calc(1.5 * var(--leading)); }
  .contact-b .form-col .form-eyebrow::after { content: ''; position: absolute; left: 0; bottom: 0;
    width: 48px; height: 2px; background: var(--color-accent); }
}
.contact-b .invite .form-eyebrow { margin-bottom: var(--leading); }
/* A · Columna izquierda emplacada sobre foto, formulario sobre papel */
.contact-b { align-items: stretch; }
.contact-b .invite { position: relative; overflow: hidden; border-radius: var(--radius-md);
  padding: clamp(30px, 3.4vw, 48px); display: flex; flex-direction: column;
  justify-content: space-between; gap: calc(1.4 * var(--leading));
  min-height: clamp(440px, 46vw, 580px); }
.contact-b .invite .plate-bg { position: absolute; inset: 0; z-index: 0; }
.contact-b .invite .plate-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.contact-b .invite .plate-bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(165deg,
    color-mix(in srgb, #14110e 48%, transparent) 0%,
    color-mix(in srgb, #14110e 70%, transparent) 55%,
    color-mix(in srgb, #14110e 88%, transparent) 100%); }
.contact-b .invite > * { position: relative; z-index: 1; }
.contact-b .invite .invite-quote { font-family: var(--font-heading); font-style: italic;
  font-weight: 400; font-size: clamp(26px, 2.9vw, 36px); line-height: 1.12; letter-spacing: 0.005em;
  color: #fff; margin: 0; max-width: 15ch; }
.contact-b .invite .invite-quote .amp { color: color-mix(in srgb, var(--color-accent) 80%, #fff); }
.contact-b .invite .invite-mid { margin: 0; }
.contact-b .invite .form-eyebrow { color: color-mix(in srgb, var(--color-accent) 78%, #fff);
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 var(--space-3); }
.contact-b .invite > .invite-mid > p { color: rgba(243, 242, 242, .84); max-width: 34ch; margin: 0; }
.contact-b .form-col { padding-left: clamp(28px, 5vw, 64px); border-left: 1px solid var(--color-divider);
  display: flex; flex-direction: column; justify-content: center; }

.contact-meta { list-style: none; margin: 0; padding: 0; max-width: none; }
.contact-meta li { display: flex; align-items: baseline; gap: var(--space-3);
  padding: calc(0.62 * var(--leading)) 0;
  border-bottom: 1px solid rgba(243, 242, 242, .16); }
.contact-meta li:first-child { border-top: 1px solid rgba(243, 242, 242, .16); }
.contact-meta > li > i { color: color-mix(in srgb, var(--color-accent) 78%, #fff); width: 16px;
  text-align: center; font-size: 14px; flex: none; position: relative; top: 1px; }
.contact-meta .lbl { font-family: var(--font-heading); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: color-mix(in srgb, var(--color-accent) 74%, #fff);
  min-width: 8ch; flex: none; }
.contact-meta .val { font-size: 15px; color: rgba(243, 242, 242, .9); }
.contact-meta a.val { color: #fff; text-decoration: none; transition: color .25s ease; }
.contact-meta a.val:hover { color: color-mix(in srgb, var(--color-accent) 70%, #fff); }

@media (max-width: 760px) {
  .contact-b { grid-template-columns: 1fr; gap: calc(1.6 * var(--leading)); }
  .contact-b .invite { padding: clamp(24px, 7vw, 34px); }
  .contact-b .form-col { padding-left: 0; padding-top: calc(1.6 * var(--leading));
    border-left: 0; border-top: 1px solid var(--color-divider); }
}
@media (max-width: 560px) { .cform { grid-template-columns: 1fr; } }

/* Formulario editorial: campos con línea inferior (sin caja) */
.cform { display: grid; gap: calc(1.5 * var(--leading)) var(--space-6);
  grid-template-columns: 1fr 1fr; }
.cform .field { display: flex; flex-direction: column; gap: var(--space-3); }
.cform .field.col-2 { grid-column: 1 / -1; }
.cform label { font-family: var(--font-heading); font-size: 15px; letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--color-text) 80%, transparent); }
.cform label .req { color: var(--color-accent-700); }
.cform .input { font-family: var(--font-body); font-size: 16px; color: var(--color-text);
  background: transparent; border: 0; border-bottom: 1px solid var(--color-divider);
  border-radius: 0; padding: 6px 2px; height: 40px; width: 100%; box-sizing: border-box;
  transition: border-color .3s ease; }
.cform textarea.input { height: auto; min-height: 92px; line-height: 1.6; padding: 8px 2px; resize: vertical; }
.cform select.input { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b68235' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 28px; }
.cform .input:focus { outline: none; border-bottom-color: var(--color-accent);
  border-bottom-width: 2px; padding-bottom: 5px; }
.cform .input::placeholder { color: color-mix(in srgb, var(--color-text) 36%, transparent); }
.cform .actions { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--space-4);
  flex-wrap: wrap; margin-top: var(--space-2); }
/* Placeholder de reCAPTCHA (reserva el hueco del widget real, 304×78) */
.cform .captcha { grid-column: 1 / -1; }
.captcha-box { width: 304px; max-width: 100%; height: 78px; box-sizing: border-box;
  display: flex; align-items: center; gap: 12px; padding: 0 12px;
  border: 1px solid #d3d3d3; border-radius: 3px; background: #f9f9f9;
  font-family: Roboto, Arial, sans-serif; }
.captcha-box .cb { width: 24px; height: 24px; border: 2px solid #c1c1c1;
  border-radius: 2px; background: #fff; flex: none; }
.captcha-box .cap-label { font-size: 14px; color: #3c4043; flex: 1; }
.captcha-box .cap-logo { display: flex; flex-direction: column; align-items: center;
  gap: 2px; color: #9aa0a6; }
.captcha-box .cap-logo svg { width: 28px; height: 28px; }
.captcha-box .cap-logo small { font-size: 8px; letter-spacing: .02em; }
.cform .actions .btn { align-self: flex-start; }
.cform .form-status { grid-column: 1 / -1; font-size: 14px; margin: 0;
  color: var(--color-accent-700); min-height: 1em; }
@media (max-width: 760px) {
  .contact-b { grid-template-columns: 1fr; gap: calc(1.6 * var(--leading)); }
  .contact-b .invite { padding-right: 0; }
  .contact-b .form-col { padding-left: 0; padding-top: calc(1.6 * var(--leading));
    border-left: 0; border-top: 1px solid var(--color-divider); }
}
@media (max-width: 560px) { .cform { grid-template-columns: 1fr; } }

/* Compatibilidad con Contact Form 7: CF7 envuelve cada control en un
   <span class="wpcf7-form-control-wrap">. Lo forzamos a bloque para que la
   rejilla y los anchos se comporten igual que el formulario original. */
.cform .wpcf7-form-control-wrap { display: block; width: 100%; }
.cform .field .input.wpcf7-form-control { width: 100%; box-sizing: border-box; }
.cform textarea.input.wpcf7-form-control { min-height: 92px; height: 92px; }
/* Mensajes de validación por campo */
.cform .wpcf7-not-valid-tip { color: var(--color-accent-700); font-size: 12.5px;
  letter-spacing: .01em; margin-top: 6px; }
.cform .input.wpcf7-not-valid { border-bottom-color: var(--color-accent-700); }

/* Mensaje global de respuesta (enviado / error / spam) — sin fondo, borde 1px */
.cform .wpcf7-response-output { grid-column: 1 / -1;
  margin: var(--space-3) 0 0 !important; padding: 12px 16px !important;
  border: 1px solid var(--color-divider) !important;
  border-radius: var(--radius-md);
  background: transparent !important;
  font-family: var(--font-body); font-size: 14.5px; line-height: 1.5; color: var(--color-accent-700);
  display: flex; align-items: baseline; }
.cform .wpcf7-response-output::before { content: ''; font-family: var(--font-heading);
  font-size: 15px; line-height: 1; flex: none; position: relative; top: 1px; padding-right: 8px; }
/* Enviado con éxito — borde verde claro, sin fondo */
.cform .sent .wpcf7-response-output, .wpcf7 form.sent .wpcf7-response-output {
  border-color: #a6d6a6 !important; color: var(--color-accent-700); }
.cform .sent .wpcf7-response-output::before, .wpcf7 form.sent .wpcf7-response-output::before {
  content: '✓'; color: var(--color-accent); }
/* Errores de validación / envío / spam */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  border-color: color-mix(in srgb, var(--color-accent-700) 45%, transparent) !important;
  color: var(--color-accent-700); }
.wpcf7 form.invalid .wpcf7-response-output::before,
.wpcf7 form.unaccepted .wpcf7-response-output::before,
.wpcf7 form.failed .wpcf7-response-output::before,
.wpcf7 form.spam .wpcf7-response-output::before { content: '!'; font-weight: 600; }

.cform .wpcf7-recaptcha,
.cform .wpcf7-form-control-wrap:has(.g-recaptcha),
.cform .wpcf7-form-control-wrap:has(iframe[src*="recaptcha"]),
.cform .g-recaptcha { grid-column: 1 / -1; justify-self: start; }
.cform .wpcf7-spinner { margin: 0 0 0 var(--space-3); }
/* CF7 inserta <p>/<br> vacíos con "auto-párrafos"; no deben ocupar celda de la rejilla */
.cform p:empty, .cform br { display: none; }


/* 15. BOTÓN "VOLVER ARRIBA" (.to-top)
   --------------------------------------------------------------------------
   Aparece (data-show) al bajar más de 600px; ver js/main.js.
   ========================================================================== */
.to-top { position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px);
  z-index: 90; width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--color-divider); border-radius: 50%;
  background: color-mix(in srgb, var(--color-bg) 90%, transparent);
  backdrop-filter: saturate(1.1) blur(8px); color: var(--color-accent);
  cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s,
    background .2s ease, border-color .2s ease; box-shadow: var(--shadow-sm); }
.to-top[data-show] { opacity: 1; visibility: visible; transform: none;
  transition: opacity .3s ease, transform .3s ease, background .2s ease, border-color .2s ease; }
.to-top:hover { background: var(--color-bg); border-color: var(--color-accent); }
.to-top svg { width: 20px; height: 20px; }


/* 16. LOADER (cortina de carga)
   --------------------------------------------------------------------------
   Se oculta (data-hide) y se elimina al cargar la página; ver js/main.js.
   ========================================================================== */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--color-bg);
  opacity: 1; transition: opacity .6s ease; }
.loader[data-hide] { opacity: 0; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-5);
  padding: 0 var(--edge); text-align: center; }
.loader-name { font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(30px, 6vw, 52px); line-height: 1; letter-spacing: 0.01em; color: var(--color-text);
  opacity: 0; animation: loader-in .7s ease forwards; }
.loader-sub { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--color-accent-700);
  opacity: 0; animation: loader-in .7s ease .12s forwards; }
.loader-bar { width: min(200px, 60vw); height: 1px; background: var(--color-divider); position: relative; overflow: hidden; }
.loader-bar::after { content: ''; position: absolute; inset: 0 100% 0 0;
  background: var(--color-accent); animation: loader-fill 2.2s ease forwards; }
@keyframes loader-in { to { opacity: 1; } }
@keyframes loader-fill { to { inset: 0 0 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .loader-name, .loader-sub { animation: none; opacity: 1; }
  .loader-bar { display: none; }
}


/* 17. FOOTER
   ========================================================================== */
footer { padding: calc(2 * var(--leading)) 0; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6);
  align-items: baseline; justify-content: space-between;
  font-size: 13px; line-height: var(--leading);
  color: color-mix(in srgb, var(--color-text) 62%, transparent); }
footer .ig { color: var(--color-accent-700); text-decoration: none;
  position: relative; padding-bottom: 4px; transition: color .3s ease; }
footer .ig::after { content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.22,.61,.36,1); }
footer .ig:hover { color: var(--color-accent); }
footer .ig:hover::after { transform: scaleX(1); }
@media (max-width: 720px) {
  footer { flex-direction: column; align-items: center; text-align: center;
    gap: var(--space-4); padding: calc(1.6 * var(--leading)) 0; }
  footer .ig { font-family: var(--font-heading); font-size: 17px; letter-spacing: 0.02em; }
}


/* 18. AJUSTES RESPONSIVE (táctil / hero móvil)
   --------------------------------------------------------------------------
   En móvil (≤720px) el hero pasa a pantalla completa con la foto a sangre
   y el texto superpuesto sobre un velo oscuro para que se lea.
   ========================================================================== */
@media (max-width: 720px) {
  .btn { min-height: 46px; padding-inline: var(--space-4); font-size: 15px; }

  /* Hero a pantalla completa con texto superpuesto */
  .hero { position: relative; display: block; padding: 0;
    min-height: calc(100svh - 66px);
    margin-inline: calc(-1 * var(--edge)); }
  .hero-figure { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
  .hero-figure .plate { position: relative; width: 100%; height: 100%; }
  .hero-figure .plate::after { content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top,
      color-mix(in srgb, #14110e 94%, transparent) 0%,
      color-mix(in srgb, #14110e 70%, transparent) 30%,
      color-mix(in srgb, #14110e 22%, transparent) 55%,
      transparent 74%); }
  .hero-figure img { width: 100%; height: 100%; aspect-ratio: auto;
    object-fit: cover; object-position: 50% 22%; }
  .hero-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: var(--edge); padding-bottom: calc(1.5 * var(--leading)); }
  .hero-copy .kicker { color: color-mix(in srgb, var(--color-accent) 72%, #fff);
    margin-bottom: var(--space-2); text-shadow: 0 1px 8px color-mix(in srgb, #14110e 70%, transparent); }
  .hero .display { color: #fff; margin-left: 0; }
  .hero .display em { color: var(--color-accent); }
  .hero .sub { color: color-mix(in srgb, #fff 86%, transparent); max-width: 34ch;
    margin-top: var(--leading); }
  .hero .row { margin-top: var(--leading); }
  .hero .row .btn-secondary { color: #fff; border-color: color-mix(in srgb, #fff 55%, transparent); }

  /* Indicador de scroll: solo en el hero full-screen de móvil */
  .scroll-cue { position: absolute; left: 50%; bottom: calc(0.7 * var(--leading));
    transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column;
    align-items: center; gap: 6px; pointer-events: none;
    transition: opacity .4s ease; }
  .scroll-cue span { width: 1px; height: 34px; overflow: hidden;
    background: color-mix(in srgb, #fff 30%, transparent); position: relative; }
  .scroll-cue span::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%;
    background: var(--color-accent); animation: cue 1.8s ease-in-out infinite; }
  @keyframes cue { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(250%); } }
  .hero[data-scrolled] .scroll-cue { opacity: 0; }

  .show { grid-template-columns: 1fr; }
  .show-figure { order: -1; }
  .show-figure img { aspect-ratio: 4 / 5; object-position: 68% 28%; min-height: 0; }
  .bio { grid-template-columns: 1fr; }
  .bio-figure { order: -1; width: 100%; min-height: 0; }
  .bio-figure img { aspect-ratio: 3 / 4; }
}

/* ==========================================================================
   PÁGINA 404
   ========================================================================== */
.error-page { min-height: calc(100vh - 66px); display: flex; align-items: center;
  justify-content: center; text-align: center; padding: calc(3 * var(--leading)) var(--edge); }
.error-inner { max-width: 46ch; }
.error-code { font-family: var(--font-heading); font-weight: 400; line-height: 1;
  font-size: clamp(96px, 20vw, 200px); color: var(--color-accent);
  letter-spacing: -0.02em; margin: 0; font-feature-settings: "tnum" 1; }
.error-page .section-title { margin: calc(0.6 * var(--leading)) 0 0; }
.error-page .lead { margin: calc(1.1 * var(--leading)) auto 0; }
.error-page .row { display: flex; gap: var(--space-3); flex-wrap: wrap;
  justify-content: center; margin-top: calc(1.6 * var(--leading)); }

/* ==========================================================================
   PÁGINAS LEGALES (.legal-page)
   ========================================================================== */
.legal-page { max-width: 760px; margin: 0 auto; padding: calc(2 * var(--leading)) 0 calc(3 * var(--leading)); }
.legal-page .section-head { max-width: none; margin-bottom: calc(1.6 * var(--leading)); }
.legal-page .updated { font-size: 13px; letter-spacing: .02em;
  color: color-mix(in srgb, var(--color-text) 55%, transparent); margin: var(--space-3) 0 0; }
.legal-page h2 { font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(24px, 3vw, 32px); line-height: 1.1; letter-spacing: -0.005em;
  margin: calc(2 * var(--leading)) 0 0; padding-top: calc(0.6 * var(--leading));
  border-top: 1px solid var(--color-divider); }
.legal-page h3 { font-family: var(--font-heading); font-weight: 500; font-size: 19px;
  margin: calc(1.2 * var(--leading)) 0 0; }
.legal-page p, .legal-page li { font-size: 16px; line-height: var(--leading);
  color: color-mix(in srgb, var(--color-text) 86%, transparent); }
.legal-page p { margin: calc(0.7 * var(--leading)) 0 0; }
.legal-page ul { margin: calc(0.7 * var(--leading)) 0 0; padding-left: 1.3em; }
.legal-page li { margin: 6px 0; }
.legal-page a { color: var(--color-accent-700); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal-page a:hover { color: var(--color-accent); }
.legal-page .fill { background: color-mix(in srgb, var(--color-accent) 14%, transparent);
  border-bottom: 1px solid var(--color-accent-700); padding: 0 4px; border-radius: 2px;
  font-style: italic; color: var(--color-accent-700); }
.legal-page .note { font-size: 14px; line-height: 1.55; margin: calc(1.2 * var(--leading)) 0 0;
  padding: 14px 18px; border-left: 2px solid var(--color-accent); border-radius: 0 4px 4px 0;
  background: color-mix(in srgb, var(--color-accent) 6%, transparent);
  color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.legal-page table { width: 100%; border-collapse: collapse; margin: calc(0.9 * var(--leading)) 0 0;
  font-size: 14.5px; }
.legal-page th, .legal-page td { text-align: left; padding: 10px 12px;
  border-bottom: 1px solid var(--color-divider); vertical-align: top; }
.legal-page th { font-family: var(--font-heading); font-weight: 500; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--color-accent-700); }
/* Enlaces legales en el footer */
footer .legal-links { display: flex; gap: var(--space-4); flex-wrap: wrap; }
footer .legal-links a { color: color-mix(in srgb, var(--color-text) 62%, transparent);
  text-decoration: none; transition: color .25s ease; }
footer .legal-links a:hover { color: var(--color-accent); }

/* Checkbox de consentimiento del formulario (CF7 [acceptance]) */
.cform .consent { grid-column: 1 / -1; }
.cform .consent .wpcf7-list-item { margin: 0; }
.cform .consent label { display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--font-body); font-size: 14px; line-height: 1.5;
  color: color-mix(in srgb, var(--color-text) 78%, transparent); cursor: pointer; }
.cform .consent input[type="checkbox"] { appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; margin: 1px 0 0; flex: none; cursor: pointer;
  border: 1px solid var(--color-divider); border-radius: 3px; background: transparent;
  transition: border-color .2s ease, background-color .2s ease; }
.cform .consent input[type="checkbox"]:checked { background: var(--color-accent); border-color: var(--color-accent); }
.cform .consent input[type="checkbox"]:checked::after { content: '✓'; display: block;
  color: #fff; font-size: 12px; line-height: 16px; text-align: center; }
.cform .consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.cform .consent a { color: var(--color-accent-700); text-decoration: underline; text-underline-offset: 2px; }
.cform .consent a:hover { color: var(--color-accent); }
