/* ============================================================
   ЧЕШИРСКИЙ КОТ — основной CSS
   ============================================================ */

*,
*:focus,
*:hover {
    outline: none !important;
}

/* ============================================================
   БАЗА
   ============================================================ */
body {
    color: #3d2f2f;
    font-size: 14px;
    line-height: 21px;
    font-family: 'Rubik', sans-serif;
}

body.offcanvas-menu {
    overflow: hidden;
}

a {
    color: #3d2f2f;
    text-decoration: none;
    transition: color .2s ease;
}

a:hover,
a:focus {
    color: #f06b7a;
    text-decoration: none;
}

.required-star {
    color: #f06b7a;
}

/* ============================================================
   ЗАГОЛОВКИ ПО ВСЕМУ САЙТУ
   ============================================================ */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Rubik', sans-serif;
    color: #3d2f2f;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 15px;
}

h1, .h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -.3px;
}

h2, .h2 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.2px;
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 25px;
}

h2:after,
.h2:after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #f06b7a 0%, #4fb3e8 100%);
    position: absolute;
    left: 0;
    bottom: 0;
}

h2.text-center:after,
.text-center > h2:after {
    left: 50%;
    transform: translateX(-50%);
}

h3, .h3 {
    font-size: 24px;
    font-weight: 700;
}

h4, .h4 {
    font-size: 20px;
    font-weight: 600;
}

h5, .h5 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .3px;
}

h6, .h6 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #8a7a7a;
}

/* H1 на внутренних */
.page-title {
    margin: 0 0 25px;
    font-size: 32px;
    font-weight: 700;
    color: #3d2f2f;
    line-height: 1.3;
    position: relative;
    padding-bottom: 14px;
}

.page-title:after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #f06b7a 0%, #4fb3e8 100%);
    position: absolute;
    left: 0;
    bottom: 0;
}

/* ============================================================
   ШАПКА
   ============================================================ */
header {
    height: auto;
}

.logotip {
    margin: 30px 0 0 0;
}

.logotip img {
    max-width: 100%;
    width: auto;
}

.logotip-mobile {
    display: none;
}

/* ============================================================
   ВЕРХНЕЕ МЕНЮ (.nav-top)
   ============================================================ */
.navbar,
.navbar-fixed-top,
.scroll-fixed-navbar {
    background: transparent !important;
    margin: 5px 0 0 0;
    border: none;
    box-shadow: none;
}

.nav-top {
    padding: 0;
    list-style: none;
    background: transparent !important;
    margin: 5px 0 0 0;
}

.nav-top a,
.nav-top a:hover {
    text-decoration: none;
}

.nav-top__item {
    display: inline-block;
}

.nav-top__item > a,
.nav-top > li > a {
    display: block;
    background: #dff2fc !important;
    color: #2a8fc4 !important;
    border-radius: 20px !important;
    padding: 10px 20px !important;
    margin: 0 3px;
    font-weight: 600;
    transition: background .2s ease, color .2s ease, transform .15s ease;
}

.nav-top__item > a:hover,
.nav-top > li > a:hover {
    background: #4fb3e8 !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.nav-top__item.active > a,
.nav-top__item > a.active,
.nav-top__item > a.selected,
.nav-top > li.active > a,
.nav-top > li.selected > a,
.nav-top > li > a.selected-nav {
    background: #7cc47f !important;
    color: #fff !important;
    border-radius: 20px !important;
}

.nav-top__item.dropdown {
    position: relative;
}

.nav-top__item > .dropdown-menu,
.nav-top > li > .dropdown-menu {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.4);
    top: 100%;
    border-radius: 0;
    background: transparent;
}

.nav-top__item:hover > .dropdown-menu,
.nav-top > li:hover > .dropdown-menu {
    display: block;
}

.nav-top__item .dropdown-item,
.nav-top > li .dropdown-item {
    display: block;
    background: #f06b7a !important;
    color: #fff !important;
    padding: 10px 20px !important;
    transition: background .2s ease;
}

