/* ===========================================================
   Проект «Невидимые опоры»
   Палитра: тёмно-фиолетовый + золото
   =========================================================== */

:root {
  /* Тёмно-фиолетовая гамма */
  --plum-900: #10062a;
  --plum-800: #1a0b3d;
  --plum-700: #241056;
  --plum-600: #2f1769;
  --plum-500: #3d2183;

  /* Золото */
  --gold-100: #f6ecc9;
  --gold-200: #f3e6bd;
  --gold-300: #e8d493;
  --gold-400: #d9bc63;
  --gold-500: #c9a227;
  --gold-600: #a8841b;

  --text: #efe9f8;
  --text-soft: #c9bede;
  --text-muted: #9b90b8;
  --line: rgba(217, 188, 99, 0.22);
  --line-soft: rgba(217, 188, 99, 0.12);
  --card-bg: rgba(36, 16, 86, 0.55);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", system-ui, sans-serif;

  --max-w: 1140px;
  --radius: 18px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--plum-900);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Фон: звёздное небо + свечение ---------- */
#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.page-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(120, 74, 200, 0.42), transparent 62%),
    radial-gradient(900px 560px at 6% 22%, rgba(61, 33, 131, 0.5), transparent 66%),
    radial-gradient(760px 520px at 50% 108%, rgba(201, 162, 39, 0.13), transparent 68%),
    linear-gradient(180deg, var(--plum-900) 0%, var(--plum-800) 45%, #0c0522 100%);
}

body > header,
main,
.site-footer { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-300); text-decoration: none; }

::selection { background: rgba(201, 162, 39, 0.35); color: #fff; }

/* ---------- Типографика ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.015em;
}

h1 { font-size: clamp(2.6rem, 1.9rem + 3.4vw, 5.1rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.7vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.65rem); }

p { margin: 0 0 1.1em; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 400;
  margin: 0 0 0.9em;
}

/* ---------- Орнамент-разделитель ---------- */
.rule {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.6rem 0;
  color: var(--gold-400);
  font-size: 0.62rem;
}
.rule span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.rule.small { max-width: 260px; margin-inline: auto; }

.section-head .rule.small { margin-bottom: 2.2rem; }

/* ---------- Контейнеры и секции ---------- */
.container {
  width: min(100% - 2.6rem, var(--max-w));
  margin-inline: auto;
}
.container-narrow { width: min(100% - 2.6rem, 720px); }

.section { padding: clamp(4rem, 3rem + 6vw, 7.5rem) 0; }

.section-tinted {
  background: linear-gradient(180deg, rgba(47, 23, 105, 0.42) 0%, rgba(16, 6, 42, 0.18) 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head .eyebrow { margin-bottom: 0.7em; }
.section-head h2 { margin-bottom: 0.5rem; }
.section-lead { color: var(--text-soft); }

.section-head--plain { max-width: none; }
.eyebrow-lg {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.7vw, 2.7rem);
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--gold-300);
  margin-bottom: 0.4em;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600));
  color: #241056;
  box-shadow: 0 14px 34px -16px rgba(201, 162, 39, 0.85);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -16px rgba(201, 162, 39, 0.95);
}

.btn-outline {
  border-color: var(--line);
  color: var(--gold-200, #f3e6bd);
  background: rgba(217, 188, 99, 0.04);
}
.btn-outline:hover {
  border-color: var(--gold-400);
  background: rgba(217, 188, 99, 0.12);
  transform: translateY(-2px);
}

/* ===========================================================
   ХЕДЕР
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 0.9rem min(3vw, 2.2rem);
  background: rgba(16, 6, 42, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  width: 22px; height: 22px; flex: 0 0 auto;
  border: 1px solid var(--gold-400);
  border-radius: 50%;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 5px;
  border-radius: 50%;
  background: var(--gold-400);
  opacity: 0.55;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: 0.14em;
  color: var(--gold-100);
  text-transform: uppercase;
}

.site-nav { display: flex; gap: 1.9rem; }
.site-nav a {
  position: relative;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color 0.25s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.site-nav a:hover { color: var(--gold-300); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-cta { padding: 0.7rem 1.5rem; font-size: 0.76rem; }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 860px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 7rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("../images/hero-stars.jpg") center 30% / cover no-repeat;
  opacity: 0.32;
  filter: saturate(0.75) brightness(0.6);
  mask-image: radial-gradient(120% 78% at 50% 42%, #000 22%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 78% at 50% 42%, #000 22%, transparent 78%);
}

.hero-inner { position: relative; max-width: 860px; }

/* Тонкая мандала-орнамент за заголовком */
.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(120vw, 1120px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url("../images/mandala.jpg") center / contain no-repeat;
  opacity: 0.13;
  mix-blend-mode: screen;
  filter: saturate(0.5) contrast(1.1);
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 72%);
  animation: mandala-spin 200s linear infinite;
  pointer-events: none;
}
@keyframes mandala-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-title {
  margin: 0;
  background: linear-gradient(180deg, #fff8e3 6%, var(--gold-300) 52%, var(--gold-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1rem + 0.75vw, 1.6rem);
  font-style: italic;
  color: var(--text-soft);
  max-width: 42ch;
  margin: 0.4rem auto 1.6rem;
  line-height: 1.55;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-200, #f3e6bd);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin-bottom: 2.2rem;
  background: rgba(16, 6, 42, 0.5);
}
.hero-note i { color: var(--gold-400); }

.hero-scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-400);
  font-size: 0.9rem;
  animation: float 2.6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.55; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* ===========================================================
   КАРТОЧКИ «ЗАЧЕМ НУЖЕН АНАЛИЗ»
   =========================================================== */
