/* ================================
   ФОНТЫ И ПЕРЕМЕННЫЕ
================================ */
@import url("https://fonts.googleapis.com/css2?family=Arizonia&display=swap");

:root {
  --container-width: 1280px;
  --container-padding-x: 15px;

  --font-text-nav: "Great Vibes", serif;
  --font-title: "Pattaya", serif;
  --font-text: "Merriweather", serif;
  --font-page: "Great Vibes", serif;
  --font-logo: "Arizonia", cursive;

  --text-shadow: 3px 2px 2px rgba(0, 0, 0, 0.2);

  --color-p: #fff;
  --color-text: rgb(255, 255, 0);
  --color-glass: #b6946e;
  --color-glass1: rgb(169, 55, 222);
  --bg-glass: 193, 158, 44;

  --gradient-background-fon: linear-gradient(135deg, #55031f, #0c124e);
  --url-background-fon: url("../img/menora_redfon.jpg");

  --height-header: 45px;
  --width-nav: 168px;
  --transition: 0.5s ease-in-out;
  --color-toggle-btn: var(--color-glass1);

  --gradient-title: linear-gradient(45deg, red, yellow, red, yellow, red);
  --gradient-text: linear-gradient(90deg, #ff7e5f, #feb47b, #86a8e7, #7f7fd5);
}

/* ================================
   НОРМАЛИЗАЦИЯ
================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Прокрутка только на html: два overflow-y:auto (html+body) в Chrome дают «мёртвую» зону — колесо не крутит страницу, кроме отдельных слоёв (шапка). */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
  font-family: var(--font-text);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}
body {
  overflow-x: hidden;
  overflow-y: visible;
  min-height: 100%;
  font-family: var(--font-text);
}
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}
a {
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: none;
}
ul,
ul li {
  list-style: none !important;
} /* глобально без точек */
section {
  padding: 40px 30px 5px;
  text-align: center;
}
p {
  color: var(--color-p);
  font-weight: 300;
  font-style: italic;
  text-align: justify;
  font-size: 0.95em;
  line-height: 1.6;
  text-indent: 3vw;
}
h3 {
  font: italic 600 1em var(--font-text);
  color: var(--color-text);
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4);
}

/* ================================
   GLASS
================================ */
.glass {
  background: rgba(var(--bg-glass), 0.3);
  border-radius: 16px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border: 1px solid rgba(var(--bg-glass), 0.5);
}

/* ================================
   ШАПКА
================================ */
.header {
  position: fixed;
  top: 5px;
  left: 0;
  right: 0;
  width: auto;
  max-width: 100%;
  z-index: 1000;
  height: var(--height-header);
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  overflow: visible;
  backface-visibility: hidden;
  will-change: transform;
  transform: translateY(0);
  transition: transform 0.3s ease;
}
.header.active-scroll {
  transform: translateY(-60px);
}

.navigation {
  display: flex;
  align-items: center;
}

/* ссылки меню */
nav ul {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px 1px;
  gap: 20px;
}
nav ul li {
  position: relative;
}
nav ul li a {
  position: relative;
  font-family: var(--font-text-nav);
  font-size: 1.7em;
  font-style: italic;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.09em;
  line-height: 1.1em;
  white-space: nowrap;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4);
}
nav ul li a::before {
  content: attr(data-text);
  position: absolute;
  color: var(--clr);
  width: 0;
  overflow: hidden;
  transition: var(--transition);
}
nav ul li a:hover::before {
  width: 100%;
  filter: drop-shadow(0 0 25px var(--clr));
}

/* подменю */
nav ul li ul {
  display: none;
  opacity: 0;
  position: absolute;
  left: 0;
  transition: 0.5s;
  transform: translateY(-60px);
}
nav ul li ul li a {
  padding: 10px 0;
}
nav ul li:hover ul {
  display: flex;
  flex-direction: column;
  font-size: 0.85em;
  width: var(--width-nav);
  text-align: center;
  height: auto;
  gap: 10px;
  opacity: 1;
  transform: translate(-25px, 2px);
}

/* кнопки в шапке */
.water-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 13px;
  overflow: visible;
}
.water-btn {
  position: relative;
  width: var(--height-header);
  aspect-ratio: 1;
  background: #eff0f46b;
  border-radius: 12px;
  box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.17),
    6px 10px 12px rgba(0, 0, 0, 0.8), inset -5px -5px 10px #fff;
  overflow: hidden;
  transition: var(--transition);
}
.water-btn::before {
  content: "";
  position: absolute;
  inset: 4px;
  box-shadow: inset 4px 4px 0 #fff;
  border-radius: 12px;
  filter: blur(2px);
  pointer-events: none;
}
.water-btn:hover {
  transform: translateY(3px);
  box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.17),
    6px 7px 10px rgba(0, 0, 0, 0.8), inset -5px -5px 10px #fff;
}
.water-btn a {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  color: var(--clr-btn);
}