.nav-top__item .dropdown-item:hover,
.nav-top > li .dropdown-item:hover {
    background: #d94a5c !important;
    color: #fff !important;
}

.nav-top__item .dropdown-item.active,
.nav-top > li .dropdown-item.active {
    background: #d94a5c !important;
    color: #fff !important;
}

/* ============================================================
   БЛОК МЕНЮ ПОД ШАПКОЙ
   ============================================================ */
.header-menu {
    padding: 10px 0;
    background: transparent;
}

.header-menu .nav-top {
    text-align: center;
}

/* ============================================================
   КОНТАКТЫ ВВЕРХУ
   ============================================================ */
.top-contacts {
    display: block;
    text-align: right;
    margin: 0 0 0 0;
    color: #3d2f2f;
}

.top-contacts a {
    color: #2a8fc4;
    font-weight: 600;
}

.top-contacts a:hover {
    color: #f06b7a;
}

/* ============================================================
   САЙДБАР
   ============================================================ */
.sidebar {
    margin-top: 0;
    position: relative;
    z-index: 1;
}

/* ============================================================
   ЛЕВОЕ МЕНЮ
   ============================================================ */
.nav-left {
    padding: 0;
    margin: 0 0 30px;
    list-style: none;
}

.nav-left .nav-left__title {
    padding: 12px 16px;
    font-size: 20px;
    font-weight: 700;
    margin-top: 15px;
    color: #fff;
    background: #4fb3e8;
    border-radius: 12px 12px 0 0;
    letter-spacing: .5px;
}

.nav-left .nav-left__item {
    position: relative;
    background: #dff2fc;
    border-bottom: 1px solid #fff;
}

.nav-left .nav-left__item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.nav-left .nav-left__item a {
    display: block;
    padding: 12px 35px 12px 16px;
    position: relative;
    text-decoration: none;
    color: #2a8fc4;
    font-weight: 500;
    transition: background .2s ease, color .2s ease, padding-left .2s ease;
}

.nav-left .nav-left__item a:hover {
    text-decoration: none;
    background: #4fb3e8;
    color: #fff;
    padding-left: 22px;
}

.nav-left .nav-left__item.dropdown > a:before {
    display: block;
    content: "\f105";
    font-family: FontAwesome;
    position: absolute;
    right: 15px;
    top: 50%;
    font-size: 20px;
    margin-top: -10px;
    color: inherit;
    transition: transform .2s ease;
}

.nav-left .nav-left__item.dropdown > a:hover:before {
    transform: translateX(4px);
}

.nav-left .nav-left__item.active,
.nav-left .nav-left__item.current {
    background: #7cc47f;
}

.nav-left .nav-left__item.active > a,
.nav-left .nav-left__item.current > a,
.nav-left .nav-left__item > a.active {
    background: #7cc47f;
    color: #fff;
    font-weight: 700;
}

.nav-left .nav-left__item.active > a:hover,
.nav-left .nav-left__item.current > a:hover {
    background: #4ea651;
    color: #fff;
}

.nav-left .nav-left__item:after,
.nav-left .dropdown-item:after {
    content: " ";
    position: absolute;
    z-index: 1;
    width: 0px;
    height: 3px;
    bottom: 0;
    left: 0;
    margin: -3px 0 0 0;
    background: #f06b7a;
    transition: 150ms ease all;
}

.nav-left .nav-left__item:hover:after,
.nav-left .dropdown-item:hover:after {
    width: 100%;
}

.nav-left__item > .dropdown-menu {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, .2);
    top: 0;
    left: 100%;
    border-radius: 0;
    min-width: 230px;
    background: #dff2fc;
}

.nav-left__item:hover > .dropdown-menu {
    display: block;
}

