html {
    scroll-behavior: smooth;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #202124;
    background-color: #ffffff;
}

.page__main {
    flex: 1 0 auto;
}

a {
    color: #0369a1;
}

a:hover {
    color: #075985;
}

.site-header {
    border-bottom: 1px solid #e9ecef;
}

.site-header__container {
    gap: 12px;
}

.site-header__logo {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    max-width: calc(100% - 64px);
    padding-top: 6px;
    padding-bottom: 6px;
    color: #111827;
    font-weight: 700;
    line-height: 1;
}

.site-header__logo:hover {
    color: #111827;
}

.site-header__logo-name {
    font-size: 26px;
    font-weight: 800;
}

.site-header__logo-tagline {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
}

.site-header__link {
    font-weight: 500;
}

.site-header__contacts {
    margin-left: 24px;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-contacts__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-contacts__link--phone {
    color: #111827;
}

.header-contacts__link--phone:hover {
    color: #0369a1;
}

.header-contacts__link--phone .header-contacts__icon {
    color: #111827;
}

.header-contacts__link--telegram {
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    color: #0369a1;
    font-size: 18px;
}

.header-contacts__link--telegram:hover {
    color: #075985;
}

.site-header__language {
    margin-left: 24px;
    flex-shrink: 0;
}

.language-dropdown__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #111827;
    background-color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.language-dropdown__button:hover,
.language-dropdown__button.show {
    color: #0369a1;
    border-color: #bae6fd;
    background-color: #f0f9ff;
}

.language-dropdown__menu {
    min-width: 76px;
    padding: 6px;
    border-color: #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.language-dropdown__item {
    border-radius: 4px;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
}

.language-dropdown__item:hover {
    color: #0369a1;
    background-color: #f0f9ff;
}

.language-dropdown__item.active {
    color: #ffffff;
    background-color: #0369a1;
}

@media (max-width: 991.98px) {
    .site-header__contacts {
        margin-top: 12px;
        margin-left: 0;
    }

    .header-contacts {
        flex-wrap: wrap;
    }

    .header-contacts__link {
        justify-content: center;
    }

    .site-header__language {
        margin-top: 12px;
        margin-left: 0;
    }

    .contacts-section__head {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contacts-section__body {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.hero {
    padding: 80px 0;
}

.hero__title {
    max-width: 760px;
    margin: 0;
    font-size: 48px;
    line-height: 1.15;
    font-weight: 700;
    overflow-wrap: break-word;
}

.contacts-section {
    padding: 88px 0;
    border-top: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.contacts-section__head {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid #e5e7eb;
}

.contacts-section__eyebrow {
    margin: 12px 0 0;
    color: #0369a1;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.contacts-section__title {
    max-width: 860px;
    margin: 0;
    color: #111827;
    font-size: 56px;
    line-height: 1.05;
    font-weight: 800;
}

.contacts-section__body {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 40px;
    padding-top: 36px;
}

.contacts-section__person {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contacts-section__photo {
    display: block;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.contacts-section__person-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contacts-section__name {
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.contacts-section__role {
    max-width: 220px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.35;
}

.contacts-section__text {
    max-width: 720px;
    margin: 0;
    color: #64748b;
    font-size: 18px;
    line-height: 1.6;
}

.contacts-section__links {
    max-width: 720px;
    margin-top: 34px;
    border-top: 1px solid #e5e7eb;
}

.contacts-section__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 64px;
    padding: 18px 0;
    border-bottom: 1px solid #e5e7eb;
    color: #111827;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contacts-section__link:hover {
    color: #0369a1;
}

.contacts-section__link-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.contacts-section__icon {
    width: 22px;
    color: #0369a1;
    font-size: 20px;
    text-align: center;
}

.contacts-section__value {
    color: #64748b;
    font-size: 16px;
    line-height: 1;
}

.contacts-section__arrow {
    color: #0369a1;
    font-size: 16px;
}

.site-footer {
    padding: 24px 0;
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.site-footer__brand {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.site-footer__logo {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    color: #111827;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.site-footer__logo:hover {
    color: #111827;
}

.site-footer__logo-name {
    font-size: 26px;
    font-weight: 800;
}

.site-footer__tagline {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
}

.site-footer__copyright {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

@media (max-width: 575.98px) {
    .hero {
        padding: 56px 0;
    }

    .hero__title {
        font-size: 36px;
        line-height: 1.2;
    }

    .contacts-section {
        padding: 64px 0;
    }

    .contacts-section__title {
        font-size: 36px;
        line-height: 1.15;
    }

    .contacts-section__text {
        font-size: 16px;
    }

    .contacts-section__link {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .contacts-section__value {
        padding-left: 34px;
    }

    .contacts-section__person {
        align-items: flex-start;
    }

    .header-contacts {
        flex-direction: column;
        align-items: stretch;
    }

    .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

}

@media (max-width: 360px) {
    .hero__title {
        font-size: 32px;
    }
}
