/* -------------------------------------------------------
   RESET BÁSICO
------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* -------------------------------------------------------
   TIPOGRAFÍA Y BASE GLOBAL
------------------------------------------------------- */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #222;
    background-image: url('/img/fondo-evh.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* -------------------------------------------------------
   CONTENEDORES
------------------------------------------------------- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* -------------------------------------------------------
   BARRA SUPERIOR
------------------------------------------------------- */
.header {
    background: transparent !important;
    border-bottom: none !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 16px;
    z-index: 999;
}

.top-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 6px 20px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.9rem;
}

/* -------------------------------------------------------
   BOTONES
------------------------------------------------------- */
.btn {
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.btn-yellow {
    background: #d4a017;
    color: #fff;
}

.btn-dark {
    background: #222;
    color: #fff;
}

/* -------------------------------------------------------
   SECCIONES
------------------------------------------------------- */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #ffd54f;
}

.section-subtitle {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* -------------------------------------------------------
   INPUTS Y FORMULARIOS
------------------------------------------------------- */
input,
textarea {
    padding: 12px;
    border: 1px solid #bbb;
    border-radius: 5px;
    width: 100%;
    font-size: 1rem;
    background: #fff;
    color: #222;
}

textarea {
    height: 140px;
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: #d4a017;
    outline: none;
    box-shadow: 0 0 4px rgba(212, 160, 23, 0.4);
}

/* -------------------------------------------------------
   FIX PARA ANCLAS
------------------------------------------------------- */
#contacto {
    scroll-margin-top: 140px;
}

/* -------------------------------------------------------
   INTRODUCCIÓN
------------------------------------------------------- */
.intro-tecnicas {
    padding-top: 40px;
    padding-bottom: 20px;
}

/* -------------------------------------------------------
   TARJETAS DE CAPACITACIONES
------------------------------------------------------- */
.capacitaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.cap-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    color: #222;
}

.cap-card a.btn {
    margin-top: auto;
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

/* -------------------------------------------------------
   SLIDER HERO
------------------------------------------------------- */
.hero-slider {
    position: relative;
}

.hero-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* -------------------------------------------------------
   HERO TEXT — CORREGIDO
------------------------------------------------------- */
.evh-hero-text {
    position: absolute;
    top: 170px !important;
    left: 40px;
    max-width: 650px;
    color: #fff;
    z-index: 900;
    pointer-events: none;
}

.evh-hero-text h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 0 0 12px rgba(0,0,0,0.55);
}

.evh-hero-text p {
    font-size: 20px;
    line-height: 1.35;
    text-shadow: 0 0 10px rgba(0,0,0,0.45);
}

/* MOBILE — HERO TEXT */
@media (max-width: 768px) {
    .evh-hero-text {
        top: 130px !important;
        left: 20px !important;
        max-width: 90% !important;
    }

    .evh-hero-text h1 {
        font-size: 28px !important;
    }

    .evh-hero-text p {
        font-size: 16px !important;
    }
}

/* -------------------------------------------------------
   TEXTO INSTITUCIONAL
------------------------------------------------------- */
.institucional-texto,
.institucional-texto p,
.institucional-texto h1,
.institucional-texto h2,
.institucional-texto h3 {
    color: #000 !important;
    text-shadow: none !important;
}

/* -------------------------------------------------------
   BLOQUES MODERNOS EVH
------------------------------------------------------- */
.evh-line-blocks {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px 0;
}

.evh-line-item {
    display: flex;
    gap: 20px;
}

.evh-line {
    width: 6px;
    height: 60px;
    background: #d4a017;
    border-radius: 4px;
}

.evh-line-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #222;
}

.evh-line-item p {
    font-size: 16px;
    color: #444;
}

/* MOBILE */
@media (max-width: 768px) {
    .evh-line-item {
        flex-direction: row;
        gap: 16px;
    }
    .evh-line {
        height: 50px;
    }
}

/* -------------------------------------------------------
   FLECHA DE SCROLL
------------------------------------------------------- */
.evh-scroll-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    color: #fff;
    opacity: 0.7;
    animation: evhArrow 1.8s infinite ease-in-out;
    z-index: 900;
}

@keyframes evhArrow {
    0% { transform: translate(-50%, 0); opacity: 0.7; }
    50% { transform: translate(-50%, 10px); opacity: 1; }
    100% { transform: translate(-50%, 0); opacity: 0.7; }
}