/* === Toggle icon: «стрелочки» -> «крестик» ====================== */
.navigation .toggle-btn {
  position: relative;
  color: var(--color-toggle-btn, #fff);
  isolation: isolate;
}

/* Внутренний слой с двумя стрелками «‹   ›» (делаем их псевдо-элементами) */
.navigation .toggle-btn > span {
  position: absolute;
  inset: 0;
}

/* Левая стрелка */
.navigation .toggle-btn > span::before,
.navigation .toggle-btn > span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 3px solid currentColor;
  border-top: 0;
  border-right: 0; /* получается «уголок» */
  opacity: 0.9;
  transform-origin: 50% 50%;
  transition: transform 0.28s ease, opacity 0.28s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

/* Левая «‹» — развернули уголок */
.navigation .toggle-btn > span::before {
  left: 26%;
  transform: translateY(-50%) rotate(45deg);
}

/* Правая «›» — зеркально */
.navigation .toggle-btn > span::after {
  right: 26%;
  transform: translateY(-50%) rotate(-135deg);
}

/* Две перекрещённые палочки для «X» */
.navigation .toggle-btn::before,
.navigation .toggle-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%) rotate(45deg);
  opacity: 0; /* по умолчанию невидимы */
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: 1; /* поверх стрелок */
}

.navigation .toggle-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Состояние ОТКРЫТО (меню активно) — стрелки прячем, крест показываем */
.navigation.active .toggle-btn > span::before,
.navigation.active .toggle-btn > span::after,
.navigation .toggle-btn.open > span::before,
.navigation .toggle-btn.open > span::after {
  opacity: 0;
  transform: translateY(-50%) rotate(0deg) scale(0.7);
}

.navigation.active .toggle-btn::before,
.navigation.active .toggle-btn::after,
.navigation .toggle-btn.open::before,
.navigation .toggle-btn.open::after {
  opacity: 1;
}

.header-logo span {
  opacity: 0.8;
  width: 36px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
}
.header-logo img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: contain;
  mix-blend-mode: screen;
}

/* бургер показываем только на мобилках */
.navigation .toggle-btn,
.toggle-btn.water-btn {
  display: none;
}
@media (max-width: 991px) {
  .navigation {
    height: auto;
    flex-direction: column;
    align-items: flex-end;
  }
  .navigation .toggle-btn,
  .toggle-btn.water-btn {
    display: flex;
  }
  .navigation ul {
    flex-direction: column;
    padding: 15px 0;
    width: var(--width-nav);
    height: auto;
    scale: 0;
    transition: scale var(--transition);
  }
  .navigation.active ul {
    scale: 1;
  }
  header nav ul li:hover ul {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 10px 6px;
    text-align: center;
    --bg-glass: 23, 5, 51 !important;
    transform: translate(0, 2px);
  }
}

/* ================================
   ТУЛТИПЫ
================================ */
.btn-container {
  position: relative;
}
.tooltip {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(var(--dx-tooltip, 0), var(--dy-tooltip, 0));
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-style: italic;
  font-size: 0.85em;
  white-space: nowrap;
  z-index: 1000;
}
.btn-container:hover .tooltip,
.btn-container:focus-within .tooltip {
  visibility: visible;
  opacity: 0.9;
}

/* ================================
   ФОН/MAIN
================================ */
main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: 100%;
  background: center/cover no-repeat var(--url-background-fon),
    var(--gradient-background-fon);
  background-blend-mode: soft-light;
  background-attachment: fixed;
}
main.maska::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: -1;
  pointer-events: none;
}

