/* --- CONFIGURACIÓN GENERAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
}

body {
    background-color: #ffffff;
}

/* --- SECCIÓN ABOUT (Para que mantenga coherencia) --- */
.info-section{
    width: 100%;
  min-height: 10vh; /* ocupa toda la pantalla si quieres */
  
  background-color: #ffffff; /* Un gris claro limpio */; /* rojo ejemplo */
  
  padding: 40px 20px; /* espacio interno */
  
  display: flex;
  justify-content: center; /* centra contenido */
  align-items: flex-start;
  
  box-sizing: border-box;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.about-image img {
    max-width: 400px;
    height: auto;
}

.about-content {
    flex: 1;
}

/* --- BOTONES --- */
.btn-container {
    text-align: left; /* Botón alineado a la izquierda del bloque */
    margin-top: 20px;
}
/* --- RESPONSIVE (Celulares y Tablets pequeñas) --- */
@media (max-width: 992px) {
    .services-wrapper {
        flex-direction: column; /* La imagen se va abajo en móviles */
        text-align: center;
    }

    .services-content {
        text-align: center;
    }

    .services-container {
        flex-wrap: wrap; /* En celular sí permitimos que bajen si no caben */
        justify-content: center;
    }

    .btn-container {
        text-align: center;
    }
    
    .about-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Texto superior pequeño */
.eyebrow-text {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
    opacity: 0.9;
}

/* El fondo oscuro del Pop-up */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Fondo negro traslúcido */
    z-index: 9999;
    display: none; /* Se activa con el JS */
    align-items: center;
    justify-content: center;
}

/* La caja blanca donde vive el Forms */
.ventana-modal {
    background: white;
    width: 95%;
    max-width: 900px;
    height: 85vh; /* Ocupa el 85% del alto de la pantalla */
    padding: 15px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0px 15px 50px rgba(0,0,0,0.7);
}

/* Botón de cerrar circular rojo */
.btn-cerrar {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 24px;
    cursor: pointer;
    color: white;
    background: #ff4d4d;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid white;
    transition: transform 0.2s;
}

.btn-cerrar:hover {
    transform: scale(1.1);
}

/* Contenedor principal con el fondo gris */
#banner-destacado {
    background-color: #f4f4f4; /* Un gris claro limpio */
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px; /* Opcional: suaviza las esquinas */
    margin: 20px 0;
}

/* Texto de descripción */
.description-text {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* Estilos básicos para el Modal (Asegúrate de tener estos para que el gris no lo tape) */
.overlay {
    background: rgba(0, 0, 0, 0.7); /* Fondo oscuro tras el popup */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none; /* Se activa con JS */
    z-index: 1000;
}

.ventana-modal {
    background: #fff; /* El formulario siempre blanco para que resalte */
    width: 80%;
    max-width: 600px;
    height: 80vh;
    margin: 5vh auto;
    padding: 20px;
    position: relative;
    border-radius: 10px;
}




/* SECCIÓN */
.sobre-nosotros{
  width: 100%;
  min-height: 100vh; /* ocupa toda la pantalla si quieres */
  background-color: #ffffff; /* Un gris claro limpio */; /* rojo ejemplo */
  padding: 40px 20px; /* espacio interno */
  display: flex;
  justify-content: center; /* centra contenido */
  align-items: flex-start;
  box-sizing: border-box;
}

/* CONTENEDOR */
.contenedor{
    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

/* TEXTO */
.texto{
    flex: 1.2;
}


/* SUBTÍTULO */
.texto h3{
    
  margin: 10px 0 20px;
}


/* PÁRRAFOS */
.texto p{
    max-width: 560px;

    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 28px;
}

/* ... (El resto de tu CSS de .contenedor y .texto se queda igual) ... */

/* ELIMINAMOS EL CONTENEDOR ANTERIOR Y TRABAJAMOS DIRECTO EN LA IMAGEN */
.contenedor img {
    /* Definimos el tamaño del cuadrado aquí */
    width: 400px;  /* Puedes cambiar este valor al tamaño que quieras */
    height: 400px; /* Mantén el mismo valor que 'width' para que sea un cuadrado */

    /* Esto hace que la imagen se adapte al cuadrado sin deformarse */
    object-fit: cover;
    object-position: center;

    /* Bordes y estética */
    border-radius: 6px; 
    
    /* Esto ayuda a que no se "empuje" con el texto de forma extraña */
    display: block;
    flex-shrink: 0; /* Evita que el flexbox la aplaste */
}

/* RESPONSIVE: Para que no se salga de la pantalla en celulares */
@media (max-width: 768px) {
    .contenedor {
        flex-direction: column-reverse;
        text-align: center;
    }

    .contenedor img {
        width: 280px;  /* Tamaño un poco más chico para móviles */
        height: 280px;
        margin: 0 auto;
    }
}





/* SOLUCION */
/* SECCIÓN */
.seccion-beneficios{
    width: 100%;
    background: #f4f4f4;
    padding: 90px 20px;
}

/* CONTENEDOR */
.contenedor-beneficios{
    max-width: 1200px;
    margin: auto;
}

/* TÍTULO */
.encabezado-beneficios{
    color: #059281;
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 20px;
}


/* COLOR VERDE */
.encabezado-beneficios2{
    color:#000000;
}


/* TEXTO SUPERIOR */
.descripcion-beneficios{ 
    margin-bottom: 60px;
}

/* GRID */
.lista-beneficios{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 70px;
}

/* COLUMNAS */
.columna-beneficios{
    display: flex;
    flex-direction: column;
    gap: 45px;
}

/* ITEM */
.tarjeta-beneficio{
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* ICONO */
.icono-beneficio{
    min-width: 45px;
}

.icono-beneficio i{
    color:rgba(20, 184, 165, 0.66);
    font-size: 38px;
}

/* TEXTO */
.contenido-beneficio h3{
    color: #059281;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.parrafo-beneficio{
    max-width: 560px;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}
.custom-heading{
    color: #000000;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
}
.custom-heading span{
    color: #059281;
}

/* RESPONSIVE */
@media(max-width:900px){
    .lista-beneficios{
        grid-template-columns:1fr;
        gap:40px;
    }
    .encabezado-beneficios{
        font-size:45px;
    }
}

@media(max-width:600px){
    .seccion-beneficios{
        padding:60px 20px;
    }
    .encabezado-beneficios{
        font-size:32px;
    }
}




@media (max-width: 768px) {
  .contenedor {
    flex-direction: column;
    text-align: center;
  }

  .texto p {
    margin: auto;
  }

  .imagenes {
    flex-direction: row;
    justify-content: center;
  }

  .img-box {
    width: 140px;
    height: 160px;
  }
}
