:root {
  --ink: #060305;
  --surface: #0e080f;
  --card: rgba(255, 255, 255, 0.035);
  --card-warm: rgba(155, 18, 32, 0.09);
  --border: rgba(255, 255, 255, 0.07);
  --border-red: rgba(155, 28, 48, 0.32);
  --text: #ece0e2;
  --muted: #8a7080;
  --crimson: #a81e2d;
  --crimson-light: #d42b3d;
  --gold: #c9a24b;
  --gold-soft: #e6c878;
  --radius: 18px;
  --nav-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  background-color: var(--ink);
  background-image:
    radial-gradient(ellipse 65% 45% at 78% 4%, rgba(140, 20, 30, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 50% 55% at 12% 92%, rgba(100, 10, 20, 0.28) 0%, transparent 55%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ---- particles ---- */
#particles-js {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
#particles-js canvas { pointer-events: none !important; }

/* ---- background numerology numbers ---- */
.bg-numbers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-numbers span {
  position: absolute;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  color: rgba(168, 30, 45, 0.07);
  line-height: 1;
  user-select: none;
}

header, main, footer { position: relative; z-index: 1; }

/* ---- nav ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(14, 8, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border-red);
}

.nav__inner {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.nav__mark { color: var(--crimson-light); font-size: 13px; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}
.nav__link:hover { color: var(--text); }
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  transition: width 0.22s ease;
}
.nav__link:hover::after { width: 100%; }

.nav__cta { padding: 9px 20px; font-size: 13.5px; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- hero ---- */
.hero {
  padding: calc(var(--nav-h) + 72px) 24px 68px;
  position: relative;
  overflow: hidden;
}

/* background numbers handled by .bg-numbers div */

.hero__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  gap: 52px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

.hero__photo {
  flex: 0 0 auto;
  width: 280px;
}
.hero__photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.hero__photo img.is-empty {
  min-height: 280px;
  background: rgba(168, 30, 45, 0.07);
  border: 1px dashed var(--border-red);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

.hero__text { flex: 1 1 320px; max-width: 460px; }

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 11px;
  color: var(--crimson-light);
  margin-bottom: 12px;
}

.hero h1 { font-size: 56px; line-height: 1.05; margin-bottom: 16px; }

.hero__lead { color: var(--muted); font-size: 17px; margin-bottom: 30px; }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- buttons ---- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.btn--primary {
  background: linear-gradient(135deg, var(--crimson-light), var(--crimson));
  color: #ffe8ec;
  box-shadow: 0 8px 24px rgba(168, 30, 45, 0.38);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(168, 30, 45, 0.58);
}
.btn--ghost { border: 1px solid var(--border); color: var(--text); }
.btn--ghost:hover { background: var(--card); border-color: var(--border-red); }
.btn--block { display: block; width: 100%; text-align: center; }

/* ---- sections ---- */
.section { max-width: 980px; margin: 0 auto; padding: 56px 24px; }

.section__title {
  font-size: 38px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
.section__title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  margin: 14px auto 0;
  border-radius: 999px;
}

.section__lead {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  max-width: 520px;
  margin: -24px auto 36px;
}

/* ---- products showcase ---- */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.product-card {
  background: var(--card-warm);
  border: 1px solid var(--border-red);
  border-radius: var(--radius);
  padding: 30px 28px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 30, 45, 0.55);
  box-shadow: 0 22px 54px rgba(168, 30, 45, 0.16);
}

.product-card__num {
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.85;
}

.product-card__title { font-size: 23px; line-height: 1.25; }

.product-card__desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
}

.product-card__link {
  color: var(--crimson-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-top: 6px;
  transition: color 0.2s ease, transform 0.15s ease;
}
.product-card__link:hover { color: var(--gold-soft); }

/* ---- requests ---- */
.requests {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.request-card {
  background: var(--card-warm);
  border: 1px solid var(--border-red);
  border-radius: var(--radius);
  padding: 26px 24px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.request-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 30, 45, 0.55);
  box-shadow: 0 22px 54px rgba(168, 30, 45, 0.16);
}

.request-card__icon {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  line-height: 1;
  color: var(--crimson-light);
}

.request-card__title {
  font-size: 17px;
  font-weight: 600;
}

.request-card__desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.requests__note {
  max-width: 620px;
  margin: 32px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ---- about ---- */
.about {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.about__photo { flex: 0 0 auto; width: 260px; }
.about__photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.about__photo img.is-empty {
  min-height: 260px;
  background: rgba(168, 30, 45, 0.07);
  border: 1px dashed var(--border-red);
  border-radius: var(--radius);
}

.about__text { flex: 1 1 340px; max-width: 480px; }

.about__eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  color: var(--crimson-light);
  margin-bottom: 16px;
}

.about__para {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.about__facts {
  list-style: none;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 26px 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.about__fact { display: flex; flex-direction: column; gap: 2px; }
.about__fact-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  line-height: 1.1;
  color: var(--gold-soft);
}
.about__fact-label {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
  max-width: 110px;
}

/* ---- section divider ---- */
.section-divider {
  display: flex;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 20px;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 30, 45, 0.28), transparent);
}
.section-divider span { color: var(--crimson); font-size: 13px; flex: 0 0 auto; }

/* ---- session card ---- */
.session-card-wrapper { max-width: 640px; margin: 0 auto; }

.session-card {
  background: var(--card-warm);
  border: 1px solid var(--border-red);
  border-radius: var(--radius);
  padding: 36px 40px;
  backdrop-filter: blur(10px);
}

.session-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.session-list__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 0;
}
.session-list__item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.session-list__item:first-child { padding-top: 0; }
.session-list__item:last-child { padding-bottom: 0; }

.session-list__num {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  color: var(--gold);
  flex: 0 0 28px;
  line-height: 1.1;
  text-align: center;
}

.session-list__item strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 600;
}
.session-list__item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

