* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #111;
    background-color: #fff;
    --black: #111;
    --primary: #0155AF;
    --primary-b: #015C9C;
    --secondary: #C61213;
    --secondary-r: #D5413D;
    overflow-x: hidden;
}

.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: var(--black);
}

ul {
    list-style: none;
}

.container {
    width: 1272px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.header {
    position: relative;
    z-index: 10;
    transition: opacity 0.2s ease-out;
}

.header--loaded {
    opacity: 1;
}

.header__top {
    background-color: var(--primary);
    color: #fff;
    padding: 16px 0;
}

.h-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.h-search {
    display: flex;
    align-items: center;
    width: 485px;
    max-width: 100%;
}
.h-search__input {
    border: none;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 4px 10px;
    font-size: 16px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    outline: 0;
    font-size: 12px;
    width: 100%;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    border: 1px solid transparent;
    transition: border-color 0.2s ease-out;
}

.h-search__input:focus {
    border-color: #B2CCE7;
}

.h-search__input::-webkit-input-placeholder {
    color: #B2CCE7;
}

.h-search__input:-moz-placeholder {
    color: #B2CCE7;
}

.h-search__submit {
    width: 25px;
    height: 25px;
    background: url('../img/search.svg') 50% 50% no-repeat;
    background-color: rgba(255, 255, 255, 0.02);
    border: none;
    background-size: 16px;
    cursor: pointer;
    outline: 0;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    transition: background-color 0.2s ease-out;
}

.h-search__submit:hover, .h-search__submit:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

.h-top__social {
    border-left: 1px solid #226BB9;
    border-right: 1px solid #226BB9;
    padding: 0 16px;
    font-size: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 16px;
}

.h-social {
    padding: 0 16px;
    font-size: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 16px;
}

.h-social__item {
    display: inline-block;
    width: 25px;
    height: 25px;
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    transition: background-color 0.2s ease-out;
    cursor: pointer;
    outline: 0;
    border-radius: 2px;
}

.h-social__item--vk {
    background-image: url('../img/vk.svg');
}

.h-social__item--tg {
    background-image: url('../img/tg.svg');
}
.h-social__item--wa {
    background-image: url('../img/wa.svg');
}
.h-social__item:hover, .h-social__item:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

.h-top__contacts {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 620px;
}

.contacts__link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #fff;
}

.contacts__icon {
    width: 24px;
    height: 24px;
    background-size: 10px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-color: #1562B5;
    border-radius: 6px;
}

.contacts__icon--phone {
    background-image: url('../img/phone.svg');
}

.contacts__icon--mail {
    background-image: url('../img/mail.svg');
}

.contacts__icon--geo {
    background-image: url('../img/geo.svg');
}

.contacts__icon--time {
    background-image: url('../img/time.svg');
}

.h-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.h-bottom__mobile-block {
    display: none;
}

.mobile-menu, .mobile-menu__overlay {
    visibility: hidden;
    opacity: 0;
    position: fixed;
}

.mobile-menu {
    background-color: #fff;
    top: 0;
    right: -100%;
    bottom: 0;
    max-width: 100%;
    width: 480px;
    height: 100%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease-out;
}

.mobile-menu__wrapper {
    overflow: auto;
    padding: 16px;
}

.mobile-menu__overlay {
    top: 0;
    left: 0;
    right: 0;
    z-index: 11;
    width: 100%;
    height: 100%;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease-out;
}

.mobile-menu__overlay--active, .mobile-menu--active {
    visibility: visible;
    opacity: 1;
    right: 0;
}

