
/*...............................................................*/
/*Zoom General para mayor sensación de modernidad y letras claras*/
/*...............................................................*/
html {
    zoom: 125%;
}

/*...............................................................*/
/*🎨 Estilos globales del body*/
/*...............................................................*/
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: Arial, sans-serif;
    text-align: center;
    align-items: center;  
    background: radial-gradient(circle, #005088, #00121e); /* Azul oscuro en el centro, negro en los bordes */
    min-height: 100vh;
    margin: 0;
    color: whitesmoke;
    overflow-x: hidden;

}
/* 🏛️ Encabezados majestuosos */
h1, h2 {
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.847);
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: 2px;
  border-bottom: 2px solid #FFD700;
  display: inline-block;
  padding-bottom: 10px;
}

h2 {
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin-top: 3rem;
}
main {
    flex: 1; /* Hace que el contenido principal ocupe el espacio disponible */
}


/*...............................................................*/
/*🖼️ Marca de agua fija y centrada*/
/*...............................................................*/


.marca-de-agua {
    position: fixed;
    inset: 0; /* top: 0; right: 0; bottom: 0; left: 0 */
    margin: auto;
    z-index: 0;
    opacity: 0.1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}


.marca-de-agua img {
  width: 150%; /* Ajusta el tamaño según necesites */
}

body > *:not(.marca-de-agua) {
  position: relative;
  z-index: 1;
}




/*...............................................................*/
/*🎯 Header y navegación principal*/
/*...............................................................*/

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.5); /* Transparente oscuro */
  padding: 15px;
  z-index: 1000;
}

.logo img {
  max-height: 150px;   /* límite superior */
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
}

nav ul {
  display: flex;
  list-style: none;
  padding-right: 20px;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #f4b400;
  font-weight: bold;
  padding: 10px;
}

nav ul li a:hover {
  color: #ffefad;
}


/*...............................................................*/
/*📱 Media query para pantallas pequeñas*/
/*...............................................................*/
@media screen and (max-width: 1080px) {
  .logo img {
    max-width: 100%;
    max-height: auto;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  nav ul li {
    margin: 10px 0;
  }

  header {
    position: static;
    flex-direction: column;
    align-items: center;
  }
}




/*...............................................................*/
/*📰 Sección de noticias*/
/*...............................................................*/
.noticias {
  text-align: center;
  padding: 40px 20px;
  color: white;
}

.noticias-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.noticia {
  background-color: rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 15px;
  flex: 1 1 550px; /* ← mínimo 300px, pero puede crecer */
  max-width: 48%;   /* ← para que quepan dos por fila con espacio */
  transition: transform 0.3s;
  box-sizing: border-box;
}


.noticia:hover {
  transform: scale(1.03);
}

.noticia img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

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


#visor {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex; /* Asegura centrado completo */
  justify-content: center;
  align-items: center;
  overflow: auto;
  padding: 2rem;
}
  
.contenedor-imagen {
  position: relative;
  max-width: calc(100vw - 4rem);
  max-height: calc(100vh - 4rem);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.contenedor-imagen img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  cursor: zoom-in;
  transition: transform 0.3s ease;
  max-height: 80vh;

}

.cerrar {
  position: absolute;
  top: 1px;
  right: 1px;
  font-size: 28px;
  color: #fff;
  font-family: Georgia, serif;
  cursor: pointer;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 12px;
  border-radius: 8px;
}

/*...............................................................*/
/*📰 Sección de servicios*/
/*...............................................................*/

.servicios {
  text-align: center;
  padding: 40px 20px;
  color: white; /* ← Esto asegura que todos los textos aparezcan en blanco */
}

.areas {
  padding: 40px 20px;
  text-align: center;
  color: white;
}

.area {
  width: 75%;
  height: 160px; /* Más delgado verticalmente */
  margin: 40px auto;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}


.area img {
  width: 100%;
  height: auto;
  filter: brightness(0.6);
  transition: transform 0.3s;
}

.area:hover img {
  transform: scale(1.03);
}

.texto-area {
    
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: Impact, sans-serif;
  font-size: 48px;
  color: white;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px black;
}

/* Alineación intercalada */
.izquierda {
  margin-left: 0;
  margin-right: auto;
  animation-name: slideInLeft;
}


.derecha {
  margin-left: auto;
  margin-right: 0;
  animation-name: slideInRight;
}           

@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.contenido-area {
    text-align: left;
  display: none;
  padding: 20px;
  background-color: rgba(255,255,255,0.05);
  border-radius: 10px;
  max-width: 800px;
  margin: 0 auto;
}
.contenido-area h2, 
.contenido-area h3 {
  color: #fff9b4;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.contenido-area h2 {
  font-size: 1.8rem;
}

