/* SLIDER – MEDICIONES ELÉCTRICAS (VERSIÓN AJUSTADA) */

body.page-servicio {
    padding-top: 160px !important; /* asegura que el slider quede debajo del header */
}

.slider-mediciones {
    position: relative;
    width: 100%;

    height: 480px; /* ← AJUSTAR AQUÍ EL TAMAÑO DEL SLIDER (ANTES 620px) */

    overflow: hidden;
    margin-top: 0;
    margin-bottom: 80px;
    border-radius: 8px;
    background-color: #000;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* imagen completa y estética */
    object-position: center;
}

.slider-title {
    position: absolute;
    bottom: 40px;
    left: 40px;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
    z-index: 2;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 24px;
    z-index: 3;
    border-radius: 6px;
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

@media (max-width: 768px) {
    .slider-mediciones {
        height: 300px; /* versión más chica para mobile */
        margin-bottom: 50px;
    }

    .slider-title {
        font-size: 2.2rem;
        left: 20px;
        bottom: 20px;
    }
}

/* BLOQUE PREMIUM – MEDICIÓN DE PUESTA A TIERRA (IMAGEN CONTENIDA) */
.evh-bloque-medicion {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 60px 0;
}

.evh-medicion-img {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    height: 420px;
}

.evh-medicion-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 100%;
}

.evh-medicion-texto {
    flex: 1;
}

.evh-medicion-btn {
    display: inline-block;
    background: linear-gradient(90deg, #ffd54f, #ffca2c);
    color: #000;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.evh-medicion-btn:hover {
    background: linear-gradient(90deg, #ffe27a, #ffd54f);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}
/* CONTACTO – FONDO AZUL SOLO EN LA PÁGINA DE MEDICIONES */
body.page-servicio #contacto,
body.page-servicio .contacto-section,
body.page-servicio .contacto-bloque {
    background: #003f7d; /* azul EVH */
    padding: 60px 20px;
    color: #fff;
}

/* Ajuste de textos dentro del contacto */
body.page-servicio #contacto h2,
body.page-servicio #contacto p,
body.page-servicio .contacto-section h2,
body.page-servicio .contacto-section p {
    color: #fff;
}

/* Botón dentro del contacto */
body.page-servicio #contacto a,
body.page-servicio .contacto-section a {
    background: #ffd54f;
    color: #000;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}
.faq-seo{
    padding:70px 20px;
    background:#f8fafc;
}

.faq-container{
    max-width:1200px;
    margin:auto;
}

.faq-seo h2{
    text-align:center;
    font-size:2.3rem;
    color:#004a99;
    margin-bottom:50px;
}

.faq-item{
    background:#fff;
    padding:25px;
    margin-bottom:20px;
    border-radius:10px;
    box-shadow:0 4px 15px rgba(0,0,0,.06);
}

.faq-item h3{
    color:#004a99;
    font-size:1.2rem;
    margin-bottom:12px;
}

.faq-item p{
    color:#444;
    line-height:1.8;
}