:root {
    --blue: #0032C8;
    --light-blue: #64C2FF;
    --white: #FFFFFF;
    --text: #111111;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.5;

    color: var(--text);
    background: var(--white);
}

body.menu-open {
    overflow: hidden;
}

p {
    font-size: 16px;
}


img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

.page {
    width: 100%;
    overflow: hidden;
}



.header {
    position: fixed;

    top: 0;
    left: 0;

    z-index: 1000;

    width: 100%;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid rgba(0, 50, 200, 0.08);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header__container {
    width: 100%;
    max-width: 1300px;

    min-height: 80px;

    margin: 0 auto;
    padding: 10px 30px;

    display: flex;
    align-items: center;
}



.header__logo {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
}

.header__logo img {
    width: auto;
    height: 54px;
}



.header__nav {
    display: flex;
    align-items: center;

    margin-left: 55px;

    gap: 32px;
}

.header__nav-link {
    position: relative;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.header__nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--blue);

    transition: width 0.2s ease;
}

.header__nav-link:hover {
    color: var(--blue);
}

.header__nav-link:hover::after {
    width: 100%;
}



.header__phones {
    position: relative;

    margin-left: auto;

    flex: 0 0 auto;
}

.header__phone-toggle {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 10px 0;

    border: 0;

    background: transparent;

    color: var(--text);

    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;

    white-space: nowrap;

    cursor: pointer;
}

.header__phone-arrow {
    width: 8px;
    height: 8px;

    border-right: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);

    transform: rotate(45deg);

    transition: transform 0.2s ease;
}

.header__phones.is-open .header__phone-arrow {
    transform: rotate(225deg);
}


