/* style_servicios.css */

/* --- Zig-Zag Layout for Services --- */
.services-zigzag {
    padding: 6rem 0;
    overflow: hidden;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
    /* Ensure elements can be animated */
    position: relative;
}

/* Alternating layout: odd normal, even reversed */
.service-row:nth-child(even) {
    flex-direction: row-reverse;
}

.service-img-col {
    flex: 1;
    position: relative;
}

.service-img {
    width: 100%;
    /* Aspect ratio similar to reference roughly 16:9 or 3:2 */
    aspect-ratio: 16/9;
    object-fit: cover;
    /* User requested rounded corners "bordes boleados" */
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    background-color: var(--bg-card);
    /* Placeholder background */
}

.service-row:hover .service-img {
    transform: scale(1.02);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 50px rgba(0, 229, 255, 0.15);
}

.service-content-col {
    flex: 1;
    text-align: center;
    /* Reference image shows centered text relative to its column */
    padding: 2rem;
}

.service-content-col h3 {
    font-family: "Pridi", serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
    background: linear-gradient(90deg, #fff, #a0d8ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-content-col h4 {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn-service {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--accent-cyan);
    border-radius: 50px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-service:hover {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    color: #fff;
}

/* --- Responsive --- */
@media (max-width: 960px) {
    .service-row {
        flex-direction: column !important;
        /* Stack always on mobile */
        gap: 2rem;
        margin-bottom: 5rem;
        text-align: center;
    }

    .service-img-col,
    .service-content-col {
        flex: auto;
        width: 100%;
    }
}