/* font */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
:root {
  --alt-font: 'Inter', sans-serif;
  --primary-font: 'Montserrat', sans-serif;
}
/* variable */
:root {     
    --base-color: #f7d2ca;
    --medium-gray:#727272;
    --dark-gray:#2d2c2b; 
    --nero-gray:#1e1d1d;  
    --light-red: #c8b2ab;
    --alt-font: 'Space Grotesk', sans-serif;
    --primary-font: 'Inter', sans-serif;
}
/* custom cursor */
@media (hover: hover) and (pointer: fine) {
    .custom-cursor .circle-cursor-outer {
        border: 1px solid transparent;
    }
    .custom-cursor .circle-cursor-inner {
        width: 20px;
        height: 20px;
        left: -5px;
        top: -5px;
        background: var(--dark-gray);
    }
    .custom-cursor .circle-cursor-inner.cursor-link-hover {
        width: 30px;
        height: 30px;
        background: var(--white);
        opacity: 0.5 !important;
    }
}
body {
    font-size: 17px;
    line-height: 30px;
}
/* header */
header .container-fluid {
    padding-left: 65px;
    padding-right: 65px;
}
.navbar .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 19px;
}
header .navbar-brand {
    padding: 35px 0;
}
header .navbar-brand img {
    max-height: 39px;
}
header .header-button .btn {
    text-transform: inherit;
    font-weight: 600;
    letter-spacing: 0;
}
header .header-button .btn.btn-switch-text > span {
    padding: 10px 24px;
}
.newsletter-style-02 input {
    padding-right: 50px !important;
    font-size: 14px;
}
/* swiper slider */ 
.banner-slider .swiper-slide .position-absolute {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    transition: 1.5s;
    opacity: 0;
}
.banner-slider .swiper-slide.swiper-slide-active .position-absolute {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
    opacity: 1;
}
.fs-34 {
    font-size: 2.125rem;
    line-height: 2.20rem;
}
/* bg color */
.bg-nero-gray {
    background-color: var(--nero-gray);
}
/* bg sliding line */ 
.bg-sliding-line { 
    background-image: linear-gradient(135deg, transparent 45%, #d1b9b2 45%, #d1b9b2 55%, transparent 0);
    background-size: 5px 5px;
}
.bg-sliding-line-dark-gray { 
    background-image: linear-gradient(135deg, transparent 45%, #464646 45%, #464646 55%, transparent 0);
    background-size: 5px 5px;
}
/* bg color */ 
.bg-base-color-transparent {
    background-color: rgba(239, 211, 203,.6);
}
.border-color-light-red {
    border-color: var(--light-red) !important; 
}
.border-color-transparent-dark-very-light {
  border-color: rgba(35, 35, 35, 0.15) !important;
}
/* highlight separator */ 
.highlight-separator[data-shadow-animation] span {
    height: 100px;
    z-index: -1;
}
.highlight-separator[data-shadow-animation] span img {
    height: 100px;
    width: auto;
}
.highlight-separator-small .highlight-separator[data-shadow-animation] span {
    height: 45px; 
    bottom: -10px;
}
.highlight-separator-small .highlight-separator[data-shadow-animation] span img {
    height: 45px; 
    width: 100%;
}
/* btn */
.btn.btn-hover-animation-switch {
    text-transform: none;
    font-family: var(--primary-font);
}
/* blog only text */
.blog-only-text .card-body:after {
    display: none;
}
/* margin */
.mb-minus-50px {
    margin-bottom: -50px;
}
/* right */
.right-minus-40 {
    right: -40%;
}
/* page title extra large */
.page-title-extra-large h1 {
    font-size: 4.8rem;
    line-height: 4.8rem;
}
.extra-very-small-screen {
    height: 180px !important;
}
/* team style */ 
.team-style-08 figure figcaption .social-icon a {
    background-color: var(--base-color);
}
.team-style-08 figure figcaption .social-icon a:hover {
    color: var(--dark-gray);
}
.team-style-08.skrollable {
    transition: none !important; 
}
/* footer */
footer .footer-logo img {
    max-height: 48px; 
}
.newsletter-style-02 .btn { 
    padding: 10px 15px 9px 15px;  
}
footer a:hover, .footer-navbar li a:hover {
    color: var(--dark-gray);
}
/* media query responsive */
@media (max-width: 1600px) {
    .fs-140 {
        font-size: 8.125rem; 
    }
}
@media (max-width: 1199px) {
    .fs-140 {
        font-size: 6.875rem;
    }
    .lh-95 {
        line-height: 4.75rem;
    }
}
@media (max-width: 991px) {
    [data-mobile-nav-style=full-screen-menu] .navbar-full-screen-menu-inner .navbar-nav > .nav-item {
        border-bottom: 0;
        text-align: center;
        padding: 0;
    }
    [data-mobile-nav-style=full-screen-menu] .navbar-full-screen-menu-inner .navbar-nav .nav-item .nav-link {
        font-size: 36px;
        line-height: 40px;
    }
     header .navbar-brand {
        padding: 22px 0;
    }
}
@media (max-width: 767px) {
    .fs-140 {
        font-size: 5rem;
    }
    .lh-95 {
        line-height: 3.75rem;
    } 
}
@media (max-width: 767px) {
    /* Показываем top-bar на мобильных */
    header .header-top-bar {
        display: block !important;
        height: auto !important;
    }
    
    /* Скрываем левую колонку с текстом "Работаем по всей России..." */
    header .header-top-bar .col-lg-5 {
        display: none !important;
    }
    
    /* Показываем колонку с телефонами */
    header .header-top-bar .col-lg-7 {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        text-align: center !important;
        align-items: center;
        padding: 10px 0;
    }
    
    /* Телефоны в колонку */
    header .header-top-bar .col-lg-7 > span {
        margin: 3px 0;
    }
}
/* Стили ссылок в top-bar */
header .header-top-bar a {
    color: #fff !important;
    text-decoration: none !important;
}

header .header-top-bar a:hover {
    color: var(--orange) !important;
}
@media (max-width: 767px) {
    /* Уменьшаем отступ между телефонами */
    header .header-top-bar .col-lg-7 > span {
        margin-right: 15px !important;
    }
    
    /* Уменьшаем шрифт телефонов */
    header .header-top-bar .col-lg-7 {
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    /* На самых маленьких экранах ещё меньше */
    header .header-top-bar .col-lg-7 {
        font-size: 12px;
    }
    
    header .header-top-bar .col-lg-7 > span {
        margin-right: 10px !important;
    }
}
@media (max-width: 575px) {
    /* Убираем боковые отступы контейнера */
    header .header-top-bar .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Уменьшаем отступы между телефонами и иконками */
    header .header-top-bar .col-lg-7 > span {
        margin-right: 8px !important;
    }
    
    header .header-top-bar .col-lg-7 i {
        margin-right: 5px !important;
        margin-left: 0 !important;
    }
    
    /* Немного уменьшаем шрифт */
    header .header-top-bar .col-lg-7 {
        font-size: 13px;
    }
    
    header .header-top-bar .col-lg-7 a {
        font-size: 13px !important;
    }
}

@media (max-width: 575px) {
    /* Кнопка "Подробнее" */
    .btn.btn-small.ls-2px {
        white-space: nowrap;
        letter-spacing: 0 !important;
        padding: 8px 12px !important;
    }
    
    /* Цена */
    .fs-18.alt-font.fw-700 {
        white-space: nowrap;
        font-size: 15px !important;
    }
}
@media (max-width: 767px) {
    /* Блок консультации - всё по центру */
    .icon-with-text-style-08 .feature-box-content {
        text-align: center;
    }
    
    .icon-with-text-style-08 .feature-box-content h5 {
        text-align: center;
    }
    
    /* Кнопка и телефон по центру в колонку */
    .col-lg-6.text-center.text-lg-end {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .col-lg-6.text-center.text-lg-end .d-inline-block {
        margin-right: 0 !important;
        margin-bottom: 15px;
    }
    
    /* Телефон - запрет переноса */
    .col-lg-6.text-center.text-lg-end > a {
        white-space: nowrap;
    }
}
@media (max-width: 575px) {
    /* Блог - одна колонка на мобильных */
    .blog-classic.sm-grid-2col .grid-item {
        width: 100% !important;
    }
}
@media (max-width: 991px) {
    /* Блок с картой - авто высота */
    section#contact {
        height: auto !important;
    }
    
    /* Карта - относительное позиционирование */
    section#contact .map {
        position: relative !important;
        height: 400px !important;
    }
    
    section#contact .map iframe {
        height: 400px !important;
    }
    
    /* Контейнер с контактами */
    section#contact > .container {
        position: relative !important;
        top: 0 !important;
        height: auto !important;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    /* Блок контактов - сброс позиционирования */
    section#contact .bg-dark-gray {
        width: 100% !important;
        margin-top: -50px;
    }
}

