/* public_html/assets/css/sections/quienes-somos.css */
.section-quienes-somos {
    padding: 120px 80px;
    background: var(--white);
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    overflow: hidden;
}

.qs-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    max-width: 500px;
    height: 550px;
    margin: 0 auto;
}

.qs-image-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    clip-path: polygon(70px 0, 100% 0, 100% calc(100% - 70px), calc(100% - 70px) 100%, 0 100%, 0 70px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.qs-image-bg {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 100%;
    height: 100%;
    background: #2F3B4A;
    /* Usando el Navy Blue corporativo */
    border-radius: 24px;
    z-index: 1;
    clip-path: polygon(70px 0, 100% 0, 100% calc(100% - 70px), calc(100% - 70px) 100%, 0 100%, 0 70px);
    opacity: 0.9;
}

.qs-text {
    flex: 1;
    max-width: 600px;
}

.qs-text h2 {
    font-size: 48px;
    margin-bottom: 32px;
    color: #2F3B4A;
    font-family: 'Playfair Display', serif;
    position: relative;
    display: inline-block;
}

.qs-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #CAA874;
    /* Gold corporativo */
}

.qs-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 24px;
    font-family: 'Avenir Next', 'Avenir', 'Montserrat', sans-serif;
    font-weight: 300;
}

.qs-text p strong {
    font-family: 'Good Times', sans-serif;
    font-size: 0.9em;
    color: #2F3B4A;
    letter-spacing: 1px;
}

.qs-btn {
    display: inline-block;
    margin-top: 32px;
    padding: 18px 48px;
    background: transparent;
    border: 1px solid #2F3B4A;
    color: #2F3B4A;
    text-decoration: none;
    font-size: 13px;
    font-family: 'Good Times', sans-serif;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 4px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.qs-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #2F3B4A;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.qs-btn:hover {
    color: var(--white);
}

.qs-btn:hover::before {
    width: 100%;
}

@media (min-width: 769px) and (max-width: 1280px) {
    .section-quienes-somos {
        flex-direction: row !important;
        align-items: center !important;
        padding: 80px 40px !important;
        gap: 50px !important;
    }

    .qs-text {
        flex: 1.2 !important;
        text-align: left !important;
        max-width: 100% !important;
    }

    .qs-text h2 {
        text-align: left !important;
    }

    .qs-text h2::after {
        left: 0 !important;
        transform: none !important;
    }

    .qs-text p {
        text-align: left !important;
        font-size: 16px !important;
        line-height: 1.7 !important;
    }

    .qs-image-container {
        flex: 1 !important;
        width: 100% !important;
        max-width: 380px !important;
        height: 420px !important;
        position: relative !important;
        margin: 0 !important;
    }

    .qs-image-main {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        z-index: 2 !important;
    }

    .qs-image-bg {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        top: 24px !important;
        left: 24px !important;
        right: auto !important;
        bottom: auto !important;
        z-index: 1 !important;
    }
}

@media (max-width: 768px) {
    .section-quienes-somos {
        flex-direction: column !important;
        padding: 60px 20px !important;
        gap: 60px !important;
    }

    .qs-image-container {
        width: 100% !important;
        max-width: 360px !important;
        height: 380px !important;
        position: relative !important;
        margin: 0 auto !important;
    }

    .qs-image-main {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        z-index: 2 !important;
    }

    .qs-image-bg {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        top: 20px !important;
        left: 20px !important;
        right: auto !important;
        bottom: auto !important;
        z-index: 1 !important;
    }

    .qs-text {
        text-align: left !important;
        width: 100% !important;
    }

    .qs-text h2 {
        font-size: 34px !important;
        display: block !important;
        text-align: left !important;
    }

    .qs-text h2::after {
        left: 0 !important;
        transform: none !important;
    }

    .qs-text p {
        font-size: 16px !important;
        line-height: 1.7 !important;
        margin-bottom: 18px !important;
        text-align: left !important;
    }

    .qs-btn {
        width: 100% !important;
        padding: 16px 20px !important;
        text-align: center !important;
        letter-spacing: 1.2px !important;
    }
}