/* ================================
   БАННЕР
================================ */
.banner {
  position: relative;
  padding: 64px 16px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.banner > * {
  max-width: min(1100px, 100%);
  margin-block: 4px;
}
.banner .logo {
  width: 84px;
  height: 84px;
  aspect-ratio: 1/1;
  object-fit: contain;
}
.banner-title {
  margin: 4px 0 0;
}
.banner-text {
  margin: 0;
  position: relative;
  z-index: 10;
  font-family: var(--font-page);
  font-size: clamp(40px, 4.1vw, 54px);
  font-weight: 700;
  font-style: italic;
  text-shadow: 6px 6px 6px rgba(0, 0, 0, 0.6);
  background: var(--gradient-text);
  color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 9s linear infinite;
}
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.video-buttons {
  margin-top: 8px;
  gap: 16px;
}
.video-buttons .image-container {
  width: 320px;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
}

@media (max-width: 420px) {
  .banner {
    padding: 56px 12px 16px;
    gap: 8px;
  }
  .banner .logo {
    width: 72px;
    height: 72px;
  }
}

/* ================================
   ИНДИКАТОР ПРОКРУТКИ
================================ */
/* Только индикатор у края окна — не трогать .progressbar внутри карточек (репертуар и т.д.) */
/* Фон трека убран — одна аккуратная полоса-индикатор (#progressbar), без «двойной» окантовки */
body > .scroll-path {
  display: none;
}
#progressbar {
  position: fixed;
  top: 0;
  right: 0;
  width: 6px;
  height: 2%;
  z-index: 12;
  background: linear-gradient(to top, #008aff, #00ffe7);
  border-radius: 4px;
  animation: animateScroll 5s linear infinite;
  pointer-events: none;
  overflow: hidden;
}
#progressbar::before,
#progressbar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #008aff, #00ffe7);
  pointer-events: none;
}
#progressbar::before {
  filter: blur(10px);
}
#progressbar::after {
  filter: blur(5px);
}
@keyframes animateScroll {
  0%,
  100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(360deg);
  }
}

/* ================================
   СЕКЦИЯ «О НАС»
================================ */
.about {
  width: 99%;
  max-width: none;
  margin: 0 auto;
  padding: 32px min(20px, 3vw) 8px;
  color: #fff;
}

/* один человек */
/* ====== Person block (About) ====== */
.person-block {
  overflow: hidden; /* чистим float */
  margin: 0 auto 42px;
  padding: 22px 0 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}

/* круглая аватарка слева, чуть меньше для «четкости» */
.person-photo {
  float: left;
  width: 132px;
  height: 132px;
  margin: 2px 22px 14px 0;
  clip-path: circle(50%);
  -webkit-clip-path: circle(50%);
  shape-outside: circle(50%);
  -webkit-shape-outside: circle(50%);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  background: #000;
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transform: translateZ(0); /* убирает «мыльность» на некоторых GPU */
}

/* заголовок — заметный, но не кричащий */
.person-text h3 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.22;
  color: #ffd27a;
  text-align: center; /* как ты хотел */
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* основной текст — удобочитаемый */
.person-text p {
  margin: 0 0 12px;
  font-size: clamp(0.98rem, 1.3vw, 1.05rem);
  line-height: 1.7;
  text-indent: 0;
  color: #f4f4f4;
}

/* списки — без маркеров, но с «дыханием» */
.person-text ul {
  margin: 6px 0 12px 0;
  padding: 0;
}
.person-text li {
  margin: 4px 0;
  padding-left: 0; /* ровный край */
}

/* тонкая «подпись/акцент» внутри текста, если используешь <strong> */
.person-text p strong {
  color: #ff9933;
  font-weight: 700;
}

/* Вариант с фото справа — просто добавь .right к .person-photo */
.person-photo.right {
  float: right;
  margin: 2px 0 14px 22px;
}

/* ====== Адаптив ====== */
@media (max-width: 820px) {
  .person-block {
    padding-bottom: 20px;
  }
  .person-photo {
    float: none;
    margin: 0 auto 14px;
    shape-outside: none;
    -webkit-shape-outside: none;
    width: 120px;
    height: 120px;
  }
  .person-photo.right {
    float: none;
    margin: 0 auto 14px;
  }
  .person-text h3 {
    margin-bottom: 8px;
  }
  .person-text p {
    text-align: left; /* читается лучше на мобилках */
  }
}
/* маркеры отключены глобально */

/* ====== ОТЗЫВЫ — СЕТКА И КРАСИВЫЕ КАРТОЧКИ СО СКРОЛЛОМ ====== */
.testimonials {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 36px 20px 20px;
}

.testimonials > .banner-text {
  margin-bottom: 16px;
}

/* Сетка карточек */
.testimonials .content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

/* Карточка: стеклянная, фон как раньше (виден фон страницы) */
.testimonials .box-wrape {
  display: grid;
  grid-template-columns: 88px 1fr;
  grid-template-rows: auto auto 1fr; /* аватар, заголовок, текст */
  column-gap: 16px;
  row-gap: 10px;

  background: rgba(255, 255, 255, 0.06); /* полупрозрачный слой */
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  padding: 18px 20px;
  text-align: left;
  overflow: hidden; /* прячем края скролл-зоны */
}

