/* ============================
   MOBILE MASTER FIX (EVH STYLE)
=============================== */

/* ============================
   1) TOP INFO
=============================== */
@media (max-width: 768px) {
    .top-info {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        font-size: .82rem;
        padding: 6px 10px;
        text-align: center;
        width: 100%;
    }
    .top-info span {
        display: inline-block;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .top-info {
        font-size: .78rem;
        padding: 6px 8px;
    }
}

/* ============================
   2) HEADER + MENÚ
=============================== */
@media (max-width: 768px) {
    .header {
        padding: 6px 0;
    }

    .header .container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 6px 14px;
        gap: 0;
    }

    .logo img {
        height: 42px;
        width: auto;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0,0,0,0.85);
        backdrop-filter: blur(6px);
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        display: none;
        z-index: 999;
    }

    .nav a,
    .dropbtn {
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }
}

@media (max-width: 480px) {
    .logo img { height: 36px; }
}

/* ============================
   3) GLOBAL MOBILE
=============================== */
@media (max-width: 768px) {
    .container {
        width: 92%;
        margin: 0 auto;
        padding: 0;
    }

    .section {
        padding: 40px 0;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .section { padding: 35px 0; }
}

/* ============================
   4) TITULOS GLOBALES
=============================== */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
        line-height: 1.2;
        text-align: left;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .section-title { font-size: 1.4rem; }
    .section-subtitle { font-size: .95rem; }
}

/* ============================
   5) HERO / HOME
=============================== */
@media (max-width: 768px) {
    .home-banner {
        min-height: 300px;
        padding: 40px 20px;
    }

    .hero {
        height: auto;
        padding-bottom: 40px;
    }
}

/* ============================
   6) DOBLE CARRUSEL MÓVIL
=============================== */
@media (max-width: 768px) {

    .hero-services-menu {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 10px 4px;
        -webkit-overflow-scrolling: touch;
        width: 100% !important;
        flex-wrap: nowrap !important;
        margin-bottom: 20px;
    }

    .hero-services-menu::-webkit-scrollbar {
        display: none;
    }

    .hero-services-menu .service-item {
        min-width: 78%;
        flex: 0 0 auto;
        scroll-snap-align: center;
        border-radius: 12px;
        padding: 22px;
        background: linear-gradient(180deg, rgba(12,49,79,0.12) 0%, rgba(255,255,255,0.95) 100%);
        box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    }
}

@media (max-width: 480px) {
    .hero-services-menu .service-item {
        min-width: 85%;
        padding: 18px;
    }
}

/* ============================
   7) RESTO DE SECCIONES (igual que antes)
=============================== */
/* (Mantengo todo lo que ya tenías, sin tocar nada) */