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

:root {
  --bg:          #070608;
  --bg2:         #100C0A;
  --bg3:         #18130F;
  --bg4:         #201A15;
  --border:      rgba(196,162,78,.18);
  --border-s:    rgba(255,255,255,.05);
  --gold:        #C4A24E;
  --gold-l:      #DFC076;
  --gold-dim:    rgba(196,162,78,.1);
  --gold-glow:   rgba(196,162,78,.35);
  --violet:      #7454BC;
  --violet-l:    #9E7AE0;
  --violet-dim:  rgba(116,84,188,.12);
  --text:        #EDE8D8;
  --text-muted:  #9A9082;
  --text-dim:    #6B6358;
  --r:           14px;
  --r-lg:        20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ── Starfield canvas ─────────────────────────────────────── */
#stars-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 0;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7,8,15,.9);
  backdrop-filter: blur(16px);
  border-color: var(--border-s);
}
.logo {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: 40px;
}
.logo-icon {
  width: 34px; height: 34px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-right: 10px;
}
.logo-icon svg { width: 18px; height: 18px; }
.logo span { color: var(--gold); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.site-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .03em;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color .15s, background .15s;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--text);
  background: rgba(255,255,255,.05);
}
.nav-cta {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Cinzel', serif;
  letter-spacing: .06em;
  color: var(--gold) !important;
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 8px;
  transition: background .15s, border-color .15s;
}
.nav-cta:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  text-align: center;
  overflow: hidden;
}

/* Большой мистический орнамент за формой */
.hero-ornament {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  opacity: .04;
  animation: spin-slow 60s linear infinite;
  pointer-events: none;
}
@keyframes spin-slow { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* Градиент по центру */
.hero::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(116,84,188,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.hero-eyebrow::after { background: linear-gradient(to left, transparent, var(--gold)); }

.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .01em;
  margin-bottom: 20px;
  max-width: 760px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

/* ── Form card ────────────────────────────────────────────── */
.form-card {
  position: relative;
  background: rgba(16,12,10,.75);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 40px 40px;
  width: 100%;
  max-width: 500px;
  box-shadow:
    0 0 0 1px rgba(196,162,78,.04),
    0 24px 80px rgba(0,0,0,.6),
    0 0 60px rgba(116,84,188,.08);
}
.form-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.form-card-title {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.form-card-title::before,
.form-card-title::after {
  content: '✦';
  font-size: 10px;
  opacity: .7;
}

.field-group {
  margin-bottom: 20px;
}
.field-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.field-input {
  width: 100%;
  background: rgba(7,6,5,.65);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field-input:focus {
  border-color: rgba(196,162,78,.5);
  box-shadow: 0 0 0 3px rgba(196,162,78,.08);
}
.field-input::placeholder { color: var(--text-dim); }

.date-row {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  gap: 10px;
}
.field-select {
  width: 100%;
  background: rgba(7,6,5,.65);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A89A8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
  transition: border-color .2s;
}
.field-select:focus { border-color: rgba(196,162,78,.5); }
.field-select option { background: #18130F; color: var(--text); }

.btn-calculate {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  background: linear-gradient(135deg, #C4A24E 0%, #A8863A 100%);
  color: #07080F;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(196,162,78,.3);
}
.btn-calculate:hover {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(196,162,78,.4);
}
.btn-calculate:active { transform: translateY(0); }

.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}
.form-note a { color: var(--text-muted); }

/* ── Section base ─────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: 96px 24px;
}
.section-inner { max-width: 1120px; margin: 0 auto; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title em {
  font-style: normal;
  color: var(--gold);
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ── Tools section ────────────────────────────────────────── */
.tools-section {
  background: var(--bg2);
  border-top: 1px solid var(--border-s);
  border-bottom: 1px solid var(--border-s);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.tool-card {
  background: var(--bg3);
  border: 1px solid var(--border-s);
  border-radius: var(--r-lg);
  padding: 32px 28px 28px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: pointer;
}
.tool-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.4), 0 0 40px rgba(196,162,78,.05);
}
.tool-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.tool-icon svg { width: 26px; height: 26px; }
.tool-name {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.tool-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 24px;
}
.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .04em;
  text-decoration: none;
  transition: gap .2s;
}
.tool-link:hover { gap: 12px; color: var(--gold-l); }
.tool-link svg { width: 16px; height: 16px; transition: transform .2s; }
.tool-card:hover .tool-link svg { transform: translateX(3px); }

/* ── Spheres section ──────────────────────────────────────── */
.spheres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.sphere-card {
  background: var(--bg3);
  border: 1px solid var(--border-s);
  border-radius: var(--r);
  padding: 28px 24px;
  transition: border-color .2s;
}
.sphere-card:hover { border-color: var(--border); }
.sphere-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}
.sphere-name {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 8px;
}
.sphere-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── Steps section ────────────────────────────────────────── */
.steps-section { text-align: center; }
.steps-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}
.steps-track::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent 50%, var(--gold));
  opacity: .25;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 24px;
}
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.step-title {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.65; max-width: 220px; }

