/* PraviloKirov — лендинг
   Брендкит: антрацит #0F0F0F + золото #BFA98A + песок #E5DED2 + cream #F6F4EF
   Шрифт: Montserrat 200/300/400/500
   Стиль — холодный премиум, тонкие линии, много воздуха, минимум плотностей */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600&display=swap');

:root {
  color-scheme: dark;
  --bg: #0F0F0F;
  --surface: #1C1C1C;
  --surface-2: #232323;
  --gold: #BFA98A;
  --gold-bright: #D4BD9A;
  --gold-soft: rgba(191, 169, 138, 0.55);
  --gold-dim: rgba(191, 169, 138, 0.18);
  --gold-line: rgba(191, 169, 138, 0.32);
  --sand: #E5DED2;
  --light: #F6F4EF;
  --fg: #F6F4EF;
  --muted: rgba(245, 245, 239, 0.62);
  --muted-2: rgba(245, 245, 239, 0.38);
  --line: rgba(245, 245, 239, 0.08);
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.55);
  --max: 1180px;
  --content: 720px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 'Montserrat', -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-bright); }

/* ============ НАВИГАЦИЯ ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 14px;
  color: var(--light); text-decoration: none;
}
.logo img { width: 30px; height: 34px; flex: 0 0 auto; }
.logo span {
  font-weight: 300; font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sand);
}
.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 14px; font-weight: 300; letter-spacing: 0.02em;
}
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--light); }
.nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--gold);
  font-size: 13px; letter-spacing: 0.04em;
  transition: all .2s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============ СЕКЦИИ ============ */
section { padding: 96px 24px; }
section:first-of-type { padding-top: 64px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.content { max-width: var(--content); margin: 0 auto; }

.kicker {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 400;
  margin: 0 0 16px;
}

h1, h2, h3 { color: var(--light); font-weight: 300; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin-bottom: 24px; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 400; }

p { margin: 0 0 16px; color: var(--muted); font-weight: 300; }
p.lede { font-size: 19px; line-height: 1.55; color: var(--sand); }
p.large { font-size: 17px; line-height: 1.65; color: var(--sand); }

.divider {
  width: 64px; height: 1px;
  background: var(--gold);
  margin: 24px 0;
  opacity: 0.6;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 120px 24px 96px;
  overflow: hidden;
}
.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px; align-items: center;
}
.hero-text { max-width: 580px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lede {
  font-size: 18px; line-height: 1.6;
  color: var(--muted); margin: 0 0 32px;
  font-weight: 300;
}
.hero-cta-row {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
  margin-top: 32px;
}
.hero-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 15, 15, 0.6) 100%);
  pointer-events: none;
}
.hero-trust {
  margin-top: 24px;
  font-size: 13px; color: var(--muted-2);
  letter-spacing: 0.02em;
}

@media (max-width: 920px) {
  .hero { padding: 80px 24px 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { max-width: 480px; margin: 0 auto; }
}

/* ============ КНОПКИ ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px; font-weight: 400;
  letter-spacing: 0.04em;
  cursor: pointer; border: none;
  transition: all .25s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(191, 169, 138, 0.25);
}
.btn-secondary {
  background: transparent;
  color: var(--light);
  border: 1px solid var(--line);
}
.btn-secondary:hover {
  border-color: var(--gold-line);
  color: var(--gold);
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding: 16px 4px;
  font-size: 13px;
}
.btn-ghost:hover { color: var(--gold); }

/* ============ КАРТОЧКИ ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: all .25s ease;
}
.card:hover {
  border-color: var(--gold-line);
  transform: translateY(-2px);
}
.card h3 { margin-bottom: 12px; color: var(--light); }
.card p { margin: 0; font-size: 15px; color: var(--muted); }
.card-num {
  font-size: 14px; font-weight: 400; letter-spacing: 0.06em;
  color: var(--gold); margin: 0 0 16px;
  font-feature-settings: "tnum";
}

/* ============ ПРОДУКТОВЫЙ ПРАЙС ============ */
.price-list {
  display: grid; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.price-row {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  gap: 24px;
  padding: 24px 28px;
  background: var(--surface);
  align-items: center;
  transition: background .2s ease;
}
.price-row:hover { background: var(--surface-2); }
.price-num {
  font-size: 22px; font-weight: 200;
  color: var(--gold); letter-spacing: 0.04em;
  font-feature-settings: "tnum";
}
.price-info h4 {
  font-size: 16px; font-weight: 400;
  color: var(--light); margin: 0 0 4px;
  letter-spacing: 0.02em;
}
.price-info p {
  font-size: 13px; color: var(--muted-2);
  margin: 0; line-height: 1.5;
}
.price-meta {
  font-size: 12px; color: var(--muted);
  text-align: right; white-space: nowrap;
  letter-spacing: 0.02em;
}
.price-amount {
  font-size: 20px; font-weight: 300;
  color: var(--gold-bright);
  font-feature-settings: "tnum";
  white-space: nowrap;
}
.price-amount-cents {
  font-size: 13px; color: var(--muted);
  display: block; line-height: 1; margin-top: 4px;
}
.price-row.featured { background: var(--surface-2); border-left: 2px solid var(--gold); }

@media (max-width: 720px) {
  .price-row {
    grid-template-columns: 40px 1fr auto;
    grid-template-rows: auto auto;
    gap: 12px 16px;
    padding: 20px;
  }
  .price-info { grid-column: 2 / 4; }
  .price-meta { grid-column: 2; font-size: 11px; }
  .price-amount { grid-column: 3; grid-row: 2; }
}

/* ============ ОТЗЫВЫ ============ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.testimonial p {
  font-size: 15px; line-height: 1.65;
  color: var(--sand); font-weight: 300;
  font-style: italic;
  margin: 0 0 24px;
}
.testimonial p::before { content: "«"; color: var(--gold); margin-right: 4px; }
.testimonial p::after { content: "»"; color: var(--gold); margin-left: 4px; }
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--muted);
  letter-spacing: 0.02em;
}
.testimonial-author b { color: var(--gold); font-weight: 500; }

/* ============ ПЛЕЙС-ХОЛДЕРЫ ============ */
.video-placeholder {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.video-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(191, 169, 138, 0.08), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(191, 169, 138, 0.05), transparent 50%);
}
.play-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  transition: all .25s ease;
}
.play-icon::after {
  content: ''; display: block;
  width: 0; height: 0;
  border-left: 16px solid var(--gold);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}
