/* Estilos para la página de Imágenes IA - actualizado */
 

/* Estilos del encabezado */
.hero-ia-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: var(--texto-claro);
    margin-bottom: 60px;
}

.hero-ia-bg {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 104, 124, 0.9) 0%, rgba(8, 129, 135, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-family: 'Inter', sans-serif;
    color: var(--texto-claro);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-family: 'Poppins', sans-serif;
}

.hero-buttons .btn {
    margin: 0 10px;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transicion);
}

.hero-buttons .btn-primary {
    background-color: var(--turquesa);
    border-color: var(--turquesa);
}

.hero-buttons .btn-outline-light {
    border-width: 2px;
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
}

/* Estilos de la sección de categorías */
.section-padding {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title .subtitle {
    display: inline-block;
    font-size: 1.1rem;
    color: var(--turquesa);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title .title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--texto-oscuro);
    font-family: 'Inter', sans-serif;
}

.title-border {
    width: 80px;
    height: 4px;
    background: var(--turquesa);
    margin: 0 auto;
    border-radius: 2px;
}

/* Tarjetas de categoría */
.categoria-card {
    border-radius: var(--borde-redondeado);
    overflow: hidden;
    box-shadow: var(--sombra);
    transition: var(--transicion);
    height: 100%;
    background: white;
    border: 1px solid rgba(13, 104, 124, 0.1);
}

.categoria-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--sombra-hover);
    border-color: rgba(13, 104, 124, 0.2);
}

.categoria-img {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.categoria-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.categoria-card:hover .categoria-img img {
    transform: scale(1.05);
}

/* Estilos para el overlay de las tarjetas */
.categoria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 104, 124, 0.95) 0%, rgba(13, 104, 124, 0.7) 50%, rgba(13, 104, 124, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transicion);
    backdrop-filter: blur(2px);
}

.categoria-card:hover .categoria-overlay {
    opacity: 1;
}

.categoria-overlay h3 {
    color: var(--texto-claro);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: var(--transicion);
}

.categoria-card:hover .categoria-overlay h3 {
    transform: translateY(0);
}

/* Estilos para los botones en el overlay */
.categoria-overlay .btn {
    align-self: flex-start;
    background: var(--degradado-turquesa);
    color: var(--texto-claro);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: var(--transicion);
    box-shadow: 0 4px 15px rgba(13, 104, 124, 0.3);
    margin-top: 15px;
    display: inline-block;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.categoria-overlay .btn:hover {
    background: var(--degradado-turquesa-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 104, 124, 0.4);
}

/* Estilos de la galería */
.filtros-galeria {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 40px 0;
}

.filtro-btn {
    background: transparent;
    border: 2px solid var(--turquesa);
    color: var(--turquesa);
    padding: 8px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transicion);
    cursor: pointer;
    margin: 5px;
    font-family: 'Poppins', sans-serif;
}

/* Estilos para los botones de filtro */
.filtro-btn {
    background: white;
    color: var(--turquesa);
    border: 2px solid var(--turquesa);
    padding: 8px 20px;
    margin: 0 5px 10px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transicion);
    cursor: pointer;
    outline: none;
}

.filtro-btn:hover, .filtro-btn.active {
    background: var(--degradado-turquesa);
    color: var(--texto-claro);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 104, 124, 0.3);
    border-color: transparent;
}

/* Estilos de las tarjetas de imagen */
.imagen-ia-card {
    border-radius: var(--borde-redondeado);
    overflow: hidden;
    box-shadow: var(--sombra);
    transition: var(--transicion);
    height: 100%;
    background: white;
    border: 1px solid rgba(13, 104, 124, 0.1);
}

.imagen-ia-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--sombra-hover);
    border-color: rgba(13, 104, 124, 0.2);
}

.imagen-ia-img {
    position: relative;
    padding-top: 70%;
    overflow: hidden;
}

.imagen-ia-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.imagen-ia-card:hover .imagen-ia-img img {
    transform: scale(1.05);
}

.imagen-ia-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 104, 124, 0.95) 0%, rgba(13, 104, 124, 0.7) 50%, rgba(13, 104, 124, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transicion);
    backdrop-filter: blur(2px);
}

.imagen-ia-card:hover .imagen-ia-overlay {
    opacity: 1;
}

