/* =========================================================
   FONT-FACE
   ========================================================= */
@font-face {
    font-family: "OpenSans Regular";
    src: url("../fonts/OpenSans-Regular.ttf");
    font-display: swap;
}

@font-face {
    font-family: "OpenSans Semibold";
    src: url("../fonts/OpenSans-Semibold.ttf");
    font-display: swap;
}

@font-face {
    font-family: "OpenSans Bold";
    src: url("../fonts/OpenSans-Bold.ttf");
    font-display: swap;
}

@font-face {
    font-family: "OpenSans Light";
    src: url("../fonts/OpenSans-Light.ttf");
    font-display: swap;
}

@font-face {
    font-family: "ImpactRegular";
    src: url("../fonts/ImpactRegular.eot");
    src: url("../fonts/ImpactRegular.eot#iefix") format("embedded-opentype"),
        url("../fonts/ImpactRegular.woff") format("woff"),
        url("../fonts/ImpactRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

/* =========================================================
   BASE
   ========================================================= */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

p {
    font: 14px "OpenSans Regular", sans-serif;
    color: #191919;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   BOOTSTRAP 5 — ФИКСЫ
   ========================================================= */
.form-group {
    margin-bottom: 1rem;
}

.btn-close {
    opacity: .6;
}

.btn-close:hover {
    opacity: 1;
}

/* =========================================================
   MODAL
   ========================================================= */
.modal {
    z-index: 99999;
}

.modal-body {
    padding: 35px;
}

.modal-header {
    border: none;
}

.modal-header h2 {
    font: 24px "OpenSans Bold", sans-serif;
    color: #0d0d0d;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto;
}

/* =========================================================
   HEADER / HERO
   ========================================================= */
header#parallax.site-header {
    position: relative;
    padding-top: 0;
    height: 690px;
    overflow: hidden;
    background: #fbfbfb;
}

/* Фон-параллакс */
.header-bg {
    position: absolute;
    inset: 0;
    background: url(/images/bg-header.jpg) center top no-repeat;
    background-size: cover;
    will-change: background-position;
    z-index: 0;
    pointer-events: none;
}

header#parallax.parallax-off .header-bg {
    background-attachment: scroll;
}

/* Слои над фоном */
.topbar,
.site-navbar.navbar,
.header-carousel {
    position: relative;
    z-index: 2;
}

/* Navbar — выше остальных слоёв шапки */
.site-navbar.navbar {
    z-index: 3;
}

/* Точка привязки мега-меню */
.site-navbar.navbar>.container {
    position: relative;
    align-items: stretch;
}

/* =========================================================
   TOPBAR — всё в одну строку, прижато вправо
   ========================================================= */
.topbar {
    padding: 14px 0 6px;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    flex-wrap: wrap;
}

.topbar__link {
    font: 18px "OpenSans Regular", sans-serif;
    color: #191919;
    text-decoration: none;
    white-space: nowrap;
}

.topbar__link strong {
    font-family: "OpenSans Bold", sans-serif;
}

.topbar__link:hover {
    color: #00b9ee;
    transition: .3s;
}

.social-list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: .3s;
}

.social-list a:hover {
    transform: translateY(-2px);
}

.social-list img {
    max-width: 24px;
    height: auto;
}

.btn-callback {
    font: 16px "OpenSans Regular", sans-serif;
    color: #f6f5f2;
    background-color: #00b9ee;
    border: 1px solid #00b9ee;
    border-radius: 14px;
    padding: 6px 20px 8px;
    white-space: nowrap;
}

.btn-callback:hover,
.btn-callback:focus {
    color: #00b9ee;
    background-color: #fff;
    border-color: #00b9ee;
    transition: .3s;
}

/* =========================================================
   TOPBAR — контакты с иконками
   ========================================================= */

/* Обёртка контактов (если где-то ещё есть) */
.topbar__contacts {
    display: flex;
    align-items: center;
    gap: 25px;
    /* отступ между телефоном и email */
    flex-wrap: wrap;
}

/* Ссылка */
.topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* отступ между иконкой и текстом */
    font: 18px "OpenSans Regular", sans-serif;
    color: #191919;
    text-decoration: none;
    white-space: nowrap;
    transition: color .3s;
}

.topbar__link strong {
    font-family: "OpenSans Bold", sans-serif;
}

.topbar__link:hover,
.topbar__link:focus {
    color: #00b9ee;
    text-decoration: none;
}

