/* =========================================================
    ESTILOS PRINCIPALES PARA LA PÁGINA DE SERVICIOS
   ========================================================= */

/* Contenedor general */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* =========================================================
   HERO
   ========================================================= */

.hero-servicios {
    position: relative;
    height: 50vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-servicios .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-servicios .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
}

.hero-servicios .hero-content {
    position: absolute;
    z-index: 2;
    color: white;
    text-align: center;
}

.hero-servicios h1 {
    font-size: 38px;
    margin-bottom: 10px;
}

.hero-servicios p {
    font-size: 18px;
}


/* =========================================================
   INTRODUCCIÓN
   ========================================================= */
.intro {
    padding: 60px 20px;
    text-align: center;
}

.intro h2 {
    color: var(--azul);
    margin-bottom: 15px;
}

.intro p {
    font-size: 17px;
    line-height: 1.6;
}


/* =========================================================
   TARJETAS DE SERVICIOS
   ========================================================= */

.lista-servicios {
    padding: 70px 0;
    background: var(--gris);
    text-align: center;
}

.lista-servicios h2 {
    color: var(--azul);
    margin-bottom: 40px;
}

.servicios-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

/* Tarjetas */
.servicio-card {
    background: white;
    width: 300px;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    text-align: left;
    transition: 0.3s;
    position: relative;
}

.servicio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 30px rgba(0, 86, 163, 0.28);
}

/* Iconos */
.servicio-card .icon {
    font-size: 42px;
    color: var(--azul);
    margin-bottom: 15px;
}

.servicio-card h3 {
    margin-bottom: 8px;
    color: var(--azul-oscuro);
}

.servicio-card p {
    font-size: 15px;
    line-height: 1.5;
}


/* =========================================================
   EMPRESAS QUE CONFÍAN
   ========================================================= */

.clientes {
    padding: 70px 20px;
    background: white;
    text-align: center;
}

.clientes h2 {
    color: var(--azul);
    margin-bottom: 40px;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 50px 70px;
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 190px;
    height: 100px;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(80%);
    opacity: 0.75;
    transition: 0.3s;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}



/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
    .hero-servicios h1 {
        font-size: 30px;
    }
}
