/* ===== ОБЩИЕ СТИЛИ ===== */

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  background: #f7f6f3;
  color: #1f1f1f;
  line-height: 1.6;
}

section {
  padding: 90px 8%;
}

/* ===== HEADER ===== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  z-index: 1000;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 26px;
  letter-spacing: 3px;
  font-weight: 600;
}

nav {
  position: absolute;
  right: 40px;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
}

nav a:hover {
  opacity: 0.6;
}
/* ===== Lang switch ===== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 1px;
}

.lang-switch a {
  text-decoration: none;
  color: #333;
  opacity: 0.6;
  transition: 0.3s;
}

.lang-switch a:hover {
  opacity: 1;
}

.lang-switch span {
  opacity: 0.3;
}

.lang-switch a.active {
  opacity: 1;
  font-weight: 600;
}

/* ===== HERO ===== */

.hero {
  position: relative;
  min-height: 100vh;
  margin-top: 80px;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.32),
    rgba(0, 0, 0, 0.42)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  color: #ffffff;
}

.hero h1 {
  margin: 0 0 28px;
  font-size: 72px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hero p {
  margin: 0 auto;
  max-width: 760px;
  font-size: 24px;
  line-height: 1.65;
  font-weight: 400;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

.btn-instagram {
  display: inline-block;
  margin-top: 36px;
  padding: 18px 42px;
  background: rgba(22, 22, 22, 0.9);
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  transition: 0.25s ease;
}

.btn-instagram:hover {
  background: #111111;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .hero {
    min-height: 88vh;
    padding: 32px 18px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.08;
    margin-bottom: 22px;
  }

  .hero p {
    font-size: 18px;
    line-height: 1.55;
    max-width: 100%;
  }

  .btn-instagram {
    margin-top: 28px;
    padding: 16px 30px;
    font-size: 16px;
  }
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.55)
  );
  z-index: 1;
}

.hero h1 {
  position: relative;
  z-index: 2;
  font-weight: 500;
  letter-spacing: 2px;
}

/* ===== ABOUT ===== */

.about {
  background: white;
  text-align: center;
}

.about p {
  font-size: 20px;
  max-width: 850px;
  margin: auto;
  margin-bottom: 25px;
}

.about-photos {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.about-photos img {
  width: 320px;
  height: 420px;
  object-fit: cover;
}

/* ===== SESSION ===== */

.sessions {
  position: relative;
  background-color: #110f0bc0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 120px 8%;
  overflow: hidden;
}

.session-block {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 50px;
}

.session-block img {
  width: 620px;
  height: 420px;
  object-fit: cover;
}

.session-text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: #f5f1ea;
}

.session-text h2 {
  font-size: 46px;
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.session-text p {
  font-size: 22px;
  line-height: 1.8;
  margin: 14px auto;
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
}

.btn-read {
  display: inline-block;
  margin-top: 35px;
  padding: 18px 45px;
  background: #bf803c;
  color: white;
  font-size: 18px;
  letter-spacing: 1px;
  border-radius: 6px;
  transition: 0.3s;
  text-decoration: none;
}

.btn-read:hover {
  background: #000;
}

/* ===== ГАЛЕРЕЯ ===== */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1300px;
  margin: auto;
}

.gallery-section {
  background: white;
  padding: 100px 8%;
}

.gallery-title {
  text-align: center;
  font-size: 36px;
  margin: 0 auto 60px;
}

.gallery img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  cursor: pointer;
  transition:
    transform 0.5s ease,
    box-shadow 0.4s ease;
}

.gallery img:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* ===== FAQ ===== */

.faq {
  background: #1f1f1f;
  color: #f4f4f4;
  max-width: 1680px;
  margin: 0; /* ключевая строка */
  padding: 100px 60px;
  border-radius: 0;
}

.faq h2 {
  font-size: 36px;
  margin-bottom: 50px;
  text-align: center;
  letter-spacing: 1px;
}

/* карточка вопроса */

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* кнопка вопроса */

.faq-question {
  font-size: 20px;
  padding: 22px 0;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: #f4f4f4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

.faq-question:hover {
  color: #ffffff;
  opacity: 0.85;
}

/* ответ */

.faq-answer {
  font-size: 18px;
  line-height: 1.6;
  padding: 0 0 25px 0;
  display: none;
  color: #d8d8d8;
}

/* состояние открытого блока */

.faq-item.active .faq-question {
  color: #ffffff;
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.04);
  padding-left: 10px;
  border-left: 3px solid rgba(255, 255, 255, 0.3);
}

