/* public_html/assets/css/sections/servicios.css */
.section-servicios {
    padding: 100px 80px;
    background: var(--white);
}

.servicios-header {
    text-align: center;
    margin-bottom: 60px;
}

.servicios-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #2F3B4A;
    font-weight: 400;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.servicio-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
    clip-path: polygon(50px 0, 100% 0, 100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%, 0 50px);
    cursor: pointer;
}

.servicio-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    clip-path: polygon(50px 0, 100% 0, 100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%, 0 50px);
    background: #eee;
}

.servicio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.servicio-label {
    position: absolute;
    top: 0;
    right: 0;
    background: #1a1a1a;
    color: var(--white);
    padding: 20px 25px;
    width: 180px;
    z-index: 10;
    border-radius: 0 20px 0 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 35px 100%, 0 calc(100% - 35px));
}

.servicio-label h3 {
    font-family: 'Good Times', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    line-height: 1.4;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.servicio-label span {
    font-family: 'Avenir Next', 'Avenir', 'Montserrat', sans-serif;
    font-size: 10px;
    opacity: 0.6;
    text-transform: lowercase;
}

.servicio-info-overlay {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    color: var(--white);
    z-index: 5;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.servicio-card:hover .servicio-info-overlay {
    opacity: 1;
    transform: translateY(0);
}

.servicio-info-overlay p {
    font-size: 13px;
    line-height: 1.5;
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    backdrop-filter: blur(5px);
    border-radius: 8px;
}

@media (max-width: 1200px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .section-servicios {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .section-servicios {
        padding: 60px 16px;
    }

    .servicios-header {
        margin-bottom: 36px;
    }

    .servicios-header h2 {
        font-size: 34px;
    }

    .servicios-grid {
        gap: 20px;
    }

    .servicio-card {
        height: 360px;
    }

    .servicio-label {
        width: 150px;
        padding: 16px 18px;
    }

    .servicio-info-overlay {
        opacity: 1;
        transform: translateY(0);
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .servicio-info-overlay p {
        font-size: 12px;
        padding: 12px;
    }
}