.nav-left__item .dropdown-item {
    display: block;
    color: #2a8fc4;
    background: #dff2fc;
    padding: 10px 16px;
    border-bottom: 1px solid #fff;
    transition: background .2s ease, color .2s ease;
}

.nav-left__item .dropdown-item:hover {
    color: #fff;
    background: #4fb3e8;
}

/* ============================================================
   КОНТЕНТ И СЛАЙДЕР
   ============================================================ */

/* Главная — отступ 220px */
#content-main,
.content-main,
.content-page {
    margin-top: 0;
    padding-top: 220px;
    display: block;
    overflow: visible;
}

/* Внутренние — отступ 160px */
body.page #content-main,
body.page .content-page {
    padding-top: 160px;
}

#main-carousel {
    margin-top: 0;
    padding-bottom: 20px;
}

/* ============================================================
   НОВОСТИ — полная стилизация
   ============================================================ */

/* Список новостей */
.news-list {
    margin-top: 10px;
}

.news-list__item {
    position: relative;
    padding: 22px 0;
    border-bottom: 1px dashed #ffe3e7;
    transition: background .2s ease;
}

.news-list__item:last-child {
    border-bottom: none;
}

.news-list__item + .news-list__item {
    margin-top: 0;
    border-top: none;
    padding-top: 22px;
}

/* Дата */
.news-list__date {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #b9a5a5;
    background: #fdf3f4;
    border-radius: 12px;
    padding: 4px 12px;
    margin-bottom: 8px;
}

/* Заголовок новости */
.news-list__title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #3d2f2f;
    margin-bottom: 6px;
    transition: color .2s ease;
}

.news-list__title:hover {
    color: #f06b7a;
    text-decoration: none;
}

/* Описание новости */
.naws-list__desc {
    color: #6b5c5c;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 6px;
}

.naws-list__desc p {
    margin-bottom: 8px;
}

.naws-list__desc ul {
    padding-left: 20px;
}

/* Картинка новости */
.news-list__img {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 10px;
}

.news-list__img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform .4s ease;
}

.news-list__item:hover .news-list__img img {
    transform: scale(1.05);
}

/* Главный блок новостей */
.news-main {
    margin-top: 20px;
}

.news-main__title {
    font-size: 26px;
    font-weight: 700;
    color: #3d2f2f;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.news-main__title:after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #f06b7a 0%, #4fb3e8 100%);
    position: absolute;
    left: 0;
    bottom: 0;
}

/* Сайдбар-новости */
.sidebar-news {
    margin-top: 30px;
    background: #fdf7f7;
    border-radius: 14px;
    padding: 18px 18px 10px;
}

.sidebar-news__title {
    font-size: 18px;
    font-weight: 700;
    color: #3d2f2f;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffe3e7;
}

.sidebar-news .news-list__item {
    padding: 12px 0;
    border-bottom: 1px dashed #ffe3e7;
}

.sidebar-news .news-list__item:last-child {
    border-bottom: none;
}

.sidebar-news .news-list__title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 4px;
}

.sidebar-news .news-list__date {
    font-size: 11px;
    padding: 3px 10px;
}

/* Кнопка «Все новости» */
.btn-news-more {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 24px;
    background: #f06b7a;
    color: #fff !important;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: background .2s ease, transform .15s ease;
}

.btn-news-more:hover {
    background: #7cc47f;
    color: #fff !important;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ============================================================
   БЛОК КАТЕГОРИЙ
   ============================================================ */
.category-list__title {
    margin-bottom: 20px;
    color: #3d2f2f;
    position: relative;
    padding-bottom: 12px;
}

.category-list__title:after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #f06b7a 0%, #4fb3e8 100%);
    position: absolute;
    left: 0;
    bottom: 0;
}

.category-item {
    text-align: center;
    margin-bottom: 20px;
    display: inline-block;
    vertical-align: top;
    float: none;
}

