/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:      #0e1526;   /* azul marino profundo */
  --bg-2:    #121a2e;
  --bg-3:    #182238;
  --white:   #eef1f6;
  --muted:   #9aa4b8;
  --muted-2: #6c7690;
  --gold:    #d2b25a;
  --gold-2:  #b8983f;
  --line:    rgba(238, 241, 246, 0.10);
  --line-gold: rgba(210, 178, 90, 0.55);

  --sans: "Archivo", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max: 1160px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; color: var(--white); }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--white); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; align-content: center; gap: .8rem;
  background: var(--bg);
  transition: opacity .7s var(--ease-out), visibility .7s;
  animation: splashSafety .01s 4.5s forwards;
}
.splash-logo {
  width: auto; height: 68px;
  animation: splashPulse 1.6s var(--ease-soft) infinite alternate;
}
.splash-name {
  font-size: .72rem; letter-spacing: .45em; text-transform: uppercase;
  color: var(--muted); padding-left: .45em;
}
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splashPulse { from { opacity: .5; } to { opacity: 1; } }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; visibility: hidden; } }

/* =============================================================
   4. Marca + burger + menú
   ============================================================= */
.brand {
  position: fixed; top: 1.4rem; left: var(--gutter); z-index: 210;
  display: grid; justify-items: center; gap: .35rem;
}
.brand-logo {
  width: auto; height: 34px; opacity: .95;
  transition: opacity .3s var(--ease-out), transform .35s var(--ease-out);
}
.brand:hover .brand-logo { opacity: 1; transform: translateY(-1px); }
.brand-name {
  font-size: .58rem; letter-spacing: .4em; text-transform: uppercase;
  color: var(--muted); padding-left: .4em; white-space: nowrap;
}
.burger {
  position: fixed; top: 1.6rem; right: var(--gutter); z-index: 210;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold);
  display: grid; place-items: center; align-content: center; gap: 5px;
  transition: transform .35s var(--ease-out), background .3s;
}
.burger:hover { transform: scale(1.06); }
.burger span {
  width: 20px; height: 2px; background: #14203a;
  transition: transform .35s var(--ease-out), opacity .25s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11, 17, 31, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .45s var(--ease-out), visibility .45s;
}
.menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.menu-inner { display: grid; gap: .4rem; text-align: center; }
.menu-inner a {
  position: relative;
  font-size: clamp(1.1rem, 3.2vw, 1.8rem);
  font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--white); padding: .4rem 1rem;
  transition: color .3s, letter-spacing .4s var(--ease-out);
}
.menu-inner a:hover { color: var(--gold); letter-spacing: .12em; }
.menu-num {
  position: absolute; top: .4rem; left: -1.4rem;
  font-size: .62rem; letter-spacing: .2em; color: var(--gold);
}

/* =============================================================
   5. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 var(--gutter) 6.5rem;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg img {
  position: absolute; top: -9%; left: 0;
  width: 100%; height: 118%; object-fit: cover; object-position: center 35%;
  will-change: transform;
}
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,21,38,.55) 0%, rgba(14,21,38,.1) 35%, rgba(14,21,38,.55) 75%, var(--bg) 100%);
}
.hero-caption { text-align: center; }
.hero-kicker {
  font-size: .7rem; letter-spacing: .45em; text-transform: uppercase;
  color: var(--gold); padding-left: .45em;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2.6rem, 7.5vw, 5.6rem);
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  max-width: 18ch; margin-inline: auto;
}
.hero-title em { font-style: italic; font-weight: 500; color: var(--gold); }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1px solid rgba(238,241,246,.35); border-radius: 999px;
  display: grid; justify-items: center; padding-top: 8px;
}
.hero-scroll span {
  width: 3px; height: 9px; border-radius: 3px;
  background: var(--gold);
  animation: scrollHint 1.8s var(--ease-soft) infinite;
}
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* =============================================================
   6. Secciones + titulares
   ============================================================= */
.section {
  padding: clamp(4.5rem, 9vw, 8rem) var(--gutter);
  max-width: var(--max);
  margin-inline: auto;
}
.sec-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.kicker {
  font-size: .68rem; letter-spacing: .45em; text-transform: uppercase;
  color: #8ea0c4; padding-left: .45em;
  margin-bottom: 1rem;
}
.sec-title {
  font-size: clamp(2rem, 5.6vw, 3.6rem);
  font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}
.sec-title em { font-style: italic; font-weight: 500; color: var(--gold); }
.sec-cta { margin-top: 2.2rem; display: flex; justify-content: center; }

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   7. Botones
   ============================================================= */
