* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #038c4c, #04b36b);
  color: white;
}

/* CONTENEDOR */
.container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  align-items: center;
  gap: 40px;
}

/* INFORMACIÓN IZQUIERDA */
.info {
  flex: 1;
  min-width: 300px;
  text-align: center;
  background: white;
  color: #038c4c;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.info h1 {
  font-size: 38px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.info h1 i {
  font-size: 28px;
  color: #04b36b;
}

.info h2 {
  font-size: 58px;
  margin: 0;
  color: #04b36b;
}

.info p {
  font-size: 18px;
  margin-top: 15px;
  border: 2px solid #04b36b;
  display: inline-block;
  padding: 10px 22px;
  border-radius: 25px;
  color: #04b36b;
}

/* FORMULARIO */
/* CONTENEDOR DEL FORMULARIO */
.formulario {
  background: #fff;
  color: #333;
  border-radius: 18px;
  padding: 40px 32px;
  flex: 1;
  min-width: 320px;
  max-width: 500px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.8s ease;
  position: relative;
  overflow: hidden;
}

/* Animación de entrada */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.formulario::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle at top left, rgba(4, 179, 107, 0.08), transparent 60%);
  z-index: 0;
}

.formulario h3 {
  margin: 0 0 18px;
  font-size: 20px;
  color: #111;
  position: relative;
  z-index: 1;
}

