Загрузка данных



/* Основные настройки */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #252b28;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Шапка */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 8%;
    border-bottom: 1px solid #eeeeeb;
}

.logo {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: -1.5px;
}

.logo span {
    color: #63866d;
}

.navigation {
    display: flex;
    gap: 30px;
}

.navigation a {
    font-size: 14px;
    color: #666b67;
    transition: color 0.2s;
}

.navigation a:hover {
    color: #63866d;
}

.header-button,
.main-button {
    display: inline-block;
    background: #63866d;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 14px;
    transition: background 0.2s;
}

.header-button:hover,
.main-button:hover {
    background: #4c6b55;
}

/* Главный блок */

.hero {
    padding: 100px 8% 110px;
    background: #f5f6f2;
}

.subtitle {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #63866d;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: 54px;
    line-height: 1.15;
    letter-spacing: -2px;
    max-width: 700px;
}

.hero h1 span {
    color: #63866d;
}

.hero-description {
    max-width: 450px;
    margin: 22px 0 28px;
    color: #727772;
}

.main-button {
    padding: 15px 24px;
}

/* Каталог */

.properties {
    padding: 85px 8%;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 35px;
    gap: 20px;
}

.section-heading h2,
.about h2,
.contacts h2 {
    font-size: 32px;
    line-height: 1.3;
    letter-spacing: -1px;
}

.section-heading > p {
    color: #777d78;
    font-size: 14px;
}

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

.property-card {
    border: 1px solid #eeeeeb;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

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

.property-info {
    padding: 20px;
}

.property-location {
    font-size: 12px;
    color: #63866d;
    margin-bottom: 5px;
}

.property-info h3 {
    font-size: 19px;
    margin-bottom: 15px;
}

.property-details {
    display: flex;
    gap: 18px;
    color: #777d78;
    font-size: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eeeeeb;
}

.property-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 17px;
}

.property-bottom p {
    font-size: 12px;
    color: #777d78;
}

.property-bottom strong {
    font-size: 19px;
    color: #252b28;
}

.property-bottom a {
    font-size: 12px;
    color: #63866d;
    white-space: nowrap;
}

/* О нас */

.about {
    padding: 80px 8%;
    background: #f5f6f2;
}

.about h2 {
    max-width: 600px;
    margin-bottom: 20px;
}

.about > p:last-child {
    max-width: 600px;
    color: #727772;
}

/* Контакты */

.contacts {
    padding: 80px 8%;
}

.contacts h2 {
    margin-bottom: 20px;
}

.contacts > p:not(.subtitle) {
    color: #727772;
    margin-top: 8px;
}

/* Подвал */

.footer {
    padding: 25px 8%;
    border-top: 1px solid #eeeeeb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    font-size: 12px;
    color: #777d78;
}

/* Адаптация под планшеты и телефоны */

@media (max-width: 900px) {
    .navigation {
        gap: 14px;
    }

    .property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero h1 {
        font-size: 44px;
    }
}

@media (max-width: 600px) {
    .header {
        flex-wrap: wrap;
        gap: 15px;
        padding: 18px 5%;
    }

    .navigation {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }

    .navigation a {
        font-size: 12px;
    }

    .header-button {
        padding: 9px 12px;
        font-size: 12px;
    }

    .hero {
        padding: 70px 5%;
    }

    .hero h1 {
        font-size: 36px;
    }

    .properties,
    .contacts {
        padding: 60px 5%;
    }

    .section-heading {
        display: block;
    }

    .section-heading h2,
    .about h2,
    .contacts h2 {
        font-size: 27px;
    }

    .section-heading > p {
        margin-top: 12px;
    }

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

    .about {
        padding: 60px 5%;
    }

    .footer {
        padding: 22px 5%;
        gap: 15px;
    }

    .footer .logo {
        font-size: 24px;
    }

    .footer p {
        text-align: right;
    }
}