.header__phone-dropdown {
    position: absolute;

    top: calc(100% + 8px);
    right: 0;

    min-width: 290px;

    padding: 10px 0;

    background: var(--white);

    border-radius: 10px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.header__phones.is-open .header__phone-dropdown {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.header__phone-dropdown a {
    display: block;

    padding: 9px 18px;

    font-size: 14px;
    line-height: 1.3;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.header__phone-dropdown a:hover {
    color: var(--blue);

    background: rgba(100, 194, 255, 0.12);
}


.header__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    margin-left: 25px;
    padding: 0 23px;

    background: var(--blue);
    color: var(--white);

    border-radius: 7px;

    font-size: 15px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.header__button:hover {
    background: #0028A0;

    transform: translateY(-1px);
}



.header__burger {
    display: none;

    width: 44px;
    height: 44px;

    margin-left: auto;
    padding: 10px;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.header__burger span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    background: var(--blue);

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.header__burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__burger.is-open span:nth-child(2) {
    opacity: 0;
}

.header__burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}



.mobile-menu {
    display: none;
}



.hero {
    position: relative;

    width: 100%;
    min-height: 680px;

    background-image: url("../images/hero-winter.webp");

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;

    overflow: hidden;

    isolation: isolate;
}



.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -2;

    background: transparent;

    pointer-events: none;
}


.hero::after {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    z-index: -1;

    background: linear-gradient(
        90deg,
        #052891 10%,
        rgba(255, 255, 255, 0.68) 55%,
        rgba(255, 255, 255, 0.38) 72%,
        rgba(255, 255, 255, 0.10) 82%,
        rgba(255, 255, 255, 0) 100%
    );

    pointer-events: none;
}



.hero__container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1300px;

    min-height: 680px;

    margin: 0 auto;
    padding: 100px 30px 70px;

    display: flex;
    align-items: center;
}



.hero__content {
    position: relative;
    z-index: 2;

    width: 780px;
    max-width: 780px;
}



.hero__label {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;

    letter-spacing: 2px;
}



.hero__title {
    margin: 0 0 16px;

    color: #ffffff;

    font-size: clamp(48px, 5vw, 55px);
    line-height: 0.98;
    font-weight: 600;

    letter-spacing: -1.5px;
}



.hero__description {
    margin: 0 0 28px;

    color: #ffffff;

    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}



.hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 24px;

    min-height: 48px;

    padding: 0 22px;

    background: #0028a0;
    color: var(--white);

    border-radius: 7px;

    font-size: 15px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.hero__button:hover {
    background: #0028A0;

    transform: translateY(-1px);
}

.hero__button-arrow {
    font-size: 21px;
    line-height: 1;
    font-weight: 400;

    transition: transform 0.2s ease;
}

.hero__button:hover .hero__button-arrow {
    transform: translateX(4px);
}



.hero__slogan {
    position: absolute;
    z-index: 2;

    right: 7%;
    top: 67%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    transform: translateY(-50%) rotate(-5deg);

    color: var(--white);

    font-size: clamp(27px, 2.5vw, 38px);
    line-height: 1.05;
    font-weight: 500;
    font-style: italic;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero__slogan::after {
    content: "";

    width: 125px;
    height: 3px;

    margin-top: 12px;

    background: var(--white);

    border-radius: 50%;

    transform: rotate(-5deg);
}



.national-parks {
    position: relative;

    width: 100%;

    padding: 90px 0 100px;

    background: #F7FCFF;

    scroll-margin-top: 80px;
}



.national-parks__container {
    width: 100%;
    max-width: 1300px;

    margin: 0 auto;
    padding: 0 30px;
}



.national-parks__intro {
    width: 100%;
    max-width: 850px;

    margin-bottom: 45px;
}

.national-parks__label {
    margin-bottom: 20px;

    color: var(--blue);

    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;

    letter-spacing: 4px;
}

.national-parks__title {
    margin: 0 0 24px;

    color: var(--blue);

    font-size: 56px;
    line-height: 1.05;
    font-weight: 600;

    letter-spacing: -1.5px;
}

.national-parks__description {
    max-width: 800px;

    margin: 0;

    color: #021d38;

    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
}



.national-parks__cards {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

    width: 100%;
}



.national-park-card {
    position: relative;

    display: block;

    width: 100%;
    height: 440px;

    overflow: hidden;

    border-radius: 14px;

    background: #DCECF5;

    box-shadow:
        0 5px 20px rgba(0, 50, 200, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.national-park-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 14px 30px rgba(0, 50, 200, 0.16);
}


.national-park-card img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.national-park-card:hover img {
    transform: scale(1.04);
}


.national-park-card__overlay {
    position: absolute;

    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0.12) 50%,
        rgba(0, 0, 0, 0.82) 100%
    );
}


.national-park-card__content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 2;

    height: 115px;

    padding: 18px 20px 20px;

    color: var(--white);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.national-park-card__type {
    display: block;

    flex: 0 0 18px;

    height: 18px;

    margin: 0 0 7px;

    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
}

.national-park-card__title {
    display: block;

    margin: 0;

    font-size: 20px;
    line-height: 1.15;
    font-weight: 700;
}


.sanatoriums {
    width: 100%;

    padding: 90px 0 100px;

    background: #FFFFFF;

    scroll-margin-top: 80px;
}

.sanatoriums__container {
    width: 100%;
    max-width: 1300px;

    margin: 0 auto;
    padding: 0 30px;
}



.sanatoriums__intro {
    width: 100%;

    margin-bottom: 42px;
}

.sanatoriums__label {
    margin-bottom: 18px;

    color: var(--blue);

    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;

    letter-spacing: 4px;
}

.sanatoriums__title {
    margin: 0 0 20px;

    color: var(--blue);

    font-size: 52px;
    line-height: 1.08;
    font-weight: 600;

    letter-spacing: -1.2px;
}

.sanatoriums__description {
    max-width: 850px;

    margin: 0;

    color: #021d38;

    font-size: 16px;
    line-height: 1.6;
}


.sanatoriums__cards {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

    width: 100%;
}


.sanatorium-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background: #FFFFFF;

    border: 1px solid #DCEAF3;
    border-radius: 12px;

    box-shadow:
        0 4px 18px rgba(0, 50, 200, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.sanatorium-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 28px rgba(0, 50, 200, 0.12);
}


.sanatorium-card__image {
    width: 100%;

    aspect-ratio: 1.55 / 1;

    overflow: hidden;

    background: #E8F3F9;
}

.sanatorium-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;
}

.sanatorium-card:hover .sanatorium-card__image img {
    transform: scale(1.04);
}


.sanatorium-card__content {
    display: flex;
    flex-direction: column;

    min-height: 255px;

    padding: 22px 20px 20px;
}


.sanatorium-card__title {
    min-height: 52px;

    margin: 0 0 15px;

    color: var(--blue);

    font-size: 19px;
    line-height: 1.25;
    font-weight: 700;
}


.sanatorium-card__location {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 13px;

    color: #021d38;

    font-size: 13px;
    line-height: 1.3;
}

.sanatorium-card__location-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 16px;
    height: 18px;

    flex: 0 0 16px;
}