.mobile-menu__overlay--active {
    right: 0;
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu__close {
    width: 32px;
    height: 32px;
    background: url('../img/close.svg') 50% 50% no-repeat;
    background-size: 24px;
    cursor: pointer;
    outline: 0;
    border: none;
}

.mobile-menu__search {
    display: flex;
    position: relative;
}

.mobile-menu__search .h-search__input {
    width: 100%;
    border-radius: 32px;
    padding: 16px;
    color: #111;
    border: 1px solid #E8E8E8;
}

.mobile-menu__search .h-search__submit {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: url('../img/search-d.svg') 50% 50% no-repeat;
    background-size: 16px;
    cursor: pointer;
}

.mobile-menu__nav .h-nav__list {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin: 16px 0;
}

.mobile-menu__nav .h-nav__item {
    width: 100%;
}

.mobile-menu__nav .h-nav__link {
    padding: 8px 0;
    font-size: 26px;
    text-transform: none;
    font-weight: normal;
}

.mobile-menu__social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.mobile-menu__contacts {
    display: block;
    height: 44px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 16px;
    padding-right: 50px;
    background: url('../img/chevron-down.svg') 100% 8px no-repeat;
    background-size: 24px;
    cursor: pointer;
}

.mobile-menu__contacts--active {
    background: url('../img/chevron-up.svg') 100% 8px no-repeat;
    background-size: 24px;
    height: auto;
}

.mobile-menu__contacts .contacts__item {
    margin-bottom: 8px;
}

.mobile-menu__contacts .contacts__icon {
    display: none;
}

.mobile-menu__contacts .contacts__link {
    font-size: 24px;
    font-weight: normal;
    color: #132041;
}

.h-bottom__social .h-social__item--tg, .mobile-menu__social .h-social__item--tg {
    background-image: url('../img/tg-d.svg');
}

.h-bottom__social .h-social__item--vk, .mobile-menu__social .h-social__item--vk {
    background-image: url('../img/vk-d.svg');
}
.h-bottom__social .h-social__item--wa, .mobile-menu__social .h-social__item--wa {
    background-image: url('../img/wa-d.svg');
}

.mobile-menu__btn {
    width: 100%;
    height: 48px;
    background-color: var(--primary);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    width: 32px;
    height: 32px;
    background: url('../img/menu.svg') 50% 50% no-repeat;
    background-size: 26px auto;
    cursor: pointer;
    outline: 0;
    border: none;
}

.h-nav__list {
    display: flex;
    align-items: center;
}

.h-nav__item {
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease-out;
}

.h-nav__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: -1;
    visibility: hidden;
    opacity: 0;
}

.h-nav__link {
    font-size: 14px;
    color: var(--black);
    text-transform: uppercase;
    padding: 16px 8px;
    font-weight: 600;
    display: block;
}

.h-nav__item:hover, .h-nav__item:focus {
    border-color: var(--primary);
}

.h-nav__item:hover .h-nav__link, .h-nav__item:focus .h-nav__link {
    color: var(--primary);
}

.h-nav__dropdown {
    position: absolute;
    top: 100%;
    margin-top: -20px;
    left: 0;
    right: 0;
    background-color: #fff;
    padding-top: 24px;
    padding-bottom: 24px;
    visibility: hidden;
    opacity: 0;
}

.h-nav__item:hover .h-nav__dropdown {
    visibility: visible;
    opacity: 1;
}

.h-nav__item--dropdown:hover~.h-nav__overlay {
    visibility: visible;
    opacity: 1;
}

.h-nav__dropdown-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 16px;
}

.h-nav__dropdown-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.h-nav__dropdown-item {
    width: 30%;
}

.h-nav__dropdown-link:hover {
    color: var(--primary);
}

.h-logo__link {
    display: block;
}

.hero__slider {
    width: 100%;
    min-height: 400px;
    position: relative;
}

.slide-home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.slide-home__content, .slide-home__image {
    width: 50%;
}

.slide-home {
    background-color: var(--primary);
    color: #fff;
}

.slide-home__image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    text-align: left;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.slide-home__img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.slide-home--vertical .slide-home__img {
    height: 100%;
    width: auto;
}

.slide-home__content {
    padding: 64px 0;
    padding-right: 16px;
}

.slide-home__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.slide-home__subtitle {
    font-size: 20px;
    margin-bottom: 24px;
}

