/* -----------------------------------------------
  Encabezado
----------------------------------------------- */
.satelital {
    background-image: url('image/satelitales/QuintanaRoo_Satelital.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh; 
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.contenido-satelital {
    max-width: 800px;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 10px; /* Controla qué tan pegado está al borde inferior */
    background: rgba(0, 0, 0, 0.634)
}
.contenido-satelital p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0;
}

.sectores-satelitales {
    background: white;
    color: black;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px 20px;
    border-radius: 15px;
    position: absolute;
    left: 50%;
    bottom: -50px;
    transform: translateX(-50%);
    box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 1000px;
}

/* Reset y estilo para los botones de sector */
.sector-btn {
    background: none;
    border: none;
    padding: 0 10px;
    margin: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;                /* reparte el ancho entre todos por igual */
    max-width: 150px;       /* ajusta si los quieres más angostos */
}

.sector-btn img {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain;
    display: block;
    margin-bottom: 10px;
}

.sector-btn p {
    margin: 0;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Hover / foco */
.sector-btn:hover,
.sector-btn:focus {
    outline: none;
    filter: brightness(1.1);
    transition: filter 0.2s;
}

/* Color de botón activo */
.sector-btn.active p {
    color: #182947;
    font-weight: 600;
}
.sector-btn.active img {
    filter: brightness(1.2);
}

/* -----------------------------------------------
   Mobile Satelital
----------------------------------------------- */
@media screen and (max-width: 768px) {
    .satelital {
        height: auto;
        padding: 60px 20px 120px; /* espacio inferior para sectores */
    }
    .contenido-satelital p {
        font-size: 1rem;
    }
    .contenido-satelital {
        padding: 15px;
    }
    .sectores-satelitales {
        flex-direction: column;
        position: static;
        transform: none;
        margin-top: 40px;
        width: auto;
        max-width: none;
    }
    .sector-btn {
        margin-bottom: 20px;
        max-width: 300px; /* en mobile pueden ser un poco más anchos */
    }
}

/* -----------------------------------------------
   ¿Qué ofrecemos? (Contenedor de texto + foto)
----------------------------------------------- */
.contenedor-img {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 100px 100px;
    max-width: 2000px;
    margin: 0 auto;
}
.bloque-parrafo {
    flex: 1;
    max-width: 600px;
    font-size: 1.2rem;
}
.bloque-parrafo h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #222;
}
.bloque-parrafo p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #444;
}
.bloque-imagen {
    flex: 1;
    max-width: 500px;
}
.bloque-imagen img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* -----------------------------------------------
   Beneficios Clave
----------------------------------------------- */
.seccion-beneficios {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}
.beneficios-texto {
    flex: 1;
    background: rgba(0, 20, 60, 0.8);
    color: white;
    padding: 40px 30px;
    min-width: 300px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.beneficios-texto h2 {
    font-size: 1.8rem;
    margin-left: 40px;
    margin-bottom: 20px;
}
.beneficios-texto ul {
    list-style: disc;
    padding-left: 40px;
}
.beneficios-texto ul li {
    margin-bottom: 35px;
    font-size: 1rem;
    line-height: 1.6;
}
.beneficios-imagen {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: stretch;
}
.beneficios-imagen img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 0;
}

/* Responsivo para imagen y texto */
@media screen and (max-width: 768px) {
    .contenedor-img {
        flex-direction: column;
        gap: 20px;
        padding: 40px 20px;
    }
    .bloque-parrafo,
    .bloque-imagen {
        max-width: 100%;
    }
    .seccion-beneficios {
        flex-direction: column;
    }
    .beneficios-texto,
    .beneficios-imagen {
        width: 100%;
        max-width: 100%;
    }
    .beneficios-texto {
        padding: 40px 20px;
    }
    .beneficios-imagen img {
        height: auto;
    }
}