.category-item img {
    width: 100%;
    max-width: 100%;
    display: block;
    max-height: 200px;
    margin-bottom: 10px;
    object-fit: contain;
    transition: transform .3s ease;
}

.category-item:hover img {
    transform: scale(1.05);
}

.category-item .category-title {
    display: block;
    color: #2a8fc4;
    font-weight: 600;
    transition: color .2s ease;
}

.category-item a:hover .category-title {
    color: #f06b7a;
}

/* ============================================================
   ОТЗЫВЫ
   ============================================================ */
.reviews .reviews-item {
    font-size: 13px;
    padding: 15px 15px;
}

.reviews .reviews-item .author {
    font-size: 18px;
    line-height: 18px;
    color: #4fb3e8;
    font-weight: 600;
}

.reviews .reviews-item .author span.date {
    font-size: 13px;
    margin-left: 15px;
    color: #b9a5a5;
    font-weight: 400;
}

.block-form-reviews {
    margin-top: 0;
}

.block-reviews-list {
    margin-top: 20px;
    margin-bottom: 20px;
}

#question_message {
    height: 185px;
}

/* ============================================================
   КНОПКА «ЗАКАЗАТЬ ЗВОНОК»
   ============================================================ */
.callback-button {
    display: block;
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
    width: 200px;
    position: absolute;
    height: 50px;
    right: -75px;
    text-align: center;
    top: 220px;
    padding: 15px;
    font-size: 20px;
    z-index: 50;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    background: #f06b7a;
    border-radius: 20px 20px 20px 20px;
    font-weight: 700;
    transition: background .25s ease, color .25s ease;
}

.callback-button:hover,
.callback-button:focus {
    text-decoration: none;
    color: #fff;
    background: #7cc47f;
}

/* Форма попапа */
.callback-form .callback_header {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #3d2f2f;
}

.callback-form .form-group label {
    font-weight: 600;
    color: #3d2f2f;
}

.callback-form .form-control {
    border-radius: 10px;
    border: 1px solid #dff2fc;
    height: 42px;
}

.callback-form .form-control:focus {
    border-color: #4fb3e8;
    box-shadow: 0 0 0 3px rgba(79, 179, 232, .15);
}

.callback-form .btn-theme {
    background: #f06b7a;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 30px;
    font-weight: 700;
    transition: background .2s ease;
}

.callback-form .btn-theme:hover {
    background: #7cc47f;
    color: #fff;
}

/* ============================================================
   ПОДВАЛ
   ============================================================ */
footer {
    padding: 20px 0;
    margin-top: 30px;
    background: #7cc47f;
    color: #ffffff;
}

footer a,
#copyright,
.bottom-contacts,
.bottom-contacts a {
    color: #ffffff;
}

footer a:hover {
    color: #ffe3e7;
}

/* ============================================================
   КНОПКА НАВЕРХ
   ============================================================ */
#scrollUp {
    display: none;
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    opacity: 0.7;
    transition: all 250ms linear;
    z-index: 90 !important;
    border-radius: 50%;
    background: #4fb3e8;
    color: #fff;
    text-align: center;
    line-height: 45px;
    font-size: 40px;
}

#scrollUp:hover {
    opacity: 1;
    background: #f06b7a;
}

/* ============================================================
   МОБИЛЬНАЯ КНОПКА-ГАМБУРГЕР
   ============================================================ */
.navbar-toggle {
    font-size: 30px;
    color: #3d2f2f;
    text-decoration: none;
    display: none;
    float: left;
    margin: 0;
    line-height: 1;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 110;
    background: #fff;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    padding: 7px 10px;
}

.navbar-toggle.active {
    color: #fff;
    background: transparent;
    box-shadow: none;
}

.navbar-toggle:after {
    content: "\f0c9";
    font-family: FontAwesome;
    vertical-align: middle;
}

.navbar-toggle:hover,
.navbar-toggle:focus {
    text-decoration: none;
}