/* ── CTA section ──────────────────────────────────────────── */
.cta-section {
  text-align: center;
  background: var(--bg2);
  border-top: 1px solid var(--border-s);
}
.cta-box {
  background: linear-gradient(135deg, rgba(116,84,188,.12) 0%, rgba(196,162,78,.06) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -1px; left: 25%; right: 25%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: .7;
}
.cta-box h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-box p { font-size: 16px; color: var(--text-muted); margin-bottom: 36px; max-width: 440px; margin-left: auto; margin-right: auto; }
.btn-cta {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, #C4A24E, #A8863A);
  color: #07080F;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(196,162,78,.3);
}
.btn-cta:hover {
  opacity: .9;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(196,162,78,.4);
  color: #07080F;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-s);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text-muted);
}
.footer-logo span { color: var(--gold); }
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a { font-size: 13px; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--text-dim); text-align: right; max-width: 320px; line-height: 1.6; }

/* ── Report peek tooltip ─────────────────────────────────── */
.report-peek {
  position: relative;
  display: inline-block;
  margin-top: 8px;
}
.report-peek-link {
  font-size: 12px;
  color: var(--text-muted);
  border-bottom: 1px dashed rgba(255,255,255,.18);
  cursor: default;
  line-height: 1;
  transition: color .15s, border-color .15s;
  user-select: none;
}
.report-peek:hover .report-peek-link,
.report-peek.is-open .report-peek-link {
  color: var(--gold);
  border-color: rgba(196,162,78,.5);
}
.report-peek-card {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 236px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px 12px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s, visibility .15s;
  text-align: left;
  box-shadow: 0 8px 28px rgba(0,0,0,.5);
}
.report-peek-card::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--border);
}
.report-peek-card.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.rp-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 9px;
}
.rp-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.rp-list li {
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.35;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.rp-list li::before {
  content: '✓';
  color: var(--gold);
  font-size: 10px;
  flex-shrink: 0;
}

/* ── About page ──────────────────────────────────────────── */
.about-wrap { padding: 60px 24px 0; }
.about-inner { max-width: 900px; margin: 0 auto; }

.about-hero {
  text-align: center;
  padding: 40px 0 72px;
  border-bottom: 1px solid var(--border-s);
}
.about-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin: 16px 0 24px;
}
.about-title em { color: var(--gold); font-style: normal; }
.about-lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

.about-section {
  padding: 72px 0 0;
}
.about-section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--text);
  margin: 16px 0 40px;
  line-height: 1.2;
}

/* USP grid */
.about-usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.about-usp-card {
  background: var(--bg2);
  border: 1px solid var(--border-s);
  border-radius: 16px;
  padding: 28px 24px 24px;
  transition: border-color .2s;
}
.about-usp-card:hover { border-color: rgba(196,162,78,.35); }
.about-usp-icon {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 16px;
  line-height: 1;
  opacity: .85;
}
.about-usp-title {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
  letter-spacing: .02em;
}
.about-usp-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Compare */
.about-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}
.about-compare-col {
  border-radius: 16px;
  padding: 28px 28px 24px;
  border: 1px solid var(--border-s);
}
.about-compare-bad {
  background: var(--bg2);
  opacity: .75;
}
.about-compare-good {
  background: linear-gradient(135deg, rgba(196,162,78,.08) 0%, var(--bg2) 100%);
  border-color: rgba(196,162,78,.3);
}
.about-compare-head {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.about-compare-bad .about-compare-head { color: var(--text-muted); }
.about-compare-good .about-compare-head { color: var(--gold); }
.about-compare-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.about-compare-list li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.about-compare-bad .about-compare-list li::before {
  content: '✕';
  position: absolute; left: 0;
  color: rgba(255,255,255,.2);
  font-size: 11px;
  top: 2px;
}
.about-compare-good .about-compare-list li {
  color: var(--text);
}
.about-compare-good .about-compare-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--gold);
  font-size: 11px;
  top: 2px;
}

/* Tools list */
.about-tools {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}
.about-tool {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 28px;
  background: var(--bg2);
  border: 1px solid var(--border-s);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.about-tool:hover {
  border-color: rgba(196,162,78,.35);
  background: rgba(196,162,78,.04);
}
.about-tool-num {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 700;
  color: rgba(196,162,78,.25);
  min-width: 40px;
  line-height: 1;
  padding-top: 3px;
}
.about-tool:hover .about-tool-num { color: rgba(196,162,78,.5); }
.about-tool-body { flex: 1; }
.about-tool-name {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.about-tool-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 10px;
}
.about-tool-link {
  font-size: 13px;
  color: var(--gold);
  opacity: .7;
  transition: opacity .15s;
}
.about-tool:hover .about-tool-link { opacity: 1; }

/* Philosophy */
.about-philosophy {
  margin-top: 72px;
  background: var(--bg2);
  border: 1px solid var(--border-s);
  border-radius: 20px;
  padding: 48px 56px;
}
.about-phil-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 18px;
  max-width: 700px;
}
.about-phil-text:last-child {
  margin-bottom: 0;
  font-size: 13px;
  opacity: .65;
}

