   :root {
  --gold: #EFBF04;
  --gold-bright: #EFBF04;
  /* Altura aproximada del header fijo (móvil/tablet) */
  --header-h: clamp(64px, 5vw + 32px, 84px);
}

/* Escritorio (≥1280px). --logo-h es la ÚNICA medida base del header:
   vale 85px (tu diseño original) desde ~1360px hacia abajo y crece
   suavemente en pantallas grandes. Logo, muñeca, copas y badge se
   calculan como proporción de esta variable, así todo escala junto
   y conserva la composición exacta del diseño original. */
@media (min-width: 1280px) {
  :root {
    --logo-h: clamp(85px, 4.4vw + 25px, 220px);
    --header-h: calc(var(--logo-h) + 1.9rem);
  }
}

/* Tamaño de fuente raíz fluido:
   ~14px a 360px  →  ~16px a 1440px  →  ~20px a 3840px (tope 22px).
   Todo lo medido en rem escala solo con la pantalla. */
html {
  font-size: clamp(0.875rem, 0.833rem + 0.185vw, 1.375rem);
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
          text-size-adjust: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img,
svg,
video {
  max-width: 100%;
}

/* Las imágenes del header tienen tamaño propio: sin tope de ancho ni
   encogimiento (esto era lo que dejaba el logo diminuto). */
.site-header img {
  max-width: none;
  flex-shrink: 0;
}

body {
    margin: 0;
    padding: 0;
    background-color: #e74086;
    color: #AF9453;
    font-family: 'Cormorant Garamond', serif;
  }


/* Canvas del confeti: antes no tenía "position", así que el navegador
   lo trataba como un bloque normal de la página — y como el JS le pone
   canvas.height = alto completo de la ventana, empujaba TODO el
   contenido hacia abajo una pantalla entera. Con position:fixed flota
   sobre la página sin ocupar espacio en el flujo, y pointer-events:none
   deja que los clics le lleguen a los botones/enlaces de abajo. */
canvas {
  position:fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

  
  
/* ==========================================================
   HEADER (base / escritorio ≥ 1280px)
   Las medidas que antes eran px fijos (-160px, 600px, 170px…)
   ahora son proporcionales al ancho de pantalla.
   ========================================================== */

.site-header {
  width: 100%;
  background: #000;
  padding: 0.8rem clamp(1rem, 1.2vw, 4rem);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
}

.site-header a {
  text-decoration: none;
  color: var(--gold);
}

.barra {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-texto {
  /* Original: 85px de alto y margin-left -160px (= 1.88 × alto) */
  height: var(--logo-h, 85px);
  width: auto;
  margin-left: calc(var(--logo-h, 85px) * -1.882); /* ajusta según la posición de tu logo circular */
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: brightness(0) saturate(100%) invert(78%) sepia(75%) saturate(2077%) hue-rotate(4deg) brightness(101%) contrast(98%);
}

.logo-texto:hover {
  transform: scale(1.03);
}

/* Badge "15 años": original 100px de alto (= 1.18 × --logo-h),
   ahora centrado en el header en vez de fijo a 600px. */
.user-login img {
  height: calc(var(--logo-h, 85px) * 1.176);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav {
  display: flex;
  gap: clamp(1px, 0.65vw, 2px);
  justify-content: center;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--gold-bright);
  margin: 0 clamp(0.6rem, 1.2vw, 2rem);
  font-weight: 500;
  font-size: clamp(1rem, 0.8rem + 0.3vw, 1.6rem);
}

.nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--gold-bright);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.nav > a,
.menu-desplegable > a,
.menu-desplegable > .servicio-mobile-toggle {
  transition: opacity 0.25s ease, color 0.25s ease;
}

/* Atenúa SOLO el primer nivel, y solo en escritorio con mouse */
@media (hover: hover) and (min-width: 1280px) {
  .nav:has(> a:hover, > .menu-desplegable:hover) > a:not(:hover),
  .nav:has(> a:hover, > .menu-desplegable:hover) > .menu-desplegable:not(:hover) > a,
  .nav:has(> a:hover, > .menu-desplegable:hover) > .menu-desplegable:not(:hover) > .servicio-mobile-toggle {
    opacity: 0.3;
  }
}



  .encabezado {
    text-align: center;
    margin-top: 1rem;
    
  }
  
  .tex {
    font-size: 2rem;
    letter-spacing: 0.2rem;
    color: #f3f1eb;
    margin-bottom: 0.0rem;
  }


  .titulo {
    display: block;
    font-size: 1.8rem;
    color: #a7e8f8;
    letter-spacing: 1.1rem;
    text-align: center;
    transform: translateY(-15px);
  }

  .tex, .titulo {
    font-family: 'Cormorant Garamond', serif;
     padding-top: 35px;
  }

 /* ===== CONTENEDOR DE PAQUETES ===== */
.paquetes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7rem;
}

/* ===== TARJETA BASE + EFECTO GIRO ===== */
.paquete {
  background-color: #ffffff;
  border: 1px solid #254bd5;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(36, 39, 218, 0.548);
  width: 320px;
  height: 420px;
  padding: 0;
  box-sizing: border-box;
  text-align: center;

  /* Para el giro 3D */
  position: relative;
  perspective: 1000px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paquete:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(36, 39, 218, 0.6);
}

.paquete:focus-visible {
  outline: 3px solid #EFBF04;
  outline-offset: 4px;
}

/* ===== INTERIOR QUE GIRA ===== */
.tarjeta-interior {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.paquete.girada .tarjeta-interior {
  transform: rotateY(180deg);
}

/* ===== CARAS: FRENTE Y ATRÁS ===== */
.cara-frente,
.cara-atras {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  border-radius: 12px;
}

/* ===== CARA DE FRENTE ===== */
.cara-frente {
  background-color: #ffffff;
}

.cara-frente img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid #EFBF04;
}

.cara-frente p {
  font-size: 1rem;
  color: #000000;
  line-height: 1.6;
  font-family: 'Open Sans', sans-serif;
}

/* ===== CARA DE ATRÁS ===== */
.cara-atras {
  background: linear-gradient(135deg, #f0f4ff, #e8ecff);
  transform: rotateY(180deg);
}


.cara-atras p {
  color: #333333;
  font-family: 'Open Sans', sans-serif;
}

/* Alineación perfecta de viñetas */
.cara-atras p {
  text-align: center;
  line-height: 1.8;
  margin: 0;
  padding: 0 15px;
}

.item-lista {
  display: inline-block;
  text-align: left;
  width: 180px; /* Ajusta según tu tarjeta */
}

/* ===== AVISO DE CLIC ===== */
.girar-aviso {
   margin-top: 1rem;
   font-size: 1.2rem;
   color: rgb(205 7 90);
}

/* ===== ICONOS ===== */
.cara-atras i {
  color: #254bd5;
  margin-right: 0.5rem;
  width: 1.2em;
  text-align: center;
}

.cara-atras h3 i {
  color: #EFBF04;
  margin-right: 0.6rem;
}

.girar-aviso i {
  margin-left: 0.3rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .paquetes {
    gap: 3rem;
  }

  .paquete {
    width: 290px;
    height: 420px;
  }

  .cara-frente img {
    width: 140px;
    height: 140px;
  }
}

/* ===== RESPETAR "REDUCIR MOVIMIENTO" ===== */
@media (prefers-reduced-motion: reduce) {
  .paquete,
  .tarjeta-interior {
    transition: none;
  }
}

  .btn-informacion {
    position: fixed;
    right: 2rem;
    top: 10rem;
    background: transparent;
    width: 180px;
    height: 180px;
    border: 2px solid #bfa748;
    border-radius: 50%;
    margin-bottom: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family:'Roboto';
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgb(255, 255, 255);
    transition: all 0.3s ease;
  }
  
   /* ==========================================
   TEXTO GIRATORIO
========================================== */

.texto-giratorio {
    display: flex;

    width: 58%;
    height: 58%;

    align-items: center;
    justify-content: center;

    text-align: center;

    font-size: 1.30rem;

    font-weight: 500;

    letter-spacing: 1.5px;

    line-height: 1.05;

    text-transform: uppercase;

    color: #000000;

    text-shadow:
        0 0 5px rgba(116, 104, 104, 0.8),
        0 0 10px rgba(134, 124, 124, 0.8),
        0 0 18px rgba(255, 255, 255, 0.8);

    transform-style: preserve-3d;

    animation:
        girar-texto 5s infinite linear,
        brillo-texto 2.5s infinite ease-in-out;
}


/* ==========================================
   ROTACIÓN 3D
========================================== */

@keyframes girar-texto {

    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

  .btn-informacion:hover {
     transform: scale(1.05);
     background: url("../images/NUEVO.png");
    background-size:31vh;
    background-position:center;
    background-repeat:no-repeat;
  }

 .btn-informacion:hover .texto-giratorio {
   opacity: 0;
   visibility: hidden;
   transition: opacity 0.3s ease, visibility 0.3s ease;
 }
 /* Transición suave en estado normal */
 .texto-giratorio {
   transition: opacity 0.3s ease, visibility 0.3s ease;
   
 }
  
h3 {
    
    font-size: 1.4em;
    
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* BOTÓN WHATSAPP FLOTANTE PREMIUM */
.wsp-premium-btn {
  position: fixed;
  bottom: clamp(14px, 1.6vw, 40px);
  right: clamp(14px, 1.6vw, 40px);
  background: linear-gradient(135deg, #eb0a67, #1ebe5d, #ddb14b);
  color: #fff;
  border: none;
  padding: clamp(0.85rem, 0.6rem + 0.5vw, 1.4rem) clamp(1.1rem, 0.8rem + 0.7vw, 2.2rem);
  border-radius: 60px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(0.9rem, 0.8rem + 0.3vw, 1.5rem);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  z-index: 999;
  animation: pulse 2.5s infinite, float 4s ease-in-out infinite;
}

.wsp-premium-btn i {
  font-size: 1.6em;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* MODAL */
.wsp-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 3000; /* por encima del header (2000/2001) */
}

.wsp-modal.active {
  display: flex;
}

.wsp-modal-box {
  background: #fff;
  padding: clamp(1.5rem, 1vw + 1rem, 2.5rem);
  width: 90%;
  max-width: clamp(20rem, 28vw, 36rem);
  border-radius: 20px;
  text-align: center;
  animation: fadeUp .35s ease;
}

.wsp-modal.active .wsp-modal-box {
  transform: scale(1);
}

@keyframes fadeUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.wsp-modal-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 1rem + 0.5vw, 2rem);
  margin-bottom: 0.5rem;
}

.wsp-modal-box input {
  width: 100%;
  padding: 0.8rem;
  margin: 1rem 0;
  font-size: max(16px, 1rem); /* evita el zoom automático de iOS al enfocar */
  border-radius: 12px;
  border: 1px solid #ccc;
  outline: none;
}

.wsp-actions {
  display: flex;
  gap: 0.75rem;
}

.wsp-cancel,
.wsp-confirm {
  flex: 1;
  padding: 0.75rem;
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.3rem);
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.wsp-cancel {
  background: #eee;
}

.wsp-confirm {
  background: #25D366;
  color: #fff;
}

/* ==========================================================
   FOOTER
   ========================================================== */

.footer {
  background-color: #000;
  color: #fff;
  padding: clamp(2.5rem, 4vw, 5rem) clamp(1.25rem, 3vw, 4rem) clamp(2rem, 3vw, 4rem);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: clamp(0.9rem, 0.8rem + 0.2vw, 1.3rem);
  width: min(92vw, 80rem);
  margin: clamp(2rem, 4vw, 5rem) auto;
  border-radius: 4px;
}

.footer-content {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.25rem, 2vw, 3rem);
  text-align: center;
}

.footer-column {
  flex: 1;
  min-width: min(100%, 11rem);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  padding-right: clamp(1rem, 1.5vw, 2.5rem);
}

.footer-column:last-child {
  border-right: none;
  padding-right: 0;
}

.footer-column p,
.footer-column a {
  color: var(--gold-bright);
  line-height: 1.6;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer .social .icons {
  display: flex;
  gap: clamp(1.2rem, 1.8vw, 3rem);
  justify-content: center;
}

.footer .social .icons img {
  width: clamp(28px, 2.2vw, 64px);
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.footer .social .icons img[alt="Facebook"] {
  filter: invert(31%) sepia(92%) saturate(2580%) hue-rotate(214deg) brightness(92%) contrast(102%);
}

.footer .social .icons img[alt="TikTok"] {
  filter: invert(100%) hue-rotate(160deg) saturate(600%) brightness(115%);
}

.footer .social .icons img[alt="Instagram"] {
  filter: invert(38%) sepia(62%) saturate(3250%) hue-rotate(326deg) brightness(93%) contrast(96%);
}

.footer .social .icons img:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .footer {
    width: calc(100% - 30px);
    max-width: 100%;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-column {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 0;
    padding-bottom: 1.5rem;
  }

  .footer-column:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}


/* =========================================
   BOTÓN RESERVA UNA REUNIÓN
   EFECTO TIPO CODEPEN
   ========================================= */

.btn-reunion {
  position: relative;
  display: inline-block;
  padding: 0.6rem 1rem;
  margin: 1.25rem 0;

  color: var(--gold);
  background: transparent;

  text-decoration: none;
  text-transform: uppercase;

  font-family: "Raleway", sans-serif;
  font-size: clamp(0.8rem, 0.72rem + 0.2vw, 1.2rem);
  font-weight: 700;

  transition: 0.5s;

  /* Una sola línea sin importar qué tan angosta sea la columna */
  white-space: nowrap;
  width: max-content;
  max-width: 100%;

  overflow: hidden;
  cursor: pointer;

  /* Marco fino permanente; los span animados son un brillo extra */
  border: 1px solid var(--gold);
  border-radius: 2px;
}

.btn-reunion:hover {
  background: var(--gold);
  color: #fff;
  box-shadow:
    0 0 5px var(--gold),
    0 0 15px var(--gold),
    0 0 30px var(--gold);
  -webkit-box-reflect: below 1px linear-gradient(transparent, #0005);
}

.btn-reunion span {
  position: absolute;
  display: block;
}

/* Borde superior */
.btn-reunion span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
  animation: reunion-animate1 1s linear infinite;
}

@keyframes reunion-animate1 {
  0%        { left: -100%; }
  50%, 100% { left: 100%; }
}

/* Borde derecho */
.btn-reunion span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: reunion-animate2 1s linear infinite;
  animation-delay: 0.25s;
}

@keyframes reunion-animate2 {
  0%        { top: -100%; }
  50%, 100% { top: 100%; }
}

/* Borde inferior */
.btn-reunion span:nth-child(3) {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, var(--gold));
  animation: reunion-animate3 1s linear infinite;
  animation-delay: 0.5s;
}

@keyframes reunion-animate3 {
  0%        { right: -100%; }
  50%, 100% { right: 100%; }
}

/* Borde izquierdo */
.btn-reunion span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, var(--gold));
  animation: reunion-animate4 1s linear infinite;
  animation-delay: 0.75s;
}