/* -------------------------------------------------------
   BANNERS LATERALES
------------------------------------------------------- */
.evh-banner-lateral {
    position: absolute;
    top: 170px;
    right: 20px;
    width: 360px;
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.evh-banner-item {
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 18px 22px;
    border-left: 5px solid #d4a017;
    font-size: 18px;
    font-weight: 500;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    margin-bottom: 12px;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.6s ease;
}

.evh-banner-item.active {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .evh-banner-lateral,
    .evh-scroll-arrow {
        display: none;
    }
}

/* -------------------------------------------------------
   SECCIONES DESTACADAS EVH
------------------------------------------------------- */
.evh-servicio-destacado {
    background: #ffffff;
    padding: 60px 0;
}

.evh-servicio-destacado::before {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #d4a017;
    margin-bottom: 50px;
    opacity: 0.8;
}

.evh-servicio-destacado-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: stretch;
    gap: 40px;
    flex-wrap: wrap;
}

.evh-servicio-texto {
    flex: 1;
    min-width: 280px;
}

.evh-servicio-texto h2 {
    font-size: 28px;
    font-weight: 700;
    color: #d4a017;
    margin-bottom: 12px;
}

.evh-servicio-texto p {
    font-size: 17px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.evh-servicio-btn {
    display: inline-block;
    background: #b30000;
    color: #fff;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
    margin-top: 18px;
}

.evh-servicio-btn:hover {
    background: #8a0000;
}

/* -------------------------------------------------------
   CUADROS CORPORATIVOS EVH (SIN FOTOS)
------------------------------------------------------- */
.evh-servicio-cuadro {
    flex: 1;
    min-width: 280px;
    background: #0f6b00;
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    min-height: 240px;
}

.evh-cuadro-azul {
    background: #004a8f;
}

.evh-cuadro-gris {
    background: #4a4a4a;
}

/* -------------------------------------------------------
   RESPONSIVE
------------------------------------------------------- */
@media (max-width: 768px) {

    .evh-servicio-destacado-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .evh-servicio-cuadro {
        min-height: 200px;
        padding: 16px;
    }
}

@media (max-width: 768px) {

    .evh-servicio-cuadro ul {
        margin: 10px 0 !important;
        padding-left: 18px !important;
    }

    .evh-servicio-cuadro ul li {
        margin-bottom: 6px !important;
        line-height: 1.35 !important;
    }
}

@media (max-width: 768px) {

    .evh-servicio-cuadro {
        text-align: left !important;
    }

    .evh-servicio-cuadro ul {
        margin: 10px 0 !important;
        padding-left: 18px !important;
    }

    .evh-servicio-cuadro ul li {
        margin-bottom: 6px !important;
        line-height: 1.35 !important;
    }
}

.btn-curso {
    display: inline-block;
    background: #b30000;
    color: #fff;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
    margin-top: 18px;
    text-align: center;
}

.btn-curso:hover {
    background: #8a0000;
}

.btn-inscripcion-pro {
    display: inline-block;
    background: #b30000;
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none !important;
    transition: 0.25s ease;
    margin-top: 20px;
    text-align: center;
}

.btn-inscripcion-pro:hover {
    background: #8a0000;
}

.sidebar-course-card {
    position: fixed;
    right: 30px;
    top: 180px;
    width: 200px;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    padding: 10px;
    animation: fadeCard 0.6s ease;
    z-index: 9000;
}

.sidebar-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 8px;
}

.sidebar-course-card h3 {
    font-size: 16px;
    margin: 0 0 4px 0;
    font-weight: 700;
    color: #003366;
}

.sidebar-course-card p {
    font-size: 13px;
    margin: 0 0 8px 0;
    color: #333;
}

.sidebar-btn {
    display: inline-block;
    background: #ffd54f;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    color: #000;
    font-size: 13px;
}

