/* RESPONSIVE */
/* Tablets y móviles grandes */
/* ==========================================================
   MOBILE FIX COMPLETO (VERSION DEFINITIVA)
   ========================================================== */
@media (max-width: 991px) {

    /* Anula comportamientos del ROW que están rompiendo el layout */
    .hero-hoja2 .row {
        display: block !important;
        align-items: flex-start !important;
        margin: 0 !important;
    }

    /* Anula paddings de Bootstrap en mobile */
    .hero-hoja2 .col-lg-6 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Ajuste del background para coincidir con el diseño */
    .hero-hoja2 .swiper-slide .slide-bg {
        height: 65vh; /* ← Ajustable si querés que suba o baje */
        background-position: top center;
    }

    /* Contenido izquierdo */
    .hero-hoja2 .slide-content-left {
        margin-top: 25px;
        margin-bottom: 10px;
        padding: 0 22px;
        text-align: left;
    }

    /* Títulos */
    .hero-hoja2 h1 {
        font-size: 2.05rem;
        line-height: 1.15;
        margin-bottom: 18px;
    }

    .hero-hoja2 p {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    /* Cuadro derecho */
    .hero-hoja2 .slide-content-right {
        margin-top: 10px;
        padding: 0 22px;
    }

    .hero-hoja2 .cuadro-derecha {
        padding: 26px 22px;
        border-radius: var(--border-corners);
        position: relative;
    }

    /* Imagen decorativa */
    .hero-hoja2 .bg-image {
        position: absolute;
        width: 52%;
        right: 0px;
        bottom: 0px; 
        opacity: .92;
    }

    /* Bullets */
    .hero-hoja2 .hoja2-pagination {
        bottom: 18px;
        gap: 10px;
    }

    .hero-hoja2 .hoja2-pagination .swiper-pagination-bullet {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* Móviles medianos */
@media (max-width: 768px) {
    .hero-hoja2 .swiper-slide .slide-bg {
        height: 58vh;
    }
}

@media (max-width: 767px) {

    /* 1. Fondo más alto */
    .hero-hoja2 .hero-bg {
        height: 620px !important;
    }
    .hero-hoja2 .hero-bg .swiper-slide,
    .hero-hoja2 .slide-bg {
        height: 620px !important;
    }

    /* 2. Bajar el contenido (más espacio con el logo) */
    .hero-hoja2 .hero-content .container {
        margin-top: 120px !important;
    }

    /* 3. OCULTAR BULLETS DEL SWIPER */
    .hero-hoja2 .hoja2-pagination {
        display: none !important;
    }

    /* Ajuste finito interior */
    .hero-hoja2 .slide-content-left,
    .hero-hoja2 .slide-content-right {
        padding-top: 10px !important;
    }
}


@media (max-width: 767px) {
    #logo {
        height: 120px;
    }

    .header.scrolled #logo {
        height: 50px;
    }

    .header a {
        color: black;
        height: 150px;
    }

    .etiqueta {
        font-size: 12px;
    }

    .slide-content h1 {
        font-size: 2.8rem !important;
    }

    .hero .info {
        flex-direction: column;
    }

    #redes-flotantes {
        display: none;
    }

    .bg-uno {
        background-size: 50%;
    }

    .card-info h3 {
        font-size: 1.8rem;
    }

    .slider,
    .slider .swiper {
        height: 60vh;
    }

    .slider .slide-content h2 {
        font-size: 2rem;
    }

    .video-box {
        min-height: 450px;
    }

    .bg-tres {
        background-size: 100%;
    }

    .swipe-icon {
        bottom: 10%;
    }

    #footer {
        background: url(../imagenes/footer.webp) no-repeat center bottom / contain, var(--title);
    }

    .footer-person-box {
        max-height: 250px;
    }

    .footer-title {
        text-align: center;
        margin-top: 20px;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-webmedia {
        margin-top: 15px;
    }

    .footer-logo {
        bottom: -25%;
    }

    .footer-title {
        font-size: 2rem;
    }

    .bg-uno,
    .bg-dos,
    .bg-tres {
        background-attachment: scroll;
    }
    .bloque7-swiper .swiper-slide {
        width: 90%;
        margin-right: 10px;
    }

  .bloque7-swiper .swiper-button-prev,
  .bloque7-swiper .swiper-button-next {
    top: auto;
    bottom: -20px;
    left: 40%;
    right: 40%;
    font-size: 2rem;
    color: black;   
    opacity: 0.45; 
  }  

    .bloque7-swiper .swiper-button-prev:hover,
    .bloque7-swiper .swiper-button-prev:active,
    .bloque7-swiper .swiper-button-prev:focus,
    .bloque7-swiper .swiper-button-next:hover,
    .bloque7-swiper .swiper-button-next:active,
    .bloque7-swiper .swiper-button-next:focus {
        opacity: 1;
    }



  .bloque7-swiper .swiper-button-prev {
    left: 5px;
  }
  .bloque7-swiper .swiper-button-next {
    right: 5px;
  }
}

/* Móviles chicos */
@media (max-width: 576px) {
    .hero-hoja2 .swiper-slide .slide-bg {
        height: 52vh;
    }
}


@media (max-width: 375px) {
    .hero-hoja2 {
        height: 132vh;
    }
}