/* ---- pricing ---- */
.section--payment { display: flex; flex-direction: column; align-items: center; }

.pricing {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.pricing__card {
  background: linear-gradient(160deg, rgba(155, 18, 32, 0.13), var(--card));
  border: 1px solid var(--border-red);
  border-radius: var(--radius);
  padding: 36px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(168, 30, 45, 0.16);
}

.pricing__label {
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
}
.pricing__price {
  font-family: "Cormorant Garamond", serif;
  font-size: 52px;
  color: var(--gold-soft);
  margin: 8px 0 22px;
}
.pricing__list {
  list-style: none;
  text-align: left;
  margin-bottom: 0;
  display: grid;
  gap: 10px;
}
.pricing__list li {
  color: var(--text);
  padding-left: 24px;
  position: relative;
  font-size: 14.5px;
}
.pricing__list li::before {
  content: "✦";
  color: var(--crimson);
  position: absolute;
  left: 0;
  font-size: 12px;
  top: 3px;
}

/* ---- for whom ---- */
.for-whom {
  border-left: 2px solid var(--crimson);
  padding: 14px 18px;
  margin: 22px 0 24px;
  text-align: left;
  background: rgba(168, 30, 45, 0.07);
  border-radius: 0 10px 10px 0;
}
.for-whom__title {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 10px;
  color: var(--crimson-light);
  margin-bottom: 10px;
  font-weight: 600;
}
.for-whom__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.for-whom__list li {
  color: var(--text);
  font-size: 13.5px;
  padding-left: 18px;
  position: relative;
  opacity: 0.9;
  line-height: 1.45;
}
.for-whom__list li::before {
  content: "—";
  color: var(--crimson-light);
  position: absolute;
  left: 0;
}

.pricing__note { color: var(--muted); font-size: 13px; margin-top: 18px; }

/* ---- reviews carousel ---- */
.section--reviews { overflow: visible; }

.reviews-swiper {
  width: 100%;
  padding: 16px 4px 52px !important;
}

.review-slide {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  background: var(--card-warm);
  border: 1px solid var(--border-red);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 340px;
  margin: 0 auto;
  cursor: zoom-in;
  padding: 0;
  width: 100%;
}

.swiper-slide-active .review-slide,
.swiper-slide-active .review-slide:hover {
  box-shadow: 0 16px 48px rgba(168, 30, 45, 0.25);
}

.review-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: cover;
}

.review-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 420px;
  padding: 32px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.review-placeholder__icon { font-size: 36px; opacity: 0.4; }
.review-placeholder p { opacity: 0.6; font-size: 12.5px; line-height: 1.5; }
.review-placeholder code {
  font-family: monospace;
  font-size: 12px;
  color: var(--gold);
  display: block;
  margin-top: 4px;
}