.btn-outline {
  display: inline-block;
  padding: .9rem 2rem;
  border: 1px solid rgba(238,241,246,.45);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--white);
  transition: border-color .3s, color .3s, background .3s, transform .35s var(--ease-out);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-gold {
  display: inline-block;
  padding: .95rem 2.1rem;
  border-radius: 999px;
  background: var(--gold);
  color: #14203a;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  transition: background .3s, transform .35s var(--ease-out), box-shadow .35s;
  box-shadow: 0 12px 30px -14px rgba(210, 178, 90, .55);
}
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); }

/* =============================================================
   8. Actualidad — tarjeta destacada
   ============================================================= */
.feat {
  display: grid;
  border: 1px solid var(--line-gold);
  background: var(--bg-2);
}
.feat-media { position: relative; overflow: hidden; }
.feat-media img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform .8s var(--ease-out);
}
.feat:hover .feat-media img { transform: scale(1.04); }
.badge {
  position: absolute; top: 1.1rem; left: 1.1rem; z-index: 1;
  background: var(--gold); color: #14203a;
  font-size: .62rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  padding: .4rem .95rem; border-radius: 999px;
}
.feat-body {
  padding: clamp(1.6rem, 4vw, 3rem);
  display: grid; align-content: center; gap: 1rem;
}
.feat-date { font-size: .78rem; color: var(--muted-2); letter-spacing: .05em; }
.feat-title {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  line-height: 1.2;
}
.feat-text { font-size: .95rem; color: var(--muted); max-width: 46ch; }
.feat-link {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold);
  transition: letter-spacing .35s var(--ease-out);
}
.feat-link:hover { letter-spacing: .32em; }

/* =============================================================
   9. Carteles
   ============================================================= */
.carteles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.cartel {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s;
}
.cartel:hover {
  transform: translateY(-5px);
  border-color: var(--line-gold);
  box-shadow: 0 26px 50px -26px rgba(210, 178, 90, .35);
}
.cartel img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.cartel:hover img { transform: scale(1.05); }
.cartel-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2.2rem 1.3rem 1.2rem;
  background: linear-gradient(0deg, rgba(10, 15, 28, .92), transparent);
}
.cartel-fecha {
  font-size: .64rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .3rem;
}
.cartel-info h3 {
  font-size: 1.15rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
}
.cartel-feria { font-size: .78rem; color: var(--muted); }

/* =============================================================
   10. Biografía
   ============================================================= */
.bio-grid { display: grid; gap: 2.8rem; align-items: start; }
.bio-figure { overflow: hidden; border: 1px solid var(--line); }
.bio-figure img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.bio-figure:hover img { transform: scale(1.04); }
.bio-text p { margin-bottom: 1.3rem; max-width: 58ch; }
.bio-hitos {
  list-style: none; padding: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}
.bio-hitos li {
  display: flex; gap: 1.6rem; align-items: baseline;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .93rem; color: var(--white);
}
.hito-year {
  font-size: .72rem; letter-spacing: .22em;
  color: var(--gold); min-width: 3.6rem;
}
.bio-stats {
  display: flex; gap: 2.6rem; margin-top: 2.4rem; flex-wrap: wrap;
}
.bio-stats div { display: grid; gap: .1rem; }
.bio-stats strong {
  font-size: 2rem; font-weight: 600; color: var(--gold); line-height: 1;
}
.bio-stats span {
  font-size: .64rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted-2);
}

/* =============================================================
   11. Galería
   ============================================================= */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}
.gal-item { overflow: hidden; border: 1px solid var(--line); }
.gal-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  transition: transform .8s var(--ease-out), filter .8s;
}
.gal-item:hover img { transform: scale(1.07); filter: brightness(1.1); }
.gal-note {
  margin-top: 1.6rem; font-size: .78rem; color: var(--muted-2);
  text-align: center; font-style: italic;
}

/* =============================================================
   12. Vídeo
   ============================================================= */
.video-frame {
  position: relative;
  max-width: 880px; margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
}
.video-frame img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform .8s var(--ease-out), filter .6s;
}
.video-frame:hover img { transform: scale(1.03); filter: brightness(1.08); }
.video-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(210, 178, 90, .92); color: #14203a;
  display: grid; place-items: center;
  transition: transform .35s var(--ease-out), background .3s;
}
.video-frame:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--gold); }
.video-play svg { margin-left: 4px; }
.video-hint {
  position: absolute; bottom: .9rem; left: 0; right: 0;
  text-align: center;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(238,241,246,.55);
}