/* -------------------------------------------------------
   HERO FULLSCREEN
------------------------------------------------------- */
.hero,
.hero-simple {
    position: relative;
    height: 100vh;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

/* VIDEO DE FONDO */
.evh-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.evh-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* -------------------------------------------------------
   MENÚ — COLOR AZUL (SIN LÍNEA)
------------------------------------------------------- */
.header-nav-full {
    padding-bottom: 6px;
}

.header-nav-full .nav-item,
.header-nav-full .dropbtn {
    color: #005bbb !important;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease-in-out;
}

.header-nav-full .nav-item:hover,
.header-nav-full .dropbtn:hover {
    color: #0077ff !important;
}

.evh-nosotros-box {
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

/* -------------------------------------------------------
   SECCIÓN NOSOTROS — BLOQUE ESTÉTICO PREMIUM EVH
------------------------------------------------------- */
.evh-nosotros-box {
    background: rgba(255,255,255,0.92);
    padding: 35px;
    border-radius: 14px;
    border-left: 5px solid #d4a017;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    backdrop-filter: blur(4px);
    margin: 40px 0;
}

.evh-nosotros-box h2,
.evh-nosotros-box h3 {
    margin-bottom: 12px;
    font-weight: 700;
    color: #222;
    border-left: 4px solid #d4a017;
    padding-left: 12px;
}

.evh-nosotros-box p {
    font-size: 17px;
    line-height: 1.55;
    color: #333;
    margin-bottom: 16px;
}

.evh-nosotros-destacado {
    background: #b30000;
    color: #fff;
    padding: 22px;
    border-radius: 10px;
    margin-top: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    border-left: 5px solid #ffd54f;
}

@media (max-width: 768px) {
    .evh-nosotros-box {
        padding: 24px !important;
        border-radius: 10px !important;
    }

    .evh-nosotros-box p {
        font-size: 16px !important;
    }

    .evh-nosotros-destacado {
        padding: 18px !important;
    }
}
/* -------------------------------------------------------
   AJUSTE DE TARJETAS DE SERVICIOS EVH — MÁS CONTENIDAS
------------------------------------------------------- */
.evh-servicio-cuadro {
    flex: 0 0 320px;
    padding: 18px;
    min-height: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.evh-servicio-cuadro h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.evh-servicio-cuadro ul {
    margin-top: 10px !important;
    line-height: 1.45 !important;
}

.evh-servicio-cuadro ul li {
    margin-bottom: 6px;
    font-size: 14px;
}

/* MOBILE */
@media (max-width: 768px) {
    .evh-servicio-cuadro {
        flex: 1 !important;
        width: 100%;
        padding: 16px;
    }
}

/* -------------------------------------------------------
   SOLO CENTRAR TITULO DE TARJETAS EVH
------------------------------------------------------- */
.evh-servicio-cuadro h3 {
    text-align: center;
    width: 100%;
}

/* -------------------------------------------------------
   BLOQUE CORPORATIVO EVH — ESTILO PREMIUM
------------------------------------------------------- */
.evh-bloque-corporativo {
    background: #003f7d;
    padding: 60px 0;
    margin: 60px 0;
    position: relative;
    z-index: 10;
}

.evh-bloque-corp-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Imagen grande a la izquierda — CORREGIDO PARA USAR <img> */
.evh-bloque-img {
    flex: 1;
    height: 320px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    overflow: hidden; /* ← mantiene el borde redondeado */
    position: relative;
    z-index: 20;
}

.evh-bloque-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ← reemplaza background-size: cover */
    display: block;
}

/* Texto a la derecha */
.evh-bloque-texto {
    flex: 1;
    color: #fff;
}

.evh-bloque-texto h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
}

.evh-bloque-texto p {
    font-size: 18px;
    line-height: 1.45;
    margin-bottom: 25px;
    opacity: 0.95;
}

/* Botón */
.evh-bloque-btn {
    display: inline-block;
    background: #ffd54f;
    color: #000;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
}

.evh-bloque-btn:hover {
    background: #ffeb8a;
}

/* Subtexto */
.evh-bloque-sub {
    margin-top: 20px;
    font-size: 16px;
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 768px) {
    .evh-bloque-corp-container {
        flex-direction: column;
        text-align: center;
    }

    .evh-bloque-img {
        width: 100%;
        height: 240px;
    }
}
/* =======================================================
   HERO — IMAGEN COMPLETA SIN RECORTES
======================================================= */
.hero-ergonomia {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* mantiene proporción */
    background-image: url('../assets/img/ergonomia/ergonomia_oficina.jpg');
    background-size: contain; /* muestra la imagen completa */
    background-repeat: no-repeat;
    background-position: center;
    background-color: #000; /* color de fondo detrás si sobra espacio */
    border-radius: 12px;
    margin-bottom: 30px;
}

/* =======================================================
   RESPONSIVE — AJUSTE EN PANTALLAS PEQUEÑAS
======================================================= */
@media (max-width: 768px) {
    .hero-ergonomia {
        aspect-ratio: 4 / 3;
        background-size: contain;
        background-position: center;
    }
}
/* ==========================================
   BLOQUE SEO PREMIUM
========================================== */

.seo-destacado{
    background: #f8fafc;
    padding: 70px 20px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

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

.seo-destacado h2{
    font-size: 2rem;
    color: #0a4585;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.seo-destacado h2::after{
    content: "";
    width: 80px;
    height: 4px;
    background: #00a0e3;
    display: block;
    margin: 15px auto 0;
    border-radius: 10px;
}

.seo-destacado p{
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

/* RESPONSIVE */

@media (max-width:768px){

    .seo-destacado{
        padding: 50px 20px;
    }

    .seo-destacado h2{
        font-size: 1.6rem;
        text-align: left;
    }

    .seo-destacado h2::after{
        margin-left: 0;
    }

    .seo-destacado p{
        font-size: 1rem;
        text-align: left;
    }
}
.seo-beneficios{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
    margin-top:40px;
}

.seo-badge{
    background:#ffffff;
    color:#0a4585;
    border:1px solid #d7e3f3;
    padding:14px 22px;
    border-radius:50px;
    font-weight:600;
    font-size:15px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    transition:.3s;
}

.seo-badge:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,0,0,.12);
}
.hero-seguridad{
    max-width: 1400px;
    margin: 60px auto 80px auto;
    padding: 0 30px;
    text-align: center;
}

.hero-seguridad h1{
    font-size: 3.4rem;
    font-weight: 800;
    color: #003f7d;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-seguridad h1::after{
    content: "";
    display: block;
    width: 120px;
    height: 5px;
    background: #00a0e3;
    margin: 20px auto 0;
    border-radius: 20px;
}

.hero-seguridad p{
    max-width: 900px;
    margin: 30px auto 0;
    font-size: 1.3rem;
    color: #444;
    line-height: 1.7;
}
.seo-header{
    text-align:center !important;
    max-width:1200px;
    margin:60px auto !important;
    padding:20px;
}

.seo-header h1{
    color:#003f7d !important;
    font-size:56px !important;
    font-weight:800 !important;
    line-height:1.1;
    margin-bottom:25px !important;
}

.seo-header h1:after{
    content:"";
    display:block;
    width:120px;
    height:5px;
    background:#00a0e3;
    margin:20px auto;
    border-radius:20px;
}

.seo-header p{
    max-width:900px;
    margin:0 auto !important;
    font-size:24px !important;
    line-height:1.6;
    color:#444 !important;
}
/* ============================================================
   SEGURIDAD E HIGIENE – ESTILOS ESPECÍFICOS
   ============================================================ */

/* ============================
   PC / DESKTOP
=============================== */

/* HERO PRINCIPAL (igual a Mediciones Ambientales) */
.video-hero {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 520px;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    margin-bottom: 80px;
}

.video-hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translate(-50%, -50%);
    background: #ffffff;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 2;
}