/* Иконка */
.topbar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #504944;
    /* синий акцент, как у кнопки */
    flex-shrink: 0;
}

.topbar__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* На ховере вся ссылка синяя, но иконка может остаться акцентной */
.topbar__link:hover .topbar__icon {
    color: #00b9ee;
}

/* Адаптив: на мобилке чуть компактнее */
@media (max-width: 768px) {
    .topbar__contacts {
        gap: 15px;
    }

    .topbar__link {
        font-size: 15px;
        gap: 6px;
    }

    .topbar__icon {
        width: 16px;
        height: 16px;
    }
}

/* =========================================================
   NAVBAR
   ========================================================= */
.site-navbar.navbar {
    padding: 0;
    background-color: transparent;
    transition: background-color .3s, box-shadow .3s, padding .3s;
    width: 100%;
}

.site-navbar.navbar.is-scrolled {
    position: fixed;
    z-index: 1030;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 1px 5px 3px rgba(0, 0, 0, .08);
    padding: 6px 0;
}

.site-navbar .navbar-brand {
    padding: 0;
    height: 95px;
    display: flex;
    align-items: center;
    transition: height .3s;
}

.site-navbar .navbar-brand img {
    width: 100%;
    max-width: 220px;
    height: auto;
    transition: max-width .3s;
}

.site-navbar.is-scrolled .navbar-brand {
    height: 60px;
}

.site-navbar.is-scrolled .navbar-brand img {
    max-width: 160px;
    height: 100%;
}

/* Навигация */
.site-navbar .navbar-nav {
    height: 100%;
    display: flex;
    align-items: center;
}

.site-navbar .nav-item {
    margin-right: 25px;
    height: 100%;
    align-items: center;
    display: flex;
}

.site-navbar .nav-item:last-child {
    margin-right: 0;
}

.site-navbar .navbar-nav .nav-link {
    font: 18px "OpenSans Semibold", sans-serif;
    color: #5a5a5a;
    text-transform: uppercase;
    padding: 8px 15px;
    display: block;
}

.site-navbar .navbar-nav .nav-link:hover,
.site-navbar .navbar-nav .nav-link:focus,
.site-navbar .navbar-nav .nav-link.active {
    color: #00b9ee;
    background-color: transparent;
    transition: .3s;
}

/* Обычный дропдаун (не мега-меню) */
.site-navbar .dropdown-menu {
    background-color: #e9e9e9;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    padding: 10px 0 10px 10px;
    min-width: 300px;
    margin-top: 0;
}

.site-navbar .dropdown-item {
    text-transform: none;
    font-family: "OpenSans Bold", sans-serif;
    font-size: 15px;
    color: #5a5a5a;
    padding: 6px 15px;
    white-space: normal;
}

.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item:focus {
    color: #00b9ee;
    background-color: transparent;
}

/* Бургер */
.site-navbar .navbar-toggler {
    border: 1px solid #00b9ee;
    padding: 6px 10px;
    background-color: #00b9ee;
}

.site-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(0, 185, 238, .3);
}

.site-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.site-navbar .navbar-toggler:hover {
    background-color: #fff;
}

.site-navbar .navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%2300b9ee' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@media (max-width: 991.98px) {
    .site-navbar .navbar-collapse {
        background-color: #fff;
        padding: 15px;
        border-radius: 6px;
        margin-top: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    }

    .site-navbar .navbar-nav {
        height: auto;
        display: block;
    }

    .site-navbar .nav-item {
        height: auto;
        display: block;
    }

    .site-navbar .navbar-nav .nav-link {
        font-size: 17px;
    }

    .site-navbar .nav-item {
        margin-right: 0;
    }
}

/* =========================================================
   MEGA MENU — «Наши услуги» (без JS)
   ========================================================= */

/* <li> — точка привязки */
.site-navbar__dropdown--mega {
    position: static;
}

/* Панель */
.site-navbar__dropdown--mega>.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 25px 30px 20px;
    background-color: #ffffff;
    border: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    border-radius: 0;
    z-index: 1000;
}

/* Невидимый мостик над панелью: перекрывает зазор между <a> и панелью,
   чтобы :hover на <li> не сбрасывался при переходе курсора */
.site-navbar__dropdown--mega>.mega-menu::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    height: 30px;
    background: transparent;
}

/* Сетка 5 колонок × 2 строки */
.mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

/* Карточка */
.mega-menu__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #191919;
    padding: 10px 8px;
    border-radius: 0px;
    transition: background-color .3s, transform .3s;
}

