/* ========================================
   OTROS SERVICIOS INCLUIDOS
   ======================================== */

.otros-servicios-incluidos {
    padding: 60px 20px;
    background-color: #FFF;
}

.otros-servicios-incluidos .container {
    max-width: 1305px;
    margin: 0 auto;
}

/* Títulos */
.otros-servicios-incluidos .section-title {
    margin: 0 0 16px 0;
}

.otros-servicios-incluidos .section-subtitle {
    margin: 0 auto 40px;
    max-width: 900px;
    color: #2C2C2C;
}

/* Swiper - Visible solo en móvil y tablet (hasta 1199px) */
.servicios-swiper {
    display: block;
    padding-bottom: 0;
    overflow: visible;
    position: relative;
}

/* Grid - Oculto por defecto (se muestra solo desde 1200px) */
.servicios-grid {
    display: none;
}

/* Tarjeta de servicio */
.servicio-card {
    background-color: #F9F9F9;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    height: unset;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.servicio-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servicio-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.servicio-title {
    font-family: 'Iberdrola', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.servicio-description {
    font-family: 'Iberdrola', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
    color: var(--Color-Content-General-2, rgba(71, 71, 71, 0.80));
}

/* Contenedor de controles */
.swiper-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    position: relative;
}

/* Swiper Pagination - Contenedor con borde */
.servicios-swiper .swiper-pagination {
    position: static;
    width: auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 50px;
}

.servicios-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #D1D1D1;
    opacity: 1;
    margin: 0;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: #FFFFFF !important;
    border: 2px solid #D9D9D9 !important;
}

.servicios-swiper .swiper-pagination-bullet-active {
    background-color: #00A651;
    width: 12px;
    height: 12px;
    background: #007F33 !important;
    border-color: #007F33 !important;
}

/* Swiper Navigation - Flechas a los lados */
.servicios-swiper .swiper-button-prev,
.servicios-swiper .swiper-button-next {
    width: 48px;
    height: 48px;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 50%;
    color: #1a1a1a;
    position: static;
    margin: 0;
    transition: all 0.3s ease;
}

.servicios-swiper .swiper-button-prev:after,
.servicios-swiper .swiper-button-next:after {
    font-size: 16px;
    font-weight: 700;
    color: #2F6852;
    /* border-left: 2px solid #2F6852; */
    /* border-bottom: 2px solid #2F6852; */
}

.servicios-swiper .swiper-button-prev:hover,
.servicios-swiper .swiper-button-next:hover {
    /* background-color: #F5F5F5; */
    border-color: #2F6852;
}

.servicios-swiper .swiper-button-prev:hover:after,
.servicios-swiper .swiper-button-next:hover:after {
    /* color: #00A651; */
}

.servicios-swiper .swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ========================================
   RESPONSIVE - 360px
   ======================================== */

@media (max-width: 575px) {
    .otros-servicios-incluidos {
        padding: 20px 16px;
    }

    .otros-servicios-incluidos .section-title {
        margin-bottom: 12px;
        padding: 0;
    }

    .otros-servicios-incluidos .section-subtitle {
        margin-bottom: 32px;
    }

    .servicio-card {
        padding: 24px 20px;
        height: 211px;
    }

    .servicio-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 9px;
    }

    .servicio-title {
        font-size: 16px;
        margin-bottom: 0px;
        padding-bottom: 5px;
    }

    .servicio-description {
        font-size: 13px;
    }

    .swiper-controls {
        gap: 12px;
        margin-top: 32px;
    }

    .servicios-swiper .swiper-button-prev,
    .servicios-swiper .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .servicios-swiper .swiper-button-prev:after,
    .servicios-swiper .swiper-button-next:after {
        font-size: 14px;
    }

    .servicios-swiper .swiper-pagination {
        padding: 14px 20px;
        gap: 4px;
        width: 51% !important;
    }

    .servicios-swiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }

    .servicios-swiper .swiper-pagination-bullet-active {
        width: 10px;
        height: 10px;
    }
}

/* ========================================
   RESPONSIVE - 576px
   ======================================== */