.hero-title {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 0 18px rgba(0,0,0,0.7);
    z-index: 3;
}

.hero-subtitle {
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    width: 90%;
    text-shadow: 0 0 12px rgba(0,0,0,0.7);
    z-index: 3;
}

/* Línea roja */
.evh-linea-roja {
    width: 100%;
    height: 6px;
    background: #b40000;
    margin: 40px 0;
}

/* Tarjetas premium */
.evh-bloque-ambiental,
.evh-bloque-legal {
    display: flex;
    gap: 30px;
    margin: 60px auto;
    max-width: 1100px;
    align-items: center;
}

.evh-ambiental-img img,
.evh-legal-img img {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
}

.evh-ambiental-texto,
.evh-legal-texto {
    flex: 1;
}

.evh-ambiental-btn,
.evh-legal-btn {
    display: inline-block;
    background: #003f7d;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 12px;
}

/* ============================
   MOBILE / RESPONSIVE
=============================== */

@media (max-width: 768px) {

    /* Fondo blanco definitivo */
    body.page-servicio {
        background: #ffffff !important;
        background-image: none !important;
    }

    /* Header siempre arriba */
    header.header-premium {
        position: relative !important;
        z-index: 9999 !important;
    }

    /* HERO mobile */
    .video-hero {
        height: auto !important;
        min-height: unset !important;
        margin-bottom: 40px !important;
        background: #ffffff !important;
    }

    .video-hero video {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        transform: none !important;
        background: #ffffff !important;
    }

    .hero-title {
        font-size: 28px !important;
        top: 35% !important;
        padding: 10px;
    }

    .hero-subtitle {
        font-size: 14px !important;
        top: 60% !important;
        padding: 10px;
    }

    /* Tarjetas premium */
    .evh-bloque-ambiental,
    .evh-bloque-legal {
        flex-direction: column;
        text-align: center;
        margin: 40px auto;
        padding: 0 20px;
    }

    .evh-ambiental-img img,
    .evh-legal-img img {
        max-width: 100%;
    }

    .evh-ambiental-btn,
    .evh-legal-btn {
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 18px;
    }
}