.contenido-area h3 {
  font-size: 1.4rem;
}

.contenido-area strong {
  color: #f1f1f1;
  font-weight: 600;
}

.contenido-area p {
  color: #d4d4d4;
  line-height: 1.7;
  font-size: 1rem;
}

.contenido-area ul {
  padding-left: 1.2rem;
  line-height: 1.6;
}

.contenido-area li {
  margin-bottom: 0.8rem;
}





/*...............................................................*/
/*📰 Sobre Nosotros*/
/*...............................................................*/


.sobre-nosotros {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly; /* ← distribuye una izquierda y otra derecha */
  gap: 20px;
  padding: 20px;
}

.boton-imagen {
  flex: 1 1 45%;        /* Toman hasta el 45% cada una */
  max-width: 45%;
  min-width: 280px;     /* Mínimo 280px para que no se encojan demasiado */
  box-sizing: border-box;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.boton-imagen img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: brightness(0.8);
  transition: transform 0.3s;
}

.boton-imagen:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}



.parallax {
  position: relative;
  height: 60vh; /* Altura parcial vertical */
  min-height: 400px;
  background-image: url('imagenes/fondo1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax suave */
  background-repeat: no-repeat;
  filter: brightness(0.9    ); /* Opacidad visual */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contenido-parallax {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 20px;
}
.botones-elegantes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
}

.btn-elegante {
  flex: 1 1 30%;
  max-width: 30%;
  min-width: 250px;
  background-color: rgba(255, 255, 255, 0.08); /* fondo translúcido */
  color: white;
  font-family: 'Playfair Display', serif; /* tipografía elegante */
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.btn-elegante:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn-elegante h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.btn-elegante p {
  font-size: 1rem;
  line-height: 1.5;
}
.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.valores-grid img {
  opacity: 1;
  filter: none;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

/* Responsivo para tablets */
@media (max-width: 992px) {
  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 600px) {
  .botones-elegantes {
    max-width: 90%;
    flex: 1 1 90%;
    
  }
  .boton-imagen {
    flex: 1 1 90%;      /* Cuando no caben, que tomen el 90% y se apilen */
    max-width: 90%;
  }
  .parallax {
    height: 120vh;
  }
  .valores-grid {
    grid-template-columns: 1fr;
  }
}
/*...............................................................*/

/* Responsive */
@media (max-width: 768px) {
  .ubicacion-contacto {
    flex-direction: column;
    text-align: center;
  }

  .iconos {
    margin-top: 1rem;
  }
}

















.contacto {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly; /* ← distribuye una izquierda y otra derecha */
  gap: 20px;
  padding: 20px;
}

.formulario-contacto, .mapa-contacto {
  flex: 1 1 40%;
  background-color: #002b5c;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  padding: 1.5rem;
  min-width: 300px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.formulario-contacto h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #FFD700;
}
.formulario-contacto input,
.formulario-contacto textarea {
    transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  margin-bottom: 1rem;
  border: 1px solid #FFD700;
  border-radius: 4px;
  background-color: #fdf6e3;
  color: #002b5c;
  min-height: 50px;
  max-height: 300px;
  resize: vertical;

}

.formulario-contacto button {
  width: 100%;
  background-color: #FFD700;
  color: #002b5c;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.formulario-contacto button:hover {
  background-color: #e6c200;
}

.mapa-contacto iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: none;
  border-radius: 4px;
}
.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
  outline: none;
  border-color: #FFD700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
  background-color: #fff8e1;
  
}
.mensaje-exito {
  padding: 15px;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  margin-bottom: 20px;
}
.errorlist {
  color: red;
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  font-weight: bold;
}


/* Responsive */
@media (max-width: 900px) {
  .contacto .formulario-contacto,
  .contacto .mapa-contacto {
    flex: 1 1 90% !important;
    max-width: 90% !important;
    margin: 0 auto !important;
  }
}


.boton-grupo-whats {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;

  width: 100px;
  height: 100px;

  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
.boton-grupo-whats img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.boton-grupo-whats:hover {
  transform: scale(1.1);
}





/*...............................................................*/
/*🎛️ Control de secciones dinámicas (Inicio, Servicios…)*/
/*...............................................................*/
.seccion {
  color: #ececec;
}

/* Solo oculta las que NO están visibles */
.seccion:not(.visible) {
  display: none !important;
}

/* Cada sección puede tener su propio display normal */
.contacto {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.sobre-nosotros {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 20px;
  padding: 20px;
}

/* Si alguna otra sección requiere display: block explícito */
#inicio,
#servicios,
#laboral {
  display: block;
}

/*...............................................................*/
/*👣 Footer elegante*/
/*...............................................................*/

footer {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #FFD700;
  text-align: center;
  padding: 20px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.legal a {
  color: #f4b400;
  text-decoration: none;
  margin: 5px;
}

.social-icons {
  margin: 10px 0;
}

.social-icons img {
  width: 30px;
  margin: 5px;
}

.copyright {
  font-size: 14px;
}















/*...............................................................*/
/*Aviso de Privacidad*/
/*...............................................................*/



.aviso-privacidad {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
  color: #ffffff;
  background-color: rgba(255,255,255,0.05);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255,215,0,0.2);
}

.aviso-privacidad h2, .aviso-privacidad h3 {
  color: #FFD700;
  margin-top: 1.5rem;
}

.aviso-privacidad ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.aviso-privacidad a {
  color: #FFD700;
  text-decoration: underline;
}





.login-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
  width: 340px;
  max-width: 90%;            /* 👈 importante para móviles */
  border: 1px solid #ffea9e;
  margin: 40px auto;         /* 👈 centra horizontalmente */
  box-sizing: border-box;
}

.login-box h2 {
  margin-bottom: 25px;
  text-align: center;
  color: #FFD700;
  font-family: "Georgia", serif;
  font-weight: bold;
  font-size: 24px;
}

.mensaje-error {
  color: #ff0000;
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
}

.login-box form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-box input[type="text"],
.login-box input[type="password"] {
  padding: 10px;
  border: 1px solid #caac01;
  border-radius: 5px;
  font-family: "Georgia", serif;
}

.login-box button {
  padding: 10px;
  background: #c4a601;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-family: "Georgia", serif;
  cursor: pointer;
}

.login-box button:hover {
  background: #d9b945;
}

#campo {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #bfa042;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #f5f5f5;
  font-family: Georgia, serif;
}