.imagen-ia-text h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.imagen-ia-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Sección de Beneficios */
.beneficios-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.beneficio-card {
    background: white;
    border-radius: var(--borde-redondeado);
    padding: 40px 30px;
    height: 100%;
    box-shadow: var(--sombra);
    transition: var(--transicion);
    border: 1px solid rgba(13, 104, 124, 0.1);
    text-align: center;
}

.beneficio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-hover);
}

.beneficio-icono {
    width: 80px;
    height: 80px;
    background: var(--degradado-turquesa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(13, 104, 124, 0.2);
}

.beneficio-card h3 {
    color: var(--turquesa-oscuro);
    margin-bottom: 15px;
    font-weight: 700;
}

.beneficio-card p {
    color: #666;
    line-height: 1.7;
}

/* Efecto de onda decorativo */
.wave-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-shape svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.wave-shape .shape-fill {
    fill: #FFFFFF;
}
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.imagen-ia-card {
    border-radius: var(--borde-redondeado);
    overflow: hidden;
    box-shadow: var(--sombra);
    transition: var(--transicion);
    background: var(--fondo-claro);
}

.imagen-ia-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(13, 104, 124, 0.2);
}

.imagen-ia-img {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* Relación de aspecto 4:3 */
}

.imagen-ia-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.imagen-ia-card:hover .imagen-ia-img img {
    transform: scale(1.05);
}

.imagen-ia-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 104, 124, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transicion);
    padding: 20px;
    text-align: center;
}

.imagen-ia-card:hover .imagen-ia-overlay {
    opacity: 1;
}

.imagen-ia-text {
    color: var(--texto-claro);
    transform: translateY(20px);
    transition: var(--transicion);
}

.imagen-ia-card:hover .imagen-ia-text {
    transform: translateY(0);
}

.imagen-ia-text h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.imagen-ia-text p {
    margin-bottom: 20px;
    opacity: 0.9;
    font-family: 'Poppins', sans-serif;
}

.imagen-ia-text .btn {
    background: var(--texto-claro);
    color: var(--turquesa);
    border: none;
    padding: 8px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transicion);
    text-decoration: none;
    display: inline-block;
}

.imagen-ia-text .btn:hover {
    background: var(--turquesa-oscuro);
    color: var(--texto-claro);
}

/* Estilos de la sección de información */
#info-ia {
    padding: 100px 0;
    background: var(--fondo-claro);
}

#info-ia h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--texto-oscuro);
    font-family: 'Inter', sans-serif;
}

#info-ia p.lead {
    font-size: 1.25rem;
    color: var(--texto-oscuro);
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

#info-ia ul {
    margin: 2rem 0;
    padding-left: 0;
    list-style: none;
}

#info-ia ul li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    color: var(--texto-oscuro);
    font-family: 'Poppins', sans-serif;
}

#info-ia ul li i {
    margin-right: 10px;
    font-size: 1.2rem;
    color: var(--turquesa);
}

/* Estilos responsivos */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title .title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    .section-title .title {
        font-size: 2rem;
    }
    
    .grid-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 767.98px) {
    .hero-bg {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin: 5px;
    }
    
    .section-title .title {
        font-size: 1.8rem;
    }
    
    .filtros-galeria {
        flex-direction: column;
        align-items: center;
    }
    
    .filtro-btn {
        width: 80%;
        margin: 5px 0;
    }
    
    .grid-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title .title {
        font-size: 1.6rem;
    }
    
    .section-title .subtitle {
        font-size: 0.9rem;
    }
    
    .filtro-btn {
        width: 80%;
        margin: 5px 0;
    }
}

/* --- Estilos adicionales para el rediseño --- */
 