/* Móviles muy pequeños */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px !important;
    }
    .hero-subtitle {
        font-size: 13px !important;
    }
}
/* ELIMINA EL ESPACIO EN BLANCO ARRIBA DEL HERO */
.video-hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
@media (max-width: 768px) {
    .video-hero {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
/* ============================================================
   FAQ SEO
============================================================ */

.faq-seo{
    padding:80px 20px;
    background:#f5f7fa;
    margin-top:40px;
}

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

.faq-seo h2{
    text-align:center;
    font-size:2.6rem;
    font-weight:800;
    color:#004a99;
    margin-bottom:50px;
    line-height:1.2;
}

.faq-item{
    background:#ffffff;
    border-radius:12px;
    padding:28px;
    margin-bottom:22px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
    border-left:6px solid #004a99;
}

.faq-item h3{
    color:#004a99;
    font-size:1.45rem;
    font-weight:700;
    margin-bottom:15px;
    line-height:1.4;
}

.faq-item p{
    color:#444;
    font-size:1.05rem;
    line-height:1.8;
    margin:0;
}

/* MOBILE */

@media (max-width:768px){

    .faq-seo{
        padding:50px 15px;
    }

    .faq-seo h2{
        font-size:2rem;
        margin-bottom:35px;
    }

    .faq-item{
        padding:20px;
    }

    .faq-item h3{
        font-size:1.15rem;
    }

    .faq-item p{
        font-size:0.95rem;
        line-height:1.7;
    }

}
/* BLOQUE SERVICIO DESTACADO */
.evh-bloque-ambiental,
.evh-bloque-legal {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 80px auto;
    padding: 40px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* IMAGEN */
.evh-ambiental-img,
.evh-legal-img {
    flex: 0 0 42%;
}

.evh-ambiental-img img,
.evh-legal-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

/* TEXTO */
.evh-ambiental-texto,
.evh-legal-texto {
    flex: 1;
}

.evh-ambiental-texto h2,
.evh-legal-texto h2 {
    font-size: 2.4rem;
    color: #003f7d;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.evh-ambiental-texto p,
.evh-legal-texto p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 18px;
}

/* BOTÓN */
.evh-ambiental-btn,
.evh-legal-btn {
    display: inline-block;
    padding: 15px 32px;
    background: #f4c842;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: .3s ease;
}

.evh-ambiental-btn:hover,
.evh-legal-btn:hover {
    background: #ddb12d;
    transform: translateY(-2px);
}
.evh-ambiental-img,
.evh-legal-img{
    width:100%;
    height:100%;
}

.evh-ambiental-img img,
.evh-legal-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    border-radius:12px;
}
.servicios-seguridad-grid{
    max-width:1200px;
    margin:80px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:40px;
}

.servicio-card{
    background:#fff;
    border-radius:16px;
    padding:40px 25px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.servicio-card:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.servicio-icon{
    width:90px;
    height:90px;
    border-radius:50%;
    background:#f5f7fa;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 25px;
    font-size:42px;
}

.servicio-card h3{
    font-size:2rem;
    font-weight:700;
    color:#003f7d;
    margin-bottom:25px;
    line-height:1.3;
}

.btn-servicio{
    display:inline-block;
    padding:12px 24px;
    border:2px solid #003f7d;
    border-radius:30px;
    color:#003f7d;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.btn-servicio:hover{
    background:#003f7d;
    color:#fff;
}