/* ✅ MEDIA QUERY para móviles */
@media screen and (max-width: 480px) {
  .login-box {
    padding: 20px;
    width: 95%;
  }

  .login-box h2 {
    font-size: 20px;
  }

  .login-box input[type="text"],
  .login-box input[type="password"],
  .login-box button {
    font-size: 16px;
  }
}












/* Intro container */
    #intro-logo {
      position: fixed;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.9);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      animation: fadeOut 0.8s ease-out forwards;
    }

    #intro-logo img {
       width: 35vw;                /* Escalable con el ancho de pantalla */
  max-width: 420px;           /* Nunca mayor a 420px */
  min-width: 160px;           /* Nunca menor a 160px */
      height: auto;              /* Mantiene la proporción */
      animation: logoZoom 0.4s ease-out;
      filter: drop-shadow(0 0 6px var(--dorado));
    }

    @keyframes logoZoom {
      0% {
        opacity: 0;
        transform: scale(0.3);
      }
      80% {
        opacity: 1;
        transform: scale(1.1);
      }
      100% {
        transform: scale(1);
      }
    }

    @keyframes fadeOut {
      0% { opacity: 1; }
      60% { opacity: 1; }
      100% {
        opacity: 0;
        visibility: hidden;
        z-index: -1;
      }
    }
    /* 📊 Estilo profesional para tablas */
table {
  width: 100%;
  max-width: 1000px;
  margin: 1rem auto;
  border-collapse: collapse;
  background-color: #ffffff08;
  color: #fff;
  border-radius:12px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
  table-layout: fixed;
}

th, td {
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  text-align: left;
  vertical-align: middle;  /* Centra verticalmente */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
  background-color: rgba(0, 80, 136, 0.8);
  color: #FFD700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

td {
  word-wrap: break-word;
  overflow-wrap: break-word;
  background-color: rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  line-height: 1.2;
  vertical-align: top;
}

tr {
  transition: background-color 0.3s ease;
}

tr:hover td {
  background-color: rgba(255, 255, 255, 0.08);
}

button {
  padding: 6px 12px;
  background-color: #FFD700;
  color: #002b5c;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.8rem;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #e6c200;
}

@media screen and (max-width: 768px) {
  /* Limita el ancho de cada tarjeta y céntrala */
  tr {
    display: block;
    max-width: 90vw;        /* que no pase del 90% del viewport */
    margin: 0.5rem auto;     /* centrado horizontal, con un pequeño margen */
    background-color: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.08);
  }

  /* Asegura que las celdas no se salgan del contenedor */
  td {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0.6rem 0.8rem;
    text-align: left;
    position: relative;
    font-size: 0.8rem;
    box-sizing: border-box;
  }

  /* Etiqueta del campo */
  td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #FFD700;
    display: block;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    font-size: 0.75rem;
  }

  /* Y finalmente, que el mensaje recortado no crezca horizontalmente */
  .mensaje-limitado {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mensaje-limitado:hover {
    /* si quieres expandirlo, que use scroll interno en vertical */
    max-height: 200px;
    overflow-y: auto;
    white-space: normal;
  }
}