/* =============================================================
   13. Contacto
   ============================================================= */
.contacto-grid { display: grid; gap: 3rem; max-width: 980px; margin-inline: auto; }
.dato { margin-bottom: 1.3rem; display: grid; gap: .2rem; }
.dato span {
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted-2);
}
.dato a {
  font-size: 1.05rem; font-weight: 500; color: var(--white);
  transition: color .3s;
}
.dato a:hover { color: var(--gold); }
.contacto-form { display: grid; gap: 1.1rem; }
.contacto-form label {
  display: grid; gap: .45rem;
  font-size: .62rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted-2);
}
.contacto-form input,
.contacto-form textarea {
  font-family: var(--sans); font-size: .95rem;
  color: var(--white);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: .85rem 1rem;
  transition: border-color .3s;
  resize: vertical;
}
.contacto-form input:focus,
.contacto-form textarea:focus { outline: none; border-color: var(--gold); }
.contacto-form .btn-gold { justify-self: start; margin-top: .4rem; }
.contacto-form.is-sending .btn-gold { opacity: .6; pointer-events: none; }
.form-ok { font-size: .88rem; color: var(--gold); }

/* =============================================================
   14. Sígueme + footer
   ============================================================= */
.sigueme { text-align: center; padding-bottom: clamp(3rem, 6vw, 5rem); }
.sigueme-title {
  display: inline-block;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 600; letter-spacing: .35em; text-transform: uppercase;
  padding-left: .35em; padding-bottom: .9rem;
  border-bottom: 1px solid var(--line-gold);
  margin-bottom: 2.2rem;
}
.sigueme-icons { display: flex; justify-content: center; gap: 2.4rem; }
.sigueme-icons a {
  color: var(--white); opacity: .85;
  transition: color .3s, opacity .3s, transform .35s var(--ease-out);
}
.sigueme-icons a:hover { color: var(--gold); opacity: 1; transform: translateY(-3px); }

.footer { border-top: 1px solid var(--line); padding: 3rem var(--gutter) 2.4rem; }
.footer-inner {
  max-width: var(--max); margin-inline: auto;
  display: grid; justify-items: center; gap: .5rem; text-align: center;
}
.footer-mono-logo {
  width: auto; height: 40px; opacity: .85; margin-bottom: .3rem;
}
.footer-name {
  font-size: .6rem; letter-spacing: .42em; text-transform: uppercase;
  color: var(--muted-2); padding-left: .42em;
}
.footer-links {
  display: flex; gap: .9rem; align-items: center;
  margin-top: 1.2rem;
  font-size: .72rem; color: var(--muted);
}
.footer-links a { transition: color .3s; }
.footer-links a:hover { color: var(--gold); }
.footer-links span { color: var(--muted-2); }
.footer-copy { margin-top: .8rem; font-size: .7rem; color: var(--muted-2); }

/* =============================================================
   15. Responsive
   ============================================================= */
@media (max-width: 539px) {
  .brand-name { display: none; }
}
@media (min-width: 540px) {
  .gal-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) {
  .feat { grid-template-columns: minmax(280px, 5fr) 7fr; }
  .feat-media img { aspect-ratio: auto; height: 100%; }
  .carteles { grid-template-columns: repeat(4, 1fr); }
  .bio-grid { grid-template-columns: minmax(260px, 5fr) 7fr; gap: clamp(2.5rem, 5vw, 4rem); }
  .contacto-grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 5rem); }
}

/* =============================================================
   16. Reduced-motion — solo efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
}

/* =============================================================
   Añadido 2026-07-13 · Palmarés y cita biográfica
   ============================================================= */