.slide-home__text {
    font-size: 14px;
    margin-bottom: 40px;
}

.slide-home__btn {
    display: inline-block;
    font-size: 14px;
    color: var(--primary);
    background-color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.2s ease-out;
}

.slide-home__btn:hover, .slide-home__btn:focus {
    background-color: #b0d6ff;
}

.slider__navigation-prev, .slider__navigation-next {
    width: 32px;
    height: 32px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    cursor: pointer;
    outline: 0;
    transition: background-color 0.2s ease-out;
    border: 1px solid #fff;
    border-radius: 4px;
}

.slider__navigation-prev {
    background-image: url('../img/chevron-left.svg');
    margin-right: 12px;
}

.slider__navigation-next {
    background-image: url('../img/chevron-right.svg');
}

.slider__navigation {
    display: flex;
    align-items: center;
    position: absolute;
    left: calc(50% - 124px);
    right: 0;
    bottom: 24px;
    padding: 0 24px;
    z-index: 2;
}

.slider__navigation-prev:hover, .slider__navigation-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.news {
    padding: 64px 0;
    background-color: #F4F4F4;
}

.news__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.news__heding-title {
    font-size: 32px;
    color: #111;
    text-transform: uppercase;
    font-weight: 700;
}

.news__link {
    font-size: 14px;
    color: var(--primary);
    transition: all 0.2s ease-out;
    display: block;
    padding: 10px;
    padding-right: 36px;
    background: url('../img/arrow-right.svg') 94% 50% no-repeat;
    background-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    position: relative;
    top: -3px;
}

.news__link:hover, .news__link:focus {
    background-color: #b0d6ff;
}

.news__wrapper {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
}

.news__item {
    display: flex;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
}

.news__item--big {
    flex-direction: column;
    width: 100%;
}

.news__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 40%;
}

.news__right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 60%;
    justify-content: space-between;
}

.news__image {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.news__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 12px;
    color: #fff;
    font-weight: bold;
    background-color: var(--secondary);
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
}

.news__img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.news__item--big .news__img, .news__item--big .news__image, .news__item--big .news__content {
    width: 100%;
}

.news__item--big .news__img {
    object-fit: unset;
    height: auto;
}

.news__content {
    padding: 24px;
    width: 50%;
}

.news__title {
    font-size: 20px;
    margin-bottom: 10px;
    text-transform: none;
    font-weight: normal;
}

.n-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.n-meta__item {
    display: flex;
    align-items: center;
}

.n-meta__icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.n-meta__text {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.n-meta__icon--calendar {
    background-image: url('../img/calendar.svg');
}

.n-meta__icon--eye {
    background-image: url('../img/eye.svg');
}

.news__meta {
    margin-bottom: 10px;
}

.news__annotation {
    font-size: 14px;
    color: #5a5a5a;
    margin-bottom: 10px;
}

.news__more {
    font-size: 14px;
    color: var(--primary);
    transition: all 0.2s ease-out;
    display: inline-block;
    padding: 10px;
    padding-right: 26px;
    padding-left: 0;
    background: url('../img/more.svg') 94% 50% no-repeat;
    background-size: 16px;
    border-radius: 6px;
    position: relative;
    top: -3px;
}

.news__more:hover, .news__more:focus {
    text-decoration: underline;
}

.about {
    position: relative;
    background-color: var(--secondary-r);
    color: #fff;
}

.about__image-wrapper {
    width: 45%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    overflow: hidden;
}

.about__image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.about__wrapper {
    display: flex;
    justify-content: flex-end;
}

.about__content {
    width: 55%;
    padding: 64px 0;
    padding-left: 20px;
}

.about__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
}

.about__text {
    font-size: 16px;
    margin-bottom: 32px;
}

.about__content p {
    margin-bottom: 8px;
}

.about__btn {
    display: inline-block;
    font-size: 14px;
    color: var(--secondary-r);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.2s ease-out;
    padding-right: 44px;
    background: url('../img/more-r.svg') 90% 50% no-repeat;
    background-color: #fff;
    background-size: 16px;
}