/* 👇 Manejo del campo mensaje largo */
.mensaje-limitado {
  max-height: 3rem;               /* Altura fija eficiente */
  display: flex;                  /* Para centrar verticalmente */
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;            /* Para recortar en una sola línea */
  cursor: pointer;
  transition: max-height 0.3s ease;
}
.mensaje-limitado:hover {
  max-height: 9rem;               /* Se expande al pasar el ratón */
  white-space: normal;            /* Permite multilínea */
  background-color: rgba(0,0,0,0.1);
}
#mensajeCompleto {
  max-width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  background-color: rgba(255, 255, 255, 0.95);
  color: #002b5c;
  font-family: Georgia, serif;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  line-height: 1.6;
  font-size: 1rem;
  white-space: pre-wrap;           /* ← esto respeta saltos de línea y espacios */
  word-break: break-word;          /* ← esto corta palabras muy largas */
  text-align: justify;             /* ← esto mejora la distribución del texto */
}



/* ✨ Animación de entrada elegante */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 👑 Header elegante */
.vip-header {
  background: linear-gradient(to right, #00121e, #002b5c);
  padding: 1rem 2rem;
  border-bottom: 2px solid #FFD700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.header-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* Distribuye los elementos */
  align-items: center;            /* Centra verticalmente */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 10px;  
}

.logo-vip {
  height: 60px;
}

.titulo-vip {
  font-family: 'Playfair Display', serif;
  color: #FFD700;
  margin: 0;
  text-shadow: 1px 1px 4px black;
}

/* 🟢 Estilo para mensaje de éxito */
.mensaje-exito {
  background-color: rgba(0, 40, 80, 0.7);
  border: 2px solid #00ffcc;
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  margin: 4rem auto;
  text-align: center;
  color: #e0f7fa;
  box-shadow: 0 0 20px rgba(0, 255, 204, 0.2);
  animation: fadeInUp 0.8s ease-out forwards;
}

.mensaje-exito h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #00ffcc;
  margin-bottom: 1rem;
}

.mensaje-exito p {
  font-size: 1.1rem;
  color: #d0fefe;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-regresar {
  display: inline-block;
  background-color: #00ffcc;
  color: #002b5c;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-regresar:hover {
  background-color: #00ccb0;
}
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .titulo-vip {
    margin: 10px 0;
  }

  .logout-link {
    margin-left: 0;
  }
}
/*...............................................................*/





@media print {
  /* Eliminar cualquier espacio de todo lo que no es .solo-impresion */
  * {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  /* Ocultamos todo lo demás */
  body * {
    display: none !important;
  }

  /* Mostramos el contenido solo para impresión */
  .solo-impresion,
  .solo-impresion * {
    display: revert !important;
  }

  .solo-impresion {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    color: #000;
    line-height: 1.4;
    position: static; /* ← NO usar absolute */
    background: none;
  }

  .solo-impresion table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-top: 1rem;
  }

  .solo-impresion th {
    background-color: #f0f0f0;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 6pt;
    color: #000;
    padding: 5px;
  }

  .solo-impresion td {
    border: 1px solid #ccc;
    padding: 5px;
    font-size: 7.5pt;
    vertical-align: top;
    word-break: break-word;
    white-space: pre-wrap;
    color: #000;
  }

  /* Anchos por columna */
  .solo-impresion th:nth-child(1),
  .solo-impresion td:nth-child(1) { width: 12%; }

  .solo-impresion th:nth-child(2),
  .solo-impresion td:nth-child(2) { width: 18%; }

  .solo-impresion th:nth-child(3),
  .solo-impresion td:nth-child(3) { width: 10%; }

  .solo-impresion th:nth-child(4),
  .solo-impresion td:nth-child(4) { width: 45%; }

  .solo-impresion th:nth-child(5),
  .solo-impresion td:nth-child(5) { width: 15%; }

  .solo-impresion tr {
    page-break-inside: avoid;
  }

  @page {
    size: A4;
    margin: 10mm;
  }
}



.solo-impresion {
  transform: translateY(-3cm);
  display: none;
}


.link-blanco {
  color: white;
  text-decoration: none;
}

.link-blanco:hover {
  color: #f0f0f0; /* o el tono que prefieras al pasar el cursor */
}
