/* --- Layout general para que footer quede al final sin espacios extra --- */
  html, body {
  min-height: 100vh;
  background: linear-gradient(-10deg, #00020F, #00041F, #ffffff00); 
  background-size: 400% 400%;
  animation:gradientBG 10s ease infinite;
  font-family: 'Poppins', 'Montserrat', sans-serif;
  justify-content: center;
  text-align: center;
  overflow-x: hidden;
  padding-top: 100px;
  height: none;
   margin: 0;
   padding: 0;
   display: flex;
   flex-direction: column;
  }
  @keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* Estilo del botón hamburguesa */
.navbar-toggler {
  border: none;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0.5rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.footer-bottomm {
  text-align: center;
  font-size: 0.875rem;
  color: #aaa;
  padding-top: 1rem;
}


/* El contenido principal debe crecer para empujar footer */
header.hero-section {
  flex-grow: 1;
  display: flex !important; /* ya tienes flex en .hero-section */
  flex-direction: column; /* para ajustar contenido interno */
  justify-content: center;
  padding-top: 80px; /* espacio para navbar fixed */
  padding-bottom: 2rem; /* separación abajo */
  box-sizing: border-box;
  padding-top: 120px;
}

/* Ajuste responsive padding top en hero para móviles */
@media (max-width: 767.98px) {
  header.hero-section {
    padding-top: 590px;
  }
}

/* Footer fijo abajo sin espacio extra */
footer {
  flex-shrink: 0;
  margin-top: auto;
  background-color: #1a1a1a !important;
  color: white;
}

/* Ajusta para que el contenido en columnas no colapse */
.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* Ajuste para evitar que cards se "salgan" en móvil */
.row.gy-4 {
  margin-bottom: 2rem;
}

/* Opcional: mejora la legibilidad en móviles */
h2, h3 {
  padding-left: 1rem;
  padding-right: 1rem;
  word-wrap: break-word;
}

/* Ajuste nav-link para mejor experiencia táctil */
.navbar-nav .nav-link {
  padding: 0.75rem 1.25rem;
}

/* Previene overflow horizontal en móviles */
body, html {
  overflow-x: hidden;
}


/* Responsive para tarjetas de servicios */
@media (max-width: 768px) {
  #servicios .card {
    margin-bottom: 1.5rem;
    border-radius: 20px;
    padding: 1rem;
  }

  #servicios h2 {
    font-size: 1.75rem;
  }

  #servicios h3 {
    font-size: 1.1rem;
  }

  #servicios p {
    font-size: 1rem;
  }

}

/* Estilo base elegante para tarjetas */
#servicios .card {
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

#servicios .card:hover {
  transform: translateY(-5px);
}




.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}

/* NAVBAR comprimida al hacer scroll */
.navbar.scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Pills normales (sin scroll) */
.navbar .btn {
  background: rgba(255, 255, 255, 0.1); /* base opaco */
  color: #ffffff;
  border: none;
  border-radius: 500px;
  padding: 0px 10px;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: none;
}





/* LOGO WRAPPER */
.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-6deg);
}

.logo-wrapper img {
  height: 70px;
  width: 70px;
}

.logo-bubble {
  background-color: #000;
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 1rem;
  margin-left: 10px;
  box-shadow: 0 2px 6px #fff;
}

/* Navbar base */
.navbar {
  transition: all 0.3s ease;
  padding: 20px 0;
  background: transparent;
  box-shadow: none;
}

/* Navbar al hacer scroll */
.navbar.scrolled {
  padding: 10px 0;
}

/* Pills estilo base */
.navbar .btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #000;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 500;
  backdrop-filter: none;
  transition: all 0.3s ease;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #fff;
  background: rgba(18, 18, 18, 0.7); /* un poco más oscuro al hover */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}



/* Estilo común para todas las pills */
.pill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  font-weight: 500;
  box-shadow: 0 2px 6px #fff;
}

/* Hover para todas las pills */
.pill:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  box-shadow: 0 2px 6px #fff;
}

/* Estilo para el logo cuando entra en modo pill */
.pill-logo {
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 0;
  border: none;
  transition: all 0.3s ease;
  transform: none;
}
/* Imagen del logo también se ajusta */
.pill-logo img {
  height: 90px;
  width: auto;
  transition: height 0.3s ease;
}