/* CTA */
.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 60px 0 0;
  padding: 48px 56px;
  background: linear-gradient(135deg, rgba(196,162,78,.1) 0%, rgba(196,162,78,.03) 100%);
  border: 1px solid rgba(196,162,78,.25);
  border-radius: 20px;
  margin-bottom: 80px;
}
.about-cta-text h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.25;
}
.about-cta-text h2 em { color: var(--gold); font-style: normal; }
.about-cta-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .about-usp-grid { grid-template-columns: repeat(2, 1fr); }
  .about-compare { grid-template-columns: 1fr; }
  .about-philosophy, .about-cta { padding: 36px 28px; }
  .about-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 540px) {
  .about-usp-grid { grid-template-columns: 1fr; }
  .about-tool { flex-direction: column; gap: 10px; }
  .about-tool-num { font-size: 20px; }
}

/* ── Contact page ──────────────────────────────────────────── */
textarea.field-input { resize: vertical; min-height: 130px; line-height: 1.6; }
.contact-wrap { padding: 60px 24px 80px; }
.contact-inner { max-width: 720px; margin: 0 auto; }
.contact-hero {
  text-align: center;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--border-s);
  margin-bottom: 52px;
}
.contact-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text);
  margin: 16px 0 16px;
  line-height: 1.15;
}
.contact-title em { color: var(--gold); font-style: normal; }
.contact-lead { font-size: 16px; color: var(--text-muted); line-height: 1.65; max-width: 500px; margin: 0 auto; }
.contact-form-wrap {
  background: var(--bg2);
  border: 1px solid var(--border-s);
  border-radius: 20px;
  padding: 40px 44px;
}
.captcha-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.captcha-q { font-size: 15px; color: var(--text-muted); white-space: nowrap; }
.captcha-q strong { font-family: 'Cinzel', serif; font-size: 22px; color: var(--gold); font-weight: 700; }
.captcha-input { width: 90px; text-align: center; }
.form-alert {
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  margin-bottom: 22px;
  line-height: 1.5;
}
.form-alert.error { background: rgba(200,60,60,.12); border: 1px solid rgba(200,60,60,.28); color: #e99; }
.contact-success { text-align: center; padding: 64px 20px; }
.contact-success-icon { font-size: 52px; color: var(--gold); margin-bottom: 20px; line-height: 1; }
.contact-success h2 { font-family: 'Cinzel', serif; font-size: 22px; color: var(--text); margin: 0 0 12px; }
.contact-success p { font-size: 15px; color: var(--text-muted); margin: 0; }

/* ── Cookie banner ──────────────────────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  z-index: 999;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -8px 40px rgba(0,0,0,.5);
}
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 15px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-bar-text { font-size: 13.5px; color: var(--text-muted); margin: 0; line-height: 1.5; }
.cookie-bar-text a { color: var(--gold); text-decoration: none; opacity: .8; transition: opacity .15s; }
.cookie-bar-text a:hover { opacity: 1; }
.cookie-bar-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  background: var(--gold);
  color: #18130F;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .15s;
  white-space: nowrap;
}
.cookie-btn:hover { opacity: .85; }
.cookie-btn-skip {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-s);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: color .15s;
  white-space: nowrap;
}
.cookie-btn-skip:hover { color: var(--text-muted); }

/* ── Error pages ──────────────────────────────────────────── */
.error-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}
.error-code-bg {
  font-family: 'Cinzel', serif;
  font-size: clamp(140px, 26vw, 280px);
  font-weight: 900;
  color: var(--gold);
  opacity: .05;
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 1;
  letter-spacing: -.04em;
  user-select: none;
}
.error-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
  position: relative;
}
.error-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 440px;
  margin: 0 0 36px;
  position: relative;
}
.error-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; position: relative; }
.error-link {
  padding: 11px 26px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .15s;
}
.error-link.primary { background: var(--gold); color: #18130F; font-weight: 600; }
.error-link.secondary { background: var(--bg2); color: var(--text-muted); border: 1px solid var(--border-s); }
.error-link:hover { opacity: .8; }

@media (max-width: 600px) {
  .cookie-bar-inner { flex-direction: column; align-items: flex-start; padding: 16px 20px; gap: 14px; }
  .contact-form-wrap { padding: 28px 20px; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .spheres-grid { grid-template-columns: 1fr 1fr; }
  .steps-track { grid-template-columns: 1fr; gap: 40px; }
  .steps-track::before { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-copy { text-align: center; max-width: 100%; }
}
@media (max-width: 540px) {
  .tools-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-header { padding: 0 20px; }
  .hero { padding: 88px 20px 64px; }
  .form-card { padding: 28px 24px 32px; }
  .date-row { grid-template-columns: 88px 1fr 88px; gap: 8px; }
  .spheres-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 20px; }
  .hero-ornament { width: 360px; height: 360px; }
}