.video-placeholder span {
  position: relative; z-index: 1;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
}

.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}
.video-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.cert-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.cert-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}
.cert-item-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 8px;
  font-weight: 400;
}
.cert-item-name {
  font-size: 14px; color: var(--light); margin: 0;
  line-height: 1.45; font-weight: 400;
}

/* ============ FAQ ============ */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-size: 17px; font-weight: 400;
  color: var(--light);
  margin: 0 0 12px;
  letter-spacing: 0.005em;
  cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px;
}
.faq-q::after {
  content: '+';
  color: var(--gold); font-size: 20px;
  transition: transform .2s ease;
  flex: 0 0 auto;
}
details[open] .faq-q::after { transform: rotate(45deg); }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
.faq-a {
  font-size: 15px; line-height: 1.65;
  color: var(--muted); margin: 0;
  padding-right: 36px;
}

/* ============ CTA-БЛОК ============ */
.cta-block {
  position: relative;
  padding: 96px 24px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(15, 15, 15, 0.55), rgba(15, 15, 15, 0.90)),
    url('assets/session-full.jpg') center / cover;
  margin: 64px 0 0;
}
.cta-block h2 { color: var(--light); margin-bottom: 16px; }
.cta-block p { font-size: 17px; color: var(--sand); margin-bottom: 32px; }

/* ============ ФОРМА ============ */
.form-wrap {
  max-width: 480px; margin: 32px auto 0;
}
.form-row {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px;
}
.form-row label {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
}
.form-row input, .form-row textarea {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--light);
  font: inherit; font-weight: 300;
  transition: border-color .2s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--gold-line);
}
.form-hint {
  font-size: 12px; color: var(--muted-2);
  margin: 12px 0 0; line-height: 1.5;
}

/* ============ ФУТЕР ============ */
.footer {
  padding: 64px 24px 40px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
.footer-col h5 {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 16px;
  font-weight: 400;
}
.footer-col p, .footer-col a {
  font-size: 14px; color: var(--muted);
  font-weight: 300; line-height: 1.7;
}
.footer-col a { display: block; }
.footer-bottom {
  max-width: var(--max); margin: 48px auto 0;
  padding-top: 32px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: var(--muted-2);
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 64px 20px; }
  .hero { padding: 64px 20px 48px; }
}

/* ============ ФОН-ВАРИАНТЫ ============ */
.bg-graphite { background: var(--surface); }

