:root {
    --hs-bg: #faf7ef;
    --hs-bg-soft: #f2eadc;
    --hs-card: #ffffff;
    --hs-text: #253044;
    --hs-muted: #6f7685;
    --hs-border: #e6dccb;

    --hs-primary: #2f6f73;
    --hs-primary-hover: #24585b;
    --hs-accent: #d9903d;
    --hs-accent-soft: #fff1dc;

    --hs-blue-soft: #e8f0f1;
    --hs-green-soft: #edf5e8;

    --hs-radius: 22px;
    --hs-radius-sm: 14px;
    --hs-shadow: 0 14px 34px rgba(64, 52, 35, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(180deg, #fbf8f1 0%, #faf7ef 320px, #faf7ef 100%);
    color: var(--hs-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.65;
}

button,
input,
textarea,
select,
.site-nav,
.site-footer,
.hs-btn,
.hs-card,
.hs-section__text,
.hs-hero__label,
.hs-hero__actions,
.hs-popular-card small,
.hs-empty,
.hs-search-form,
.hs-breadcrumbs {
    font-family: Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--hs-primary);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-main {
    min-height: 70vh;
}

.hs-section {
    padding: 58px 0;
}

.hs-section__head {
    max-width: 780px;
    margin-bottom: 30px;
}

.hs-section__title {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.hs-section__text {
    margin: 0;
    color: var(--hs-muted);
    font-size: 16px;
}

.hs-grid {
    display: grid;
    gap: 22px;
}

.hs-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hs-card {
    background: var(--hs-card);
    border: 1px solid var(--hs-border);
    border-radius: var(--hs-radius);
    box-shadow: var(--hs-shadow);
}

.hs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.2;
    transition: 0.2s ease;
}

.hs-btn--primary {
    background: var(--hs-primary);
    color: #fff;
}

.hs-btn--primary:hover {
    background: var(--hs-primary-hover);
    color: #fff;
}

.hs-btn--light {
    background: var(--hs-accent-soft);
    color: #8b5319;
}

.hs-btn--light:hover {
    background: #ffe3bb;
    color: #75420f;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* HERO */

.hs-hero {
    position: relative;
    padding: 72px 0 54px;
    background:
        radial-gradient(circle at 15% 20%, rgba(217, 144, 61, 0.16), transparent 28%),
        radial-gradient(circle at 86% 10%, rgba(47, 111, 115, 0.14), transparent 30%);
}

.hs-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 34px;
    align-items: center;
}

.hs-hero__label {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--hs-green-soft);
    color: var(--hs-primary);
    font-size: 14px;
    font-weight: 800;
}

.hs-hero h1 {
    max-width: 780px;
    margin: 0 0 18px;
    font-size: 56px;
    line-height: 1.03;
    letter-spacing: -0.035em;
}

.hs-hero p {
    max-width: 670px;
    margin: 0;
    color: var(--hs-muted);
    font-size: 19px;
}

.hs-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hs-hero__card {
    position: relative;
    padding: 30px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, #ffffff 0%, #fffbf4 100%);
}

.hs-hero__card::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 0;
    bottom: 18px;
    width: 5px;
    border-radius: 999px;
    background: var(--hs-accent);
}

.hs-hero__card strong {
    display: block;
    margin-bottom: 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
}

.hs-hero__card ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 20px;
    color: var(--hs-muted);
}

/* EMPTY */

.hs-empty {
    padding: 24px;
}

/* POPULAR */

.hs-popular__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.hs-popular-card {
    display: block;
    position: relative;
    min-height: 150px;
    padding: 24px;
    overflow: hidden;
    background:
        linear-gradient(180deg, #ffffff 0%, #fffbf4 100%);
}

.hs-popular-card::after {
    content: "";
    position: absolute;
    right: -26px;
    bottom: -26px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(47, 111, 115, 0.08);
}

.hs-popular-card span {
    display: block;
    margin-bottom: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
}

.hs-popular-card small {
    position: relative;
    z-index: 1;
    color: var(--hs-muted);
    font-size: 14px;
}

/* SEARCH */

.hs-search-form {
    display: flex;
    gap: 10px;
    max-width: 620px;
    margin-top: 24px;
}

.hs-search-form input {
    flex: 1;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--hs-border);
    border-radius: 999px;
    background: #fff;
    color: var(--hs-text);
    font-size: 16px;
}

.hs-search-form input:focus {
    outline: 2px solid rgba(47, 111, 115, 0.16);
    border-color: var(--hs-primary);
}

/* BREADCRUMBS */

.hs-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 18px 0 0;
    color: var(--hs-muted);
    font-size: 14px;
}

.hs-breadcrumbs a {
    color: var(--hs-primary);
    font-weight: 700;
}

.hs-breadcrumbs__sep {
    color: #b8ad9d;
}

/* MOBILE */

@media (max-width: 900px) {
    .hs-section {
        padding: 40px 0;
    }

    .hs-section__title {
        font-size: 31px;
    }

    .hs-grid--3 {
        grid-template-columns: 1fr;
    }

    .hs-hero {
        padding: 46px 0 34px;
    }

    .hs-hero__inner {
        grid-template-columns: 1fr;
    }

    .hs-hero h1 {
        font-size: 38px;
    }

    .hs-hero p {
        font-size: 17px;
    }

    .hs-popular__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hs-page-hero h1 {
        font-size: 34px;
    }

    .hs-content-layout {
        grid-template-columns: 1fr;
    }

    .hs-sidebar {
        position: static;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .hs-popular__grid {
        grid-template-columns: 1fr;
    }

    .hs-search-form {
        flex-direction: column;
    }

    .hs-content__body {
        padding: 24px 18px;
    }
}