.palmares-cols { display: grid; gap: 2.2rem; margin-top: 1rem; }
@media (min-width: 760px) { .palmares-cols { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.palmares-cols > div > h3 {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .2rem;
}
.palmares-cols .bio-hitos { margin-top: .6rem; border-top: 1px solid var(--line); }
.palmares-cols .bio-hitos li { justify-content: flex-start; }
.palmares-cols .hito-year { min-width: 4.4rem; }
.bio-quote {
  margin: 2rem 0 0; padding: 1.3rem 1.6rem;
  border-left: 2px solid var(--line-gold); background: var(--bg-2);
}
.bio-quote p { font-style: italic; color: var(--white); max-width: 60ch; margin: 0 0 .7rem; }
.bio-quote cite { font-style: normal; font-size: .8rem; letter-spacing: .1em; color: var(--gold); }


.footer-logo { width: clamp(104px, 15vw, 140px); height: auto; opacity: .4; margin-top: 1.8rem; }

/* =============================================================
   Añadido 2026-07-14 · Contacto condensado + formulario
   ============================================================= */
.contacto-wrap {
  display: grid; gap: 2.4rem;
  max-width: 940px; margin-inline: auto;
}
@media (min-width: 780px) {
  .contacto-wrap { grid-template-columns: 7fr 5fr; gap: clamp(2.6rem, 5vw, 4rem); align-items: start; }
}
.form-intro { font-size: .92rem; color: var(--muted); margin-bottom: .2rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-err { font-size: .84rem; color: #e07a7a; }
.form-err a { color: var(--gold); }

/* Datos + crédito condensados */
.contacto-info {
  display: grid; gap: 1.6rem; align-content: start;
  padding-top: .3rem;
}
.info-list { display: grid; gap: 1rem; list-style: none; }
.info-list li { display: grid; gap: .15rem; }
.info-list span {
  font-size: .56rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--muted-2);
}
.info-list a { font-size: .95rem; font-weight: 500; color: var(--white); transition: color .3s; }
.info-list a:hover { color: var(--gold); }
.credito-emerge {
  display: grid; gap: .5rem; justify-items: start;
  padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.credito-logo { width: 108px; height: auto; opacity: .8; }
.credito-line { font-size: .72rem; color: var(--muted-2); }
.credito-line a { color: var(--muted); transition: color .3s; }
.credito-line a:hover { color: var(--gold); }

/* =============================================================
   Añadido 2026-07-29 · Toques premium
   ============================================================= */

/* Barra de progreso de lectura */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  z-index: 250; transition: width .12s linear; pointer-events: none;
}

/* Botón volver arriba */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: #14203a;
  display: grid; place-items: center; z-index: 190;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s, visibility .4s, transform .4s var(--ease-out), background .3s;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.5);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-2); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* Menú: indicador de sección activa */
.menu-inner a { overflow: hidden; }
.menu-inner a.is-active { color: var(--gold); }
.menu-inner a::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .15rem; height: 1px;
  background: var(--line-gold); transform: scaleX(0); transform-origin: center;
  transition: transform .45s var(--ease-out);
}
.menu-inner a.is-active::after, .menu-inner a:hover::after { transform: scaleX(1); }

/* Galería: cursor de zoom */
.gal-item { cursor: zoom-in; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(6, 10, 20, 0.94);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: min(92vw, 1100px); max-height: 86vh;
  object-fit: contain; border-radius: 2px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
  transform: scale(.96); transition: transform .35s var(--ease-out);
}
.lightbox.is-open .lightbox-img { transform: scale(1); }
.lightbox-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: var(--white);
  display: grid; place-items: center; font-size: 1.7rem; line-height: 1;
  transition: background .3s;
}
.lightbox-btn:hover { background: rgba(210,178,90,.28); }
.lightbox-prev { left: clamp(.6rem, 3vw, 2rem); }
.lightbox-next { right: clamp(.6rem, 3vw, 2rem); }
.lightbox-close {
  position: absolute; top: clamp(.8rem, 3vw, 1.6rem); right: clamp(.8rem, 3vw, 1.6rem);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: var(--white);
  display: grid; place-items: center; font-size: 1.5rem; line-height: 1; transition: background .3s;
}
.lightbox-close:hover { background: rgba(210,178,90,.28); }
.lightbox-count {
  position: absolute; bottom: clamp(.8rem, 3vw, 1.6rem); left: 50%; transform: translateX(-50%);
  font-size: .78rem; letter-spacing: .2em; color: var(--muted);
}
@media (max-width: 620px) {
  .lightbox-btn { width: 44px; height: 44px; font-size: 1.5rem; }
}



/* =============================================================
   Añadido 2026-07-29 · Toque cinematográfico
   ============================================================= */