@keyframes reunion-animate4 {
  0%        { bottom: -100%; }
  50%, 100% { bottom: 100%; }
}

  
  .contenido {
    padding-top: 5rem; /* Ajusta este valor según el tamaño del header */
  }
  
  nav li {
    position: relative;
  }
  
  nav a {
    text-decoration: none;
  color: #AF9453;
  margin: 0 1rem;
  font-weight: 500;
  }
  
  nav a:hover {
    color: #b59d5a;
  }
  
  .login a {
    font-weight: bold;
    color: #b59d5a;
  }
  
  /* Submenú */
  .submenu .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    padding: 10px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 1000;
  }
  
  .submenu:hover .dropdown {
    display: block;
  }
  
  .dropdown li {
    margin: 10px 0;
  }
  
  .dropdown a {
    color: #333;
    font-size: 14px;
    transition: color 0.3s;
  }
  
  .dropdown a:hover {
    color: #b59d5a;
  }
  
  
  .dropdown a:hover {
    color: #b59d5a;
  }

 /* =====================================================
   MENÚ HAMBURGUESA
===================================================== */
.menu-toggle {
  display: none;
}


/* Muñeca (icono izquierdo) y copas (icono derecho) — base escritorio */
/* Originales: 50px de ancho (= 0.59 × --logo-h); copas desplazadas
   170px a la izquierda (= 2 × --logo-h) para superponerse al texto */