@media (min-width: 576px) and (max-width: 767px) {
    .otros-servicios-incluidos {
        padding: 20px 44px;
        padding-top: 15px;
    }

    .otros-servicios-incluidos .section-title {
        margin: 0px 20px 16px;
    }

    .otros-servicios-incluidos .section-subtitle {
        margin: 0px 20px 36px;
    }

    .servicio-card {
        padding: 30px 22px;
        height: 210px;
    }

    .servicio-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 18px;
    }

    .servicio-title {
        font-size: 17px;
        margin-bottom: 0px;
        padding-bottom: 5px;
        height: fit-content;
    }

    .swiper-controls {
        gap: 14px;
        margin-top: 36px;
    }

    .servicios-swiper .swiper-button-prev,
    .servicios-swiper .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .servicios-swiper .swiper-pagination {
        padding: 14px 20px;
        gap: 4px;
        width: 40% !important;
    }
}

/* ========================================
   RESPONSIVE - 768px
   ======================================== */

@media (min-width: 768px) and (max-width: 991px) {
    .otros-servicios-incluidos {
        padding: 15px 17px;
    }

    .otros-servicios-incluidos .section-title {
        font-size: 24px !important;
    }

    .otros-servicios-incluidos .section-subtitle {
        margin-bottom: 24px;
    }

    .servicio-card {
        padding: 20px 14px;
        height: 194px;
        width: 293px !important;
    }

    .servicio-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 8px;
    }

    .servicio-title {
        font-size: 18px;
        padding-bottom: 4px;
        margin-bottom: 0px;
    }

    .servicio-description {
        font-size: 14px;
    }

    .swiper-controls {
        margin-top: 30px;
    }

    .servicios-swiper .swiper-button-prev,
    .servicios-swiper .swiper-button-next {
        width: 40px;
        height: 40px;
    }
    
    .servicios-swiper .swiper-pagination {
        padding: 14px 20px;
        gap: 4px;
        width: 23% !important;
    }
}

/* ========================================
   RESPONSIVE - 992px
   ======================================== */

@media (min-width: 992px) and (max-width: 1199px) {
    .otros-servicios-incluidos {
        padding: 60px 50px;
        padding-bottom: 0;
    }

    .otros-servicios-incluidos .section-title {
        font-size: 2rem !important;
        margin: 0px 36px 10px;
    }

    .otros-servicios-incluidos .section-subtitle {
        margin-bottom: 20px;
    }

    .servicio-card {
        padding: 32px 24px;
        max-width: 315px !important;
        height: 200px;
    }

    .servicio-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 8px;
    }

    .servicio-title {
        font-size: 18px;
        margin-bottom: 0px;
        padding-bottom: 4px;
    }

    .servicio-description {
        font-size: 14px;
    }

    .swiper-controls {
        margin-top: 40px;
    }

    .servicios-swiper .swiper-button-prev,
    .servicios-swiper .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .servicios-swiper .swiper-pagination {
        padding: 14px 20px;
        gap: 4px;
        width: 18% !important;
    }
}

/* ========================================
   RESPONSIVE - 1200px y superior (DESKTOP)
   ======================================== */

@media (min-width: 1200px) {
    .otros-servicios-incluidos {
        padding: 0px 40px;
    }

    .otros-servicios-incluidos .section-title {
        margin: 0 65px 20px;
    }

    .otros-servicios-incluidos .section-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* CRÍTICO: Ocultar Swiper en desktop */
    .servicios-swiper {
        display: none !important;
    }

    /* CRÍTICO: Mostrar Grid en desktop */
    .servicios-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin: 10px 40px;
    }

    .servicio-card {
        padding: 24px;
        width: 335px;
        height: 170px;
    }

    .servicio-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 8px;
    }

    .servicio-title {
        font-size: 18px;
        margin-bottom: 0rem;
        padding: 4px;
    }

    .servicio-description {
        font-size: 14px;
    }
}

@media (min-width: 1920px) {
    .otros-servicios-incluidos {
        padding: 0px 0px 35px;
    }

    .otros-servicios-incluidos .section-title {
        font-size: 36px;
    }

    .otros-servicios-incluidos .section-subtitle {
        font-size: 18px;
    }

    .servicios-grid {
        gap: 20px;
        margin: 0;
    }

    .servicio-card {
        padding: 25px 22px;
        width: 408px;
    }

    .servicio-icon {
        width: 32px;
        height: 32px;
    }

    .servicio-title {
        font-size: 20px;
    }

    .servicio-description {
        font-size: 15px;
    }
}
