/*
Theme Name: ASH Textile Studio
Theme URI: https://ash-textile.kz
Author: Your Name
Author URI: https://cpm-team.com
Description: Тема для студии текстиля ASH Textile
Version: 1.0
Text Domain: ash-textile
*/
:root {
	--color: #000000;
	--color-lighten: #333333;
	--color-lighten10: #1a1a1a;
	--color-lighten2: #595959;
	--color-darken: #000000;
	--color-darken10: #000000;
	--color-alpha: rgba(0, 0, 0, 0.5);
	--color-alpha2: rgba(0, 0, 0, 0.2);
	--color-alpha3: rgba(0, 0, 0, 0.05);
	--color-alpha7: rgba(0, 0, 0, 0.7);
	--color-alpha8: rgba(0, 0, 0, 0.8);
	--color-text: #ffffff;
	--color-bg-text: #363636;
	--color-bg-alpha05: rgba(54, 54, 54, 0.05);
	--color-bg-alpha07: rgba(54, 54, 54, 0.07);
	--color-bg-alpha10: rgba(54, 54, 54, 0.1);
	--color-bg-alpha2: rgba(54, 54, 54, 0.2);
	--color-bg-alpha3: rgba(54, 54, 54, 0.3);
	--color-bg-alpha5: rgba(54, 54, 54, 0.5);
	--color-text2: #000000;
	--gradient-main: 331deg, rgb(0, 0, 0), rgb(51, 51, 51);
	--color-primary-text-button: #ffffff;
	--color-bg-sidebar: #ebebeb;
	--color-bg-sidebar-alpha55: rgba(235, 235, 235, 0.55);
	--color-bg-sidebar-alpha0: rgba(235, 235, 235, 0);
  --color-bg-0: #fff;
	--color-bg-1: #e0e0e0;
	--color-bg-2: #d9d9d9;
	--color-bg-3: #bfbfbf;
	--color-bg-4: #a6a6a6;
	--color-bg-5: #8c8c8c;
	--color-bg-6: rgba(54, 54, 54, 0.7);
	--color-bg-7: #e0e0e0;
	--color-bg-8: #cccccc;
	--color-bg-9: #363636;
	--color-bg-quiz: #f3f3f3;
	--color-bg-quiz-alpha55: rgba(243, 243, 243, 0.55);
	--color-bg-quiz-alpha8: rgba(243, 243, 243, 0.8);
	--color-bg-alpha0: rgba(243, 243, 243, 0);
	--color-bg-alpha7: rgba(54, 54, 54, 0.7);
	--color-white-label: #ffffff;
	--color-bg-sub-text: #999999;
	--font: 'Montserrat';
}
body{
    margin: 0;
}
/* cyrillic-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  }
  /* cyrillic */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  }
  /* vietnamese */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
  }
  /* latin-ext */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

  @font-face {
    font-family: 'Didot';
    font-style: normal;
    font-weight: 100 900;
    src: url(/fonts/Didot\ Bold.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
section{
	position: relative;
	display: grid;

}
/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 990;
    background: #fff;
    height: 80px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
  }
  
  .logo img {
    height: 65px;
    width: auto;
  }
  
  .desktop-nav {
    display: flex;
    gap: 30px;
    align-items: center;
  }
  
  .desktop-nav a {
    color: #222;
    text-decoration: none;
    font: 400 16px/1.5 'Montserrat', sans-serif;
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
  }
  
  .desktop-nav a:hover {
    /* color: #6f6f6f; */
        border-color: currentColor;
        opacity: 0.8;
  }
  
  .phone {
    padding: 8px 20px;
    border: 1px solid #222 !important;
    font-weight: 600;
    transition: all 0.2s;
  
  }
  
  .phone:hover {
    background: #222;
    color: #fff !important;
    border-bottom: none;
  }
  
  .mobile-menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 10px;
    cursor: pointer;
  }
  
  .mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #222;
    margin: 5px 0;
    transition: 0.3s;
  }
  
  .mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ebebeb;
    padding: 20px;
    text-align: center;
  }
  
  .mobile-nav.active {
    display: block;
  }
  
  .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
  }
  .language-link{
        color: var(--color-text);
        font: 400 clamp(0.75rem, 1.5vw, 0.875rem)/1.6 var(--font), sans-serif;
        text-decoration: none;
        border-bottom: 1px solid transparent;
        transition: border-color 0.3s ease, opacity 0.3s ease;
  }
  @media (max-width: 980px) {
    .desktop-nav {
      display: none;
    }
    
    .mobile-menu-toggle {
      display: block;
    }
    
    .mobile-nav a {
      display: block;
      padding: 15px;
      color: #222;
      text-decoration: none;
    }
    .header-video{
      filter: brightness(40%);
      width: 100%;
      height: 100%;
      object-fit: cover;
      
    }
    .main-image{
      position: relative;width: 100%;height: 100%;
    }
    .main-text{
      
    }
  }

/* MAIN */
.main-section {
    position: relative;
/*     padding-top: 80px; */
    /* min-height: calc(100vh - 80px); */
    background: #fff;
    overflow: hidden;
  }
  
.main-content {
	display: flex;
	align-items: center;
	/* max-width: 1200px; */
	margin: 0 auto;
	padding: 0px 0px 0px 20px;
	/* height: 100%; */
	height: 100vh;
	width: 100%;
}
  
/* .main-text {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex; 
    flex-direction: column;
    justify-content: center;
    padding-right: 20px; 
} */
  .main-text {
  flex: 1;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Выравнивание по вертикали */
  align-items: center; /* Добавлено: выравнивание по горизонтали */
  padding: 20px; /* Изменил padding-right на общий padding */
  text-align: center; /* Центрирование текста внутри */
}
  .main-title {
    font: 400 54px/1 var(--font);
    text-transform: uppercase;
    color: #1f1e1a;
    margin-bottom: 40px;
    max-width: 585px;
  }
  
  .studio-name,.studio-title {
    /* display: flex; */
    /* gap: 30px; */
    margin-top: 60px;
    opacity: 0.3;
    font-size: 18px;
  }
 .studio-title {
	 line-height: 28px;
	 }
  .main-image {
    flex: 1;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
  }
