* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f7f5ef;
    color: #414b40;
}

.page-title {
    text-align: center;
    font-size: 32px;
    letter-spacing: 5px;
    color: #65765f;
    margin: 35px 0 15px;
    font-weight: normal;
}

main {
    max-width: 1050px;
    margin: 30px auto 0;
    padding: 20px;
}

.about {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 25px;
    margin-bottom: 55px;
}

.about img {
    width: 230px;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
}

.about-text h1 {
    font-size: 38px;
    margin: 0 0 25px;
    color: #414b40;
}

.about-text h2 {
    font-size: 28px;
    color: #65765f;
    margin-bottom: 15px;
}

.about-text p {
    max-width: 600px;
    font-size: 19px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.heading {
    text-align: center;
    margin: 40px 0 30px;
    font-size: 30px;
    color: #414b40;
}

.works {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 35px;
}

.works img {
    width: calc(33.33% - 24px);
    height: auto;
    max-height: 380px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.contacts {
    text-align: center;
    padding: 30px;
    margin-top: 55px;
    background-color: #e9ece4;
    border-radius: 15px;
}

.contacts h2 {
    color: #65765f;
    font-size: 26px;
}

.contacts p {
    color: #666;
    font-size: 17px;
}

footer {
    text-align: center;
    padding: 25px;
    color: #888b80;
}