/* ============ КАК ПРОХОДИТ ============ */
.how-section { padding-top: 64px; }
.how-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px; align-items: center;
}
.how-photo {
  aspect-ratio: 4/5;
  border-radius: 4px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.how-photo img { width: 100%; height: 100%; object-fit: cover; }
.step-list {
  list-style: none; padding: 0; margin: 32px 0 0;
  counter-reset: step;
}
.step-list li {
  counter-increment: step;
  position: relative;
  padding: 20px 0 20px 56px;
  border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.6;
  color: var(--sand); font-weight: 300;
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 22px;
  font-size: 13px; font-weight: 400;
  color: var(--gold); letter-spacing: 0.06em;
  font-feature-settings: "tnum";
}
.step-list li b { color: var(--light); font-weight: 400; }

@media (max-width: 920px) {
  .how-grid { grid-template-columns: 1fr; gap: 48px; }
  .how-photo { max-width: 480px; margin: 0 auto; order: -1; }
}

/* ============ МАСТЕР ============ */
.master-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px; align-items: center;
}
.master-photo {
  aspect-ratio: 3/4;
  border-radius: 4px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.master-photo img { width: 100%; height: 100%; object-fit: cover; }
.master-text h2 { margin-bottom: 16px; }
.master-text .cert-list { margin-top: 32px; }

@media (max-width: 920px) {
  .master-grid { grid-template-columns: 1fr; gap: 48px; }
  .master-photo { max-width: 420px; margin: 0 auto; }
}

/* ============ ПРОТИВОПОКАЗАНИЯ ============ */
.contra-section { padding: 72px 24px; background: var(--bg); }
.contra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}
.contra-grid ul {
  list-style: none; padding: 0; margin: 0;
}
.contra-grid li {
  padding: 12px 0 12px 24px;
  position: relative;
  font-size: 14px; line-height: 1.5;
  color: var(--muted); font-weight: 300;
  border-bottom: 1px solid var(--line);
}
.contra-grid li:last-child { border-bottom: none; }
.contra-grid li::before {
  content: '·'; position: absolute; left: 0; top: 11px;
  color: var(--gold); font-size: 18px;
}

@media (max-width: 720px) {
  .contra-grid { grid-template-columns: 1fr; gap: 0; }
}

/* ============ ФОРМА НА ТЁМНОМ CTA-БЛОКЕ ============ */
.cta-block .form-wrap { text-align: left; }
.cta-block .form-row input,
.cta-block .form-row textarea {
  background: rgba(28, 28, 28, 0.8);
  backdrop-filter: blur(8px);
  border-color: rgba(245, 245, 239, 0.18);
}
.cta-block .form-hint a { color: var(--gold-bright); }

/* ============ УТИЛИТЫ ============ */
.text-center { text-align: center; }
.disclaimer {
  font-size: 11px; color: var(--muted-2);
  font-style: italic; letter-spacing: 0.02em;
  line-height: 1.5; margin-top: 16px;
}
.tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); font-weight: 400;
  margin-right: 8px;
}

/* ============ КНОПКА «НАВЕРХ» ============ */
.scroll-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background: rgba(15, 15, 15, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s ease, border-color .2s ease;
  z-index: 40;
}
.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover {
  background: rgba(15, 15, 15, 0.85);
  border-color: var(--gold);
  color: var(--gold-bright);
}
.scroll-top:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .scroll-top { right: 16px; bottom: 16px; width: 40px; height: 40px; }
}

/* ============ МОДАЛКА ЗАПИСИ ============ */
.modal {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .2s ease;
}
.modal.is-open .modal-backdrop { opacity: 1; }

.modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: 6px;
  padding: 36px 32px 28px;
  box-shadow: var(--shadow-card);
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}
.modal.is-open .modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.modal-card h3 {
  margin: 0;
  font-size: 22px; font-weight: 300; letter-spacing: -0.01em;
  color: var(--light);
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.modal-close:hover { color: var(--gold); border-color: var(--gold); }
.modal-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.modal .form-wrap { margin-top: 20px; }

/* пояснение к термину «Знакомство» внутри заголовка модалки */
.term-explainer {
  background: none;
  border: 0;
  padding: 0 2px 1px 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  border-bottom: 1px dotted var(--gold-soft);
  transition: color .2s ease, border-color .2s ease;
}
.term-explainer:hover,
.term-explainer:focus-visible {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
  outline: none;
}
.term-explainer .term-icon {
  color: var(--gold);
  flex-shrink: 0;
  align-self: center;
  transition: transform .2s ease;
}
.term-explainer[aria-expanded="true"] .term-icon { transform: rotate(180deg); }

.term-content {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.55;
}
.term-content p { margin: 0; }
.term-content p + p { margin-top: 6px; }
.modal-success { text-align: center; padding-top: 8px; }
.modal-success-icon { color: var(--gold); display: flex; justify-content: center; margin-bottom: 12px; }
.modal-success h3 { margin-bottom: 8px; }

@media (max-width: 640px) {
  .modal { padding: 0; }
  .modal-card {
    max-width: 100%;
    max-height: 100dvh;
    border-radius: 0;
    border-left: 0; border-right: 0;
    padding: 56px 20px 24px;
  }
}