.sanatorium-card__location-icon svg {
    width: 16px;
    height: 18px;

    fill: none;

    stroke: var(--blue);

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.sanatorium-card__description {
    margin: 0;

    color: #021d38;

    font-size: 14px;
    line-height: 1.55;
}


.sanatorium-card__link {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    margin-top: auto;

    color: var(--blue);

    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;

    transition: gap 0.2s ease;
}

.sanatorium-card__link span {
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
}

.sanatorium-card__link:hover {
    gap: 13px;
}


.contact-section {
    position: relative;

    width: 100%;
    min-height: 520px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-image: url("../images/contact-bg.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    scroll-margin-top: 80px;
}


.contact-section__overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.48) 0%,
            rgba(0, 0, 0, 0.28) 45%,
            rgba(0, 0, 0, 0.12) 100%
        );

    pointer-events: none;
}


.contact-section__container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1300px;

    margin: 0 auto;
    padding: 65px 30px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;

    column-gap: 65px;

    align-items: center;
}


.contact-section__left {
    min-width: 0;
}

.contact-section__label {
    margin-bottom: 10px;

    color: #FFFFFF;

    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.contact-section__title {
    max-width: 650px;

    margin: 0 0 28px;

    color: #FFFFFF;

    font-size: 42px;
    line-height: 1.08;
    font-weight: 700;

    letter-spacing: -0.8px;
}


.contact-section__contacts {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px 28px;

    max-width: 800px;
}

.contact-city {
    display: flex;
    flex-direction: column;

    min-width: 0;
}

.contact-city__title {
    margin-bottom: 7px;

    color: #FFFFFF;

    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
}

.contact-city a {
    display: block;

    width: fit-content;
    max-width: 100%;

    margin-bottom: 4px;

    color: #FFFFFF;

    font-size: 16px;
    line-height: 1.4;

    text-decoration: none;

    transition: opacity 0.2s ease;
}

.contact-city a:hover {
    opacity: 0.7;
}


.contact-form {
    width: 100%;

    padding: 20px;

    background: #FFFFFF;

    border-radius: 14px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.18);
}

.contact-form form {
    display: flex;
    flex-direction: column;

    gap: 8px;
}


.contact-form__field {
    position: relative;

    width: 100%;
}