/* Hero Section */
.hero-section-ia {
    position: relative;
    min-height: 90vh;
    background: var(--degradado-sintesia);
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    padding: 120px 0 80px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.portfolio-container {
    position: relative;
    height: auto !important;
    min-height: 200px;
}

.hero-container {
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 700px;
    z-index: 10;
    margin-bottom: 30px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p.subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.text-shadow {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.btn-hero {
    font-size: 1.1rem;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    background-color: var(--turquesa); /* Azul petróleo como en index */
    color: white;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background: var(--degradado-sintesia);
    color: white;
}

.hero-image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 20px;
    z-index: 10;
    padding: 15px;
    position: relative;
}

.hero-img-container {
    perspective: 1000px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    height: 250px;
}

.caja-hero:nth-child(1) {
    grid-column: 1 / span 2;
    transform: translateY(15px);
}

.caja-hero:nth-child(2) {
    grid-column: 2 / span 2;
    transform: translateY(-20px);
}

.caja-hero:nth-child(3) {
    grid-column: 1 / span 3;
    transform: translateY(0);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: contrast(1.1) brightness(1.05);
}

.hero-img:hover {
    transform: scale(1.08);
    filter: contrast(1.2) brightness(1.1);
}

/* Media queries para responsividad */
@media (max-width: 992px) {
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-img-container {
        height: 180px;
    }
    
    .hero-img-container:nth-child(1),
    .hero-img-container:nth-child(2),
    .hero-img-container:nth-child(3) {
        grid-column: span 1;
        transform: translateY(0);
    }
}

/* Check List */
.check-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.check-list li {
    position: relative;
    padding: 8px 38px 8px 38px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    transition: transform 0.3s ease;
    background: #ffffff3d;
    border-radius: 10px;
    box-shadow: 0 12px 40px 0 rgba(239, 150, 10, 0.09);
    color: var(--cnvs-themecolor);
}

.check-item:hover {
    transform: translateX(5px);
}

.check-list li i {
    position: absolute;
    left: 1%;
    top: 20px;
    color: var(--turquesa);
    font-size: 22px;
    transition: all 0.3s ease;
}

.check-item:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}


/* Ventajas Clave - Nueva versión */
.section-header-jp {
    margin-bottom: 30px;
}

.section-header-jp .pre-title {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.title-separator-gradient {
    height: 4px;
    width: 80px;
    margin: 15px 0;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.feature-image-container {
    position: relative;
    padding: 10px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.feature-image {
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.feature-image-container:hover .feature-image {
    transform: scale(1.03);
}

.feature-image-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ventajas-cards {
    margin-top: 50px;
}

.ventaja-card {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ventaja-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(var(--accent-color-rgb), 0.7) 0%, rgba(var(--secondary-color-rgb), 0.7) 100%);
    z-index: 2;
    opacity: 0.85;
}

.ventaja-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    background-color: rgba(255, 255, 255, 0.95);
}

.ventaja-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--turquesa);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.ventaja-card-icon i {
    font-size: 36px;
    color: white;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.ventaja-card:hover .ventaja-card-icon {
    transform: scale(1.1);
    background: rgba(var(--accent-color-rgb), 0.18);
    box-shadow: 0 8px 20px rgba(var(--accent-color-rgb), 0.3);
}

.ventaja-card:hover .ventaja-card-icon i {
    transform: rotate(360deg);
    color: var(--turquesa);
    transition: all 0.7s ease;
}

.ventaja-card-img {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    max-height: 150px;
}

.ventaja-card-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ventaja-card:hover .ventaja-card-img {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.ventaja-card:hover .ventaja-card-img img {
    transform: scale(1.1);
}



.proceso-card-img {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    max-height: 100px;
}

.proceso-card-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.proceso-card:hover .proceso-card-img {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.proceso-card:hover .proceso-card-img img {
    transform: scale(1.1);
}

 .entrega_img img {
    position: relative;
    top: -30%;
 }


/* Estilo unificado para badges de pre-título */
.pre-title-badge {
    display: inline-block;
    background-color: rgba(255,255,255,0.9);
    color: var(--turquesa);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.pre-title-badge i {
    margin-right: 8px;
    color: var(--accent-color);
}

.pre-title-badge span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--turquesa);
    text-transform: uppercase;
}


.pre-title-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
 

.ventaja-card:hover .ventaja-card-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(var(--accent-color-rgb), 0.25);
}

@keyframes subtle-pulse {
    0% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 8px 20px rgba(var(--accent-color-rgb), 0.25);
    }
    100% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }
}

.ventaja-card-body {
    padding: 20px 25px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ventaja-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.2px;
}

.ventaja-card-body p {
    margin-bottom: 20px;
    color: var(--dark-text);
    flex-grow: 1;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
}

.ventaja-card-link {
    display: inline-block;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: auto;
    text-align: center;
    width: 100%;
    padding: 10px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--turquesa-light);
    border-radius: 10px;
}

