@import url("https://fonts.googleapis.com/css2?family=Arsenal:ital,wght@0,400;0,700;1,400;1,700&display=swap");

.arsenal-regular {
    font-family: "Arsenal", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.arsenal-bold {
    font-family: "Arsenal", sans-serif;
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-display: swap;
    font-family: "Suisse Intl";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/SuisseIntl-Regular.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "Suisse Intl";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/SuisseIntl-SemiBold.woff2") format("woff2");
}

:root {
    --color-white: #fff;
    --color-black: #3a3a3a;
    --color-grey: #dde2ed;
    --color-red: #c52f41;
    --section-gap: 100px;
    --container-padding-x: 24px;
    --header-height: 80px;
    --ease-out-back: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    padding: 0;
    margin: 0;
    border: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

aside,
nav,
footer,
header,
section {
    display: block;
}

html,
body {
    scrollbar-gutter: stable;
}

img,
video,
canvas,
svg {
    display: block;
}

input,
input::placeholder,
textarea,
textarea::placeholder {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

input:focus {
    outline: 0;
}

input::-ms-clear {
    display: none;
}

button {
    display: inline-block;
    cursor: pointer;
    padding: 0;
    border: none;
    background: none;
    -webkit-user-select: none;
    user-select: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

button:disabled {
    cursor: default;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    vertical-align: top;
}

ol,
ul {
    padding: 0;
}

ol[role="list"],
ul[role="list"],
ol[role="listbox"],
ul[role="listbox"] {
    list-style: none;
}

.container {
    max-width: 1880px;
    width: 100%;
    margin: 0 auto;
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
}

.custom-scrollbar {
    scrollbar-color: var(--color-grey) transparent;
    scrollbar-width: thin;
}

.custom-scrollbar::-webkit-scrollbar {
    background-color: transparent;
    width: 4px;
    height: 4px;
    border-radius: 2px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background-color: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--color-grey);
    border-radius: 2px;
}

body {
    font-family: "Suisse Intl", "Helvetica", "Arial";
    font-size: 17px;
    line-height: 1.3;
    font-weight: 400;
    background-color: var(--color-grey);
    color: var(--color-black);
}

main {
    padding-top: var(--header-height);
    overflow: hidden;
}

::selection {
    color: #fff;
    background: var(--color-blue);
}

::-moz-selection {
    color: #fff;
    background: var(--color-blue);
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: clip;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

.container__header {
    margin-bottom: 80px;
    text-align: center;
}

.header__logo {
    margin: 0 auto;
    max-width: 100%;
}

.hero__slogan {
    font-size: 48px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.districts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 20px;
}

.districts__link {
    display: block;
}

.districts__image {
    height: 350px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}

.districts__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all .3s ease;
}
.districts__link:hover .districts__img{
    transform: scale(1.1);
}

.districts__title {
    font-family: "Suisse Intl";
    font-size: 22px;
    font-weight: 600;
}

.districts__name {
    display: block;
    font-size: 30px;
}

.container.hero {
    margin-bottom: 57px;
}

/*  */
.container.tour{
    margin-bottom: 160px;
}

.tour-order {
    background: url(../img/tour-order.png) 0 0 no-repeat;
    padding: 157px 0 64px;
    position: relative;
    background-size: cover;
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
}

.tour-order__title {
    font-family: "Arsenal", sans-serif;
    font-size: 58px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 32px;
    line-height: 1.2;
}

.tour-order__form {
    max-width: 502px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer{
    padding: var(--container-padding-x);
    background-color: #F0F3FB;
    border-radius: 16px;
    box-sizing: border-box;
    display: flex;
    gap: 12%;
    margin-bottom: 80px;
}

.footer__info{
    display: flex;
    flex-direction: column;
}

.footer__logo{
    max-width: 201px;
}

.footer__link{
    display: block;
    color: #0A66DD;
}
.footer__link_privacy{
    margin-top: auto;
    margin-bottom: 11px;
}

.footer__copyright{
    display: block;
}

.footer__contacts{

}

.footer__phone{
    color: var(--color-white);
    background-color: #0A66DD;
    font-size: 20px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 24px;
    padding: 7px 14px 5px;
}

.footer__addresses-title{
    text-transform: uppercase;
}

.footer__addresses{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
}

.footer__address{
    font-style: normal;
}
    
.footer__address:nth-child(1) {
    grid-column: span 2 / span 2;
}

.footer__address:nth-child(2) {
    grid-row-start: 2;
}

.footer__address:nth-child(3) {
    grid-row-start: 2;
}

.footer__address:nth-child(4) {
    grid-row-start: 3;
}

.footer__address:nth-child(5) {
    grid-row-start: 3;
}

@media only screen and (max-width: 1024px) {
    .header__logo {
        width: 100%;
        max-width: 284px;
    }

    .hero__slogan,
    .tour-order__title {
        font-size: 32px;
    }

    .districts__title {
        font-size: 16px;
    }
    .districts__name {
        display: block;
        font-size: 22px;
    }
}

@media only screen and (max-width: 768px) {
    .districts {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
    .footer {
        flex-direction: column;
    }
}

@media only screen and (max-width: 516px) {
    .districts {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    .hero__slogan,
    .tour-order__title {
        font-size: 20px;
    }
}