.icono-izquierdo {
  width: calc(var(--logo-h, 85px) * 0.588);
  position: relative;
  left: 2px;
  top: 2px;
  transition: .3s;
}

.icono-derecho {
  width: calc(var(--logo-h, 85px) * 0.588);
  position: relative;
  right: calc(var(--logo-h, 85px) * 2);
  top: calc(var(--logo-h, 85px) * 0.176);
  transition: .3s;
}

.icono-izquierdo:hover,
.icono-derecho:hover {
  transform: scale(1.08);
}

.icono-izquierdo,
.icono-derecho {
  filter:
    drop-shadow(0 0 8px rgba(175,148,83,.5))
    drop-shadow(0 0 18px rgba(175,148,83,.3));
}

.icono-izquierdo {
  animation:
    entrarIzquierda 1.2s ease-out,
    flotar 4s ease-in-out infinite 1.2s,
    brilloDorado 4s ease-in-out infinite 1.2s;
}

.icono-derecho {
  animation:
    entrarDerecha 1.2s ease-out,
    flotar 4s ease-in-out infinite 1.2s,
    brilloDorado 4s ease-in-out infinite 1.2s;
}

@keyframes flotar {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-5px) rotate(2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes brilloDorado {
  0%, 100% {
    filter: drop-shadow(0 0 4px rgba(175,148,83,.5));
  }
  60% {
    filter:
      drop-shadow(0 0 12px rgba(240, 182, 46, 0.9))
      drop-shadow(0 0 25px rgba(235, 192, 51, 0.7));
  }
}

@keyframes entrarIzquierda {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes entrarDerecha {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ==========================================================
   HEADER RESPONSIVE — bloque único
   Tablets/laptops chicas: 769px–1279px | Celulares: hasta 768px
   Tamaños de logo/iconos fluidos entre 320px y 1279px.
   ========================================================== */

@media (max-width: 1279px) {

  .site-header {
    padding: 0.6rem clamp(0.75rem, 3vw, 1.5rem);
  }

  .barra {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    position: relative;
  }

  /* LOGO */
  .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
  }

  .logo-texto {
    height: clamp(36px, 3.5vw + 28px, 60px);
    width: auto;
    position: relative;
    left: -9px;
    margin: 0;
    padding: 0;
    display: block;
    object-fit: contain;
  }

  /* MUÑECA */
  .icono-izquierdo {
    width: clamp(30px, 5vw + 14px, 56px);
    position: relative;
    left: -9px;
    top: 0;
    margin-right: 3px;
    flex-shrink: 0;
  }

  /* COPAS */
  .icono-derecho {
    width: clamp(24px, 4vw + 12px, 46px);
    position: relative;
    left: -9px;
    right: auto;
    top: 0;
    margin-left: 3px;
    flex-shrink: 0;
  }

  /* LOGO 15 AÑOS (badge circular centrado) */
  .user-login {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
  }

  .user-login img {
    position: static !important;
    width: clamp(52px, 4vw + 36px, 76px);
    height: clamp(52px, 4vw + 36px, 76px);
    object-fit: contain;
    border-radius: 50%;
    transform: none !important;
  }

  /* HAMBURGUESA */
  .menu-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;   /* área táctil mínima recomendada */
    height: 44px;
    cursor: pointer;
    z-index: 10;
  }

  .menu-toggle img {
    width: clamp(24px, 2vw + 16px, 34px);
    height: auto;
    display: block;
    filter: brightness(0) saturate(100%) invert(78%) sepia(75%) saturate(2077%) hue-rotate(4deg) brightness(101%) contrast(98%);
  }

  /* MENÚ DESPLEGABLE (tablet + celular) */
  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: linear-gradient(180deg, #0d0d0d, #000);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 10px;
    display: none;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    z-index: 2001;
    border-top: 2px solid var(--gold);
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
  }

  .nav.active {
    display: flex;
    animation: navAbrir 0.3s ease;
  }

  @keyframes navAbrir {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav > a,
  .nav > .menu-desplegable {
    width: 100%;
  }

  .nav a {
    display: block;
    width: 100%;
    margin: 0;
    padding: clamp(0.9rem, 1.5vw + 0.6rem, 1.25rem) 0;
    font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.35rem);
    letter-spacing: 0.4px;
    text-align: center;
    border-bottom: 1px solid rgba(175, 148, 83, 0.18);
    transition: background 0.25s ease, color 0.25s ease;
  }

  .nav > a:last-child {
    border-bottom: none;
  }

  .nav a:hover,
  .nav a:active {
    background: rgba(175, 148, 83, 0.14);
    color: #fff;
    text-decoration: none;
  }
}