.header-video{
  width: 100%;
  height: 100%;
}
  .cta-button {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #e7e5e1;
    /* border-radius: 30px; */
    text-transform: uppercase;
    text-decoration: none;
    color: #1f1e1a;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 40px;
    font: 400 1.5em/1 var(--font);
  
  }
  
  .cta-button:hover {
    background: #1f1e1a;
    color: #fff;
    border-color: #1f1e1a;
  }
  
  .main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  @media (max-width: 1200px) {
    .main-title {
      font-size: 36px;
    }
  }
  
  @media (max-width: 980px) {
    .main-content {
      flex-direction: column;
      text-align: center;
      padding: 0px;
    }
    .main-text{
      display: flex;
      flex-direction: column; /* Вертикальное выравнивание */
      align-items: center; /* Центрирование по горизонтали */
      justify-content: center; /* Центрирование по вертикали */
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%); /* Центрирование текста */
      color: white; /* Цвет текста */
      text-align: center; /* Выравнивание текста по центру */
      z-index: 2; /* Убедитесь, что текст поверх видео */
      width: 90%;
    }
    .main-title {
      max-width: 100%;
      font-size: 42px;
      margin-bottom: 30px;
      color: var(--color-text);
    }
    
    .main-meta {
      justify-content: center;
      margin-top: 30px;
    }
    
    .main-image {
      /* margin-top: 40px;
      max-width: 600px; */
    }
    .cta-button {
      display: inline-block;
      padding: 15px 40px;
      border: 1px solid #e7e5e1;
      /* border-radius: 30px; */
      text-transform: uppercase;
      text-decoration: none;
      /* color: #1f1e1a; */
      /* font-weight: 500; */
      transition: all 0.3s ease;
      margin-top: 40px;
      font: 500 14px/1 var(--font);
    color: var(--color-text);
    }
    
  }
  
  @media (max-width: 640px) {
    .main-title {
      font-size: 29px;
    }
    .studio-name, .studio-title {
      opacity: 0.4;
      font-size: 13px;
    }
    .cta-button {
      font-size: 12px;
      padding: 12px 30px;
    }
    
    .main-meta {
      flex-direction: column;
      gap: 10px;
      font-size: 12px;
    }
  }
  @media (max-width: 480px) {
    .main-text {
      text-align: left;
   
    }
    .main-title {
      max-width: 100%;
      font-size: 26px;
    }
  }
  /* НАШИ РАБОТЫ */
  .works-title {
    color: var(--color-lighten10);
    font: 700 clamp(1.5rem, 3vw, 2rem)/1.2 var(--font), sans-serif;
    text-align: center;
    text-transform: uppercase;
    margin: 0 auto 2rem;
    max-width: 90%;
	  
  }

/* Базовые стили */
.works {
    background: #fff;
    color: #000;
    padding: 80px 0;
    width: 100%;
    min-height: 100vh;
}

.works__container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.works-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    font-weight: 300;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Стили для табов */
.works__tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    border-bottom: 2px solid #e0e0e0;
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
}

.works__tab {
    padding: 20px 40px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 1.1rem;
    font-weight: 400;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.works__tab.active {
    color: #000;
    border-bottom-color: #000;
}

.works__tab:hover:not(.active) {
    color: #000;
    background: rgba(0, 0, 0, 0.05);
}

.works__tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #000;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.works__tab:hover::after {
    width: 80%;
}

.works__tab.active::after {
    width: 100%;
}

/* Категории */
.works__category {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.works__category.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Сетка работ - занимает всю ширину */
.works__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
}

.works__item {
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.4s ease;
    position: relative;
}

.works__item:hover {
    transform: translateY(-10px);
    border-color: #000;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.works__content {
    position: relative;
    padding: 30px;
}

.works__imgwrapper {
    position: relative;
    height: 300px;
    margin-bottom: 25px;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 4px;
}

.works__bgimg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
    border-radius: 4px;
}

.works__item:hover .works__bgimg {
    transform: scale(1.05);
}

.works__textwrapper {
    text-align: center;
}

.works__title {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #000;
}

.works__count {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.works__btn-wrapper {
    padding: 0 30px 30px;
}

.works__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 24px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border: 1px solid #000;
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 4px;
    text-align: center;
}

.works__btn:hover {
    background: #fff;
    color: #000;
    border-color: #000;
    transform: translateY(-2px);
}

.works__btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.works__btn:hover .works__btn-icon {
    transform: translateX(3px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .works {
        padding: 40px 0;
    }
    
    .works__container {
        padding: 0 15px;
    }
    
    .works-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .works__tabs {
        flex-direction: column;
        align-items: center;
        border-bottom: none;
        gap: 10px;
    }
    
    .works__tab {
        width: 100%;
        max-width: 300px;
        margin: 0;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        text-align: center;
    }
    
    .works__tab.active {
        background: #000;
        color: #fff;
        border-color: #000;
    }
    
    .works__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .works__imgwrapper {
        height: 250px;
    }
    
    .works__content {
        padding: 20px;
    }
    
    .works__btn-wrapper {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .works-title {
        font-size: 1.8rem;
    }
    
    .works__imgwrapper {
        height: 200px;
    }
    
    .works__title {
        font-size: 1.2rem;
    }
    
    .works__btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    .works__tab {
        padding: 16px 20px;
        font-size: 1rem;
    }
}

/* Планшеты */
@media (min-width: 769px) and (max-width: 1024px) {
    .works__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .works__imgwrapper {
        height: 280px;
    }
}

/* Большие экраны */
@media (min-width: 1200px) {
    .works__grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        max-width: 1200px;
    }
}

@media (min-width: 1400px) {
    .works__grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        max-width: 1400px;
    }
}
/* Стили для кастомных попапов */
.custom-modula-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
}