.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 1.2rem;
}

.feature-card {
  position: relative;
  padding: 2.1rem 1.7rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--card-bg);
  backdrop-filter: blur(6px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.feature-card p { margin: 0; color: var(--text-soft); }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold-400);
  font-size: 1.05rem;
  background: radial-gradient(circle at 30% 20%, rgba(217, 188, 99, 0.18), transparent 70%);
}

/* Скрытые взаимосвязи */
.insight {
  margin-top: 2.4rem;
  padding: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(61, 33, 131, 0.5), rgba(26, 11, 61, 0.55));
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}
.insight-lead {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.55rem);
  line-height: 1.45;
  color: var(--gold-100);
  margin: 0;
}
.insight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.insight-list li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--text-soft);
}
.insight-list li::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0.35rem;
  color: var(--gold-400);
}

/* ===========================================================
   ТАРИФЫ
   =========================================================== */
.tariff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.tariff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 1.5rem + 1.4vw, 2.8rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--card-bg);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.tariff-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.tariff-card--gold {
  border-color: var(--line);
  background:
    radial-gradient(520px 260px at 80% -10%, rgba(201, 162, 39, 0.2), transparent 70%),
    rgba(47, 23, 105, 0.6);
  box-shadow: 0 30px 70px -40px rgba(201, 162, 39, 0.7);
}

.tariff-flag {
  position: absolute;
  top: -0.8rem;
  right: 1.6rem;
  padding: 0.28rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: #241056;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.tariff-name {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin: 0 0 0.3rem;
}

.tariff-price {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.6rem + 1.7vw, 2.9rem);
  color: #fff8e3;
  margin: 0 0 0.9rem;
  line-height: 1;
}
.tariff-price span { font-size: 0.55em; color: var(--gold-400); margin-left: 0.15em; }

.tariff-desc {
  color: var(--text-soft);
  font-size: 0.96rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 1.4rem;
}

.tariff-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  flex: 1;
}
.tariff-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}
.tariff-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.18em;
  font-size: 0.74rem;
  color: var(--gold-400);
}

.tariff-cta { align-self: flex-start; }

.order-note {
  margin-top: 2.2rem;
  padding: 1.15rem 1.6rem;
  border-left: 2px solid var(--gold-500);
  background: rgba(16, 6, 42, 0.45);
  border-radius: 0 12px 12px 0;
}
.order-note p { margin: 0; color: var(--text-soft); }
.order-note i { color: var(--gold-400); margin-right: 0.6rem; }

.highlight {
  margin-top: 1.6rem;
  padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(201, 162, 39, 0.14), transparent 70%),
    rgba(36, 16, 86, 0.4);
}
.highlight p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
  line-height: 1.6;
  color: var(--gold-100);
}

/* ===========================================================
   ОТЗЫВЫ
   =========================================================== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 1.2rem;
}
.review-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 2rem 1.7rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(36, 16, 86, 0.32);
  color: var(--text-soft);
}
.review-card i { color: var(--gold-500); opacity: 0.6; font-size: 1.35rem; }
.review-card p { margin: 0; font-style: italic; font-size: 0.97rem; line-height: 1.7; }
.review-card p + p { padding-top: 0.9rem; border-top: 1px solid var(--line-soft); }
.reviews-note {
  margin-top: 1.6rem;
  text-align: center;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ===========================================================
   ОБО МНЕ
   =========================================================== */
.about-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: clamp(1.8rem, 1.2rem + 2vw, 3.4rem);
  align-items: start;
}
.about-text p { color: var(--text-soft); }
.about-text p:first-of-type {
  font-size: 1.06rem;
  color: var(--text);
}