/* Аватар */
.testimonials .box-wrape .circle {
  grid-row: 1 / span 2; /* занимает строки аватар+заголовок */
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}
.testimonials .box-wrape .circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Заголовок */
.testimonials .box-wrape h3 {
  align-self: end;
  margin: 2px 0 0;
  font: 700 1.05rem/1.25 var(--font-text);
  color: #ffd27a;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

/* Прокручиваемая область текста */
.testimonials .box-wrape .review {
  grid-column: 1 / -1; /* на всю ширину под аватаром/заголовком */
  max-height: 260px; /* видимая высота, остальное уходит в скролл */
  overflow: auto;
  padding-right: 6px; /* место под скролл, чтобы текст не «лип» */
}

/* Текст внутри */
.testimonials .box-wrape p {
  margin: 0 0 10px;
  font: 400 0.98rem/1.65 var(--font-text);
  color: #fff;
  text-align: justify;
  text-indent: 0;
  max-width: 60ch; /* комфортная ширина строки */
}
.testimonials .box-wrape strong {
  display: inline-block;
  margin-top: 6px;
}

/* Кастомный скролл (деликатный) */
.testimonials .box-wrape .review::-webkit-scrollbar {
  width: 8px;
}
.testimonials .box-wrape .review::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.testimonials .box-wrape .review::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 10px;
}
.testimonials .box-wrape .review {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.08);
}

/* Ховер-эффект */
.testimonials .box-wrape:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Адаптив: одна колонка, аватар сверху */
@media (max-width: 560px) {
  .testimonials .content {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .testimonials .box-wrape {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    text-align: center;
  }
  .testimonials .box-wrape .circle {
    justify-self: center;
  }
  .testimonials .box-wrape p {
    margin-left: auto;
    margin-right: auto;
  }
  .testimonials .box-wrape .review {
    max-height: 320px;
  }
}
.testimonials {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 36px 20px 20px;
}

.testimonials > .banner-text {
  margin-bottom: 16px;
}

.testimonials .content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.testimonials .box-wrape {
  display: grid;
  grid-template-columns: 88px 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 16px;
  row-gap: 10px;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  padding: 18px 20px;
  text-align: left;
  overflow: hidden;
}

.testimonials .box-wrape .circle {
  grid-row: 1 / span 2;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}
.testimonials .box-wrape .circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials .box-wrape h3 {
  align-self: end;
  margin: 2px 0 0;
  font: 700 1.05rem/1.25 var(--font-text);
  color: #ffd27a;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.testimonials .box-wrape .review {
  grid-column: 1 / -1;
  max-height: 260px;
  overflow: auto;
  padding-right: 6px;
}

.testimonials .box-wrape p {
  margin: 0 0 10px;
  font: 400 0.98rem/1.65 var(--font-text);
  color: #fff;
  text-align: justify;
  max-width: 60ch;
}

.testimonials .box-wrape strong {
  display: inline-block;
  margin-top: 6px;
}

/* РОЛЬ — компактная строка под именем, вне .review */
.testimonials .box-wrape .person-role {
  grid-column: 2; /* правая колонка */
  grid-row: 2; /* сразу под именем */
  margin: 0 0 4px;
  font: italic 500 0.9rem/1.2 var(--font-text);
  color: #f3e1b2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  opacity: 0.95;
}

/* зона с текстом-отзывом ниже на всю ширину */
.testimonials .box-wrape .review {
  grid-column: 1 / -1;
  margin-top: 4px; /* чуть воздуха от подписи */
  max-height: 260px; /* как у тебя было */
  overflow: auto;
  padding-right: 6px;
}

/* Мобилки — центрируем подпись */
@media (max-width: 560px) {
  .testimonials .box-wrape {
    grid-template-columns: 1fr;
  }
  .testimonials .box-wrape .circle {
    grid-row: 1;
    justify-self: center;
  }
  .testimonials .box-wrape h3,
  .testimonials .box-wrape .person-role {
    grid-column: 1;
    text-align: center;
  }
  .testimonials .box-wrape .review {
    grid-column: 1;
  }
}
/* скролл */
.testimonials .box-wrape .review::-webkit-scrollbar {
  width: 8px;
}
.testimonials .box-wrape .review::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.testimonials .box-wrape .review::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 10px;
}
.testimonials .box-wrape .review {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.08);
}

.testimonials .box-wrape:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

