/* Mejoras de legibilidad para Testimonios y títulos */

/* Reducir tamaño del título "Why Choose" que es muy grande */
.feature .heading h2 {
    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

/* Agregar padding a productos para separar del borde izquierdo */
.product-item .text {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Reducir fonts grotescos en páginas dinámicas */
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    font-weight: 600 !important;
}

.page-content p,
.page-content li,
.page-content span,
.page-content div {
    font-weight: 400 !important;
}

.page-content strong,
.page-content b {
    font-weight: 600 !important;
}

/* ===== EQUAL HEIGHT CARDS: Servicios, Proyectos y Productos ===== */

/* SERVICIOS - Cards con altura igual y botón al final */
.service-carousel .owl-stage {
    display: flex !important;
}

.service-carousel .owl-item {
    display: flex !important;
    height: auto !important;
}

.service .service-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.service .service-item .text {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.service .service-item .text p {
    flex: 1 !important;
    margin-bottom: 15px !important;
}

.service .service-item .text .read-more {
    margin-top: auto !important;
}

/* PROYECTOS - Cards con altura igual y botón al final */
.project-carousel .owl-stage {
    display: flex !important;
}

.project-carousel .owl-item {
    display: flex !important;
    height: auto !important;
}

.project .project-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.project .project-item .text {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.project .project-item .text p {
    flex: 1 !important;
    margin-bottom: 15px !important;
}

.project .project-item .text .read-more {
    margin-top: auto !important;
}

.testimonial .testimonial-item .text p {
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #222222 !important;
    margin-bottom: 20px !important;
}

.testimonial .testimonial-item .text h3 {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    margin-top: 10px !important;
}

.testimonial .testimonial-item .text h4 {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #444444 !important;
}

/* Asegurar que el texto esté visible */
.testimonial .testimonial-item .text {
    position: relative !important;
    z-index: 10 !important;
    color: #ffffff !important;
}

/* Mejorar contraste del overlay */
.testimonial-bg {
    opacity: 0.88 !important;
    z-index: 1 !important;
}

/* Asegurar que el contenedor testimonial tenga z-index correcto */
.testimonial .container {
    position: relative !important;
    z-index: 5 !important;
}

/* BLOG/NOVEDADES - Cards con altura igual y botón al final */
.blog-carousel .owl-stage {
    display: flex !important;
}

.blog-carousel .owl-item {
    display: flex !important;
    height: auto !important;
}

.blog-area .blog-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.blog-area .blog-item .blog-text {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.blog-area .blog-item .blog-text p {
    flex: 1 !important;
    margin-bottom: 15px !important;
}

.blog-area .blog-item .blog-text .read-more {
    margin-top: auto !important;
}
