:root {
    --location-text: #0f1730;
    --location-white: #ffffff;
    --location-pink: #f088b6;
    --font-base: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-base);
    font-size: clamp(16px, 0.1851851852vw + 15.3333333333px, 18px);
    line-height: 1.4;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-base);
    font-weight: 700;
    letter-spacing: -0.03em;
}

a.header__map,
.header__menu a,
.header__phone,
.header__select {
    color: #ffffff;
}

@media (min-width: 1200px) {
    .header__select {
        border-color: #ffffff;
    }
}

.location-container {
    width: 100%;
    max-width: 1520px;
    padding: 0 60px;
    margin: 0 auto;
}

.location-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 59px;
    padding: 16px 20px;
    border: 0;
    border-radius: 12px;
    color: var(--location-white);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.1;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.location-btn--pink {
    background: var(--location-pink);
}

.location-btn:hover {
    color: var(--location-white);
    transform: translateY(-2px);
}

.global {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 216px 0 118px;
    color: var(--location-white);
    background: #1c2740;
}

.global__video {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.global__video::before,
.global__video::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.global__video::before {
    background: linear-gradient(180deg, rgba(11, 19, 39, 0.18), rgba(11, 19, 39, 0.48));
}

.global__video::after {
    background: linear-gradient(90deg, rgba(11, 19, 39, 0.36), rgba(11, 19, 39, 0.12) 45%, rgba(11, 19, 39, 0.32));
}

.global__poster,
.global__video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.global__poster {
    z-index: 0;
}

.global__video video[data-src] {
    z-index: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.global__video.is-video-ready video[data-src] {
    opacity: 1;
}

.global__container {
    position: relative;
    z-index: 2;
}

.global__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 840px;
    margin: 0 auto;
    text-align: center;
}

.global__title {
    max-width: 700px;
}

.global__title h1 {
    color: var(--location-white);
    font-weight: 600;
    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.3;
    letter-spacing: 0.05px;
}

.global__desp {
    margin-top: 16px;
}

.global__desp div {
    max-width: 600px;
    color: rgba(255, 255, 255, 0.96);
    font-weight: 500;
    font-style: italic;
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.12;
}

.global__btn {
    min-width: 268px;
    margin-top: 40px;
}

.location-seo {
    position: relative;
    padding: 90px 0;
    color: var(--location-text);
    background: #f5fbff;
}

.location-seo__title {
    max-width: 1050px;
    margin: 0 auto 34px;
    color: #2c99d1;
    font-family: "Balsamiq Sans", cursive;
    font-weight: 700;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.08;
    text-align: center;
}

.location-seo__collapsed {
    position: relative;
    max-width: 1080px;
    max-height: 330px;
    margin: 0 auto;
    overflow: hidden;
    transition: max-height 0.45s ease;
}

.location-seo__collapsed::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 120px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(245, 251, 255, 0), #f5fbff 88%);
    transition: opacity 0.25s ease;
}

.location-seo__collapsed.is-expanded {
    max-height: none;
}

.location-seo__collapsed.is-expanded::after,
.location-seo__collapsed.has-no-overflow::after {
    opacity: 0;
}

.location-seo__content {
    font-size: 18px;
    line-height: 1.65;
}

.location-seo__content h3,
.location-seo__content h4,
.location-seo__content h5,
.location-seo__content h6 {
    margin: 30px 0 14px;
    color: #253b66;
    font-family: "Balsamiq Sans", cursive;
    font-weight: 700;
    line-height: 1.2;
}

.location-seo__content h3 {
    font-size: 30px;
}

.location-seo__content h4 {
    font-size: 25px;
}

.location-seo__content p,
.location-seo__content ul,
.location-seo__content ol {
    margin: 0 0 18px;
}

.location-seo__content ul,
.location-seo__content ol {
    padding-left: 28px;
}

.location-seo__content ul {
    list-style: disc;
}

.location-seo__content ol {
    list-style: decimal;
}

.location-seo__content li + li {
    margin-top: 8px;
}

.location-seo__toggle {
    display: block;
    min-width: 180px;
    min-height: 52px;
    padding: 13px 24px;
    margin: 30px auto 0;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: #2c99d1;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.location-seo__toggle:hover {
    background: #2587ba;
    transform: translateY(-1px);
}

.location-seo__toggle[hidden] {
    display: none;
}

@media (max-width: 1400px) {
    .location-container {
        padding: 0 20px;
    }
}

@media (max-width: 991px) {
    .global {
        padding: 120px 0 70px;
    }

    .location-seo {
        padding: 65px 0;
    }
}

@media (max-width: 650px) {
    .location-container {
        padding: 0 10px;
    }

    .global {
        padding: 100px 0 55px;
    }

    .global__title h1 {
        font-size: 32px;
    }

    .global__btn {
        width: auto;
        min-width: 0;
    }

    .location-seo {
        padding: 50px 0;
    }

    .location-seo__title {
        margin-bottom: 25px;
        font-size: 32px;
    }

    .location-seo__collapsed {
        max-height: 300px;
    }

    .location-seo__content {
        font-size: 16px;
        line-height: 1.55;
    }

    .location-seo__content h3 {
        font-size: 25px;
    }

    .location-seo__content h4 {
        font-size: 22px;
    }
}