/* ---- certificates carousel ---- */
.certs-swiper {
  width: 100%;
  padding: 16px 4px 52px !important;
}

.cert-slide {
  border-radius: 18px;
  overflow: hidden;
  display: block;
  background: var(--card-warm);
  border: 1px solid var(--border-red);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: zoom-in;
  padding: 0;
  width: 100%;
}

.cert-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.swiper-slide-active .cert-slide:hover,
.review-slide:hover { transform: translateY(-4px); }

.certs-pagination .swiper-pagination-bullet {
  background: var(--muted);
  opacity: 0.5;
  width: 7px;
  height: 7px;
}
.certs-pagination .swiper-pagination-bullet-active {
  background: var(--crimson-light);
  opacity: 1;
  width: 22px;
  border-radius: 4px;
  transition: width 0.25s ease;
}

/* пустая галерея: подсказка вместо карусели */
.gallery-empty {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  opacity: 0.7;
  padding: 28px 16px;
}
.gallery-empty code {
  font-family: monospace;
  color: var(--gold);
}

/* ---- кнопка «Записаться» под блоком ---- */
.section__cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ---- лайтбокс ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: rgba(8, 6, 10, 0.92);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }

.lightbox__img {
  max-width: min(1100px, 96vw);
  max-height: 92vh;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  cursor: default;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-red);
  background: rgba(168, 30, 45, 0.16);
  color: var(--crimson-light);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox__close:hover { background: rgba(168, 30, 45, 0.32); }

/* swiper controls styled to match theme */
.reviews-prev,
.reviews-next,
.certs-prev,
.certs-next {
  color: var(--crimson-light) !important;
  background: rgba(168, 30, 45, 0.12);
  border: 1px solid var(--border-red);
  border-radius: 50%;
  width: 44px !important;
  height: 44px !important;
  transition: background 0.2s ease;
}
.reviews-prev:hover,
.reviews-next:hover,
.certs-prev:hover,
.certs-next:hover { background: rgba(168, 30, 45, 0.28); }
.reviews-prev::after,
.reviews-next::after,
.certs-prev::after,
.certs-next::after { font-size: 16px !important; font-weight: 700; }

.reviews-pagination .swiper-pagination-bullet {
  background: var(--muted);
  opacity: 0.5;
  width: 7px;
  height: 7px;
}
.reviews-pagination .swiper-pagination-bullet-active {
  background: var(--crimson-light);
  opacity: 1;
  width: 22px;
  border-radius: 4px;
  transition: width 0.25s ease;
}

/* ---- socials ---- */
.socials { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.social {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}
.social:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 30, 45, 0.45);
  background: rgba(168, 30, 45, 0.1);
}
.social__icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--crimson-light);
  transition: color 0.2s ease;
}
.social:hover .social__icon { color: var(--gold-soft); }

/* ---- footer ---- */
.footer {
  text-align: center;
  padding: 42px 24px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__legal {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: 12.5px;
  line-height: 1.7;
  opacity: 0.7;
}
.footer__legal a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer__legal a:hover {
  color: var(--crimson-light);
  border-color: var(--border-red);
}

.footer__docs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: center;
  margin-top: 10px;
}

.footer__note {
  max-width: 520px;
  margin: 12px auto 0;
  font-size: 11.5px;
  line-height: 1.5;
  opacity: 0.55;
}

.social__mark {
  font-size: 9px;
  vertical-align: super;
  margin-left: 1px;
  opacity: 0.75;
}

/* ---- responsive ---- */
@media (max-width: 820px) {
  .nav__burger { display: flex; }

  .nav__menu {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 22px;
    background: rgba(14, 8, 15, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-red);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav__link::after { display: none; }

  .nav__cta { margin-top: 18px; text-align: center; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 44px; }
  .hero { padding: calc(var(--nav-h) + 44px) 20px 44px; }
  .hero::after { display: none; }
  .section__title { font-size: 30px; }
  .section__lead { margin: -18px auto 30px; font-size: 14.5px; }
  .session-card { padding: 24px 22px; }
  .pricing__card { padding: 28px 22px; }
  .product-card { padding: 26px 22px; }
  .about { gap: 32px; }
  .about__photo { width: 200px; }
  .about__facts { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  #particles-js { display: none; }
  [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