@media (max-width: 575px) {
    section#contact .map,
    section#contact .map iframe {
        height: 350px !important;
    }
}
@media (max-width: 991px) {
    section#contact .bg-dark-gray {
        margin-bottom: 20px;
    }
}
@media (max-width: 767px) {
    /* Фильтр каталога - компактный */
    .portfolio-filter.nav-tabs {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .portfolio-filter.nav-tabs li {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .portfolio-filter.nav-tabs li a {
        padding: 8px 12px;
        font-size: 15px;
    }
}
@media (max-width: 767px) {
    /* Заголовок страницы - убираем отступы и уменьшаем шрифт */
    .page-title-large h1 {
        font-size: 36px !important;
        line-height: 44px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        letter-spacing: 0 !important;
    }
    
    .page-title-separate-breadcrumbs .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 575px) {
    .page-title-large h1 {
        font-size: 32px !important;
        line-height: 40px !important;
    }
}
@media (max-width: 767px) {
    /* Главная - заголовок на слайдере */
    .full-screen h1,
    section.p-0 h1.fs-40 {
        font-size: 32px !important;
        line-height: 40px !important;
    }
}

@media (max-width: 575px) {
    .full-screen h1,
    section.p-0 h1.fs-40 {
        font-size: 28px !important;
        line-height: 36px !important;
    }
}
@media (max-width: 767px) {
    /* Главная - уменьшаем высоту слайдера */
    section.full-screen {
        min-height: auto !important;
    }
    
    /* Уменьшаем высоту картинки */
    section.full-screen .swiper.sm-h-450px {
        height: 300px !important;
    }
    
    section.full-screen .swiper .cover-background {
        object-fit: cover;
    }
}

@media (max-width: 575px) {
    section.full-screen .swiper.sm-h-450px {
        height: 250px !important;
    }
}