* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #24323d;
    background: #f8fafb;
    line-height: 1.6;
}

.hero {
    min-height: 650px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.45)),
        url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=1800&q=85")
        center/cover no-repeat;
    color: white;
}

.navbar {
    max-width: 1150px;
    margin: auto;
    padding: 25px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    text-decoration: none;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 1px;
}

.menu {
    display: flex;
    gap: 28px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 15px;
}

.menu a:hover {
    text-decoration: underline;
}

.hero-content {
    max-width: 1150px;
    margin: 120px auto 0;
    padding: 0 25px;
}

.small-title,
.section-label,
.section-title p {
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: bold;
}

.hero h1 {
    font-size: clamp(45px, 7vw, 76px);
    line-height: 1.05;
    margin: 15px 0;
}

.hero-content > p:not(.small-title) {
    font-size: 19px;
    max-width: 520px;
    margin-bottom: 30px;
}

.button {
    display: inline-block;
    border: none;
    background: #e47c4b;
    color: white;
    padding: 13px 25px;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    font-size: 15px;
}

.button:hover {
    background: #c96336;
}

.section {
    max-width: 1150px;
    margin: auto;
    padding: 90px 25px;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title p,
.section-label {
    color: #e47c4b;
}

.section-title h2 {
    font-size: 38px;
    margin: 8px 0;
}

.section-title span {
    color: #687780;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
}

.card img {
    width: 100%;
    height: 230px;
    display: block;
    object-fit: cover;
}

.card-content {
    padding: 22px;
}

.card-content span {
    color: #e47c4b;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card h3 {
    font-size: 23px;
    margin: 6px 0;
}

.card p {
    color: #687780;
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: #eaf1f3;
}

.about-text {
    max-width: 520px;
    padding: 80px 40px 80px max(40px, calc((100vw - 1150px) / 2));
}

.about-text h2 {
    font-size: 40px;
    line-height: 1.15;
    margin: 12px 0 20px;
}

.about-text p:not(.section-label) {
    color: #586873;
    margin-bottom: 15px;
}

.about-image {
    height: 100%;
    min-height: 500px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-form {
    max-width: 650px;
    margin: auto;
    display: grid;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d5dde1;
    border-radius: 5px;
    padding: 14px;
    font: inherit;
    background: white;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .button {
    justify-self: start;
}

footer {
    background: #24323d;
    color: #dbe2e6;
    text-align: center;
    padding: 25px;
    font-size: 14px;
}

@media (max-width: 800px) {
    .navbar {
        flex-direction: column;
        gap: 18px;
    }

    .hero {
        min-height: 600px;
    }

    .hero-content {
        margin-top: 90px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about-text {
        padding: 65px 25px;
    }

    .about-image {
        min-height: 350px;
    }

    .section-title h2 {
        font-size: 31px;
    }
}
