.content.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;       
  justify-content: flex-start;
  padding-top: 100px;        
  gap: -2px;                 /* antes 2px, más espacio entre botones y formulario */
  width: 100%;
  max-width: 900px;
  box-sizing: border-box;
  text-align: center;
  
  margin-left: 150px; /* mantiene desplazamiento a la derecha */
}



.busqueda-container {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.7),
    0 0 50px rgba(255, 255, 255, 0.3),
    0 12px 50px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 900px;
  margin: -10px auto;          /* antes 30px, ahora más cerca del botón */
  transition: all 0.3s ease;
  z-index: 10;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6));
}
/* Sticky */
.busqueda-container.sticky {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  width: auto;
  max-width: 90vw;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 9999;
  transition: all 0.3s ease;
}

.oculto {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px) scale(0.98);
}
/* Contenedor de los botones de modo */
.modo-busqueda-container {
  display: flex;
  justify-content: center;
  gap: 20px;           /* separación entre botones */
  margin-top: 20px;     /* separación respecto al título */
  margin-bottom: 20px;
}

/* Botón base */
.modo-busqueda {
  position: relative;
  padding: 12px 35px;               /* tamaño del botón */
  border-radius: 30px;               /* redondeado */
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  color: #000;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

/* Sombra difusa usando pseudo-elemento */
.modo-busqueda::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 30px;
  background: rgba(0,0,0,0.1);
  filter: blur(12px);
  opacity: 0.6;
  z-index: -1;
  transition: all 0.35s ease;
}

/* Botón activo */
.modo-busqueda.activo {
  transform: scale(1.05);
}

.modo-busqueda.activo::before {
  background: rgba(0,0,0,0.15);
  filter: blur(16px);
}

/* Hover para efecto profesional */
.modo-busqueda:hover::before {
  background: rgba(0,0,0,0.12);
  filter: blur(14px);
}
/* Animación de degradado para la barra */
.busqueda-container.animar {
  background: linear-gradient(270deg, #ff9a9e, #fad0c4, #a1c4fd, #c2e9fb);
  background-size: 800% 800%;
  animation: gradientAnim 2s ease infinite;
  transition: all 0.5s ease;
}

@keyframes gradientAnim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 📱 Responsive solo para móviles */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;   /* 🔒 bloquea scroll horizontal */
    overflow-y: auto;     /* ✅ permite scroll vertical */
    width: 100%;
    height: auto;         /* deja crecer según contenido */
    margin: 0;
    padding: 0;
  }

  .content.text-center {
    margin-left: 0;       /* elimina desplazamiento lateral */
    padding-top: 60px;    /* espacio arriba */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .busqueda-container {
    width: 95%;
    max-width: 95%;
    margin: 10px auto;
    padding: 12px 16px;
    gap: 10px;
    flex-wrap: wrap;      /* si no entra, baja */
  }

  .modo-busqueda-container {
    flex-direction: column;
    align-items: stretch; /* que ocupen ancho completo */
    gap: 12px;
    width: 100%;
  }

  .modo-busqueda {
    width: 100%;
    padding: 14px 0;
    font-size: 15px;
  }
}

html, body {
  height: 100%;               /* Ocupa toda la pantalla */
  margin: 0;
  display: flex;              /* Flex para controlar layout */
  flex-direction: column;     /* Columna para ordenar contenido */
}

body > *:last-child {
  margin-top: auto;           /* Empuja footer al fondo si contenido es pequeño */
}

.footer-mns {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  padding: 20px 40px;
  background-color: #efefef;
  color: #333;
  border-top: none; /* quitada la línea dura */
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.05); /* sombra suave arriba */
  font-family: 'Helvetica Neue', sans-serif;
  position: static;
  margin-top: 0;
  margin-bottom: 0; /* quito margen inferior para evitar espacio */
}

.footer-left a,
.footer-right a {
  margin: 0 8px;
  color: #333;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-left a:hover,
.footer-right a:hover {
  transform: scale(1.1);
  color: #000; /* negro más intenso al hacer hover */
}

.footer-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-select {
  color: #555;
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-select:hover {
  transform: scale(1.1);
  color: #000;
}

@media (max-width: 600px) {
  .footer-mns {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Línea separadora entre footers (footer-info y footer-mns) */
/* Línea separadora entre footer-info y footer-mns */
.footer-separator {
  width: 75%;
  margin: 0 auto; /* elimino márgenes verticales para evitar espacios */
  border: none;
  border-top: 3px solid rgba(36, 36, 36, 0.603); /* línea visible gris suave */
  backdrop-filter: blur(15px);
  background: #efefef;
  -webkit-backdrop-filter: blur(15px);
}

.footer-info {
  width: 100%;
  background: #efefef;
  color: #242424;
  font-family: 'Helvetica Neue', sans-serif;
  padding: 40px 50px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  box-sizing: border-box;
  margin-top: 0; /* quito margen superior para evitar espacio */
}

.footer-info > div {
  flex: 1;
  min-width: 220px;
}

.footer-info h4 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
  color: #111;
  text-shadow: 0 0 2px rgba(0,0,0,0.15); /* sombra sutil para texto */
}

.footer-info a,
.footer-info p {
  font-size: 15px;
  color: #222;
  text-decoration: none;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
  text-shadow: 0 0 1px rgba(0,0,0,0.1); /* sombra sutil */
}

/* Enlaces del footer con efecto hover suave */
.footer-info a {
  display: inline-flex;           /* permite aplicar transform sin romper layout */
  align-items: center;
  gap: 8px;                       /* espacio entre icono y texto */
  transition: transform 0.2s ease, color 0.2s ease;
  transform-origin: center;      /* escala desde el centro */
}

.footer-info a:hover {
  transform: scale(1.1);         /* agranda en el lugar */
  color: #000;
}

/* SVG iconos del footer */
.footer-info svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: #222;
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s ease, transform 0.2s ease;
}

/* Al pasar el mouse por el enlace, también agranda el SVG */
.footer-info a:hover svg {
  transform: scale(1.1);         /* agranda sin mover */
  stroke: #000;                  /* cambia color si querés */
}

@media (max-width: 768px) {
  .footer-info {
    flex-direction: column;
    padding: 30px 20px;
    gap: 30px;
  }
}