/* Instagram кнопка */

.faq .btn-instagram {
  display: block;
  margin: 60px auto 0;
  width: fit-content;
}
/* ===== HERO WIDE ===== */

.hero-wide {
  position: relative;
}

.hero-wide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* ===== SESSION ===== */

.session-text h2::after {
  content: '';
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(191, 128, 60, 0),
    rgba(191, 128, 60, 0.95),
    rgba(191, 128, 60, 0)
  );
  margin: 20px auto 0;
}

/* ===== RITUAL INFO ===== */

.ritual-info {
  background: #1f1f1f;
  color: #f3eee6;
  padding: 120px 8%;
  margin: 0;
}

.ritual-info-title {
  font-size: 62px;
  line-height: 1.18;
  text-align: center;
  max-width: 980px;
  margin: 0 auto 80px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #f7f2ea;
}

.ritual-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
}

.ritual-info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 34px 30px;
  border-radius: 8px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.ritual-info-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(191, 128, 60, 0.35);
}

.ritual-info-card h3 {
  margin: 0 0 22px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.ritual-info-card h3::after {
  content: '';
  display: block;
  width: 44px;
  height: 1px;
  background: #bf803c;
  margin-top: 12px;
}

.ritual-info-card li {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.76);
}

.ritual-info .btn-instagram {
  display: block;
  margin: 72px auto 0;
  width: fit-content;
}

@media (max-width: 900px) {
  .ritual-info {
    padding: 84px 20px;
  }

  .ritual-info-title {
    font-size: 34px;
    line-height: 1.22;
    margin-bottom: 42px;
  }

  .ritual-info-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ritual-info-card {
    padding: 24px 22px;
  }

  .ritual-info-card h3 {
    font-size: 21px;
    margin-bottom: 18px;
  }

  .ritual-info-card li {
    font-size: 18px;
    line-height: 1.65;
  }
}
/* ===== FOOTER ===== */

footer {
  background: #1f1f1f;
  color: white;
  text-align: center;
  padding: 50px;
  font-size: 18px;
}

footer a {
  color: white;
  text-decoration: none;
}

/* ===== MOBILE ===== */

@media (max-width: 900px) {
  nav ul {
    display: none;
  }

  .burger {
    position: absolute;
    right: 25px;
    cursor: pointer;
  }

  .burger div {
    width: 25px;
    height: 3px;
    background: #000;
    margin: 5px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 18px;
  }

  .about-photos {
    flex-direction: column;
    align-items: center;
  }

  .session-block {
    flex-direction: column;
    text-align: center;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .gallery img {
    height: 160px;
  }
}

/* BURGER MENU */

.nav-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 80px;
  right: 20px;
  background: white;
  padding: 30px;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}

/* SCROLL ANIMATION */

.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.7s;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SCROLL TOP */

.to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: black;
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
}

/* ===== TELEGRAM SECTION ===== */

.telegram-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 20px;
  overflow: hidden;
  text-align: center;
}

.telegram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 1;
}

.telegram-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}

.telegram-section .gallery-title {
  color: #ffffff;
  font-size: 56px;
  line-height: 1.1;
  margin: 0 auto 38px;
  max-width: 900px;
}

.telegram-text-box {
  max-width: 860px;
  margin: 0 auto 34px;
  padding: 34px 38px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.telegram-text-box p {
  margin: 0 0 22px;
  font-size: 22px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

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

.telegram-accent {
  font-size: 24px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #ffffff;
}

.telegram-section .btn-read {
  margin-top: 8px;
  padding: 18px 42px;
  background: #bf803c;
  color: #ffffff;
  border-radius: 4px;
  font-size: 18px;
  letter-spacing: 0.6px;
  text-decoration: none;
  transition: 0.25s ease;
}

.telegram-section .btn-read:hover {
  background: #a56d31;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .telegram-section {
    padding: 84px 18px;
  }

  .telegram-section .gallery-title {
    font-size: 34px;
    margin-bottom: 26px;
  }

  .telegram-text-box {
    padding: 24px 20px;
  }

  .telegram-text-box p {
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 18px;
  }

  .telegram-accent {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .telegram-section .btn-read {
    padding: 16px 30px;
    font-size: 16px;
  }
}
