/* ===============================
   SECCIÓN SUPERIOR
================================ */
.servicios-bg {
    background-color: #7a8090;
    padding: 15px 0 60px;

    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.servicios-bg .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* TITULO */
.servicios-titulo {
    text-align: center;
    color: #001b3d;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 35px;
}

.servicios-titulo::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #001b3d;
    margin: 12px auto 0;
}

/* GRID SUPERIOR */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;

    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

/* CAJAS */
.servicio-box {
    background: #bfc3c9;
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 10px;
    text-align: center;
    padding: 20px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.servicio-box img {
    width: 55px;
    margin-bottom: 12px;
}

.servicio-box span {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

/* ===============================
   SECCIÓN DETALLE
================================ */
.servicios-detalle {
    padding: 70px 0;
}

.servicios-detalle .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* TITULOS */
.detalle-titulo {
    font-size: 28px;
    font-weight: 700;
    color: #001b3d;
    margin-bottom: 10px;
    text-align: center;
}

.detalle-subtitulo {
    text-align: center;
    font-size: 15px;
    color: #444;
    margin-bottom: 50px;
}

/* GRID DETALLE */
.detalle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .detalle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .detalle-grid {
        grid-template-columns: 1fr;
    }

    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}