/* ===== базовые утилиты ===== */
.section-padding { padding: 100px 0 90px; }
@media (max-width: 767px){ .section-padding { padding: 70px 0; } }
.mb-40 { margin-bottom: 40px; }
.fix { overflow: hidden; }

/* ===== шапка блока с фоном (hero) ===== */
/* .slider-area { position: relative; margin-top: -1px; }
.slider-height2 { min-height: 300px; }
@media (max-width: 575px){ .slider-height2 { min-height: 260px; } }

.hero-overly { position: relative; z-index: 0; }
.hero-overly::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(to right, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 66%);
}

.hero__caption.hero__caption2{ padding-top:20px; }
.hero__caption.hero__caption2 h2{
  color:#fff; font-weight:700; font-size:52px; margin:0 0 14px;
}
@media (max-width: 767px){ .hero__caption.hero__caption2 h2{ font-size:36px; } }
.hero__caption.hero__caption2 p{ color:#fff; font-size:18px; margin:0; } */





/* ===== секция Visit one (лево — картинка фоном, право — текст) ===== */
.visit-one{ background:#fff; display:flex; align-items:center; }
@media (max-width: 991px){ .visit-one{ display:block; } }




.visit-one .visit-team{
  /* Поставь свой фон через inline-style или класс slider-bg */
  background-size:cover; background-position:center;
  background-repeat:no-repeat; width:52%; height:100vh;
}



@media (max-width: 991px){ .visit-one .visit-team{ width:100%; height:400px; } }
@media (max-width: 575px){ .visit-one .visit-team{ height:300px; } }

.visit-one .tailor-details{ width:35%; padding:20px 40px 20px 80px; }
@media (max-width: 1199px){ .visit-one .tailor-details{ width:55%; padding:20px 30px; } }
@media (max-width: 991px){ .visit-one .tailor-details{ width:100%; padding:50px 30px; } }
.visit-one .tailor-details .single-items h4{ color:#ff5e13; margin-bottom:15px; }

/* Аккордеон Bootstrap в Visit one */
.visit-one .accordion-item{ border:0; border-top:1px solid #E5E5E5; border-bottom:1px solid #E5E5E5; border-radius:4px; }
.visit-one .accordion-button{ background:none; border:0; padding:20px 10px 21px 0; font-weight:700; }
.visit-one .accordion-button:focus{ box-shadow:none; }
.visit-one .accordion-body{ padding:20px 5px; }

/* ===== секция Visit two (текст слева, фон справа) ===== */
.visit-two{ background:#fff; display:flex; align-items:center; }
@media (max-width: 991px){ .visit-two{ display:block; } }

.visit-two .tailor-details{
  width:57%; padding:20px 90px 20px 380px;
}
@media (max-width: 1400px){ .visit-two .tailor-details{ padding:20px 30px; width:50%; } }
@media (max-width: 991px){ .visit-two .tailor-details{ width:100%; padding:0 30px; } }
.visit-two .tailor-details .pera{ margin-top:20px; font-size:28px; font-weight:300;  }

.visit-two .visit-team{
  background-size:cover; background-position:center; background-repeat:no-repeat;
  height:450px; width:43%;
}
@media (max-width: 991px){ .visit-two .visit-team{ width:100%; height:400px; } }

/* ===== секция Visit three (тёмная) ===== */
.visit-three{ background:#000; display:flex; align-items:center; }
@media (max-width: 991px){ .visit-three{ display:block; } }

.visit-three .tailor-details{ width:41%; padding:20px 40px 20px 80px; }
@media (max-width: 1199px){ .visit-three .tailor-details{ width:100%; padding:50px 30px; } }

.visit-three .tailor-details .single-gallery{
  border:1px solid #4B4B4B; padding:30px; background:none; transition:.4s;
}
.visit-three .tailor-details .single-gallery:hover{
  background:#272727; border-color:transparent;
}
.visit-three .tailor-details .single-gallery .thumb-content h3{ color:#fff; font-weight:700; }
.visit-three .tailor-details .single-gallery .thumb-content p{ color:#B2B2B2; }

.visit-three .visit-team{
  background-size:cover; background-position:center; background-repeat:no-repeat;
  height:752px; width:57%;
}
@media (max-width: 991px){ .visit-three .visit-team{ width:100%; height:400px; } }

/* ===== секция с видео справа ===== */
.visit-tailor-video{ background:#F8F8F8; display:flex; align-items:center; }
@media (max-width: 991px){ .visit-tailor-video{ display:block; } }

.visit-tailor-video .tailor-details{
  width:50%; padding:20px 100px 20px 300px;
}
@media (max-width: 1400px){ .visit-tailor-video .tailor-details{ width:50%; padding:20px 80px; } }
@media (max-width: 991px){ .visit-tailor-video .tailor-details{ width:100%; padding:50px 30px; } }
.visit-tailor-video .tailor-details h2{ font-size:46px; font-weight:600; margin-bottom:40px; }

.visit-tailor-video .tailor-offers{
  position:relative;
  background-size:cover; background-position:center; background-repeat:no-repeat;
  width:50%; height:528px;
}
@media (max-width: 991px){ .visit-tailor-video .tailor-offers{ width:100%; height:400px; } }

/* Кнопка play */
.visit-tailor-video .video-icon{
  position:absolute; left:0; right:0; top:50%; transform:translateY(-50%) scale(0.2); text-align:center;
}
/* .visit-tailor-video .video-icon .btn-icon{
  position:relative; display:inline-block; width:100px; height:100px; line-height:100px;
  border-radius:50%; background:#fff;
}
.visit-tailor-video .video-icon .btn-icon::before{
  content:""; position:absolute; inset:-2px; border-radius:inherit; border:1px solid #fff;
  animation:btnIconRipple 2s cubic-bezier(.23,1,.32,1) infinite both;
} */
/* @keyframes btnIconRipple { 0%{ transform:scale(1); opacity:1 } 100%{ transform:scale(1.4); opacity:0 } } */

/* ===== блок «Latest News» / блог-карточки ===== */
.home-blog-area{ padding:100px 0 50px; }
.home-blog-area .single-cat{ position:relative; background:#fff; transition:.2s; }
.home-blog-area .single-cat::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:3px; background:#E5E5E5; }
.home-blog-area .single-cat::before{ content:""; position:absolute; left:0; bottom:0; width:0; height:3px; background:#ff5e13; transition:.2s; z-index:2; }
.home-blog-area .single-cat:hover::before{ width:100%; }
.home-blog-area .single-cat .cat-img img{ width:100%; display:block; }
.home-blog-area .single-cat .cat-cap h5 > a{ display:block; font-weight:500; margin-bottom: 10px; }

/* Ровные карточки в Latest News */
/* .home-blog-area .row > [class*="col-"]{ display:flex; }    
.home-blog-area .single-cat{ display:flex; flex-direction:column; width:100%; } */

/* Единое окно под фото: выбери ratio какое нравится (3/2, 16/9 и т.п.) */
.home-blog-area .single-cat .cat-img{
  aspect-ratio: 3 / 2;       /* одинаковая высота */
  width:100%;
  overflow:hidden;
}
.home-blog-area .single-cat .cat-img img{
  width:100%; height:100%;
  object-fit:cover;           /* обрезаем лишнее, не тянем */
  display:block;              /* убираем «щели» от inline-img */
}

/* Текст: фиксируем минимум на 2 строки и не даём «гулять» высоте */
.home-blog-area .single-cat h5{
  margin:10px 0 0;
  line-height:1.3;
  font-weight:600;
  display:-webkit-box;       /* максимум 2 строки */
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:calc(1.3em * 2); /* равная высота заголовков */
}
.home-blog-area .single-cat .cat-cap p{ margin:10px 0 0; color:#888; }


/* ===== карусель логотипов ===== */
.brand-area{ background:#F8F8F8; }











/* Мои добавленные стили */

/* body {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 300;
} */

/* body, button, input, select, textarea {
  font-family: 'Montserrat', sans-serif;
} */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400;
}

/* Срытный блок h3 для аккордеона */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ======Под блоком hero */

.intro-text {
  font-size: 30px;
}

/* Шрифты popins для заголоыков */

.tailor-details span,
.tailor-details h2,
.section-tittle span,
.section-tittle h2 {
    font-family: 'Poppins', sans-serif !important;
}

.tailor-details span {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  display: inline-block;
  margin-bottom: 18px;
}

.section-tittle h2 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 12px;
}

/* ------------------------------------------- */

/* Аккордеон */

/* Заголовки аккордеона */
#accordionExample .card {
    border: none; /* убираем лишние рамки */
    margin-bottom: 10px;
}

#accordionExample .card-header {
    background: transparent; /* убираем серый фон */
    border: none;
    padding: 0;
}

#accordionExample .btn-link {
    display: block;
    width: 100%;
    text-align: left;
    font-weight: 600;
    font-size: 18px;
    color: #000000; /* красный как в шаблоне */
    text-decoration: none;
    padding: 12px 0;
    position: relative;
}

/* Иконка-стрелка */
#accordionExample .btn-link::after {
    content: "\f078"; /* иконка FontAwesome (стрелка вниз) */
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    color: #ff4b2b;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

/* При открытом аккордеоне поворачиваем стрелку */
#accordionExample .btn-link.collapsed::after {
    transform: translateY(-50%) rotate(0deg);
}
#accordionExample .btn-link:not(.collapsed)::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Контент аккордеона */
#accordionExample .card-body {
    padding: 10px 0 15px;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

/* Аккордеон — мобильный фикс */
/* mobile */
@media (max-width: 575.98px) {
  #accordionExample .card-header .btn.btn-link{
    font-size: 13px !important;   /* при необходимости */
  }

  /* стрелка */
  #accordionExample .btn-link::after{
    right: 10px;
  }
}

.section-tittle p {
  font-size: 20px !important;
}



/* --------------------------------------- */

/* Visit two (Mission) */

/* Стили для кнопки подробнее */

.btn_01 {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #f60; /* оранжевая рамка */
    color: #f60;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 500;
}

.btn_01 i {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.btn_01:hover {
    background-color: #f60;
    color: #fff;
}

.btn_01:hover i {
    margin-left: 14px;
}


/* ------------------------- */

/* --Visit three (+ мини-галерея)---- */

.section-tittle h2 {
  font-size: 30px;
}

/* ===== Кнопка-стрелка в белом круге ===== */
.thumb-content {
  display: flex;
  align-items: center;
  gap: 16px;
}
.thumb-content .capt { flex: 1 1 auto; }

.circle-arrow{
  --arrow-color: #ff6600;           /* твой фирменный оранжевый */
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--arrow-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.circle-arrow i { font-size: 16px; line-height: 1; }
/* Если используешь Themify (ti-...) */
.circle-arrow i.ti { font-size: 16px; }

.circle-arrow:hover{
  background: var(--arrow-color);
  color: #fff;
  transform: translateX(2px);
  box-shadow: 0 6px 16px rgba(255,102,0,.35);
}

/* Мобильная подгонка */
@media (max-width: 575.98px){
  .circle-arrow{ width: 40px; height: 40px; flex-basis: 40px; }
}

/* ------------------------------------------------------ */

/* =========Need help=================== */

.wantToWork-area {
    background: #f60;
}

.w-padding {
    padding-top: 42px;
    padding-bottom: 42px;
}

.wantToWork-area .wantToWork-caption h2 {
    color: #fff;
    font-size: 31px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 4px;
}

.wantToWork-area .wantToWork-caption p {
    color: #fff;
    font-size: 16px;
    margin-bottom: 0;
    font-weight: 400;
}

@media (max-width: 480px) {
  .wantToWork-area .wantToWork-caption p{
    padding-bottom: 30px;
  }
}

.btn_02 {
    color: #fff;
    background: none;
    color: #ffff !important;
    border: 2px solid #fff;
    display: inline-block;
    padding: 9px 14px;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 0px;
    font-weight: 500;
}

.btn_02:hover {
    background: #fff;
    border: 2px solid #fff;
    color: #000 !important;
}

/* ---------------------------------- */

/* Секция под видео ютуб и отзывы */

.testi-tittle h4 {
    color: #f60;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.h1-testimonial-active .testimonial-caption .testimonial-top-cap p {
    color: #636363;
    line-height: 1.5;
    margin-bottom: 32px;
    font-size: 24px;
    font-weight: 300;
}

.h1-testimonial-active .testimonial-caption .testimonial-founder .founder-text {
    margin-left: 20px;
    text-align: left;
}

.h1-testimonial-active .testimonial-caption .testimonial-founder .founder-text span {
    color: #000;
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 1px;
}

/* Блок с отзывом */

/* Контейнер слайдера — тут храним размеры/отступы как переменные */
.h1-testimonial-active{
  --arrow-size: 44px;            /* диаметр кнопки */
  --arrow-gap-desktop: 6px;     /* зазор НИЖЕ слайдера на десктопе */
  --arrow-gap-mobile: 8px;       /* нижний отступ на мобилке */
  position: relative;
}

/* Базовый вид стрелок */
.h1-testimonial-active .slick-arrow{
  position: absolute;
  top: calc(100% + var(--arrow-gap-desktop)); /* строго ниже низа слайдера */
  transform: none;
  width: var(--arrow-size);
  height: var(--arrow-size);
  border: 0;
  background: rgba(0,0,0,.15);
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  transition: background .2s ease, transform .2s ease;
}

/* Иконки (Font Awesome должен быть подключён) */
.h1-testimonial-active .slick-arrow i{
  display: inline-block;
  font-size: calc(var(--arrow-size) * .5);
  line-height: var(--arrow-size);
  color: #fff;
}

/* Положение по сторонам */
.h1-testimonial-active .slick-prev{ left: -10px; }
.h1-testimonial-active .slick-next{ right: -10px; }

/* Hover/Focus */
.h1-testimonial-active .slick-arrow:hover,
.h1-testimonial-active .slick-arrow:focus{ background: rgba(0,0,0,.3); }
.h1-testimonial-active .slick-arrow:focus-visible{
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 991px) {
    .visit-tailor-video .tailor-details {
        padding: 70px 30px;
    }
}

/* Мобильная адаптация: переносим стрелки вниз внутрь блока */
@media (max-width: 576px){
  .h1-testimonial-active{ padding-bottom: calc(var(--arrow-size) + 16px); }
  .h1-testimonial-active .slick-arrow{
    top: auto; bottom: var(--arrow-gap-mobile);
    background: rgba(0,0,0,.1);
  }
  .h1-testimonial-active .slick-prev{ left: 8px; }
  .h1-testimonial-active .slick-next{ right: 8px; }

  .visit-tailor-video .tailor-details {
        padding: 30px 30px;
    }
}

/* Отключаем дефолтные псевдо-стрелки Slick */
.slick-prev:before,
.slick-next:before{ content: none !important; }

/* Если у пользователя reduced motion — без анимаций */
@media (prefers-reduced-motion: reduce){
  .h1-testimonial-active .slick-arrow{ transition: none; }
}

/* Переопределить правило для slick */

/* переопределение без правки оригинала slick.css */
.slick-loading .slick-list {
  background-image: none !important;
}

/* Блок с отзывами */

.slick-slide img {
  border-radius: 50%;
}



