#o-nas {
    background-color: #fcfaf7;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.o-nas-main {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.section-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #735338;
    margin-bottom: 20px;
}

.o-nas-text h3 {
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: normal;
    color: #2b1e16;
    letter-spacing: 1px;
    margin-bottom: 50px;
}

.o-nas-text h5 {
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: normal;
    line-height: 1.45;
    color: #3d2a1e;
    margin-bottom: 35px;
}

.o-nas-text p {
    font-size: 15px;
    line-height: 1.7;
    color: #5c4d42;
    margin-bottom: 25px;
}

.o-nas-text p:last-of-type {
    margin-bottom: 40px;
}

.btn-dark {
    background-color: #2b1e16;
    margin-top: 20px;
}

.btn-dark:hover {
    background-color: #5c4d42;
}


.o-nas-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gallery-photo {
    aspect-ratio: 4 / 5;
    border-radius: 4px;
    overflow: hidden;
    background-color: transparent;

}


.gallery-photo.panorama {
    grid-column: auto;
    aspect-ratio: 4 / 5;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}


.gallery-photo:last-child {
    position: relative;
}

.gallery-photo:last-child img {
    transform: scale(1.45);
    transform-origin: center center;
    transition: transform 0.5s ease;
}

.gallery-photo:last-child:hover img {
    transform: scale(1.48);
}

.gallery-photo:hover img {
    transform: scale(1.03);
}


.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    border-top: 1px solid #e6dfd5;
    border-bottom: 1px solid #e6dfd5;
    padding: 50px 0;
}

.value-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    margin: 0 auto 20px auto;
}

.value-card h3 {
    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: normal;
    color: #2b1e16;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 13px;
    color: #6e5d4f;
    line-height: 1.5;
}


@media (max-width: 992px) {
    .o-nas-main {
        grid-template-columns: 1fr; 
        gap: 40px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 40px 20px;
    }
    
    .o-nas-text h3 { margin-bottom: 30px; }
}


@media (max-width: 600px) {
    #o-nas {
        gap: 50px;
    }

    .o-nas-text h3 { 
        font-size: 24px; 
    }

    .o-nas-text h5 { 
        font-size: 18px; 
        margin-bottom: 25px; 
    }

    .values-grid {
        grid-template-columns: 1fr; 
        gap: 35px;
        padding: 35px 0;
    }

    .o-nas-gallery {
        gap: 8px; 
    }
}