.grain {
  position: fixed; inset: 0; z-index: 350; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(125% 105% at 50% 38%, transparent 52%, rgba(6,9,18,.55) 100%);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Botón dossier de prensa */
.bio-dossier { margin-top: 2.2rem; }
.dossier-btn { display: inline-flex; align-items: center; gap: .5rem; }

/* =============================================================
   Páginas legales
   ============================================================= */
.legal-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem var(--gutter);
  background: rgba(11,17,31,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.legal-top .brand-logo { height: 28px; width: auto; }
.legal-back { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.legal-back:hover { color: var(--gold); }
.legal-wrap { max-width: 760px; margin: 0 auto; padding: clamp(6.5rem, 11vw, 9rem) var(--gutter) 4rem; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); letter-spacing: .01em; margin-bottom: .5rem; }
.legal .updated { font-size: .74rem; color: var(--muted-2); letter-spacing: .05em; margin-bottom: 2.6rem; }
.legal h2 { font-size: 1.12rem; color: var(--white); margin: 2.3rem 0 .7rem; }
.legal p, .legal li { color: var(--muted); font-size: .95rem; line-height: 1.75; }
.legal p { margin-bottom: .9rem; }
.legal ul { margin: .3rem 0 1rem 1.2rem; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--gold); }
.legal a:hover { text-decoration: underline; }
.legal .ph { color: var(--gold-2); font-style: italic; }
.legal-footer { text-align: center; padding: 2.2rem var(--gutter); border-top: 1px solid var(--line); color: var(--muted-2); font-size: .74rem; }
/* Consentimiento del formulario */
.contacto-form .form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .8rem; color: var(--muted); letter-spacing: 0; text-transform: none; }
.contacto-form .form-consent input { width: auto; margin-top: .25rem; accent-color: var(--gold); flex: none; }
.contacto-form .form-consent a { color: var(--gold); }

/* Aviso de cookies */
.cookie-banner {
  position: fixed; left: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem); z-index: 380;
  max-width: 620px; margin-inline: auto;
  background: rgba(18,26,46,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-gold); border-radius: 8px;
  padding: 1.1rem 1.3rem;
  display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; align-items: center; justify-content: space-between;
  box-shadow: 0 22px 55px -22px rgba(0,0,0,.65);
  transform: translateY(22px); opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), visibility .5s;
}
.cookie-banner.is-in { opacity: 1; transform: none; visibility: visible; }
.cookie-banner p { flex: 1 1 280px; font-size: .82rem; line-height: 1.6; color: var(--muted); }
.cookie-banner a { color: var(--gold); }
.cookie-actions { flex: none; }
.cookie-banner .btn-gold { font-size: .78rem; padding: .6rem 1.6rem; }
@media (max-width: 480px) { .cookie-actions { width: 100%; } .cookie-banner .btn-gold { width: 100%; justify-content: center; } }

/* Carrusel de Actualidad */
.feat-carousel { position: relative; overflow: hidden; }
.feat-track { display: flex; transition: transform .55s var(--ease-out); }
.feat-track > .feat { min-width: 100%; margin: 0; }
.feat-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(18,26,46,.72); color: var(--white);
  display: grid; place-items: center; font-size: 1.5rem; line-height: 1;
  backdrop-filter: blur(4px); border: 1px solid var(--line);
  transition: background .3s, border-color .3s;
}
.feat-nav:hover { background: rgba(210,178,90,.9); color: #14203a; border-color: transparent; }
.feat-prev { left: .4rem; }
.feat-next { right: .4rem; }
.feat-dots { display: flex; justify-content: center; gap: .6rem; margin-top: 1.6rem; }
.feat-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line); border: 1px solid var(--muted-2);
  transition: background .3s, transform .3s, border-color .3s;
}
.feat-dot.is-active { background: var(--gold); border-color: var(--gold); transform: scale(1.25); }
@media (min-width: 720px) {
  .feat-prev { left: -.4rem; }
  .feat-next { right: -.4rem; }
}

/* Sección de prensa */
.prensa-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .prensa-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .prensa-grid { grid-template-columns: 1fr 1fr 1fr; } }
.prensa-card {
  display: flex; flex-direction: column; gap: .7rem;
  padding: 1.6rem 1.5rem; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 4px;
  transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s;
}
.prensa-card:hover { transform: translateY(-4px); border-color: var(--line-gold); box-shadow: 0 22px 46px -26px rgba(210,178,90,.4); }
.prensa-medio { font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.prensa-titular { font-size: 1.02rem; color: var(--white); line-height: 1.4; font-weight: 500; }
.prensa-link { margin-top: auto; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.prensa-card:hover .prensa-link { color: var(--gold); }

/* Varios botones en una llamada a la acción */
.sec-cta { display: flex; flex-wrap: wrap; gap: .8rem 1rem; justify-content: center; align-items: center; }

/* Página de Noticias y actualidad */
.news-wrap { max-width: var(--max); margin: 0 auto; padding: clamp(5.5rem, 9vw, 7rem) 0 2rem; }
.news-wrap .section:first-child { padding-top: clamp(1.5rem, 4vw, 3rem); }
.news-list { display: grid; gap: clamp(2rem, 4vw, 3.2rem); }
.news-list > .feat { margin: 0; }
.news-more { margin-top: clamp(2rem, 4vw, 3.2rem); }