/* Texto del logo más pequeño si quieres */
.pill-logo span {
  font-size: 0.9rem;
  transition: font-size 0.3s ease;
}
/* SOLO en móviles y tablets */
@media (max-width: 991px) {
    .custom-navbar-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between !important;
    width: 100%;
    flex-wrap: nowrap;
  }

  .pill-logo {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 0.4rem 0.8rem;
    box-shadow: 0 2px 6px #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: scale(0.95);
    order: 1;
    margin-left: 0.5rem;
  }

  .pill-logo img {
    height: 70px !important;
    box-shadow: 0 2px 6px #fff;
  }
    .menu-toggle {
    order: 2;
    margin-right: 0.5rem;
  }
}
/* botones links centrados */

.nav-links-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  transform: translate(-50%, -50%);
}
/*                                                                                                                                                                                         
*/

/* ==== Responsive Ajustes para venta.html ==== */

/* Asegura que el header tenga padding-top para dejar espacio al navbar */
.hero-section {
  padding-top: 120px;
}

body {
  background: linear-gradient(-10deg, #00020F, #00041F, #ffffff00);
  font-family: 'Poppins', sans-serif;
}

/* Espaciado inferior antes del footer */
.card-style {
  margin-bottom: 3rem;
}

/* Botón de regreso flotante */
.btn-regreso-flotante {
  font-size: 1rem;
  color: #fff;
  background-color: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-regreso-flotante:hover {
  color: #ccc;
}

/* Estilo para los precios */
.price {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Listas responsivas dentro de las cards */
.features {
  padding-left: 1.2rem;
  list-style-type: disc;
}

/* Botón de WhatsApp */
.btn-whatsapp {
  display: inline-block;
  margin-top: 1rem;
  background-color: #25D366;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
}

/* Responsive para mobile */
@media (max-width: 767px) {
  .navbar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-regreso-flotante {
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }

  .navbar-brand {
    margin-left: auto;
    margin-right: auto;
  }

    .navbar-brand img {
    height: 28px;
    align-self: center;
  }

  .card-style h1 {
    font-size: 1.5rem;
  }

  .card h2 {
    font-size: 1.25rem;
  }

  .features {
    font-size: 0.95rem;
  }

    .card p, .card li {
    font-size: 0.95rem;
    line-height: 1.6;
  }

.btn-whatsapp {
  background-color: #25d366;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #1ebc59;
}

}

/* Boton de regreso / primer estilo */ 

/* .btn-regreso-flotante {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 9999;
  background-color: black;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 16px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-regreso-flotante:hover {
  background: rgba(0, 0, 0, 0.6);
  color: #eee;
} */

.btn-regreso-flotante {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-regreso-flotante:hover {
  color: #2575fc;
  text-decoration: underline;
}


/* Estilo venta */

/* 
FONDO 
*/
body {
  background: linear-gradient(-10deg, #00020F, #00041F, #ffffff00); 
  background-size: 400% 400%;
  animation: gradientVibrante 10s ease infinite;
  color: #ffffff;
  justify-content: center;
  text-align: center;
}

@keyframes gradientVibrante {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


        h1 {
            text-align: center;
            margin-bottom: 40px;
        }

        .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
        }
.card {
  border-radius: 20px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.row.g-4 {
  row-gap: 1.5rem; /* menos separación */
}

.paquete-card {
  border-radius: 1.5rem;
  background-color: #ffffffcc;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.paquete-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.paquete-card h2,
.paquete-card h3 {
  color: #333;
}
        
.features li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.btn-whatsapp-custom{
  background-color: #25D366;
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #1ebe5b;
  color: #fff;
}


.hero-section, .card-style {
  padding-left: 1rem;
  padding-right: 1rem;
}

.footer {
  background-color: #000 !important;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  padding: 2rem 1rem;
}

.footer .social-link {
  color: #ffffff;
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
}

.footer .social-link:hover {
  color: #0d6efd;
  transform: scale(1.2);
}

.footer .footer-link {
  color: #ffffff;
  transition: color 0.3s;
}

.footer .footer-link:hover {
  color: #0d6efd;
}

/* 
Responsive 
*/


@media (max-width: 576px) {
.footer {
  background-color: #1a1a1a;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
}

.footer .social-link {
  color: #ffffff;
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
}

.footer .social-link:hover {
  color: #0d6efd;
  transform: scale(1.2);
}

.footer .footer-link {
  color: #ffffff;

  transition: color 0.3s;
}

.footer .footer-link:hover {
  color: #0d6efd;
}

}

/* 
CSS para estilos visuales modernos 
*/

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  padding-top: 90px;
}

.card-style h1 {
  font-weight: 700;
  font-size: 2.5rem;
  color: #343a40;
}

.card {
  background-color: #ffffff;
  color: #212529;
  border: none;
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e3c72;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.card p,
.card ul {
  font-size: 1rem;
  line-height: 1.6;
}

.card ul {
  padding-left: 1.2rem;
}

.card ul li::marker {
  color: #1e3c72;
  font-size: 1.2em;
}

.card .price {
  font-weight: bold;
  color: #28a745;
  margin-bottom: 0.3rem;
}

.features {
  padding-left: 1rem;
}

.features li {
  margin-bottom: 0.5rem;
}

.btn-whatsapp {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: #25D366;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #1ebf5c;
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  display: flex;
  align-items: center;
  height: 100%; /* asegura altura completa */
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}



/* Centrado vertical de los elementos dentro del navbar */
.navbar-nav {
  align-items: center; /* centra los <li> verticalmente */
}

/* Alinea el contenido dentro de cada link */
.navbar-nav .nav-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  line-height: 1;
}

/* Ajuste para que los botones no desalineen al usar btn-outline-light */
.navbar .btn {
  line-height: 1.5;
  margin: 0;
}

/* Asegura que los items estén centrados verticalmente */
.navbar-nav {
  align-items: center;
}

.navbar-nav .nav-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Evita que el botón sobrescriba el line-height */
.navbar .btn {
  line-height: 1.5;
  margin: 0;
}

/* Reduce un poco el logo si sigue empujando los items */
.logo-link img {
  max-height: 60px;
}



.nav-links-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Estilo de los botones si no lo tienes aún */
.btn-nav {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 20px;
  padding: 6px 16px;
  transition: background 0.3s ease;
  text-decoration: none;
}

.btn-nav:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

/* Glass effect al hacer scroll */
.glass-effect {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.custom-toggler .toggler-icon span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: white;
  transition: all 0.3s ease;
}


/* ESTILO BOTON HAMBURGUESA */

/* Estilo para el botón hamburguesa */
.navbar-toggler {
  border: none;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0.5rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.navbar-toggler:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Personalizar el ícono (tres líneas blancas) */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* Icono personalizado con 3 líneas */
.toggler-icon {
  width: 30px;
  height: 22px;
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.toggler-icon span {
  background: white;
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.toggler-icon span:nth-child(1) {
  top: 0px;
}

.toggler-icon span:nth-child(2) {
  top: 9px;
}

.toggler-icon span:nth-child(3) {
  top: 18px;
}

/* Estilo activo cuando el menú está abierto */
.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}


.navbar-toggler {
  background: transparent;
  border: none;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
  padding: 0.25rem 0.75rem;
}

.navbar-toggler .toggler-icon span {
  background-color: white; /* color por defecto */
  transition: background-color 0.3s ease;
}

.navbar-toggler.scrolled-toggler {
  background-color: rgba(255, 255, 255, 0.15); /* fondo semi-transparente */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1rem;
}

.navbar-toggler.scrolled-toggler .toggler-icon span {
  background-color: #000; /* cambia el color de las barras para contraste cuando scrolled */
}


/* Posicionamiento correcto del botón hamburguesa */
.navbar-toggler.custom-toggler {
  border: none;
  background: none;
  position: absolute;
  top: 1.5rem;
  right: 1rem;
  z-index: 1050;
}

/* Icono del botón hamburguesa (3 líneas) */
.toggler-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.toggler-icon span {
  display: block;
  height: 3px;
  background-color: white;
  border-radius: 3px;
}


/* Ajustes de navbar para móvil */
@media (max-width: 991.98px) {
  .navbar .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .navbar .logo-link {
    order: 1;
  }

  .navbar-toggler {
    order: 2;
    margin-left: auto;
  }

  .navbar-collapse {
    flex-direction: column;
    align-items: center;
  }

  .nav-links-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }

  /* Centrar título 'Servicios' y otros al expandirse */
  .nav-links-wrapper a {
    width: 100%;
    max-width: 300px;
  }

  /* Asegura que el logo no se estire */
  .logo-link img {
    max-height: 60px;
    width: auto;
  }
}


/* Botón hamburguesa personalizado */
.toggler-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 24px;
}

.toggler-icon span {
  display: block;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}


/* Estilo por defecto del botón hamburguesa */
.navbar-toggler.custom-toggler {
  padding: 6px 12px;
  border-radius: 999px;
  background-color: transparent;
  transition: all 0.3s ease;
  border: none;
}

/* Estado con scroll (pill + efecto glass) */
.navbar-toggler.custom-toggler.scrolled-toggler {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Al hacer scroll, el logo se transforma en pill con efecto glass */
.scrolled-logo {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50rem;
  padding: 0.4rem 0.8rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Estilo pill + glass para el botón hamburguesa */
.scrolled-toggler {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50rem;
  padding: 0.4rem 0.6rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Estilo original del botón hamburguesa (por si lo necesitas) */
.custom-toggler .toggler-icon span {
  display: block;
  width: 25px;
  height: 3px;
  margin-bottom: 5px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}


.custom-toggler .toggler-icon span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
  .nav-links-wrapper .btn {
    width: auto; /* Evita que ocupe todo el ancho */
    display: inline-block;
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 20px;
    text-align: center;
  }

  .nav-links-wrapper {
    gap: 10px; /* Espacio entre botones */
    align-items: center;
    justify-content: center;
  }
}


/* pills logo y boton hamburguesa */

.pill-glass {
  background: linear-gradient(90deg, #00041F, #00020F);
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(25, 78, 255, 0.3);
  transition: all 0.3s ease-in-out;
}

@media (max-width: 1024px) {
  #logo.pill-glass,
  #hamburguesa.pill-glass {
    padding: 0px 0px;
    font-size: 0.9rem;
  }
}

/* Estilos footer */

footer {
  background-color: #000 !important;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer i {
  font-size: 1.25rem;
  margin: 0 0.5rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-center{
  flex: 1;
  text-align: center;
}

.footer-bottom {
  text-align: center;
  font-size: 0.875rem;
  color: #aaa;
  border-top: 1px solid #444;
  padding-top: 1rem;
}
.footer-bottomm {
  text-align: center;
  font-size: 0.875rem;
  color: #aaa;
  padding-top: 1rem;
}

/* Ocultar en escritorio */
.mobile-only {
  display: none;
}

@media (max-width: 991.98px) {
  .mobile-only {
    display: block;
  }

  .hamburger-button {
  position: fixed;
  top: 20px;
  right: 20px; /* ← cambio aquí */
  width: 40px;
  height: 40px;
  z-index: 1002;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px;
  box-shadow: 0 2px 6px #fff;
  }

  .hamburger-button span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 5px auto;
    background-color: #000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px #fff;
  }

  .mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  max-width: 320px;
  height: 100vh;
  background: white;
  backdrop-filter: blur(15px);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  padding: 60px 20px 20px;
  transition: right 0.4s ease, opacity 0.4s ease;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  box-shadow: 0 2px 6px #fff;
  }

  .mobile-menu.open {
  right: 0;
  opacity: 1;
  box-shadow: 0 2px 6px #fff;
  }

  .close-button {
    background: none;
    border: none;
    font-size: 2rem;
    align-self: flex-end;
    cursor: pointer;
    color: #000;
    box-shadow: 0 2px 6px #fff;
  }

  .mobile-nav-links {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .mobile-nav-links a {
    text-decoration: none;
    font-size: 1.2rem;
    color: #000;
    font-weight: 500;
  }

  .hamburger-button {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  z-index: 1003;
  background: rgba(1, 0, 0, 0.4); /* glass base */
  backdrop-filter: blur(8px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 10px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  
}
/* Barras de la hamburguesa */
.hamburger-button .line {
  position: absolute;
  width: 24px;
  height: 3px;
  background-color: #ffffff; 
  border-radius: 3px;
  transition: transform 0.4s ease, opacity 0.4s ease, background-color 0.4s ease;
}

.hamburger-button .line1 {
  top: 10px;
}

.hamburger-button .line2 {
  top: 18px;
}

.hamburger-button .line3 {
  top: 26px;
}

/* Animación a "X" */
.hamburger-button.active .line1 {
transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-button.active .line2 {
  opacity: 0;
}

.hamburger-button.active .line3 {
transform: rotate(-45deg) translate(5px, -5px);
}

/* Glassmorphism más visible al hacer scroll */
.hamburger-button.scrolled {
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Solo en móviles */
@media (min-width: 992px) {
  .hamburger-button {
    display: none;
  }
 }
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Solo en móviles */
@media (max-width: 991px) {
  .custom-navbar-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }

  .pill-logo {
    background: rgba(1, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 0.2rem 0.2rem;
    box-shadow: 0 2px 6px #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: scale(0.95);
    order: 1;
    margin-left: 0.5rem;
  }

  .pill-logo img {
    height: 70px !important;
    box-shadow: 0 2px 6px #fff;
  }

  .mobile-only {
    order: 2;
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
  }
}

    #language-switcher {
      position: fixed;
      top: 10px;
      right: 30px;
      z-index: 10000;
    }

    #language-switcher button {
      margin-left: 5px;
      border-radius: 20px;
    }

   .lang-btn {
  top: auto;
  width: 36px;
  height: 36px;
  padding: 0;
  font-weight: bold;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.100);
  background-color: #000; /* Fondo negro */
  color: #fff;            /* Texto blanco */
  border: none;           /* Opcional: sin borde si no quieres el gris por defecto */
  cursor: pointer;
  box-shadow: 0 2px 6px #000;
}

.lang-btn:hover {
  transform: scale(1.05);
  background-color: #0d6efd; /* Verde al pasar el mouse */
  color: white;
  box-shadow: 0 2px 6px #000;
}

/* Asegura que sólo se muestren en móvil */
@media (min-width: 992px) {
  .lang-switch-mobile {
    display: none !important;
  }
}


.lang-switch-mobile {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1051; /* asegúrate que esté encima del fondo del menú */
  animation: fadeInUp 0.5s ease forwards;
  
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}





/* Estilos footer */

footer {
  background-color: #222;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer i {
  font-size: 1.25rem;
  margin: 0 0.5rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  text-align: center;
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
}

.footer-bottom {
  text-align: center;
  font-size: 0.875rem;
  color: #aaa;
  border-top: 1px solid #444;
  padding-top: 1rem;
}


.footer {
  background-color: #1a1a1a;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #fff;
  padding: 2rem 1rem;
}



.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-left,
.footer-right {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.footer-center {
    margin-top: 2rem; /* separa del contenido superior del footer */
  padding-top: 1rem; /* espacio interno opcional */
  text-align: center;
  border-top: none;
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
    margin-top: 2rem; /* separa del contenido superior del footer */
  padding-top: 1rem; /* espacio interno opcional */
  text-align: center;
  border-top: none;
}

.footer .footer-link {
  color: #ffffff;
  transition: color 0.3s;
}

.footer .footer-link:hover {
  color: #0d6efd;
}

.footer .social-link {
  color: #ffffff;
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: color 0.3s, transform 0.3s;
}

.footer .social-link:hover {
  color: #0d6efd;
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  font-size: 0.875rem;
  color: #aaa;
  border-top: 1px solid #444;
  padding-top: 1rem;
}
/* Responsive (mobile) */
@media (max-width: 768px) {
  .footer-left,
  .footer-center,
  .footer-right {
    flex: 100%;
    text-align: center;
  }

  .footer-left {
    order: 1;
  }

  .footer-center {
    order: 2;
    margin-top: 1rem;
  }

  .footer-right {
    order: 3;
    margin-top: 1rem;
  }
  .footer-logo {
  width: 100px;
  height: auto;
  margin-bottom: 0.5rem;
  display: inline-block; /* o block si quieres control vertical */
}

.footer-logo {
  transition: transform 0.3s, opacity 0.3s;
}

.footer-logo:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

}

.footer-logo {
  width: 100px;
  height: auto;
  margin-bottom: 0.5rem;
  display: inline-block; /* o block si quieres control vertical */
}

.footer-logo {
  transition: transform 0.3s, opacity 0.3s;
}

.footer-logo:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Pills normales (sin scroll) editables*/
.navbar .btn {
  background: rgba(255, 255, 255, 0); /* base opaco */
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 3px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: none;
}

/* Pills con efecto glass oscuro cuando se hace scroll */
.navbar.scrolled .btn {
  background: rgba(18, 18, 18, 0.6);  /* glass oscuro */
  color: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}


/* Pills estilo base */
.navbar .btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #000;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 500;
  backdrop-filter: none;
  transition: all 0.3s ease;
transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #fff;
  background: rgba(18, 18, 18, 0.7); /* un poco más oscuro al hover */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Pills con efecto glass oscuro */
.navbar.scrolled .btn {
  background: rgba(18, 18, 18, 0.7);
  color: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Estilo al hacer scroll */
.nav-scrolled .logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px #fff;
}

.nav-scrolled .logo-link {
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 6px #fff;
}

/* Solo aplica en pantallas menores a 768px */
@media (max-width: 768px) {
  .logo-pill {
    background: rgba(255, 255, 255, 0.1); /* o el color que prefieras */
    padding: 6px 10px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 6px #fff;
    transition: all 0.3s ease;
  }

  .navbar-brand img {
    height: 40px; /* asegúrate de no romper el tamaño */
    width: auto;
  }
}
@media (max-width: 768px) {
  #logo.logo-pill {
  background: rgba(18, 18, 18, 0.6); /* mismo color que en desktop */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 2px 6px #fff;
  transition: all 0.3s ease;
  z-index: 1051;
  }

  #logo img {
    height: 70px;
    width: auto;
    
  }
}
.pill-glass {
  background: rgba(0, 0, 0, 0); /* fondo oscuro translúcido */
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 1px 1px;
  box-shadow:  4px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 80px !important; /* MÁS ESPACIO debajo del navbar fijo */
    padding-bottom: 40px;
  }

  .hero-section h1,
  .hero-section h6 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10;
    position: relative;
  }
}

/* ===== Efecto GLASS al hacer scroll ===== */
.navbar.scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}


.navbar.scrolled .btn.glass-pill {
  background: rgba(18, 18, 18, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px #fff;
}

.navbar.scrolled .btn.glass-pill:hover {
  background:rgba(18, 18, 18, 0.6);
  color: #ffffff;
}

.logo-pill {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  padding: 0.2rem 0.2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  transform: scale(0.9);
  box-shadow: 0 2px 6px #fff;
}
/* Imagen del logo también se ajusta */
.logo-pill img {
  height: 60px !important;
  width: auto;
  transition: height 0.3s ease;
  
}

/* Texto del logo más pequeño si quieres */
.logo-pill span {
  font-size: 0.9rem;
  transition: font-size 0.3s ease;
}

@media (min-width: 992px) {
  .lang-btn {
    background: rgba(18, 18, 18, 0.6);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px #fff;
  }

  .lang-btn:hover {
    background: #0d6efd;
    color: #ffffff;
    box-shadow: 0 2px 6px #fff;
  }
}

@media (max-width: 991px) {
  #logo.logo-pill {
    background: transparent;
    backdrop-filter: none;
    padding: 0 !important;
    box-shadow: 0 2px 6px #fff;
    
  }
}
@media (min-width: 992px) {
  #logo.logo-pill {
    position: relative;
    z-index: 1051; /* por encima del navbar */
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 8px 16px;
    
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px #fff;
  }

  .navbar {
    z-index: 1050; /* aseguramos que esté debajo del logo */
  }
}
#logo.logo-pill {
  background: rgba(18, 18, 18, 0.6); /* mismo color que en desktop */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1051;
  padding: 0 !important;
  box-shadow: 0 2px 6px #fff;
}