.custom-modula-popup.active {
    display: block;
}

.custom-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.custom-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    min-width: 300px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.custom-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f8f8;
}

.custom-popup-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
}

.custom-popup-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    border-radius: 50%;
}

.custom-popup-close:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.05);
}

.custom-popup-body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
    flex: 1;
}

/* Стили для body когда открыт попап */
body.popup-open {
    overflow: hidden !important;
}

/* Адаптивность для попапов */
@media (max-width: 768px) {
    .custom-popup-content {
        max-width: 95vw;
        max-height: 95vh;
        border-radius: 8px;
    }
    
    .custom-popup-header {
        padding: 16px 20px;
    }
    
    .custom-popup-title {
        font-size: 1.2rem;
    }
    
    .custom-popup-body {
        padding: 20px;
        max-height: calc(95vh - 72px);
    }
}

@media (max-width: 480px) {
    .custom-popup-content {
        max-width: 98vw;
        max-height: 98vh;
    }
    
    .custom-popup-header {
        padding: 12px 16px;
    }
    
    .custom-popup-body {
        padding: 16px;
        max-height: calc(98vh - 64px);
    }
}
/* КВИЗ */
.question { display: none; padding: 20px 0; font:400 16px/1.5 var(--font), sans-serif; }
.active { display: block; }
/* .card-container { display: flex; overflow-x: auto; gap: 10px; padding: 10px 0; }
.card { min-width: 150px; border: 1px solid #ccc; padding: 10px; cursor: pointer;position: relative; } */
/* .card.active { border-color: blue; background: #f0f8ff; } */
.card-container {
  display: grid;
  grid-auto-columns: minmax(150px, 1fr); /* Минимальная ширина 150px, равное распределение */
  grid-auto-flow: column; /* Элементы в одну строку */
  gap: 10px;
  overflow-x: auto; /* Прокрутка при необходимости */
  padding: 10px 0;
  width: 100%; /* Занимает всю доступную ширину */
}

.card {
  width: 100%; /* Заполняем ячейку grid */
  border: 1px solid #ccc;
  padding: 10px;
  cursor: pointer;
  position: relative;
  box-sizing: border-box; /* Учитываем padding в ширине */
}

.card img {
  width: 100%;
  height: auto; /* Сохраняем пропорции */
  /* max-width: 180px; Убираем ограничение */
}
button { margin-top: 20px; padding: 10px 20px; }
input { padding: 8px;
  margin: 10px auto;
  width: 90%;}
.card.active {
  border-color: var(--color-alpha);
  -webkit-box-shadow: 0 1px 3px 0 var(--color-bg-2,rgba(0,0,0,.1));
  box-shadow: 0 1px 3px 0 var(--color-bg-2,rgba(0,0,0,.1));
}