/* ============================================================
   ГАЛЕРЕИ / АЛЬБОМЫ
   ============================================================ */
.alboms-list {
    margin-top: 20px;
    margin-bottom: 20px;
}

.alboms-list > div,
.gallery-list > div {
    display: inline-block;
    float: none;
    vertical-align: top;
}

.albom-list__item {
    margin-bottom: 20px;
}

.albom-list__item .image {
    margin-bottom: 5px;
}

.albom-list__item .image img {
    max-width: 100%;
    width: 100%;
    display: block;
    min-width: 100%;
}

.albom-list__item .title {
    text-align: center;
}

.albom-list__item .title a:hover {
    text-decoration: none;
    color: #f06b7a;
}

.gallery-list__item {
    margin-bottom: 20px;
}

.gallery-list__item .image {
    margin-bottom: 5px;
}

.gallery-list__item .image img {
    max-width: 100%;
}

.gallery-list__item .title {
    text-align: center;
}

/* ============================================================
   SLICK-СЛАЙДЕР
   ============================================================ */
.slick-next,
.slick-prev {
    font-size: 25px;
    height: 45px;
    width: 45px;
    color: #fff;
    background: rgba(240, 107, 122, 0.75);
    border: none;
    position: absolute;
    top: 50%;
    padding: 0;
    z-index: 1;
    margin-top: -22px;
    opacity: 0;
    transition: all .3s ease;
}

.slick-slider:hover .slick-arrow {
    opacity: 1;
}

.slick-next:before,
.slick-prev:before {
    display: none;
}

.slick-next {
    right: 0;
}

.slick-prev {
    left: 0;
}

.slick-slide img {
    max-width: 100%;
}

.slick-dots li {
    width: 10px;
}

.slick-dots li button {
    width: 10px;
}

.slick-dots li button:before {
    font-size: 10px;
    width: 10px;
    color: #f06b7a;
    opacity: 1;
}

/* ============================================================
   ПОПАПЫ / ВКЛАДКИ
   ============================================================ */
.white-popup-block {
    background: #FFF;
    padding: 20px 30px;
    text-align: left;
    max-width: 650px;
    margin: 40px auto;
    position: relative;
    border-radius: 14px;
}

.white-popup {
    background: #fff;
    max-width: 500px;
    padding: 20px 30px;
    margin: 20px auto;
    position: relative;
    border-radius: 14px;
}

.nav-tabs {
    border-bottom: 0;
    margin-bottom: 20px;
}

.nav-tabs li a {
    border-radius: 4px;
    padding: 6px 15px;
    margin-right: 10px;
    text-transform: uppercase;
    color: #3d2f2f;
}

.nav-tabs li a:hover {
    color: #f06b7a;
}

/* ============================================================
   OFFCANVAS — мобильное меню
   ============================================================ */
.offcanvas {
    background: rgba(61, 47, 47, 0.98);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
    transform: translate(-100%);
}

.offcanvas.active {
    display: block;
    transform: translate(0);
}

.offcanvas-bar {
    overflow-y: auto !important;
    position: fixed;
    z-index: 110;
    height: auto;
    top: 80px;
    left: 0;
    bottom: 0;
}

.nav-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-mobile__title {
    font-size: 20px;
    padding: 30px 20px 10px;
    color: #fff;
}

.nav-mobile__item {
    padding: 5px 20px;
}

.nav-mobile__item > a {
    color: #fff;
    transition: color .2s ease;
}

.nav-mobile__item > a:hover {
    color: #f06b7a;
}

.nav-mobile__item .dropdown-menu {
    display: block;
    position: sticky;
    float: none;
    background: 0;
    box-shadow: none;
    border: 0;
    margin-left: 30px;
    padding: 0;
    margin-top: 5px;
}

.nav-mobile__item .dropdown-menu > a {
    color: #fff;
    display: block;
}

.nav-mobile__item .dropdown-menu > a:hover {
    color: #f06b7a;
}