/* Normal desktop :1200px. */
@media (min-width: 1200px) and (max-width: 1500px) {


}


/* Normal desktop :992px. */
@media (min-width: 992px) and (max-width: 1200px) {


}

 
/* Tablet desktop :768px. */
@media (min-width: 768px) and (max-width: 991px) {

    /* Hero: mostrar imagen de Erika en tablet */
    .slider-area .single-slider .slider-cap-wrapper .hero-img {
        display: block !important;
        width: 100% !important;
        margin-top: 20px;
        padding: 0;
    }

    .slider-area .single-slider .slider-cap-wrapper .hero-img img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        max-height: 450px;
    }

    .slider-area .single-slider .slider-cap-wrapper .hero-caption {
        width: 100% !important;
        padding: 20px 30px;
    }

    /* About Filosofía - imagen de fondo */
    .about-area .about-img {
        width: 100% !important;
        height: auto !important;
        min-height: 350px;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        background-color: #f5f5f5; /* Fondo sólido para áreas no cubiertas por la imagen */
    }

    /* About Filosofía - texto */
    .about-area .about-details {
        width: 100% !important;
        height: auto !important;
        padding: 40px 30px !important;
    }

    /* About Soluciones - imagen de fondo */
    .about-area2 .about-img2 {
        width: 100% !important;
        height: auto !important;
        min-height: 350px;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        background-color: #f5f5f5; /* Fondo sólido para áreas no cubiertas por la imagen */
    }

    /* About Soluciones - texto */
    .about-area2 .about-details2 {
        width: 100% !important;
        height: auto !important;
        padding: 40px 30px !important;
        padding-left: 30px !important;
    }
}

 
/* small mobile :320px. */
@media (max-width: 767px) {

    /* ===== HERO / SLIDER ===== */
    /* Mostrar la imagen de Erika en móvil en vez de ocultarla */
    .slider-area .single-slider .slider-cap-wrapper .hero-img {
        display: block !important;
        width: 100% !important;
        margin-top: 15px;
        overflow: visible !important;
        padding: 0;
    }

    .slider-area .single-slider .slider-cap-wrapper .hero-img img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        max-height: 400px;
    }

    .slider-area .single-slider .slider-cap-wrapper {
        flex-direction: column;
    }

    .slider-area .single-slider .slider-cap-wrapper .hero-caption {
        width: 100% !important;
        padding: 15px 20px !important;
        padding-bottom: 10px !important;
    }

    .slider-area .single-slider .slider-cap-wrapper .hero-caption p {
        padding-right: 0 !important;
        font-size: 15px !important;
    }

    .slider-area {
        padding-bottom: 30px !important;
    }

    /* ===== SECCIÓN FILOSOFÍA (about-area) ===== */
    .about-area {
        display: block !important;
    }

    .about-area .about-img {
        width: 100% !important;
        height: auto !important;
        min-height: 280px;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        background-color: #f5f5f5; /* Fondo sólido para áreas no cubiertas por la imagen */
    }

    .about-area .about-details {
        width: 100% !important;
        height: auto !important;
        padding: 30px 20px !important;
    }

    .about-area .about-details .right-caption {
        width: 100% !important;
    }

    /* ===== SECCIÓN SOLUCIONES (about-area2) ===== */
    .about-area2 {
        display: block !important;
    }

    .about-area2 .about-img2 {
        width: 100% !important;
        height: auto !important;
        min-height: 280px;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        background-color: #f5f5f5; /* Fondo sólido para áreas no cubiertas por la imagen */
    }

    .about-area2 .about-details2 {
        width: 100% !important;
        height: auto !important;
        padding: 30px 20px !important;
        padding-left: 20px !important;
    }

    .about-area2 .about-details2 .right-caption2 {
        width: 100% !important;
    }

    /* ===== SERVICIOS ===== */
    .single-services .services-img {
        overflow: visible;
    }

    .single-services .services-img img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* Mostrar caption siempre visible en móvil */
    .single-services .services-caption {
        position: relative !important;
        top: auto !important;
        transform: none !important;
        background: rgba(29, 37, 71, 0.85);
        padding: 20px 15px;
        border-radius: 0 0 13px 13px;
    }
}
 
/* Large Mobile :480px. */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .container {width:450px}

    .slider-area .single-slider .slider-cap-wrapper .hero-img img {
        width: 100%;
        max-height: 450px;
    }
}