/* RANGO DE MONTO */
input[type="range"] {
  width: 100%;
  accent-color: #04b36b;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

input[type="range"]:active {
  transform: scale(1.02);
}

.valor {
  font-size: 22px;
  margin: 8px 0 25px;
  font-weight: 700;
  color: #04b36b;
  text-align: center;
}

/* BOTONES DE CUOTAS */
.cuotas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.cuotas button {
  background: none;
  border: 2px solid #04b36b;
  color: #04b36b;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.cuotas button:hover,
.cuotas button.active {
  background: #04b36b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(4, 179, 107, 0.3);
}

/* CAMPOS DE ENTRADA */
.form-group {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  margin-left: 2px;
  color: #111;
  font-size: 15px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 5px;
  box-sizing: border-box;
  transition: border 0.3s, box-shadow 0.3s;
}

input:focus {
  outline: none;
  border-color: #04b36b;
  box-shadow: 0 0 8px rgba(4, 179, 107, 0.2);
}

/* BOTÓN ENVIAR */
.submit-btn {
  background: linear-gradient(90deg, #04b36b, #03a15d);
  color: white;
  padding: 14px 0;
  border: none;
  border-radius: 8px;
  font-size: 17px;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(3, 140, 76, 0.3);
}

.submit-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75px;
  width: 50px;
  height: 100%;
  background: rgba(255, 255, 255, 0.35);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.submit-btn:hover::after {
  left: 120%;
}

.submit-btn:hover {
  background: linear-gradient(90deg, #03a15d, #049f65);
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 30px 15px;
  }

  .info {
    padding: 25px 15px;
    text-align: center;
  }

  .info h1 {
    font-size: 28px;
  }

  .info h2 {
    font-size: 40px;
  }

  .info p {
    font-size: 16px;
    padding: 8px 16px;
  }

  .formulario {
    padding: 28px 20px;
    max-width: 100%;
  }

  .valor {
    font-size: 20px;
  }

  .cuotas button {
    font-size: 14px;
    padding: 6px 12px;
  }

  label {
    font-size: 14px;
  }

  input {
    font-size: 15px;
  }
}





/* Sección contenedor */
.seccion-prestamos {
  background: #e8fdf2;
  padding: 4rem 2rem;
  font-family: 'Segoe UI', sans-serif;
}

.contenedor-prestamo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Imagen */
.imagen-prestamo {
  flex: 1;
  text-align: center;
}

.imagen-prestamo img {
  width: 80%; /* Puedes ajustar a 60%, 50%, etc. */
  height: auto;
  max-width: 350px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Texto */
.texto-prestamo {
  flex: 1;
  min-width: 320px;
  animation: fadeIn 1.2s ease-out;
}

.texto-prestamo h2 {
  font-size: 2.5rem;
  color: #065f46;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.texto-prestamo h2 .verde {
  color: #10b981;
}

.texto-prestamo ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.texto-prestamo li {
  font-size: 1.1rem;
  color: #064e3b;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Botón animado */
.btn-verde {
  display: inline-block;
  background-color: #10b981;
  color: white;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
}

.btn-verde:hover {
  background-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.icono-lista {
  color: #10b981;
  margin-right: 0.5rem;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}


.info-empresa-seccion {
  position: relative;
  height: 60vh; /* Más bajo que 100vh */
  overflow: hidden;
}

.info-empresa-video-fondo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
  filter: brightness(0.4);
}

.info-empresa-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.info-empresa-contenido {
  max-width: 900px;
  color: white;
}

.info-empresa-leyenda {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-style: italic;
}

.info-empresa-boton {
  display: inline-block;
  background-color: #065f46;
  color: white;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.info-empresa-boton:hover {
  background-color: #10b981;
}
.info-empresa-titulo {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
  .info-empresa-seccion {
    height: auto; /* Deja que crezca según el contenido */
    min-height: 100vh; /* Asegura que ocupe toda la altura */
    padding: 2rem 1rem; /* Espaciado lateral */
  }

  .info-empresa-contenido {
    max-width: 100%;
  }

  .info-empresa-titulo {
    font-size: 1.5rem; /* Más pequeño en móviles */
  }

  .info-empresa-leyenda {
    font-size: 1rem;
    line-height: 1.5;
  }

  .info-empresa-boton {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }
}



.requisitos-prestamo {
  text-align: center;
  padding: 3rem 1rem;
  background-color: #fff;
}

.requisitos-prestamo h2 {
  font-size: 2rem;
  color: #1d2b12;
  margin-bottom: 2rem;
}

.requisitos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.requisito-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: left;
  max-width: 300px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  color: #222; /* <- Asegura contraste */
}

.requisito-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #222 !important; /* <- Fuerza que se vea */
  opacity: 1 !important;  /* <- Elimina transparencias si existen */
}

.requisito-item strong {
  font-weight: 600;
  color: #000 !important;
}

.requisito-item .icono {
  background-color: #1ed17b;
  color: white;
  padding: 1rem;
  border-radius: 12px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
}


.beneficios-seccion {
  background-image: url('https://4kwallpapers.com/images/wallpapers/dark-background-abstract-background-network-3d-background-4480x2520-8324.png'); /* <-- Reemplaza con tu imagen de fondo */
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 5rem 2rem;
  position: relative;
  color: #fff;
}

.beneficios-overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 3rem;
  border-radius: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.beneficios-contenido {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.beneficios-texto {
  flex: 1;
  min-width: 300px;
}

.beneficios-titulo {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
}

.beneficio h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.beneficio p {
  font-size: 1rem;
  color: #ddd;
}

.linea-amarilla {
  border: 2px solid #f5e218;
  width: 100%;
  margin: 1rem 0;
}

.linea-azul {
  border: 2px solid #2f9cf0;
  width: 100%;
  margin: 1rem 0;
}

.naranja {
  color: #ff5a00;
}

.amarillo {
  color: #ffeb3b;
}

.azul {
  color: #29b6f6;
}

.beneficios-imagen {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.beneficios-imagen img {
  max-width: 90%;  /* no ocupa todo el ancho */
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
@media (max-width: 768px) {
  .beneficios-overlay {
    padding: 2rem 1rem; /* menos padding arriba/abajo, más espacio a los lados */
  }

  .beneficios-texto {
    padding: 0 1rem; /* metemos todo el texto un poco hacia adentro */
  }

  .beneficio h3,
  .beneficio p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 768px) {
  .beneficios-titulo {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .beneficio h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .beneficio p {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    color: #e0e0e0;
    margin: 0 auto 1.2rem auto;
    max-width: 90%;
  }

  .linea-amarilla,
  .linea-azul {
    width: 40%;
    margin: 0.8rem auto;
    border-width: 1px;
    opacity: 0.7;
  }

  .beneficio {
    margin-bottom: 1.5rem;
  }
}
.glass-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
  background: #f3f3f3;
  font-family: 'Segoe UI', sans-serif;
}

.glass-card {
  background: rgba(255, 255, 255, 0.75);
  color: #000; /* Texto negro */
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 100%;
  max-width: 500px;
  padding: 30px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
}

.glass-card h3, .glass-card h4 {
  margin-bottom: 15px;
  color: #000;
}

.glass-card ul {
  padding-left: 20px;
}

.glass-card li {
  margin-bottom: 10px;
}

.glass-card p {
  margin-bottom: 15px;
  color: #000;
}


.contact-section {
  position: relative;
  background-image: url('https://cdn.pixabay.com/photo/2018/03/09/01/20/city-3210384_1280.jpg'); /* Fondo parallax */
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
}

.contact-overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 60px 20px;
  border-radius: 20px;
  max-width: 1100px;
  margin: auto;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.contact-map {
  position: relative;
  padding-bottom: 56.25%; /* Relación 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.contact-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-info {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 18px;
  line-height: 1.6;
}

.contact-info h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #ffffff;
}

.contact-info p {
  margin: 5px 0;
}

.contact-info strong {
  color: #00e676;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-map, .contact-info {
    flex: 1 1 100%;
  }
}
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.cerrar {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 28px;
  cursor: pointer;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-icon {
  background-color: #25D366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 1.5s infinite;
  transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}



.requisitos-wrapper {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1001;
}

/* Botón flotante */
.requisitos-btn {
  width: 55px;
  height: 55px;
  background-color: #ffcc00;
  color: #000;
  border-radius: 50%;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  line-height: 55px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  animation: pulse-alert 1.5s infinite;
}

/* Animación */
@keyframes pulse-alert {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 204, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 204, 0, 0);
  }
}

/* Ventana emergente estilo burbuja */
.requisitos-popup {
  position: absolute;
  left: 70px;
  bottom: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 15px 20px;
  border-radius: 10px;
  width: 230px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: none;
}

.requisitos-popup h4 {
  margin-top: 0;
  font-size: 16px;
  margin-bottom: 10px;
  color: #222;
}

.requisitos-popup ul {
  margin: 0;
  padding-left: 20px;
}

.requisitos-popup li {
  font-size: 14px;
  margin-bottom: 6px;
}

.requisitos-popup li {
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  color: #222;
}

.icon-check {
  color: #28a745; /* verde elegante */
  margin-right: 8px;
  font-size: 16px;
}

