/* ============ БАЗА ============ */
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bg: #0b0810;
  --bg2: #120d18;
  --panel: #171122;
  --pink: #ec4899;
  --pink-bright: #ff4fd8;
  --purple: #8b5cf6;
  --text: #f4eefb;
  --muted: #a79db8;
  --line: rgba(255, 255, 255, 0.07);
  --serif: "Playfair Display", serif;
  --sans: "Manrope", sans-serif;
}
html {
  scroll-behavior: smooth;
  /* scroll-padding-top: 90px; */
  scroll-padding-top: 30px;
}
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
body::before {
  /* фоновое неоновое свечение */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      600px 400px at 8% 12%,
      rgba(236, 72, 153, 0.1),
      transparent 70%
    ),
    radial-gradient(
      700px 500px at 92% 30%,
      rgba(139, 92, 246, 0.1),
      transparent 70%
    ),
    radial-gradient(
      600px 500px at 50% 95%,
      rgba(236, 72, 153, 0.07),
      transparent 70%
    );
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
}
::selection {
  background: rgba(236, 72, 153, 0.4);
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0d0a12;
}
::-webkit-scrollbar-thumb {
  background: #2c1b3e;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ec4899;
}
:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 96px 0;
}
.glow {
  color: var(--pink-bright);
  text-shadow:
    0 0 12px rgba(255, 79, 216, 0.8),
    0 0 34px rgba(255, 79, 216, 0.4);
}
.sec-head {
  text-align: center;
  margin-bottom: 56px;
}
.sec-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 14px;
}
.sec-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
}
/* ============ КНОПКИ ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: 0.25s;
  text-decoration: none;
}
.btn svg {
  flex: 0 0 auto;
}
.btn-primary {
  background: linear-gradient(90deg, #e5197d, #8d33e0);
  color: #fff;
  box-shadow: 0 0 22px rgba(229, 25, 125, 0.45);
}
.btn-primary:hover {
  box-shadow: 0 0 36px rgba(229, 25, 125, 0.7);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-ghost:hover {
  border-color: rgba(236, 72, 153, 0.6);
}
/* Кнопка «Написать в Телеграм» в контактах — в общей неоновой стилистике сайта */
.btn-telegram {
  background: linear-gradient(90deg, #e5197d, #8d33e0);
  color: #fff;
  border: 1px solid rgba(255, 79, 216, 0.4);
  box-shadow:
    0 0 22px rgba(229, 25, 125, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.btn-telegram:hover {
  box-shadow: 0 0 38px rgba(229, 25, 125, 0.75);
  transform: translateY(-2px);
}
.btn-telegram svg {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.55));
}
.tg-btn {
  margin-bottom: 28px;
  animation: tgGlow 2.8s ease-in-out infinite;
}
.tg-btn:hover {
  animation: none;
}
@keyframes tgGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(229, 25, 125, 0.4);
  }
  50% {
    box-shadow: 0 0 36px rgba(229, 25, 125, 0.75);
  }
}
.btn-lg {
  padding: 16px 30px;
  font-size: 1rem;
}
.btn-sm {
  padding: 10px 22px;
  font-size: 0.9rem;
}
/* ============ ШАПКА ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 8, 16, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: 0.3s;
}
.header.scrolled {
  background: rgba(11, 8, 16, 0.95);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
}
.nav {
  margin-left: auto;
}
.nav ul {
  display: flex;
  gap: 30px;
}
.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.2s;
  position: relative;
}
.nav a:hover {
  color: #fff;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  transition: 0.25s;
  border-radius: 2px;
}
.nav a:hover::after {
  width: 100%;
}
.burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  width: 20px;
  height: 2px;
  background: var(--pink-bright);
  border-radius: 2px;
  transition: 0.3s;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-nav {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(13, 8, 19, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: 0.3s;
}
.mobile-nav.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.mobile-nav a {
  padding: 12px 4px;
  font-size: 1.05rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-nav a:hover {
  color: #fff;
}
.mobile-nav .cta {
  margin-top: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(90deg, #e5197d, #8d33e0);
  border-radius: 12px;
  border-bottom: none;
  box-shadow: 0 0 18px rgba(229, 25, 125, 0.4);
}
/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-text {
  max-width: 640px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.12;
  margin: 18px 0 22px;
}
.hero p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin: 0 0 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-stats b {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--pink-bright);
  text-shadow: 0 0 18px rgba(255, 79, 216, 0.5);
}
.hero-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}
/* Фото справа */
.hero-photo {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(236, 72, 153, 0.35);
  background:
    radial-gradient(
      120% 90% at 50% 100%,
      rgba(255, 46, 166, 0.25),
      transparent 60%
    ),
    #140d1b;
  box-shadow:
    0 0 40px rgba(236, 72, 153, 0.2),
    0 24px 70px rgba(0, 0, 0, 0.55);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-photo:hover img {
  transform: scale(1.04);
}
@media (max-width: 968px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-text {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  .hero-actions,
  .hero-stats {
    justify-content: center;
  }
}
/* ============ О ШКОЛЕ ============ */
.about-lead {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.card {
  flex: 1 1 220px;
  max-width: 340px;
}
.card {
  background: linear-gradient(180deg, #171021, #120b18);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 26px;
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 14px 40px rgba(236, 72, 153, 0.12);
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--pink-bright);
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.35);
  margin-bottom: 20px;
}
.card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.card p {
  color: var(--muted);
  font-size: 0.94rem;
}
/* ============ РАСПИСАНИЕ ============ */
.sched {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}
.sched-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  background: #150e1d;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: 0.3s;
}
.sched-row:hover {
  border-color: rgba(236, 72, 153, 0.45);
  box-shadow: 0 0 26px rgba(236, 72, 153, 0.12);
  transform: translateX(6px);
}
.sched-info h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pink-bright);
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
}
.sched-when {
  text-align: right;
  white-space: nowrap;
}
.sched-when .days {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}
.sched-when .time {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}
.sched-note {
  text-align: center;
  color: var(--muted);
  margin-top: 30px;
}
.sched-note a {
  color: var(--pink-bright);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 79, 216, 0.4);
}
/* ============ ГАЛЕРЕЯ ============ */
.gallery-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.g-photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(
      120% 90% at 50% 100%,
      rgba(255, 46, 166, 0.22),
      transparent 60%
    ),
    #140d1b;
}
.g-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.g-photo:hover img {
  transform: scale(1.05);
}
.gallery-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.g-video {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
  background: #000;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
@media (max-width: 768px) {
  .gallery-photos,
  .gallery-videos {
    grid-template-columns: 1fr;
  }
}
/* ============ ОТЗЫВЫ ============ */
.reviews {
  background: radial-gradient(
    60% 60% at 50% 45%,
    rgba(139, 92, 246, 0.08),
    transparent 75%
  );
}
.slider {
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  touch-action: pan-y;
}
.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.slide {
  min-width: 100%;
  text-align: center;
  padding: 0 12px;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--pink);
  text-shadow: 0 0 18px rgba(236, 72, 153, 0.7);
  margin-bottom: 26px;
}
.slide blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.8;
  color: #d9d2e6;
  max-width: 640px;
  margin: 0 auto 34px;
}
.slide .author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: left;
}
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, #e5197d, #8d33e0);
  box-shadow:
    0 0 0 2px rgba(236, 72, 153, 0.5),
    0 0 18px rgba(236, 72, 153, 0.35);
}
.author b {
  font-family: var(--serif);
  display: block;
  font-size: 1.05rem;
}
.author span {
  color: var(--muted);
  font-size: 0.88rem;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: #4b3a5e;
  cursor: pointer;
  transition: 0.3s;
  padding: 0;
}
.dot.active {
  width: 28px;
  background: var(--pink-bright);
  box-shadow: 0 0 12px rgba(255, 79, 216, 0.7);
}
/* ============ КОНТАКТЫ (без формы) ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 680px;
  margin: 0 auto;
}
.contact-left {
  text-align: center;
}
.contact-left h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.2;
  margin: 14px 0 22px;
}
.contact-left > p {
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 36px;
}
.contact-card {
  background: var(--panel);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.contact-card .c-item:last-child {
  margin-bottom: 0;
}
.c-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.c-item .icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--pink-bright);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.35);
}
.c-item small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 2px;
}
.c-item div p {
  font-weight: 600;
}
.socials-title {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 28px 0 12px;
}
/* ============ ФУТЕР ============ */
.footer {
  padding: 34px 0;
  position: relative;
}