@media (max-width: 560px) {
  .testimonials .content {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .testimonials .box-wrape {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    text-align: center;
  }
  .testimonials .box-wrape .circle {
    justify-self: center;
  }
  .testimonials .box-wrape p {
    margin-left: auto;
    margin-right: auto;
  }
  .testimonials .box-wrape .review {
    max-height: 320px;
  }
}

/* ================================
   ФУТЕР
================================ */

/* ==== Увеличение иконок соцсетей в футере ==== */
.site-footer .footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; /* размер кнопки */
  height: 48px;
  margin-right: 10px;
  font-size: 24px; /* размер иконки внутри */
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.site-footer .footer-socials a:hover {
  background: #1877f2; /* или любой другой цвет при наведении */
  color: #fff;
  transform: scale(1.1);
}

.site-footer {
  width: 100%;
  margin: 0;
  margin-top: 12px;
  padding: 22px min(20px, 3vw);
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 35, 0.78),
    rgba(15, 10, 30, 0.88)
  );
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(12px, 4vw, 28px);
  align-items: start;
}
.site-footer h4 {
  font: 700 1.05rem/1.2 var(--font-text);
  margin: 0 0 8px;
  color: #ffd27a;
}
.site-footer p,
.site-footer li,
.site-footer a {
  font: 400 0.95rem/1.5 var(--font-text);
  color: #f3f3f3;
}
.site-footer a {
  border-bottom: 1px dotted rgba(255, 255, 255, 0.35);
}
.site-footer a:hover {
  border-bottom-color: transparent;
}
.site-footer ul {
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin: 6px 0;
}
.site-footer__bottom {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  opacity: 0.9;
}
@media (max-width: 820px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

.bg-star {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0; /* позади контента */
}
.boxStar {
  position: absolute;
  color: rgba(255, 255, 255, 0.08);
  transition: color 0.9s, text-shadow 0.9s;
  will-change: color, text-shadow;
}
.boxStar::before {
  content: "\f005"; /* fa-star */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
.boxStar.animate {
  color: rgba(255, 255, 120, 0.45);
  text-shadow: 0 0 10px rgba(255, 255, 120, 0.6),
    0 0 26px rgba(255, 255, 120, 0.35);
}

/* === Burger в ТОМ ЖЕ стиле: фиксируем поведение, не трогая стилистику === */

/* показываем/скрываем СУЩЕСТВУЮЩИЙ список .glass на мобилках */
@media (max-width: 991px) {
  .navigation {
    position: relative;
  }

  /* панель меню: используем твой .glass как есть, просто прячем по умолчанию */
  .navigation > ul.glass {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    display: none; /* скрыто пока бургер не активен */
    flex-direction: column;
    width: var(--width-nav); /* берём твою переменную */
    padding: 10px 8px 12px;
    z-index: 1000; /* поверх всего */
  }
  .navigation.active > ul.glass {
    /* открыть по клику на бургер */
    display: flex;
  }

  /* отключаем старую «масштабную» анимацию, чтобы не конфликтовало */
  .navigation ul {
    scale: 1 !important;
  }

  /* подменю внутри (Репертуар → …) — раскрываем под родителем, без смещения */
  header nav ul li:hover ul {
    position: relative;
    left: 0;
    transform: none !important;
    width: 100%;
    margin: 0;
    padding: 6px 0;
  }
}

/* ======= Подпись профессии под именем ======= */
/* Подпись роли под именем в блоках отзывов */
.person-role {
  font: italic 500 0.95rem var(--font-text);
  color: #ffd27a;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  margin: -4px 0 8px; /* немного ближе к имени */
  text-align: left;
}

@media (max-width: 560px) {
  .person-role {
    text-align: center;
  }
}

/* чтобы меню на десктопе осталось как было (ховер-раскрытие) — ничего не меняем */

/* ================================
   КОНЕЦ
================================ */

.lang-switcher {
  position: relative;
  z-index: 1001;
  overflow: visible;
}
.lang-switcher__toggle.water-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-btn, #c9a227);
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  user-select: none;
  overflow: visible;
  border: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  width: var(--height-header);
  aspect-ratio: 1;
}
.lang-switcher__current {
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 52px;
  padding: 4px;
  margin: 0;
  z-index: 1200;
  list-style: none !important;
}
.lang-switcher__menu[hidden] {
  display: none !important;
}
.lang-switcher__menu li {
  list-style: none !important;
}
.lang-switcher__option {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: var(--font-text);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switcher__option:hover,
.lang-switcher__option.is-active {
  background: rgba(var(--bg-glass), 0.55);
  color: var(--color-text);
}
html[dir="rtl"] body.is-rtl p {
  text-align: right;
}
html[dir="rtl"] body.is-rtl .person-role {
  text-align: right;
}
html[dir="rtl"] body.is-rtl nav ul li ul {
  left: auto;
  right: 0;
}
@media (max-width: 560px) {
  html[dir="rtl"] body.is-rtl .person-role {
    text-align: center;
  }
}