.mega-menu__item:hover {
    background-color: #f4f9fc;
    transform: translateY(-2px);
    color: #00b9ee;
}

/* Картинка — прямоугольная, ширина 100% */
.mega-menu__img {
    display: block;
    width: 100%;
    height: 100px;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 12px;
    background-color: #eee;
    flex-shrink: 0;
}

.mega-menu__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.mega-menu__item:hover .mega-menu__img img {
    transform: scale(1.08);
}

/* Название */
.mega-menu__title {
    font: 13px "OpenSans Semibold", sans-serif;
    color: inherit;
    text-transform: uppercase;
    letter-spacing: .3px;
    line-height: 1.3;
}

/* Футер панели */
.mega-menu__footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #ececec;
}

.btn-mega-all {
    font: 15px "OpenSans Bold", sans-serif;
    color: #fff;
    background-color: #00b9ee;
    border: 1px solid #00b9ee;
    border-radius: 14px;
    padding: 8px 28px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: .3s;
}

.btn-mega-all:hover,
.btn-mega-all:focus {
    color: #00b9ee;
    background-color: #fff;
    border-color: #00b9ee;
    text-decoration: none;
}

/* Показ по чистому :hover (десктоп) */
@media (min-width: 992px) {
    .site-navbar__dropdown--mega:hover>.mega-menu {
        display: block;
    }
}

/* Мобилка: мега-меню внутри бургер-меню */
@media (max-width: 991.98px) {
    .site-navbar__dropdown--mega>.mega-menu {
        position: static;
        display: none;
        padding: 10px 0 0;
        box-shadow: none;
        border: 0;
        background-color: transparent;
    }

    .site-navbar__dropdown--mega>.mega-menu::before {
        display: none;
    }

    .site-navbar__dropdown--mega.show>.mega-menu {
        display: block;
    }

    .mega-menu__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .mega-menu__img {
        height: 60px;
        margin-bottom: 8px;
    }

    .mega-menu__title {
        font-size: 11px;
    }

    .mega-menu__footer {
        margin-top: 12px;
        padding-top: 12px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .mega-menu__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

/* =========================================================
   HEADER CAROUSEL
   ========================================================= */
.header-carousel {
    margin-top: 30px;
}

#carousel {
    position: relative;
    z-index: 3;
}

#carousel .carousel-item {
    background: transparent;
}

#carousel .carousel-item .first {
    position: relative;
    top: 50px;
}

#carousel .carousel-item .first h1 {
    font: 130px "ImpactRegular", sans-serif;
    color: #191919;
    text-transform: uppercase;
    background-color: #fbfbfb;
    display: inline-block;
    padding: 13px 25px 7px;
    margin: 0;
    text-align: center;
}

#carousel .carousel-item .second {
    text-align: right;
}

#carousel .carousel-item .second h1 {
    font: 102px "ImpactRegular", sans-serif;
    color: #fff;
    background-color: #524a48;
    display: inline-block;
    text-transform: uppercase;
    width: 530px;
    text-align: right;
    margin: 0;
    padding: 49px 17px 5px 0;
}

#carousel .carousel-item .first.two h1 {
    text-transform: none;
    font-size: 80px;
}

#carousel .carousel-item .second.two h1 {
    text-transform: none;
    font-size: 70px;
}

/* Декоративные линии */
.line {
    top: 630px;
    left: 0;
    height: 100px;
    position: absolute;
    background-color: #fff;
    transform: rotate(6deg);
    transform-origin: 39% 0;
    width: 50.5%;
    float: left;
    pointer-events: none;
    z-index: 4;
}

.linetwo {
    top: 630px;
    right: -1px;
    height: 100px;
    position: absolute;
    width: 50.5%;
    background-color: #fff;
    transform: rotate(-6deg);
    transform-origin: 61% 0;
    float: right;
    pointer-events: none;
    z-index: 4;
}

/* =========================================================
   ABOUT (НАШИ УСЛУГИ)
   ========================================================= */
.about {
    padding: 50px 0;
}

.about h2 {
    margin-bottom: 50px;
    margin-top: 0;
    font: 48px "OpenSans Light", sans-serif;
    color: #00b9ee;
    text-transform: uppercase;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 130px;
    gap: 10px;
    width: 100%;
}

.about__item {
    position: relative;
    display: block;
    overflow: hidden;
    background-color: #eee;
    border-radius: 0;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    grid-column: span 1;
    grid-row: span 1;
}