.about-media {
  margin: 0;
  position: sticky;
  top: 6rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.about-media img { aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.76) brightness(0.86) contrast(1.03); }
.about-media figcaption {
  padding: 0.75rem 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(16, 6, 42, 0.85);
  border-top: 1px solid var(--line-soft);
}

/* ===========================================================
   ТАРО
   =========================================================== */
.tarot-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.8rem, 1.2rem + 2vw, 3.2rem);
  align-items: center;
}
.tarot-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.tarot-media img { aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.78) brightness(0.84) contrast(1.03); }
.tarot-media--portrait { max-width: 420px; margin-inline: auto; }
.tarot-media--portrait img {
  aspect-ratio: 3 / 4;
  object-position: center 50%;
  filter: saturate(0.78) brightness(0.84) contrast(1.03);
}

.tarot-items { display: grid; gap: 1.2rem; }

.tarot-card {
  padding: 1.7rem 1.6rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--card-bg);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.tarot-card:hover { border-color: var(--line); transform: translateY(-3px); }
.tarot-card h3 { color: var(--gold-300); margin-bottom: 0.5rem; letter-spacing: 0.04em; }
.tarot-card p { color: var(--text-soft); font-size: 0.97rem; }
.tarot-price {
  margin: 0 !important;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-100) !important;
}
.tarot-note {
  margin: 0;
  text-align: center;
  font-style: italic;
  color: var(--gold-300);
}

/* ===========================================================
   ТЕМЫ
   =========================================================== */
.topic-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.topic-list li {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(16, 6, 42, 0.38);
  color: var(--text-soft);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.topic-list li:hover { border-color: var(--line); transform: translateX(4px); }
.topic-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold-400);
  font-size: 0.9rem;
}

/* ===========================================================
   ФОРМА
   =========================================================== */
.order-section {
  background:
    radial-gradient(760px 340px at 50% 0%, rgba(61, 33, 131, 0.55), transparent 72%),
    linear-gradient(180deg, rgba(16, 6, 42, 0.2), rgba(12, 5, 34, 0.6));
  border-top: 1px solid var(--line-soft);
}

.order-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.4rem;
  padding: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(47, 23, 105, 0.6), rgba(16, 6, 42, 0.75));
  box-shadow: var(--shadow);
}

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field:last-of-type { grid-column: 1 / -1; }

.field label {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.field input,
.field select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: rgba(16, 6, 42, 0.7);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.field input::placeholder { color: var(--text-muted); }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
  background: rgba(16, 6, 42, 0.92);
}
.field select option { background: var(--plum-800); color: var(--text); }

.field.invalid input,
.field.invalid select { border-color: #d98383; }

.field-error {
  min-height: 1.05em;
  font-size: 0.78rem;
  color: #e39a9a;
}

.form-submit { grid-column: 1 / -1; justify-self: center; margin-top: 0.6rem; padding-inline: 3rem; }

/* ---------- Honeypot (ловушка для ботов) ---------- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ---------- Согласие на обработку ПД ---------- */
.consent-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-soft);
}
.consent-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 0.2rem;
  accent-color: var(--gold-500);
  cursor: pointer;
}
.consent-row a { color: var(--gold-300); text-decoration: underline; text-underline-offset: 2px; }
.consent-row a:hover { color: var(--gold-100); }
.consent-error { grid-column: 1 / -1; margin-top: -0.6rem; }

/* ===========================================================
   СТРАНИЦА ПОЛИТИКИ КОНФИДЕНЦИАЛЬНОСТИ
   =========================================================== */
.legal-section { padding-top: clamp(2.6rem, 2rem + 3vw, 4.5rem); }

.legal h2 {
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
  color: var(--gold-300);
  margin: 2.4rem 0 0.8rem;
}
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text-soft); }
.legal ul { margin: 0 0 1.1em; padding-left: 1.3rem; }
.legal li { margin-bottom: 0.4rem; }
.legal-date {
  margin-top: 2.6rem;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.legal-back { margin-top: 2.6rem; text-align: center; }

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  min-height: 1.4em;
  font-size: 0.94rem;
  color: var(--gold-300);
}
.form-status.error { color: #e39a9a; }

/* ===========================================================
   ФУТЕР
   =========================================================== */
.site-footer {
  padding: 3.4rem 0 2.6rem;
  text-align: center;
  border-top: 1px solid var(--line-soft);
  background: rgba(12, 5, 34, 0.6);
}
.site-footer .rule { max-width: 320px; margin-inline: auto; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-100);
  margin: 0 0 0.3rem;
}
.footer-sub {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.4rem;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* ===========================================================
   АНИМАЦИЯ ПОЯВЛЕНИЯ
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll { animation: none; }
}