.about__btn:hover, .about__btn:focus {
    background-color: #ffd8d8;
}

.directions {
    padding: 64px 0;
}

.directions__heading-title {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.directions__list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.directions__item {
    width: calc(33% - 12px);
    margin-bottom: 32px;
}

.directions__image {
    width: 100%;
    height: 132px;
    overflow: hidden;
    border-radius: 6px;;
}

.directions__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.directions__header {
    display: flex;
    justify-content: space-between;
}

.directions__content {
    padding: 10px;
    display: block;
}

.directions__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.directions__arrow {
    width: 36px;
    height: 36px;
    background-image: url('../img/arrow-right-big.svg');
    background-size: 36px;
    background-repeat: no-repeat;
}

.directions__item--medium {
    width: calc(40% - 12px);
}

.directions__item--big {
    width: calc(60% - 12px);
}

.callback {
    padding: 64px 0;
    background-color: #FAFAFA;
}

.callback__wrapper {
    display: flex;
    justify-content: space-between;
}

.callback__left, .callback__right {
    width: 50%;
}

.callback__right {
    text-align: center;
}

.callback__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.callback__form {
    background-color: #fff;
    border-radius: 6px;
    padding: 16px;
}

.form__row {
    margin-bottom: 16px;
}

.form__label {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--black);
    font-weight: bold;
}

.form__input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #EAEAEA;
    font-size: 16px;
    color: var(--black);
    outline: 0;
}

.form__input:focus {
    border-color: var(--primary);
}

.form__link {
    display: block;
    text-decoration: underline;
    color: var(--primary)
}

.form__submit {
    display: block;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    width: 100%;
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.2s ease-out;
    background-color: var(--primary);
    background-size: 16px;
}

.form__submit:hover, .form__submit:focus {
    background-color: #074b95;
}

.page {
    background-color: #F4F4F4;
    padding: 16px 0;
}

.page h1 {
    font-size: 36px;
}

.page__wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
}

.page__content {
    width: calc(100% - 380px);
    background-color: #fff;
    border-radius: 6px;
    padding: 16px;
}

.page__sidebar {
    width: 380px;
    padding-left: 16px;
}

.page__content p {
    margin-bottom: 8px;
}

.page__sidebar h2 {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.sidebar__form {
    margin-bottom: 32px;
}

.sidebar__news .news__item, .sidebar__news .news__content {
    width: 100%;
}

.page__content img {
    max-width: 100%;
}

.breadcrumbs {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.breadcrumbs__item {
    margin-right: 8px;
}

.breadcrumbs__item:last-child {
    margin-right: 0;
}

.breadcrumbs__item::after {
    content: '/';
    margin-left: 8px;
    color: #777;
    font-size: 12px;
}

.breadcrumbs__item:last-child::after {
    display: none;
}

.breadcrumbs__link {
    font-size: 12px;
    color: #777;
}

.breadcrumbs__link:hover {
    text-decoration: underline;
}

.footer__bottom {
    background-color: var(--primary);
    padding: 10px 0;
    color: #fff;
}

.footer__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.footer__link {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
}

.footer__links {
    border-top: 1px solid #79A5D5;
}

.footer__links .container {
    display: flex;
    justify-content: space-between;
}

.f-links__group {
    
}

.f-links__group h3 {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 10px;
}

.f-links__item, .f-links__link {
    font-size: 14px;
    color: #A6C4E3;
    margin-bottom: 8px;
}

.f-links__link:hover {
    text-decoration: underline;
}

.f-links {
    padding-top: 20px;
}

.f-links__list .contacts__item {
    margin-bottom: 8px;
}

.footer__structure {
    padding-top: 20px;
}

.footer__structure-link {
    font-size: 18px;
    color: #fff
}
/* В самом конце вашего CSS: */
.directions__item--medium,
.directions__item--big {
  width: calc(33% - 12px) !important;
}