.about__item>img {
    display: block;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.about__item:hover>img {
    transform: scale(1.06);
}


/* Раскладка через nth-child */
.about__item:nth-child(1) {
    grid-column: span 3;
    grid-row: span 2;
}

.about__item:nth-child(2) {
    grid-column: span 1;
    grid-row: span 2;
}

.about__item:nth-child(3) {
    grid-column: span 1;
    grid-row: span 2;
}

.about__item:nth-child(4) {
    grid-column: span 1;
    grid-row: span 2;
}

.about__item:nth-child(5) {
    grid-column: span 1;
    grid-row: span 2;
}

.about__item:nth-child(6) {
    grid-column: span 2;
    grid-row: span 2;
}

.about__item:nth-child(7) {
    grid-column: span 1;
    grid-row: span 2;
}

.about__item:nth-child(8) {
    grid-column: span 2;
    grid-row: span 2;
}

.about__item:nth-child(9) {
    grid-column: span 4;
    grid-row: span 2;
}

.about__item:nth-child(10) {
    grid-column: span 2;
    grid-row: span 2;
}

.about__item:nth-child(n+11) {
    grid-column: span 2;
    grid-row: span 2;
}

/* =========================================================
   ABOUT (НАШИ УСЛУГИ)
   ========================================================= */
.about {
    padding: 50px 0;
}

.about h2 {
    margin-bottom: 50px;
    margin-top: 0;
    font: 48px "OpenSans Light", sans-serif;
    color: #00b9ee;
    text-transform: uppercase;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 130px;
    gap: 10px;
    width: 100%;
}

.about__item {
    position: relative;
    display: block;
    overflow: hidden;
    background-color: #111;
    border-radius: 0;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    grid-column: span 1;
    grid-row: span 1;
    text-decoration: none;
    color: #fff;
}

/* Картинка */
.about__item>img {
    display: block;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: cover;
    object-position: center;
    transition: transform .6s ease, filter .4s ease;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    /* Постоянное лёгкое затемнение — текст всегда читается */
    filter: brightness(.85);
}

/* При наведении — картинка чуть темнее и увеличивается */
.about__item:hover>img {
    transform: scale(1.06);
    filter: brightness(.6);
}

/* Затемняющий градиент снизу (поверх картинки, под подписью) */
.about__item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 65%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .85) 0%,
            rgba(0, 0, 0, .45) 45%,
            rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 1;
    transition: opacity .4s ease;
    opacity: 1;
}

/* При наведении градиент усиливается */
.about__item:hover::after {
    background: linear-gradient(to top,
            rgba(0, 0, 0, .9) 0%,
            rgba(0, 185, 238, .35) 60%,
            rgba(0, 0, 0, 0) 100%);
}

/* Подпись */
.about__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 15px 16px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    z-index: 2;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .55);
    background: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
    pointer-events: none;
    line-height: 1.2;
}

/* Акцентная полоска под подписью */
.about__caption::after {
    content: "";
    position: absolute;
    left: 14px;
    bottom: 10px;
    width: 0;
    height: 1px;
    background-color: #00b9ee;
    transition: width .35s ease;
}

/* Ховер: подпись приподнимается, полоска выезжает */
.about__item:hover .about__caption {
    color: #ffffff;
}

.about__item:hover .about__caption::after {
    width: calc(100% - 28px);
}

/* =========================================================
   ЗАГОЛОВКИ СЕКЦИЙ
   ========================================================= */
.news h2,
.customs h2,
.contacts h2 {
    font: 48px "OpenSans Light", sans-serif;
    color: #00b9ee;
    text-transform: uppercase;
}

/* =========================================================
   NEWS
   ========================================================= */
.news {
    padding-top: 50px;
    padding-bottom: 50px;
}

.news__header {
    margin-bottom: 50px;
}