.card-title{
    align-items: center;
    min-height: 50px;
    padding: 5px 10px 5px 10px;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: var(--color-bg-6,#69748c);
    overflow: hidden;
    font-family: var(--font);
    text-align: center;
}
.quiz {
    --reviews-gap: clamp(1.5rem, 3vw, 3rem);
    padding: clamp(3rem, 5vw, 6rem) 2rem;
    /* background: var(--color-bg-1); */
}
.quiz-container{
  max-width: 1200px;
  margin: 0 auto;
}
.quiz {
	--quiz-question-transition: opacity 0.17s cubic-bezier(0.61,0.3,0.8,0.97),transform 0.17s cubic-bezier(0.61,0.3,0.8,0.97);
}
.quiz__title {
    color: var(--color-lighten10);
    font: 700 clamp(1.5rem, 3vw, 2rem)/1.2 var(--font), sans-serif;
    text-align: center;
    text-transform: uppercase;
    margin: 0 auto 2rem;
    max-width: 90%;
}
/* .quiz-navbar {
	padding: 26px 30px 30px 30px;
	width: 100%;
} */
.quiz-navbar {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	position: relative;
	z-index: 10;
	/* background-color: var(--color-bg-quiz,#fff); */
	border-radius: 0 0 16px 16px;
}
.check {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 50% !important;
  width: 30px !important;
  height: 30px !important;
  background-color: var(--color) !important;
  -webkit-box-shadow: .6px 1.9px 6px 0 var(--color-alpha2) !important;
  box-shadow: .6px 1.9px 6px 0 var(--color-alpha2) !important;
  border: 2px solid var(--color) !important;
}


.check::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1'%3E%3Cpath style='fill:%23fff' d='M.04.627.146.52.43.804.323.91zm.177.177L.854.167.96.273.323.91z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.card.active .check {
  display: block;
}

.quiz-navbar__progress {
	-ms-flex-negative: 0;
	flex-shrink: 0;
}
.quiz-navbar, .quiz-navbar_has-progress {
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}
.progress-bar__text {
	white-space: nowrap;
}
.progress-bar__gradient, .progress-bar__steps, .progress-bar__text {
	font-size: 14px;
}
.progress-bar {
	text-align: left;
	font-weight: 500;
	color: var(--color-bg-alpha7,#2e2e49);
	font-family: var(--additional-font,var(--font)),Gilroy,Helvetica,Arial,sans-serif;
	font-style: var(--additional-font-style,normal);
}
.progress-bar__text span {
	color: var(--color);
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--reviews-gap);
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}
.quiz-navbar__buttons {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	gap: 20px;
	-ms-flex-negative: 1;
	flex-shrink: 1;
	min-width: 0;
	margin-left: auto;
}
.quiz-navbar__hint {
	position: absolute;
	right: 5px;
	white-space: nowrap;
	bottom: -22px;
	font-size: 11.5px;
	color: var(--color-bg-sub-text,#a6a6a6);
	display: none;
}
.quiz-mobile__tags {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
margin-top: 11px;
gap: 5px;
max-width: 1200px;
}
.quiz-navbar__button_prev[disabled] {
	color: rgba(0,0,0,.2) !important;
	opacity: 1;
}
.button .icon:first-child:last-child {
	margin-left: calc(-.375em - 1px);
	margin-right: calc(-.375em - 1px);
}
.quiz-navbar__next-button-container {
	position: relative;
}
.quiz-navbar.is-outline .quiz-navbar__button_next {
	background-color: transparent !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	color: var(--color);
  display: flex;
}
.button .icon{
  height: 1.5em;
  width: 1.5em;
  display: flex;
}
button:disabled {
  background-color: 	var(--color-bg-quiz-alpha55);
  color: #999; 
  border: 1px solid #ddd; 
  cursor: not-allowed; 
}
.button {
	background-color: transparent;
	-webkit-box-shadow: none;
	box-shadow: none;
	border: 1px solid var(--color);
	color: var(--color);
	-webkit-transition: all .2s ease-in;
	transition: all .2s ease-in;
}
.quiz-mobile__tags .quiz-mobile__tag_primary {
background: var(--color-alpha2) !important;
border: solid 1px var(--color);
}
.quiz-navbar__hint {
	position: absolute;
	right: 5px;
	white-space: nowrap;
	bottom: -22px;
	font-size: 11.5px;
	color: var(--color-bg-sub-text,#a6a6a6);
	display: none;
}

.question-count-block{
max-width: 400px;
display: block;
margin-left: auto;
margin-right: auto;
}
@media (max-width: 767px) {
.quiz-mobile__tags .quiz-mobile__tag {
font-size: 10px !important;
line-height: 12px !important;
}
}
.quiz-mobile__tags .quiz-mobile__tag {
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
font-size: 13px;
padding: 4px 8px;
border-radius: 4px !important;
color: var(--color-bg-text,#4a4a4a) !important;
background: var(--color-bg-1,#f7f7f7) !important;
border: solid 1px var(--color-bg-2,#e5e5e5);
}
.quiz-mobile__tags .quiz-mobile__tag-icon {
margin-right: 5px;
vertical-align: middle;
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.tag:not(body) .icon:first-child:last-child {
margin-left: -.375em;
margin-right: -.375em;
}
.icon {
width: 1.2rem;
height: 1.2rem;
}
.quiz-mobile__tags .quiz-mobile__tag_primary {
background: var(--color-alpha2) !important;
border: solid 1px var(--color);
}
.quiz-mobile {
--quiz-question-transition: opacity 0.17s cubic-bezier(0.61,0.3,0.8,0.97),transform 0.17s cubic-bezier(0.61,0.3,0.8,0.97);
}
.contacts-form {
	position: relative;
	padding: 29px 35px 19px;
	border-radius: 3px;
	-webkit-box-shadow: 0 9px 40px 0 var(--color-bg-2,rgba(0,0,0,.11));
	box-shadow: 0 9px 40px 0 var(--color-bg-2,rgba(0,0,0,.11));
	border: solid 1.2px var(--color-bg-2,#e8e8e8);
	background-color: var(--color-bg-quiz,#fff);
	max-width: 500px;
	width: 100%;
	margin: auto;
}
.contacts-form .label {
	text-transform: uppercase;
	padding-left: 3px;
	font-size: 12px;
	font-weight: 700;
	font-style: normal;
	font-stretch: normal;
	line-height: normal;
	letter-spacing: 1.2px;
	text-align: left;
	color: var(--color-bg-alpha7,#2e2e54);
  font: 600 16px/1.5 var(--font), sans-serif;
}
.control.has-icons-left .icon, .control.has-icons-right .icon {
	color: #dbdbdb;
	height: 2.5em;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: 2.5em;
	z-index: 4;
}
.step-fields .field .icon svg {
	width: 24px;
	height: 24px;
}
.final-page{
  text-align: center;
}
/* О Студии */
#about{
  --reviews-gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(3rem, 5vw, 6rem) 0rem;
}
.about-content {
	display: flex;
	align-items: center;
	/* max-width: 1200px; */
	margin: 0 auto;
	padding: 20px 0px 0px 0px ;
	height: 100%;
}

.about-title {
  color: var(--color-lighten10);
  font: 700 clamp(1.5rem, 3vw, 2rem)/1.2 var(--font), sans-serif;
  text-align: center;
  text-transform: uppercase;
  margin: 0 auto 2rem;
  max-width: 90%;
}
.about-text{
  color: var(--color-lighten10);
  font: 400 clamp(1.5rem, 3vw, 2rem)/1.2 var(--font), sans-serif;
  text-align: center;
  text-transform: uppercase;
  margin: 0 auto 2rem;
  max-width: 90%
}
.about-text {
	flex: 1;
	position: relative;
	z-index: 2;
}
.about-image {
	flex: 1;
	position: relative;
	z-index: 1;
	overflow: hidden;
	display: flex;
}
.about-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
}
@media (max-width: 1200px) {
  .about-title {
    font-size: 36px;
  }
}

@media (max-width: 980px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  
  .about-title {
    max-width: 100%;
    font-size: 42px;
    margin-bottom: 30px;
  }
  
  .about-meta {
    justify-content: center;
    margin-top: 30px;
  }
  
  .about-image {
    margin-bottom: 40px;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .about-title {
    font-size: 28px;
  }
  
  .cta-button {
    font-size: 12px;
    padding: 12px 30px;
    font: 400 14px/1 var(--font);
    color: var(--color-text);
  }
  
  .main-meta {
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
  }
  .about-text {
    font-size: 1.2rem;
    line-height: 1.7rem;
  }

}

//* СВЯЗАТЬСЯ С НАМИ */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.contact-text {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрирование по горизонтали */
    justify-content: center; /* Центрирование по вертикали */
    text-align: center; /* Центрирование текста */
    min-height: 400px; /* Минимальная высота для центрирования */
}

.contact-title {
    color: var(--color-lighten10);
    font: 700 clamp(1.5rem, 3vw, 2rem)/1.2 var(--font), sans-serif;
    text-align: center; /* Центрируем заголовок */
    text-transform: uppercase;
    margin: 0 0 1.5rem 0; /* Убираем auto с боков */
    max-width: 90%;
}

.contact-block__description {
    color: #4a5568;
    font-family: var(--font), sans-serif; /* Используем ваш шрифт */
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center; /* Центрируем описание */
    margin: 0 auto 2.5rem auto; /* Центрируем отступы */
    max-width: 400px;
}

.contact-btn {
    display: flex;
    justify-content: center; /* Центрируем кнопку */
    width: 100%;
}

.review-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--color-lighten10);
    color: var(--color-text);
    font: 500 clamp(0.875rem, 1.5vw, 1rem)/1.5 var(--font), sans-serif;
    text-decoration: none;
    transition: 
        background 0.3s ease,
        color 0.3s ease;
}

.review-button:hover {
    background: var(--color-lighten2);
    color: var(--color-bg-sub-text);
}
.contact-btn {
/*     display: flex;
    justify-content: flex-start; */
}
.review-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--color-lighten10);
    color: var(--color-text);
    font: 500 clamp(0.875rem, 1.5vw, 1rem)/1.5 var(--font), sans-serif;
    text-decoration: none;
    /* border-radius: 4px; */
    transition: 
        background 0.3s ease,
        color 0.3s ease;
}

.review-button:hover {
    background: var(--color-lighten2);
    color: var(--color-bg-sub-text);
}
/* 
.review-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.review-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
 */
/* Chat animation styles */
.chat-animation-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 400px;
}

.chat-animation-container {
    width: 100%;
    max-width: 450px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.chat-messages {
    padding: 25px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.message-container {
    display: flex;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.message-container.left {
    justify-content: flex-start;
}

.message-container.right {
    justify-content: flex-end;
}

.chat-user {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin: 0 12px;
    object-fit: cover;
    align-self: flex-end;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
    flex-shrink: 0;
}

.message-content {
    max-width: 70%;
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 11px;
    color: #6c757d;
    margin-bottom: 5px;
    padding: 0 12px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.left .user-name {
    text-align: left;
}

.right .user-name {
    text-align: right;
    color: #4a5568;
}

.chat-bubble {
    padding: 14px 18px;
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 55px;
    min-width: 110px;
    justify-content: center;
}

.chat-bubble--left {
    background: linear-gradient(135deg, #e8f5e8, #d0ebd0);
    border-bottom-left-radius: 6px;
}

.chat-bubble--right {
    background: linear-gradient(135deg, #e8f0ff, #d0e0ff);
    border-bottom-right-radius: 6px;
}

.chat-typing-dots {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.chat-typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #6c757d;
    display: inline-block;
}

.chat-message {
    font-size: 14px;
    line-height: 1.5;
    color: #2d3748;
    opacity: 0;
    max-width: 100%;
    display: none;
    text-align: left;
    font-family: 'Inter', sans-serif;
}

/* Анимации точек */
@keyframes dotAnimation {
    0%, 100% { 
        transform: translateY(0);
        opacity: 0.4;
    }
    50% { 
        transform: translateY(-4px);
        opacity: 1;
    }
}

.dot1 { animation: dotAnimation 1.2s infinite 0s; }
.dot2 { animation: dotAnimation 1.2s infinite 0.2s; }
.dot3 { animation: dotAnimation 1.2s infinite 0.4s; }

.message-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.timestamp {
    font-size: 10px;
    color: #adb5bd;
    margin-top: 5px;
    padding: 0 12px;
    font-family: 'Inter', sans-serif;
}

.left .timestamp {
    text-align: left;
}

.right .timestamp {
    text-align: right;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .contact-content {
        gap: 40px;
    }
    
    .chat-animation-wrapper {
        min-width: 350px;
    }
    
    .chat-animation-container {
        max-width: 400px;
    }
}

@media (max-width: 900px) {
    .contact-content {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .contact-text {
        text-align: center;
        min-width: auto;
    }
    
    .contact-title {
        text-align: center;
        font-size: 2.5rem;
    }
    
    .contact-block__description {
        text-align: center;
        margin: 0 auto 2.5rem;
        font-size: 1.1rem;
    }
    
    .contact-btn {
        justify-content: center;
    }
    
    .chat-animation-wrapper {
        min-width: auto;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .chat-animation-container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-container {
        padding: 0 15px;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-block__description {
        font-size: 1rem;
    }
    
    .chat-messages {
        padding: 20px;
        min-height: 400px;
        gap: 20px;
    }
    
    .chat-user {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
    
    .chat-bubble {
        padding: 12px 16px;
        min-height: 50px;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 40px 0;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .chat-messages {
        padding: 15px;
        min-height: 350px;
        gap: 15px;
    }
    
    .chat-user {
        width: 35px;
        height: 35px;
        margin: 0 8px;
    }
    
    .chat-bubble {
        padding: 10px 14px;
        min-height: 45px;
        min-width: 90px;
    }
    
    .chat-message {
        font-size: 13px;
    }
    
    .review-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}
/* ОТЗЫВЫ */
 /* ОТЗЫВЫ */
.reviews {
    --reviews-gap: clamp(1.5rem, 3vw, 3rem);
    padding: clamp(3rem, 5vw, 6rem) 0;
}

.reviews-title {
    color: var(--color-lighten10);
    font: 700 clamp(1.5rem, 3vw, 2rem)/1.2 var(--font), sans-serif;
    text-align: center;
    text-transform: uppercase;
    margin: 0 auto 2rem;
    max-width: 90%;
}

/* СТИЛИ ДЛЯ СЛАЙДЕРА */
/* ОСНОВНЫЕ СТИЛИ СЛАЙДЕРА */
.reviews-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Добавляем скрытие переполнения */
}

/* Контейнер слайдов */
.reviews-slider .slick-list {
    overflow: hidden; /* Скрываем переполнение */
    margin: 0 -15px; /* Компенсируем padding слайдов */
}

.reviews-slider .slick-track {
    display: flex !important;
    align-items: center;
}

/* СЛАЙДЫ */
.reviews-slider__item {
    padding: 30px 15px;
    transition: all 0.5s ease;
    filter: grayscale(100%) brightness(0.8);
    transform: scale(0.9);
    opacity: 0.7;
    width: 100% !important; /* Убираем фиксированную ширину */
    box-sizing: border-box;
}

.slick-current .reviews-slider__item {
    filter: grayscale(0%) brightness(1);
    transform: scale(1);
    opacity: 1;
    z-index: 2;
    position: relative;
}

/* КАРТОЧКА ОТЗЫВА */
.review-card {
    position: relative;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    transform: translateY(20px);
    opacity: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.slick-current .review-card {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* СТРЕЛКИ */
.reviews-slider .slick-arrow {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    z-index: 10;
    font-size: 0;
    outline: none;
    background: transparent !important;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.reviews-slider .slick-arrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

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

.reviews-slider .slick-arrow.slick-disabled {
    opacity: 0.3;
    cursor: default;
}

.reviews-slider .slick-prev {
    left: 10px;
}

.reviews-slider .slick-prev::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
}

.reviews-slider .slick-next {
    right: 10px;
}

.reviews-slider .slick-next::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
}

/* ТОЧКИ */
.reviews-slider .slick-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0 0 0;
    padding: 0;
    list-style: none;
    position: relative;
    bottom: 0;
}

.reviews-slider .slick-dots li {
    margin: 0;
}

.reviews-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    font-size: 0;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;
}

.reviews-slider .slick-dots li.slick-active button {
    background: #000;
}

/* ДОПОЛНИТЕЛЬНЫЕ СТИЛИ */
.review-text {
    margin-bottom: 15px;
    font: 400 16px/1.6 var(--font), sans-serif;
    color: #444;
}

.review-text p:last-child {
    margin-bottom: 0;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    .reviews-slider {
        padding: 0 40px;
    }
    
    .reviews-slider .slick-arrow {
        width: 30px;
        height: 30px;
    }
    
    .reviews-slider__item {
        padding: 20px 10px;
    }
    
    .review-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .reviews-slider {
        padding: 0 20px;
    }
    
    .reviews-slider .slick-arrow {
        width: 25px;
        height: 25px;
    }
    
    .reviews-slider .slick-prev {
        left: 5px;
    }
    
    .reviews-slider .slick-next {
        right: 5px;
    }
}
/* СТИЛИ ДЛЯ ЗВЕЗД */
.stars {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    gap: 5px;
}

.star {
    color: #D4AF37;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.star:hover {
    transform: scale(1.2);
}

/* Стили для автора отзыва */
.review-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
}

.review-author__initials {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
	font: 400 16px/1.6 var(--font), sans-serif;
}

.review-author__name {
    margin: 0;
    font: 600 18px/1.3 var(--font), sans-serif;
    color: #000;
}

.reviews-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 1rem;
}

.review-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--color-lighten10);
    color: var(--color-text);
    font: 500 clamp(0.875rem, 1.5vw, 1rem)/1.5 var(--font), sans-serif;
    text-decoration: none;
    border-radius: 6px;
    transition: 
        background 0.3s ease,
        color 0.3s ease;
    box-sizing: border-box;
}

.review-button:hover {
    background: var(--color-lighten2);
    color: var(--color-bg-sub-text);
}

@media (max-width: 1024px) {
    .reviews-slider {
        padding: 0 50px;
    }
    
    .reviews-slider .slick-arrow {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 768px) {
    .reviews-slider {
        padding: 0 40px;
    }
    
    .reviews-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .review-button {
        width: 100%;
        max-width: 300px;
    }
    
    .reviews-slider .slick-arrow {
        width: 30px;
        height: 30px;
    }
    
    .review-card {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .star {
        font-size: 16px;
    }
    
    .review-author {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .reviews-slider {
        padding: 0 35px;
    }
    
    .reviews-slider .slick-arrow {
        width: 25px;
        height: 25px;
    }
    
    .reviews-slider .slick-dots {
        margin: 20px 0 0 0;
    }
    
    .reviews-slider .slick-dots li button {
        width: 10px;
        height: 10px;
    }
}
/* ВОПРОСЫ */
.faq {
    padding: 90px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.faq__title {
    font: 700 32px/1.2 'Montserrat', sans-serif;
    text-align: center;
    text-transform: uppercase;
    color: #222;
    margin-bottom: 30px;
}

.faq__list {
    border-top: 1px solid #eee;
}

.faq__item {
    border-bottom: 1px solid #eee;
}

.faq__question {
    width: 100%;
    padding: 20px 40px 20px 0;
    border: none;
    background: none;
    text-align: left;
    font: 600 18px/1.3 'Montserrat', sans-serif;
    color: #222;
    cursor: pointer;
    position: relative;
}

.faq__icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    background: #222;
    transition: transform 0.3s ease;
}

.faq__icon::before {
    width: 16px;
    height: 2px;
    left: 4px;
    top: 11px;
}

.faq__icon::after {
    width: 2px;
    height: 16px;
    left: 11px;
    top: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq__question:hover .faq__icon::after,
.faq__question:hover .faq__icon::before {
    background: #fff;
}

.faq__question:hover .faq__icon {
    background: #222;
    border-radius: 50%;
}

/* ИЗМЕНЕНИЕ: убираем max-height анимацию, оставляем только управление через JS */
.faq__answer {
    padding: 0 20px 20px 0;
    display: none; /* Скрываем по умолчанию */
    font: 400 16px/1.5 'Montserrat', sans-serif;
    color: #444;
}

/* ИЗМЕНЕНИЕ: убираем max-height, управление через JS */
.faq__item.active .faq__answer {
    display: block;
    padding-bottom: 20px;
}

.faq__item.active .faq__icon::after {
    transform: rotate(90deg);
    opacity: 0; /* Можно скрыть вертикальную палочку при открытии */
}

@media (max-width: 767px) {
    .faq {
        padding: 60px 20px;
    }
    
    .faq__title {
        font-size: 24px;
    }
    
    .faq__question {
        font-size: 16px;
        padding-right: 30px;
    }
}
/* ВОПРОСЫ */

  /* FOOTER */
  .footer {
    --footer-padding: clamp(3rem, 5vw, 6rem);
    background: var(--color-lighten10);
    padding: var(--footer-padding) 0;
    color: var(--color-text);
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
    gap: 2rem;
    align-items: start;
  }
  
  .footer-logo {
    justify-self: center;
    transition: opacity 0.3s ease;
  }
  
  .footer-logo:hover {
    opacity: 0.9;
  }
  
  .footer-contacts {
    display: grid;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-title {
    font: 600 clamp(0.875rem, 2vw, 1rem)/1.5 var(--font), sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
  }
  .footer-logo img {
    filter: brightness(0) invert(1);
  }
  .address-list {
    display: grid;
    gap: 0.75rem;
  }
  
  .address-link {
    color: var(--color-text);
    font: 400 clamp(0.75rem, 1.5vw, 0.875rem)/1.6 var(--font), sans-serif;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 
      border-color 0.3s ease,
      opacity 0.3s ease;
  }
  
  .address-link:hover {
    border-color: currentColor;
    opacity: 0.8;
  }
  
  .social-nav {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
  }
  
  .social-link {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
  .social-link:hover {
    transform: translateY(-2px);
  }
  
  @media (max-width: 768px) {
    .footer-content {
      grid-template-columns: 1fr;
      text-align: center;
    }
    
    .footer-logo {
      order: -1;
    }
    
    .social-nav {
      justify-content: center;
    }
  }

  /* ПОДСКАЗКА */
  .question.active {
    position: relative;
  }
  .menu-indicator {
    position: absolute;
    bottom: 50%;
    left: 50%;
    margin-left: -150px;
    z-index: 4;
    width: 300px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }
  
  .menu-indicator.visible {
    opacity: 1 !important;
  }
  
  .menu-indicator .indicator-wrapper {
    transform: translate3d(0, 0, 0);
    width: 150px;
    margin: 0 auto;
  }
  
  .menu-indicator .indicator-wrapper .indicator-cursor {
    width: 25px;
    position: absolute;
    top: 1.75em;
    z-index: 5;
    animation: cursor-animation 1.2s cubic-bezier(0.23, 1, 0.72, 1) infinite;
  }
  
  @keyframes cursor-animation {
    0% {
      left: 100px;
      transform: rotate(30deg);
    }
    100% {
      left: 40px;
      transform: rotate(0deg);
    }
  }
  
  .menu-indicator .indicator-wrapper .box-wrapper {
    width: 150px;
    overflow: hidden;
    height: 50px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
  }
  
  .menu-indicator .indicator-wrapper .box-wrapper:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    background: radial-gradient(ellipse at center, rgba(247, 246, 243, 0.19) 0%, #fff0 70%);
    z-index: 2;
  }
  
  .menu-indicator .indicator-wrapper .box-wrapper .box-outer {
    position: relative;
    top: calc(50% - 1em);
    animation: box-animation 1.2s cubic-bezier(0.23, 1, 0.72, 1) infinite;
  }
  
  @keyframes box-animation {
    0% {
      left: 0px;
    }
    100% {
      left: -5em;
    }
  }
  
  .menu-indicator .indicator-wrapper .box-wrapper .box {
    position: absolute;
    width: 3em;
    height: 2em;
    border-radius: 1px;
    border: 1px solid #020202;
    background: radial-gradient(ellipse at center, rgba(247, 246, 243, 0) 0%, #ffffff24 70%);
  
  }
  
  .menu-indicator .indicator-wrapper .box-wrapper .box:nth-of-type(1) {
    left: 0em;
  }
  
  .menu-indicator .indicator-wrapper .box-wrapper .box:nth-of-type(2) {
    left: 4.25em;
  }
  
  .menu-indicator .indicator-wrapper .box-wrapper .box:nth-of-type(3) {
    left: 8.5em;
  }
  
  .menu-indicator .indicator-wrapper .box-wrapper .box:nth-of-type(4) {
    left: 12.75em;
  }
/* КАТАЛОГ */
 .catalog-title {
    color: var(--color-lighten10);
    font: 700 clamp(1.5rem, 3vw, 2rem)/1.2 var(--font), sans-serif;
    text-align: center;
    text-transform: uppercase;
    margin: 0 auto 2rem;
    max-width: 90%;
  }
/* МЫ ПЕРЕЕХАЛИ */
.moving{
	
}
.moving-title {
	color: var(--color-lighten10);
	font: 700 clamp(1.5rem, 3vw, 2rem)/1.2 var(--font), sans-serif;
	text-align: center;
	text-transform: uppercase;
	margin: 0 auto 2rem;
	max-width: 90%;
}
.moving-text {
    color: var(--color-lighten10);
    font: 400 clamp(1.5rem, 3vw, 2rem)/1.2 var(--font), sans-serif;
    text-align: center;
    margin-bottom: 30px;
    max-width: 100%; /* Добавьте это */
    word-wrap: break-word; /* Перенос длинных слов */
    overflow-wrap: break-word; /* Современный аналог */
    box-sizing: border-box;
}
.map-container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box; /* ИЗМЕНИТЕ content-box на border-box */
    overflow: hidden; /* Скрывает выходящие элементы */
    margin: 0 auto;
}

/* ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ БЛОКОВ ВОРДПРЕСС */

/* Каталог */
.catalog-main-block {
    display: grid;
    justify-items: center;
    max-width: 1200px;
    padding-top: 80px;
    margin: auto;
}


.catalog-title {
    font: 700 32px/1.2 'Montserrat', sans-serif;
    text-align: center;
    text-transform: uppercase;
    color: #222;
    margin-bottom: 30px;
}
 .catalog-text{
   
    text-align: left;
    font: 600 18px/1.3 'Montserrat', sans-serif;
    color: #222;
    cursor: pointer;
    position: relative;
}
 /* Стили для простого попапа галереи */
.simple-gallery-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.simple-gallery-popup.active {
    opacity: 1;
    visibility: visible;
}

.gallery-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.gallery-popup-content {
    position: relative;
    width: 95%;
    height: 95%;
    max-width: 1200px;
    max-height: 90vh;
    background: white;
    border-radius: 10px;
    margin: 2.5vh auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gallery-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.gallery-popup-title {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

.gallery-popup-close {
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-popup-close:hover {
    color: #333;
}

.gallery-popup-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.gallery-content-wrapper {
    min-height: 100%;
}

/* Принудительные стили для Modula в попапе */
.simple-gallery-popup .modula-gallery {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.simple-gallery-popup .modula-items {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px !important;
    height: auto !important;
}

.simple-gallery-popup .modula-item {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    margin: 0 !important;
}

.simple-gallery-popup .modula-item img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 8px;
}

/* Lightbox для отдельных изображений */
.simple-image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.simple-image-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.image-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.image-lightbox-content {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1000px;
    max-height: 90vh;
    margin: 5vh auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2em;
    color: white;
    cursor: pointer;
    z-index: 10;
}

.image-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-lightbox-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.image-lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 1.1em;
}

/* Адаптивность */
@media (max-width: 768px) {
    .gallery-popup-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }
    
    .simple-gallery-popup .modula-items {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px !important;
    }
    
    .gallery-popup-header {
        padding: 15px;
    }
    
    .gallery-popup-title {
        font-size: 1.2em;
    }
}

body.gallery-popup-open {
    overflow: hidden;
}
/* Modula Gallery Popup */
.modula-gallery-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
}

.modula-gallery-popup.active {
    display: block;
}

.modula-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modula-popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modula-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.modula-popup-title {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.modula-popup-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modula-popup-close:hover {
    background: #eee;
    color: #333;
}

.modula-popup-body {
    padding: 30px;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

.modula-gallery-container {
    width: 100%;
}

/* Исправление отображения Modula галереи в попапе */
.modula-gallery-container .modula-gallery {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 400px;
}

.modula-gallery-container .modula-items {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 15px !important;
    height: auto !important;
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 !important;
    padding: 0 !important;
}

.modula-gallery-container .modula-item {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
    left: 0 !important;
    top: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    float: none !important;
    margin: 0 !important;
    transform: none !important;
    transition: none !important;
}

.modula-gallery-container .modula-item-content {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
}

.modula-gallery-container .modula-item-content img.pic {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
    margin: 0 auto !important;
    left: 0 !important;
    top: 0 !important;
    inset: 0 !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}

.modula-gallery-container .modula-item-link {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10 !important;
    cursor: pointer !important;
}

.modula-gallery-container .modula-item-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 5 !important;
}

/* Full Lightbox */
.modula-full-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: none;
}

.modula-full-lightbox.active {
    display: block;
}

.modula-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.modula-lightbox-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modula-lightbox-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    color: white;
}

.modula-lightbox-counter {
    font-size: 16px;
    font-weight: 500;
}

.modula-lightbox-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modula-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modula-lightbox-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 20px 120px;
}

.modula-lightbox-prev,
.modula-lightbox-next {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
}

.modula-lightbox-prev:hover,
.modula-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modula-lightbox-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: calc(100% - 160px);
}

.modula-lightbox-image-container {
    max-width: 100%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modula-lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    transition: opacity 0.3s;
}

.modula-lightbox-caption {
    margin-top: 20px;
    color: white;
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.modula-lightbox-thumbnails {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    z-index: 2;
}

.modula-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
    flex-shrink: 0;
}

.modula-thumbnail:hover,
.modula-thumbnail.active {
    opacity: 1;
    transform: scale(1.05);
}

.modula-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Body states */
body.modula-popup-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .modula-popup-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modula-popup-body {
        padding: 15px;
    }
    
    .modula-gallery-container .modula-items {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
        gap: 10px !important;
    }
    
    .modula-lightbox-body {
        padding: 100px 10px 140px;
    }
    
    .modula-lightbox-main {
        max-width: calc(100% - 40px);
    }
    
    .modula-lightbox-prev,
    .modula-lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 30px;
        position: fixed;
        bottom: 100px;
    }
    
    .modula-lightbox-prev {
        left: 10px;
    }
    
    .modula-lightbox-next {
        right: 10px;
    }
    
    .modula-lightbox-thumbnails {
        padding: 10px;
    }
    
    .modula-thumbnail {
        width: 60px;
        height: 60px;
    }
}