.footer-bottom {
  border-top: 1px solid rgba(236, 72, 153, 0.15);
  padding-top: 26px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-bottom p + p {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #6d6380;
}
/* ============ АНИМАЦИИ ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
/* ============ АДАПТИВ ============ */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .header .btn-sm {
    padding: 9px 16px;
    font-size: 0.82rem;
  }
  .sched-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .sched-when {
    text-align: left;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-card {
    padding: 30px 24px;
  }
}
@media (max-width: 620px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
@media (max-width: 560px) {
  .header .btn-sm {
    display: none;
  } /* кнопка уходит в мобильное меню */
  .logo {
    font-size: 1.05rem;
  }
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* ============ ПРЕПОДАВАТЕЛИ ============ */
.teachers-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.teacher-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr; /* Фото слева, текст справа */
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, rgba(23, 16, 33, 0.8), rgba(18, 11, 24, 0.8));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  transition: 0.3s;
}

.teacher-card:hover {
  border-color: rgba(236, 72, 153, 0.3);
  box-shadow: 0 10px 40px rgba(236, 72, 153, 0.1);
  transform: translateY(-4px);
}

.teacher-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(236, 72, 153, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  background: #140d1b;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.teacher-card:hover .teacher-photo img {
  transform: scale(1.05);
}

.teacher-info h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: #fff;
}

.teacher-info .role {
  display: inline-block;
  color: var(--pink-bright);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.teacher-info p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Адаптив для преподавателей */
@media (max-width: 768px) {
  .teacher-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
    text-align: center;
  }
  .teacher-photo {
    max-width: 280px;
    margin: 0 auto;
  }
  .teacher-info .role {
    margin-bottom: 12px;
  }
}

/* ============ ПРАЙС ============ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.price-card {
  background: linear-gradient(180deg, #171021, #120b18);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 14px 40px rgba(236, 72, 153, 0.12);
}

.price-card.featured {
  border-color: var(--pink);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.15);
}

.price-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #fff;
}

.price-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  min-height: 40px; /* Чтобы карточки были одной высоты */
}

.price-val {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--pink-bright);
  text-shadow: 0 0 12px rgba(255, 79, 216, 0.4);
  margin-bottom: 8px;
}

.price-sub {
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.8;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(23, 16, 33, 0.6);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: 0.3s;
}

.faq-item:hover {
  border-color: rgba(236, 72, 153, 0.3);
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-icon {
  flex: 0 0 auto;
  color: var(--pink-bright);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px; /* Достаточно для текста */
}

.faq-answer p {
  padding: 0 28px 24px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}