.news__header h2 {
    margin: 0;
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news__item {
    display: flex;
    flex-direction: column;
}

.news__item h4 {
    font: 16px "OpenSans Regular", sans-serif;
    color: #524a48;
    text-transform: uppercase;
    line-height: 23px;
    word-spacing: 1px;
    margin-bottom: 15px;
}

.news__item img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

.news__item p {
    font: 14px "OpenSans Regular", sans-serif;
    color: #191919;
    margin-bottom: 15px;
    flex-grow: 1;
}

.news__item a {
    font: 14px "OpenSans Bold", sans-serif;
    color: #191919;
    text-decoration: none;
    align-self: flex-start;
}

.news__item a:hover {
    text-decoration: underline;
}

.page-header {
    padding-bottom: 9px;
    margin: 0px 0 20px 0px;
    border-bottom: 1px solid #eee;
}

.mainContainer {
    padding-top: 40px;
}

@media (max-width: 992px) {
    .site-navbar.navbar>.container {
        position: relative;
        align-items: center;
    }

    h2 {
        font-size: 24px !important;
    }

    .news__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news__header {
        text-align: center;
        margin-bottom: 40px;
    }

    .news__item {
        text-align: center;
        align-items: center;
    }

    .news__item a {
        align-self: center;
    }
}

/* =========================================================
   CUSTOMS (расчёт стоимости)
   ========================================================= */
.customs {
    padding-top: 27px;
    padding-bottom: 130px;
}

.customs__header {
    margin-bottom: 35px;
}

.customs__header h2 {
    margin: 0;
}

.customs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-items: center;
}

.customs__item {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.customs .blockone {
    position: relative;
    margin-top: 0;
    display: inline-block;
}

.customs button {
    font: 18px "OpenSans Regular", sans-serif;
    color: #191919;
    background-color: #fff;
    text-transform: uppercase;
    border: 1px solid #524a48;
    border-radius: 0;
    width: 270px;
    padding: 33px 26px 29px;
    z-index: 1;
    position: relative;
}

.customs .shadow {
    width: 270px;
    background-color: #524a48;
    height: 90px;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 0;
}

.customs button:hover {
    top: 21px;
    left: 20px;
    transition: .4s ease;
}

@media (max-width: 992px) {
    .customs__grid {
        grid-template-columns: 1fr;
        gap: 60px;
        justify-items: center;
    }

    .customs {
        padding-bottom: 60px;
    }

    .customs__header {
        text-align: center;
    }
}

/* =========================================================
   CONTACTS
   ========================================================= */
.contacts {
    padding-bottom: 50px;
}

.contacts h2 {
    margin-bottom: 38px;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
    background-color: #524a48;
    overflow: hidden;
}

footer h3 {
    font: 24px "OpenSans Bold", sans-serif;
    color: #00b9ee;
    margin-bottom: 15px;
}

footer p {
    font: 18px "OpenSans Bold", sans-serif;
    color: #fff;
}

footer .address {
    margin-top: 65px;
}

footer .address p {
    font: 24px "OpenSans Regular", sans-serif;
    color: #fff;
}

footer .address p span {
    font-family: "OpenSans Bold", sans-serif;
    color: #00b9ee;
}

footer a {
    display: inline-block;
    margin-top: 82px;
}

footer a img.img-responsive {
    display: inline;
}

footer p.down {
    display: inline-block;
}

footer p.down>a {
    font: 14px "OpenSans Light", sans-serif;
    color: #fff;
}

footer .footer__info {
    padding: 52px 30px 30px;
}

footer .footer__map {
    padding: 0;
}

footer .footer__map iframe {
    display: block;
}

/* =========================================================
   FORMS
   ========================================================= */
form input,
form .form-control {
    font: 16px "OpenSans Regular", sans-serif;
    color: #232323;
    border-radius: 0;
    border: 1px solid #00b9ee;
    height: 39px;
    box-shadow: 7px 7px 0 0 #d1cccb;
}

form input:focus,
form .form-control:focus {
    border-color: #00b9ee;
    box-shadow: 7px 7px 0 0 #d1cccb;
    outline: none;
}

form input[type="submit"] {
    font: 24px "OpenSans Bold", sans-serif;
    background-color: #00b9ee;
    color: #fff;
    width: 374px;
    height: 62px;
    margin: 35px auto 0;
    box-shadow: 7px 7px 0 0 #005d78;
    cursor: pointer;
    border: 1px solid #00b9ee;
}

form input[type="submit"]:hover,
form input[type="submit"]:focus {
    transition: .4s;
    background-color: #fff;
    color: #00b9ee;
}

form select {
    margin-bottom: 15px;
}

form select option {
    margin-bottom: 10px;
}

form textarea.form-control {
    height: inherit;
}

form .form-control.paper,
form .form-control.paper1 {
    width: 248px;
}

form .form-control.paper {
    float: left;
}

form .form-control.paper1 {
    float: right;
}

select.form-control {
    background: #fff url("/images/arrow-down.png") no-repeat center right;
    position: relative;
    z-index: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 30px;
}

/* =========================================================
   BLOG
   ========================================================= */
.blog .col-lg-4 a {
    padding-left: 10px;
    color: #191919;
    font: 14px "OpenSans Bold", sans-serif;
}

.blog .col-lg-4 p {
    padding: 18px 0 0 10px;
}

.blog .col-lg-4 {
    margin-bottom: 20px;
}

/* =========================================================
   АДАПТИВ ОБЩИЙ
   ========================================================= */
@media only screen and (max-width: 1200px) {
    .site-navbar .nav-item {
        margin-right: 1px;
    }

    .site-navbar .navbar-nav .nav-link {
        font-size: 16px;
    }

    .site-navbar .dropdown-item {
        font-size: 15px;
    }

    #carousel .carousel-item .first {
        left: 150px;
    }
}