.ventaja-card-link i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.ventaja-card-link:hover {
    color: var(--secondary-color);
}

.ventaja-card-link:hover i {
    transform: translateX(5px);
    opacity: 1;
}

.btn-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-with-icon i {
    transition: transform 0.3s ease;
}

.btn-with-icon:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .feature-image-container {
        margin-top: 30px;
    }
    
    .feature-image-badge {
        bottom: 20px;
        right: 20px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* Títulos y texto para las nuevas secciones */
.section-title-jp {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--turquesa); /* Color de título oficial */
    font-size: 2.0rem;
    margin-bottom: 1rem;
}

.section-title-jp-light {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #fff; /* Títulos en secciones oscuras */
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.lead-jp {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.lead-jp-light {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
}

/* Efectos de texto */
.text-shadow {
    text-shadow: var(--text-shadow);
}

.text-shadow-sm {
    text-shadow: var(--text-shadow-sm);
}

/* Efectos para tarjetas */
.card.glass-effect-dark {
    background: var(--glass-bg-dark);
    border: 1px solid var(--glass-border-dark);
    backdrop-filter: blur(10px);
    color: var(--texto-claro);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.card.glass-effect-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card-title-jp-light {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 1.25rem;
}

.card-text-jp-light {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* Estilos para imágenes con hover */
img.hover-scale {
    transition: transform 0.4s ease;
}

img.hover-scale:hover {
    transform: scale(1.05);
}

/* Icon Boxes para ventajas */
.icon-box-jp {
    padding: 30px;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    z-index: 1;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-box-jp .icon-jp {
    margin-bottom: 20px;
    padding-top: 10px;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    font-size: 36px;
    line-height: 1;
    color: var(--turquesa); /* Color de icono oficial */
}

.icon-box-jp .title-jp {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
}

.icon-box-jp .title-jp a {
    color: #222;
    text-decoration: none;
}

.icon-box-jp .description-jp {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

.icon-box-jp:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(68, 88, 144, 0.2);
}


/* === Estilos para Sección 5: Proceso Creativo con IA (Timeline) === */
.timeline-jp {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-jp::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--turquesa-claro, #088187); /* Usar variable CSS o fallback */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item-jp {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item-jp:nth-child(odd) {
    left: 0;
}

.timeline-item-jp:nth-child(even) {
    left: 50%;
}

/* Círculo en la línea de tiempo */
.timeline-item-jp::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--dark-bg, #1a1a2e); /* Fondo de la sección */
    border: 4px solid var(--turquesa-claro, #088187);
    top: 28px; /* Ajustar para centrar con el título o ícono */
    border-radius: 50%;
    z-index: 1;
}

.timeline-item-jp:nth-child(even)::after {
    left: -10px;
}

.timeline-content-jp {
    padding: 25px 30px;
    background-color: var(--glass-bg-dark, rgba(255, 255, 255, 0.05)); /* Efecto glass */
    border: 1px solid var(--glass-border-dark, rgba(255, 255, 255, 0.2));
    backdrop-filter: blur(8px);
    position: relative;
    border-radius: var(--borde-redondeado, 12px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.timeline-content-jp-left {
    margin-right: 20px;
}
.timeline-content-jp-right {
    margin-left: 20px;
}

.timeline-icon-jp {
    font-size: 1.8rem;
    color: var(--turquesa-claro, #088187);
    margin-bottom: 10px;
    display: inline-block;
    background-color: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
}

.timeline-title-jp {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: #fff; /* Texto claro en sección oscura */
    margin-bottom: 8px;
}

.timeline-text-jp {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85); /* Texto claro en sección oscura */
}






/* Estilos para la galería de imágenes con IA */
 /* Galería Rotativa Mejorada */
.gallery-rotativa-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 4rem 0;

}

.gallery-rotativa-row {
    display: flex;
    width: 100%;
    margin: 0 0;
    position: relative;
    min-height: 350px;
    align-items: center;
}

.gallery-rotativa-track {
    display: flex;
    animation: scroll 120s linear infinite;
    will-change: transform;
    gap: 1px;
    padding: 0 15px;
}

.gallery-rotativa-row-bottom .gallery-rotativa-track {
    animation-direction: reverse;
}

.gallery-rotativa-item {
    flex: 0 0 auto;
    border-radius: 3px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 400px;
    min-width: 800px;
    position: relative;
    cursor: pointer;
}

.gallery-rotativa-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-rotativa-item:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.gallery-rotativa-item:hover .gallery-rotativa-img {
    transform: scale(1.05);
}

.gallery-rotativa-row:hover .gallery-rotativa-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Estilos para el lightbox */
.lightbox {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.9);
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
    opacity: 1;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none; /* Mejora el comportamiento táctil */
}


.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #ff6b6b;
}

/* Ajustes responsivos */
@media (max-width: 1200px) {
    .gallery-rotativa-item {
        min-width: 600px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .gallery-rotativa-item {
        min-width: 400px;
        height: 200px;
    }
    
    .gallery-rotativa-container {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    .gallery-rotativa-item {
        min-width: 300px;
        height: 180px;
    }
}


/* === Estilos para Sección 6: CTA Final Imágenes IA === */
#cta-imagenes-ia .btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

#cta-imagenes-ia .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

#cta-imagenes-ia .btn-primary {
    background-color: var(--turquesa, #0D687C);
    border-color: var(--turquesa, #0D687C);
}
#cta-imagenes-ia .btn-primary:hover {
    background-color: var(--turquesa-oscuro, #0a5467);
    border-color: var(--turquesa-oscuro, #0a5467);
}

#cta-imagenes-ia .btn-success { /* Para WhatsApp */
    background-color: #25D366;
    border-color: #25D366;
}
#cta-imagenes-ia .btn-success:hover {
    background-color: #1DAE50;
    border-color: #1DAE50;
}

/* Ajustes para asegurar que los títulos de sección JP tengan el color correcto */
.bg-pastel .section-title-jp {
    color: var(--turquesa); /* Título principal en secciones claras */
}
.bg-pastel .lead-jp {
    color: #555; /* Texto lead en secciones claras */
}

.dark-section .section-title-jp-light {
    color: #fff; /* Título principal en secciones oscuras */
}
.dark-section .lead-jp-light {
    color: rgba(255,255,255,0.85); /* Texto lead en secciones oscuras */
}
 

/* ===== Estilos para el Slider de Comparación ===== */
#comparacion-ia {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.comparison-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    height: 500px; /* Altura fija para el slider */
}

.comparison-slider img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.comparison-before,
.comparison-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.comparison-before {
    width: 90%;
    z-index: 2;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

.comparison-after {
    width: 100%;
}

.comparison-label {
    position: absolute;
    top: 20px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-before .comparison-label {
    left: 20px;
}

.comparison-after .comparison-label {
    right: 20px;
}

.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 90%;
    width: 4px;
    background: white;
    cursor: ew-resize;
    z-index: 3;
    transform: translateX(-50%);
}

.comparison-handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.5);
    transform: translateX(-50%);
}

.comparison-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.comparison-handle-circle:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.comparison-before img,
.comparison-after img {
    transition: opacity 0.3s ease-in-out;
}
 

/* móviles */
  
/* Responsive Timeline */

/* Estilos respnsivos adicionales para nuevas secciones */
@media (max-width: 991.98px) {
    .section-title-jp, .section-title-jp-light {
        font-size: 2rem;
    }
    
} 

@media screen and (max-width: 768px) {

    .gallery-rotativa-row {       
        min-height: auto;
    }

    .timeline-jp::after {
        left: 20px; /* Mover línea a la izquierda */
    }
    .timeline-item-jp {
        width: 100%;
        padding-left: 50px; /* Espacio para la línea e ícono */
        padding-right: 10px;
    }
    .timeline-item-jp:nth-child(odd),
    .timeline-item-jp:nth-child(even) {
        left: 0;
    }
    .timeline-item-jp::after { /* Mover círculo a la izquierda */
        left: 10px !important;
    }
    .timeline-content-jp-left, .timeline-content-jp-right {
        margin-left: 0;
        margin-right: 0;
    }
    .comparison-slider {
        height: 250px;
    }
    
    .comparison-label {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .comparison-handle-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .section-title-jp, .section-title-jp-light {
        font-size: 1.8rem;
    }
    .icon-box-jp {
        padding: 20px;
    }
    .icon-box-jp .icon-jp {
        font-size: 30px;
    }
     
}



@media (max-width: 480px) {
     
}