.contact-form input,
.contact-form select {
    width: 100%;
    height: 42px;

    padding: 0 14px;

    border: 1px solid #DCEAF3;
    border-radius: 22px;

    background: #FFFFFF;

    color: #333333;

    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    line-height: 1;

    outline: none;

    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-form input::placeholder {
    color: #8BA7BC;
}

.contact-form input:focus,
.contact-form select:focus {
    border-color: #64C2FF;

    box-shadow:
        0 0 0 3px rgba(100, 194, 255, 0.15);
}


.contact-form select {
    appearance: none;

    padding-right: 42px;

    color: #8BA7BC;

    cursor: pointer;
}

.contact-form__arrow {
    position: absolute;

    top: 50%;
    right: 16px;

    transform: translateY(-50%);

    color: var(--blue);

    font-size: 15px;
    line-height: 1;

    pointer-events: none;
}


.contact-form__submit {
    width: 100%;
    height: 42px;

    margin-top: 3px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border: none;
    border-radius: 22px;

    background: #0032C8;

    color: #FFFFFF;

    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.contact-form__submit:hover {
    background: #0029A5;

    transform: translateY(-1px);
}

.contact-form__submit span {
    font-size: 17px;
    line-height: 1;
}


.site-footer {
    width: 100%;

    background: #FFFFFF;

    border-top: 1px solid #E7F0F6;
}


.site-footer__container {
    width: 100%;
    max-width: 1300px;

    min-height: 115px;

    margin: 0 auto;
    padding: 25px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;
}


.site-footer__brand {
    display: flex;
    align-items: center;

    gap: 22px;
}


.site-footer__logo {
    display: flex;
    align-items: center;

    text-decoration: none;
}


.site-footer__logo img {
    display: block;

    width: 145px;
    height: auto;
}


.site-footer__divider {
    width: 1px;
    height: 48px;

    background: #0032C8;
}


.site-footer__text {
    display: flex;
    flex-direction: column;

    gap: 5px;

    color: #0032C8;

    font-size: 16px;
    line-height: 1.35;
}


.site-footer__text strong {
    font-weight: 600;
}


.site-footer__text span {
    font-weight: 400;
}


.site-footer__social {
    display: flex;
    align-items: center;

    gap: 12px;
}


.site-footer__social-link {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #DCEAF3;
    border-radius: 50%;

    color: #0032C8;

    text-decoration: none;

    box-sizing: border-box;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.site-footer__social-link svg {
    width: 20px;
    height: 20px;

    display: block;

    fill: currentColor;
}


.site-footer__social-link:nth-child(2) svg rect {
    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;
}

.site-footer__social-link:nth-child(2) svg circle {
    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;
}

.site-footer__social-link:nth-child(2) svg .instagram-dot {
    fill: currentColor;

    stroke: none;
}


.site-footer__social-link:hover {
    background: #0032C8;

    border-color: #0032C8;

    color: #FFFFFF;

    transform: translateY(-2px);
}

@media (max-width: 1200px) {

    .header__container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .header__nav {
        margin-left: 35px;
        gap: 20px;
    }

    .header__nav-link {
        font-size: 14px;
    }

    .header__phone-toggle {
        font-size: 14px;
    }

    .header__button {
        margin-left: 18px;
        padding: 0 18px;

        font-size: 14px;
    }


    .hero {
        min-height: 620px;
    }

    .hero__container {
        min-height: 620px;

        padding-left: 25px;
        padding-right: 25px;
    }

    .hero__content {
        width: 650px;
        max-width: 650px;
    }

    .hero__title {
        font-size: 56px;
    }

    .hero__slogan {
        right: 6%;
        top: 58%;

        font-size: 30px;
    }


    .national-parks {
        padding: 75px 0 85px;
    }

    .national-parks__container {
        padding: 0 25px;
    }

    .national-parks__intro {
        max-width: 750px;

        margin-bottom: 40px;
    }

    .national-parks__title {
        font-size: 50px;
    }

    .national-parks__cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .national-park-card {
        height: 400px;
    }
     .sanatoriums {
        padding: 75px 0 85px;
    }

    .sanatoriums__container {
        padding: 0 25px;
    }

    .sanatoriums__title {
        font-size: 48px;
    }

    .sanatoriums__cards {
        grid-template-columns: repeat(2, 1fr);

        gap: 18px;
    }

    .sanatorium-card__content {
        min-height: 245px;
    }

    .contact-section__container {
        grid-template-columns: minmax(0, 1fr) 350px;

        column-gap: 35px;

        padding: 55px 25px;
    }

    .contact-section__title {
        font-size: 36px;
    }

    .contact-section__contacts {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 18px 25px;
    }

}
	

@media (max-width: 900px) {

    /* HEADER */

    .header {
        position: relative;

        top: auto;
        left: auto;
    }

    .header__container {
        min-height: 70px;

        padding: 8px 20px;
    }

    .header__logo img {
        height: 48px;
    }

    .header__nav,
    .header__phones,
    .header__button {
        display: none;
    }

    .header__burger {
        display: block;
    }


    .mobile-menu {
        position: fixed;

        top: 70px;
        left: 0;

        display: flex;
        flex-direction: column;

        width: 100%;
        height: calc(100vh - 70px);

        padding: 35px 25px 40px;

        background: var(--white);

        overflow-y: auto;

        opacity: 0;
        visibility: hidden;

        transform: translateY(-15px);

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;

        z-index: 999;
    }

    .mobile-menu.is-open {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }


    .mobile-menu__nav {
        display: flex;
        flex-direction: column;

        gap: 0;

        border-top: 1px solid rgba(0, 50, 200, 0.12);
    }

    .mobile-menu__link {
        padding: 18px 0;

        border-bottom: 1px solid rgba(0, 50, 200, 0.12);

        font-size: 16px;
        font-weight: 500;

        transition: color 0.2s ease;
    }

    .mobile-menu__link:hover {
        color: var(--blue);
    }


    .mobile-menu__phones {
        display: flex;
        flex-direction: column;

        margin-top: 30px;

        gap: 12px;
    }

    .mobile-menu__phone-title {
        margin-bottom: 5px;

        color: var(--blue);

        font-size: 14px;
        font-weight: 600;
    }

    .mobile-menu__phones a {
        font-size: 15px;
        line-height: 1.5;

        transition: color 0.2s ease;
    }

    .mobile-menu__phones a:hover {
        color: var(--blue);
    }

    .mobile-menu__phones span {
        color: #666666;
    }


    .mobile-menu__button {
        display: flex;
        align-items: center;
        justify-content: center;

        min-height: 52px;

        margin-top: 30px;
        padding: 0 25px;

        background: var(--blue);
        color: var(--white);

        border-radius: 7px;

        font-size: 15px;
        font-weight: 600;

        transition: background 0.2s ease;
    }

    .mobile-menu__button:hover {
        background: #0028A0;
    }

    .hero {
        min-height: 700px;

        align-items: flex-start;

        background-position: center center;
    }

    .hero::before {
        background: transparent;
    }

    .hero::after {
        width: 100%;
        height: 100%;

        background: linear-gradient(
            180deg,
            #0028a0 0%,
            #0028a07a 45%,
            rgba(255, 255, 255, 0.12) 100%
        );
    }

    .hero__container {
        min-height: 700px;

        padding: 120px 20px 40px;

        align-items: flex-start;
        justify-content: center;

        text-align: center;
    }

    .hero__content {
        width: 100%;
        max-width: 100%;

        display: flex;
        flex-direction: column;
        align-items: center;

        text-align: center;
    }

    .hero__label {
        margin-bottom: 8px;

        font-size: 13px;
        letter-spacing: 1.5px;
    }

    .hero__title {
        margin-bottom: 15px;

        font-size: clamp(38px, 10vw, 52px);
        line-height: 1;

        letter-spacing: -1px;
    }

    .hero__description {
        max-width: 430px;

        margin-bottom: 24px;

        font-size: 16px;
        line-height: 1.45;
    }

    .hero__button {
        min-height: 48px;

        padding: 0 20px;

        gap: 18px;

        font-size: 14px;
    }

    .hero__slogan {
        right: 50%;
        top: auto;
        bottom: 55px;

        align-items: center;

        transform: translateX(50%) rotate(-5deg);

        font-size: 25px;

        text-align: center;
    }

    .hero__slogan::after {
        width: 100px;
        height: 2px;
    }

    .national-parks {
        padding: 65px 0 75px;

        scroll-margin-top: 0;
    }

    .national-parks__container {
        padding: 0 20px;
    }

    .national-parks__intro {
        max-width: 650px;

        margin: 0 auto 35px;

        text-align: center;
    }

    .national-parks__label {
        margin-bottom: 15px;

        font-size: 12px;
        letter-spacing: 2.5px;
    }

    .national-parks__title {
        margin-bottom: 18px;

        font-size: clamp(36px, 9vw, 48px);
        line-height: 1.05;
    }

    .national-parks__description {
        max-width: 600px;

        margin: 0 auto;

        font-size: 16px;
        line-height: 1.6;
    }

    .national-parks__cards {
        grid-template-columns: repeat(2, 1fr);

        gap: 16px;
    }

    .national-park-card {
        height: 400px;
    }

    .national-park-card__content {
        height: 115px;

        padding: 18px 20px 20px;

        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .national-park-card__type {
        flex: 0 0 18px;

        height: 18px;

        margin: 0 0 7px;

        font-size: 14px;
        line-height: 18px;
    }

    .national-park-card__title {
        margin: 0;

        font-size: 20px;
        line-height: 1.15;
    }
    .sanatoriums {
        padding: 65px 0 75px;

        scroll-margin-top: 0;
    }

    .sanatoriums__container {
        padding: 0 20px;
    }

    .sanatoriums__intro {
        margin-bottom: 35px;

        text-align: center;
    }

    .sanatoriums__label {
        margin-bottom: 15px;

        font-size: 12px;
        letter-spacing: 2.5px;
    }

    .sanatoriums__title {
        margin-bottom: 18px;

        font-size: clamp(36px, 9vw, 48px);
        line-height: 1.05;
    }

    .sanatoriums__description {
        max-width: 600px;

        margin: 0 auto;

        font-size: 16px;
        line-height: 1.6;
    }

    .sanatoriums__cards {
        grid-template-columns: repeat(2, 1fr);

        gap: 16px;
    }

    .sanatorium-card__content {
        min-height: 245px;

        padding: 20px 18px 18px;
    }

    .sanatorium-card__title {
        font-size: 18px;
    }

    .contact-section {
        min-height: auto;

        background-position: center;
    }

    .contact-section__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.52) 0%,
                rgba(0, 0, 0, 0.62) 100%
            );
    }

    .contact-section__container {
        display: flex;
        flex-direction: column;

        gap: 35px;

        padding: 55px 20px;
    }

    .contact-section__left {
        width: 100%;

        text-align: center;
    }

    .contact-section__label {
        font-size: 12px;

        letter-spacing: 2.5px;
    }

    .contact-section__title {
        max-width: 600px;

        margin: 0 auto 30px;

        font-size: 34px;
        line-height: 1.12;
    }

    .contact-section__contacts {
        width: 100%;
        max-width: 600px;

        margin: 0 auto;

        grid-template-columns: repeat(2, 1fr);

        gap: 25px 15px;

        text-align: left;
    }

    .contact-form {
        width: 100%;
        max-width: 420px;

        box-sizing: border-box;
    }

    .site-footer__container {
        min-height: auto;

        padding: 25px 20px;

        gap: 25px;
    }

    .site-footer__logo img {
        width: 125px;
    }

    .site-footer__brand {
        gap: 16px;
    }

    .site-footer__divider {
        height: 42px;
    }

    .site-footer__text {
        font-size: 14px;
    }

    .site-footer__social {
        gap: 8px;
    }

    .site-footer__social-link {
        width: 40px;
        height: 40px;
    }

    .site-footer__social-link svg {
        width: 18px;
        height: 18px;
    }

}


@media (max-width: 550px) {

    .hero {
        min-height: 650px;

        background-position: 58% center;
    }

    .hero__container {
        min-height: 650px;

        padding: 110px 18px 35px;
    }

    .hero__title {
        font-size: 40px;
    }

    .hero__description {
        font-size: 16px;
    }

    .hero__slogan {
        right: 50%;
        bottom: 40px;

        font-size: 22px;
    }


    /* NATIONAL PARKS */

    .national-parks {
        padding: 55px 0 65px;
    }

    .national-parks__container {
        padding: 0 18px;
    }

    .national-parks__label {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .national-parks__title {
        font-size: 36px;
    }

    .national-parks__description {
        font-size: 16px;
        line-height: 1.55;
    }

    .national-parks__cards {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .national-park-card {
        height: 430px;
    }

    .national-park-card__content {
        height: 115px;

        padding: 18px 20px 20px;
    }

    .national-park-card__type {
        flex: 0 0 18px;

        height: 18px;

        margin: 0 0 7px;

        font-size: 14px;
        line-height: 18px;
    }

    .national-park-card__title {
        margin: 0;

        font-size: 20px;
        line-height: 1.15;
    }
    .sanatoriums {
        padding: 55px 0 65px;
    }

    .sanatoriums__container {
        padding: 0 18px;
    }

    .sanatoriums__title {
        font-size: 36px;
    }

    .sanatoriums__description {
        font-size: 16px;
    }

    .sanatoriums__cards {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .sanatorium-card__image {
        aspect-ratio: 1.65 / 1;
    }

    .sanatorium-card__content {
        min-height: 230px;

        padding: 20px;
    }

    .contact-section__container {
        padding: 45px 18px;
    }

    .contact-section__title {
        font-size: 29px;
    }

    .contact-section__contacts {
        grid-template-columns: 1fr;

        gap: 17px;

        text-align: center;
    }

    .contact-city a {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-form {
        padding: 17px;
    }

     .site-footer__container {
        flex-direction: column;

        justify-content: center;

        padding: 30px 20px;

        text-align: center;
    }

    .site-footer__brand {
        flex-direction: column;

        gap: 14px;
    }

    .site-footer__divider {
        width: 45px;
        height: 1px;
    }

    .site-footer__logo img {
        width: 135px;
    }

    .site-footer__text {
        align-items: center;

        font-size: 14px;
    }

    .site-footer__social {
        margin-top: 5px;
    }
}


.page-title {
    background-image: linear-gradient(
        rgba(0, 50, 200, 0.75),
        rgba(0, 50, 200, 0.75)
    ),
    url("../images/winter.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 60px 20px;
    margin-top:80px;
}

.page-title__container {
    max-width: 1240px;
    margin: 0 auto;
}

.page-title h1 {
    margin: 0;
    color: #ffffff;
    text-align: left;
}


/* РџР»Р°РЅС€РµС‚С‹ */
@media (max-width: 768px) {
    .page-title {
        padding: 50px 20px;
        margin-top: 0px;
    }
}


/* РўРµР»РµС„РѕРЅС‹ */
@media (max-width: 480px) {
    .page-title {
        padding: 40px 15px;
        margin-top: 0px;
    }
}


.description {
    padding: 80px 20px 0;
}

.description__container {
    max-width: 1240px;
    margin: 0 auto;
}

.description__gallery {
    float: left;
    width: 590px;
    margin: 0 50px 30px 0;
}

.description__slider {
    position: relative;
    width: 100%;
    aspect-ratio: 590 / 380;
    overflow: hidden;
}

.description__slider img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.3s ease;
}

.description__slider img.active {
    opacity: 1;
    visibility: visible;
}

.description__prev,
.description__next {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;

    border: none;
    border-radius: 50%;

    background: #0032C8;
    cursor: pointer;

    z-index: 10;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;
}

.description__prev {
    left: 15px;
}

.description__next {
    right: 15px;
}

/* РЎР°РјР° СЃС‚СЂРµР»РєР° */
.description__prev::before,
.description__next::before {
    content: "";
    display: block;

    width: 11px;
    height: 11px;

    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}

/* Р’Р»РµРІРѕ */
.description__prev::before {
    transform: rotate(-135deg);
    margin-left: 5px;
}

/* Р’РїСЂР°РІРѕ */
.description__next::before {
    transform: rotate(45deg);
    margin-right: 5px;
}

.description__prev:hover,
.description__next:hover {
    background: #64C2FF;
}

.description__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.description__dots button {
    width: 9px;
    height: 9px;
    padding: 0;

    border: none;
    border-radius: 50%;

    background: #64C2FF;
    cursor: pointer;
}

.description__dots button.active {
    background: #0032C8;
}

.description__text h2 {
    margin-top: 0;
    color: var(--blue);

}

.description__text p {
    margin-top: 0;
    margin-bottom: 20px;
    color: #021d38;
}

.description__clear {
    clear: both;
}

@media (max-width: 900px) {
    .description {
        padding: 60px 20px;
    }

    .description__gallery {
        float: none;
        width: 100%;
        max-width: 590px;
        margin: 0 auto 30px;
    }
}

@media (max-width: 480px) {
    .description {
        padding: 40px 15px;
    }

    .description__gallery {
        margin-bottom: 25px;
    }

    .description__prev,
    .description__next {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    .description__prev {
        left: 10px;
    }

    .description__next {
        right: 10px;
    }
}


.tour-program {
    width: 100%;
    padding: 80px 20px;
}

.tour-program-1 {
    background: #F7FCFF;
}

.tour-program__container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}


.tour-program__title {
    margin: 0 0 20px;

    color: var(--blue);
    text-align: center;
    font-size: 34px;
}

.tour-program__description {
    max-width: 1240px;
    margin: 0 0 15px;

    color: #021d38;
    font-size: 16px;
    line-height: 1.6;
}

.tour-program__date {
    margin: 0 0 35px;

    color: var(--blue);
    font-size: 18px;
    font-weight: 700;
}


.tour-program__table-wrapper {
    width: 100%;
    max-width: 1240px;

    margin: 0 auto;

    overflow: visible;

    border: 1px solid #b9ddfa;
    border-radius: 10px;
    background: #ffffff;
}

.tour-program__table {
    width: 100%;
    max-width: 1240px;

    margin: 0;

    border-collapse: separate;
    border-spacing: 0;

    table-layout: fixed;

    font-size: 16px;
    line-height: 1.5;
}

.tour-program__table th:first-child,
.tour-program__table td:first-child {
    width: 15%;
}

/* Р’СЂРµРјСЏ */
.tour-program__table th:nth-child(2),
.tour-program__table td:nth-child(2) {
    width: 17%;
}

/* РџСЂРѕРіСЂР°РјРјР° */
.tour-program__table th:nth-child(3),
.tour-program__table td:nth-child(3) {
    width: 68%;
}


.tour-program__table thead th {
    padding: 17px 20px;

    background: #0032C8;
    color: #ffffff;

    font-size: 16px;
    font-weight: 600;
    text-align: center;

    border-right: 1px solid #b9ddfa;
    border-bottom: 2px solid #b9ddfa;

    vertical-align: middle;

    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.tour-program__table thead th:first-child {
    text-align: center;

    border-left: none;
    border-top-left-radius: 10px;
}

.tour-program__table thead th:last-child {
    border-right: none;
    border-top-right-radius: 10px;
}



.tour-program__table tbody td {
    padding: 2px 20px;

    background: #ffffff;

    border-right: 1px solid #c9e3f8;
    border-bottom: 1px solid #c9e3f8;

    vertical-align: middle;

    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    text-align: center;
}

.tour-program__table tbody tr:last-child td {
    border-bottom: none;
}

.tour-program__table tbody td:last-child {
    border-right: none;
     text-align: left;
}


.tour-program__table tbody td:first-child {
    color: #021d38;
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
}


.tour-program__table tbody td:nth-child(2) {
    color: #021d38;


    vertical-align: middle;

    white-space: normal;
}


.tour-program__table tbody td:nth-child(3) {
    color: #021d38;

    font-weight: 400;
}



.tour-program__table strong {
    color: #021d38;
    font-weight: 700;
}



.tour-program__note {
    margin-top: 8px;

    color: #021d38;

    font-weight: 400;
    line-height: 1.5;
}



.tour-program__table tbody tr:has(td[rowspan]) td {
    border-top: 1px solid #b9ddfa;
}


@media (max-width: 900px) {

    .tour-program {
        padding: 60px 20px;
    }

    .tour-program__table {
        width: 100%;
        max-width: 100%;

        table-layout: fixed;

        font-size: 16px;
    }

    .tour-program__table thead th,
    .tour-program__table tbody td {
        padding: 15px 14px;
    }
}


@media (max-width: 600px) {

    .tour-program {
        padding: 45px 15px;
    }

    .tour-program__title {
        margin-bottom: 15px;
    }

    .tour-program__description {
        line-height: 1.5;
    }

    .tour-program__date {
        margin-bottom: 25px;
        font-size: 17px;
    }

    .tour-program__table-wrapper {
        width: 100%;
        max-width: 100%;

        overflow: hidden;

        border-radius: 8px;
    }

    .tour-program__table {
        width: 100%;
        min-width: 0;
        max-width: 100%;

        table-layout: fixed;

        font-size: 16px;
        line-height: 1.45;
    }

    .tour-program__table th:first-child,
    .tour-program__table td:first-child {
        width: 17%;
    }

    .tour-program__table th:nth-child(2),
    .tour-program__table td:nth-child(2) {
        width: 18%;
    }

    .tour-program__table th:nth-child(3),
    .tour-program__table td:nth-child(3) {
        width: 65%;
    }

    .tour-program__table thead th {
        padding: 12px 8px;

        font-size: 14px;
    }

    .tour-program__table tbody td {
        padding: 14px 8px;

        font-size: 16px;
    }

}


@media (max-width: 400px) {

    .tour-program {
        padding: 40px 10px;
    }

    .tour-program__table thead th {
        padding: 10px 6px;
        font-size: 13px;
    }

    .tour-program__table tbody td {
        padding: 12px 6px;
        font-size: 15px;
    }

    .tour-program__table th:first-child,
    .tour-program__table td:first-child {
        width: 18%;
    }

    .tour-program__table th:nth-child(2),
    .tour-program__table td:nth-child(2) {
        width: 19%;
    }

    .tour-program__table th:nth-child(3),
    .tour-program__table td:nth-child(3) {
        width: 63%;
    }

}


.tour-program__additional {
    max-width: 1240px;
    margin: 45px auto 0;

    color: #021d38;
    font-size: 16px;
    line-height: 1.5;
}


.tour-program__notes {
    margin-bottom: 35px;
}

.tour-program__notes p {
    margin: 0 0 5px;
}



.tour-program__included {
    margin-bottom: 45px;
}

.tour-program__included h3,
.tour-program__price h3 {
    margin: 0 0 15px;

    color: var(--blue);
    font-size: 22px;
    font-weight: 700;
}

.tour-program__included ol {
    margin: 0;
    padding-left: 25px;
}

.tour-program__included li {
    margin-bottom: 8px;
    padding-left: 5px;
}



.tour-program__price {
    padding-top: 5px;
    margin-bottom: 30px;
}

.tour-program__price h3 {
    margin-bottom: 5px;
}

.tour-program__price-description {
    margin: 0 0 5px;
}

.tour-program__price-description strong {
    color: #021d38;
}



.tour-program__prices {
    max-width: 700px;
    margin-top: 25px;

    border-top: 1px solid #b9ddfa;
}

.tour-program__price-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 14px 0;

    border-bottom: 1px solid #b9ddfa;
}

.tour-program__price-item span {
    color: #021d38;
}

.tour-program__price-item strong {
    font-weight: 700;
    white-space: nowrap;
}



@media (max-width: 768px) {

    .tour-program__additional {
        margin-top: 35px;
    }

    .tour-program__included {
        margin-bottom: 35px;
    }

    .tour-program__included h3,
    .tour-program__price h3 {
        font-size: 20px;
    }

    .tour-program__prices {
        max-width: 100%;
    }
}



@media (max-width: 480px) {

    .tour-program__additional {
        margin-top: 30px;
    }

    .tour-program__price-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;

        padding: 12px 0;
    }

    .tour-program__price-item strong {
        font-size: 17px;
    }
}



.scroll-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #0032C8;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease,
                visibility 0.3s ease,
                transform 0.3s ease;
    z-index: 9999;
}

.scroll-to-top:hover {
    background: #64C2FF;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 600px) {
    .scroll-to-top {
        right: 15px;
        bottom: 20px;
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
}