@media only screen and (max-width: 992px) {
    .site-navbar .nav-item {
        margin-right: 1px;
    }

    .site-navbar .navbar-nav .nav-link {
        font-size: 13px;
        padding-right: 6px;
        padding-left: 6px;
    }

    #carousel .carousel-item .first h1 {
        font-size: 100px;
    }

    #carousel .carousel-item .second h1 {
        font-size: 80px;
    }

    #carousel .carousel-item .first.two h1 {
        font-size: 70px;
    }

    #carousel .carousel-item .second.two h1 {
        font-size: 60px;
    }

    .line,
    .linetwo {
        width: 51%;
    }

    footer .footer__info,
    .contacts h2 {
        text-align: center;
    }

    .topbar__inner {
        justify-content: center;
        text-align: center;
    }

    /* About на планшете — 4 колонки */
    .about {
        padding: 40px 0;
    }

    .about__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: 120px;
    }

    .about__item,
    .about__item:nth-child(n) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .about__item:nth-child(1) {
        grid-column: span 4;
        grid-row: span 2;
    }

    .about__item:nth-child(6) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .about__item:nth-child(8) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .about__item:nth-child(9) {
        grid-column: span 4;
        grid-row: span 2;
    }

    .about__caption {
        font-size: 15px;
        padding: 8px 12px;
    }
}

@media only screen and (max-width: 768px) {
    header#parallax.site-header {
        height: auto;
        min-height: 690px;
        padding-bottom: 40px;
    }

    .site-navbar .navbar-nav .nav-link {
        font-size: 17px;
    }

    .site-navbar .navbar-nav .nav-link:hover {
        padding-left: 15px;
        transition: .4s;
    }

    .site-navbar .dropdown-item {
        font-size: 16px;
    }

    .site-navbar .navbar-toggler {
        margin-right: 0;
    }

    #carousel .carousel-item .first h1 {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 90px;
    }

    #carousel .carousel-item .second h1 {
        width: 430px;
        font-size: 70px;
    }

    #carousel .carousel-item .first.two h1 {
        font-size: 55px;
    }

    #carousel .carousel-item .second.two h1 {
        font-size: 50px;
    }

    #carousel .carousel-item .first {
        left: -15px;
    }

    .line,
    .linetwo {
        width: 51.5%;
    }

    .topbar {
        padding: 10px 0;
    }

    .topbar__link {
        font-size: 15px;
    }

    .btn-callback {
        font-size: 14px;
        padding: 5px 15px 7px;
    }
}

@media only screen and (max-width: 576px) {

    /* About на мобилке — 2 колонки */
    .about {
        padding: 30px 0;
    }

    .about__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 130px;
    }

    .about__item,
    .about__item:nth-child(n) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .about__caption {
        font-size: 14px;
        padding: 16px 14px;
    }
}

@media only screen and (max-width: 480px) {
    #carousel .carousel-item .first h1 {
        font-size: 80px;
    }

    #carousel .carousel-item .second h1 {
        width: 340px;
        font-size: 60px;
    }

    #carousel .carousel-item .first.two h1 {
        font-size: 40px;
    }

    #carousel .carousel-item .second.two h1 {
        font-size: 35px;
    }

    .topbar__inner {
        gap: 15px;
    }

    form input[type="submit"] {
        width: 100%;
        font-size: 18px;
    }

    form .form-control.paper,
    form .form-control.paper1 {
        width: 100%;
        float: none;
    }

    .line,
    .linetwo {
        width: 52%;
    }
}

@media only screen and (max-width: 350px) {
    #carousel .carousel-item .second h1 {
        width: 320px;
    }
}

/* =========================================================
   PREFERS-REDUCED-MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    header#parallax .header-bg {
        background-attachment: scroll;
    }

    * {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}