/* =========================
   01. ROOT / BASE
========================= */
:root {
  --bg: #0f1115;
  --bg-soft: #171a21;
  --card: #1d2129;
  --gold: #c9a96e;
  --gold-light: #e0c58a;
  --text: #f5f1e8;
  --muted: #b7b0a1;
  --line: rgba(201, 169, 110, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Montserrat, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* =========================
   02. HEADER
========================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(15,17,21,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; letter-spacing: .02em; }
.brand-icon { width: 42px; height: 42px; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; }
.brand strong { font-family: Georgia, 'Times New Roman', serif; font-size: 19px; font-weight: 500; color: var(--gold-light); }
.brand span span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; }
.nav { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
.phone { font-weight: 700; color: var(--text); white-space: nowrap; }

/* =========================
   03. BUTTONS
========================= */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, var(--gold), #a9823f);
  color: #14110b;
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(201,169,110,0.18);
  transition: .25s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 24px 56px rgba(201,169,110,0.28); }
.btn.secondary { background: transparent; color: var(--gold-light); box-shadow: none; }

/* =========================
   04. HERO
========================= */
.hero {
  min-height: 100vh;
  padding: 150px 0 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 78% 28%, rgba(201,169,110,0.18), transparent 30%), linear-gradient(135deg, #0f1115 0%, #171a21 52%, #0f1115 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -140px;
  top: 130px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.25);
  box-shadow: inset 0 0 90px rgba(201,169,110,0.08);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201,169,110,0.35);
  background: rgba(201,169,110,0.08);
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.premium-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 18px rgba(201,169,110,0.65); }
.eyebrow { color: var(--gold-light); text-transform: uppercase; letter-spacing: .22em; font-size: 12px; margin-bottom: 20px; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; line-height: 1.1; margin: 0; font-weight: 500; }
h1 { font-size: clamp(42px, 6vw, 76px); max-width: 830px; }
h2 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 22px; }
h3 { font-size: 26px; color: var(--gold-light); margin-bottom: 12px; }
.lead { font-size: 20px; color: var(--muted); max-width: 700px; margin: 26px 0 0; }
.gold-divider { width: 92px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); margin: 24px 0; }
.proof-line { margin-top: 22px; padding-left: 18px; border-left: 2px solid var(--gold); color: var(--muted); font-size: 16px; max-width: 650px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 34px 0; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 720px; }
.trust-item { border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04); padding: 18px; border-radius: 18px; color: var(--muted); font-size: 14px; }
.micro-offer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; max-width: 780px; }
.micro-offer div { padding: 16px; border-radius: 18px; background: rgba(255,255,255,0.045); border: 1px solid rgba(201,169,110,0.16); color: var(--muted); font-size: 14px; }
.micro-offer strong { display: block; color: var(--text); margin-bottom: 4px; font-size: 15px; }
.portrait-card {
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(201,169,110,0.16), rgba(255,255,255,0.03)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1000&q=80') center/cover;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.36);
}
.portrait-card::after {
  content: "Рослик Екатерина Сергеевна";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(15,17,21,0.82);
  border: 1px solid rgba(201,169,110,0.25);
  color: var(--gold-light);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 25px;
}

/* =========================
   05. SECTIONS / CARDS
========================= */
.section { padding: 100px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.section-head { max-width: 790px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 54px; align-items: center; }
.panel { background: var(--bg-soft); border: 1px solid rgba(201,169,110,0.22); border-radius: 34px; padding: 42px; box-shadow: 0 32px 80px rgba(0,0,0,0.22); }
.check-list { display: grid; gap: 18px; margin-top: 30px; }
.check { display: flex; gap: 14px; color: var(--muted); align-items: flex-start; }
.check span { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: rgba(201,169,110,0.15); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; border: 1px solid rgba(201,169,110,0.35); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025)); border: 1px solid rgba(201,169,110,0.18); border-radius: 28px; padding: 28px; min-height: 280px; transition: .25s ease; }
.card:hover { transform: translateY(-6px); border-color: rgba(201,169,110,0.52); background: linear-gradient(180deg, rgba(201,169,110,0.12), rgba(255,255,255,0.025)); }
.card p, .card li { color: var(--muted); font-size: 15px; }
.card ul { margin: 16px 0 0; padding-left: 18px; }

/* =========================
   06. CTA / STEPS
========================= */
.cta { background: linear-gradient(135deg, rgba(201,169,110,0.2), rgba(255,255,255,0.03)), var(--bg-soft); border: 1px solid rgba(201,169,110,0.32); border-radius: 36px; padding: 58px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta p { color: var(--muted); font-size: 18px; margin: 16px 0 0; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { min-height: 220px; padding: 26px; border-radius: 26px; background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.08); position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); color: var(--gold-light); font-family: Georgia, 'Times New Roman', serif; font-size: 34px; display: block; margin-bottom: 34px; }
.step strong { display: block; color: var(--text); margin-bottom: 8px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* =========================
   07. FORM / FOOTER
========================= */
.form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; }
form { background: var(--bg-soft); border: 1px solid rgba(201,169,110,0.22); border-radius: 32px; padding: 34px; }
input, select, textarea { width: 100%; background: rgba(255,255,255,0.055); color: var(--text); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 16px 18px; margin-bottom: 14px; font-size: 15px; outline: none; }
textarea { min-height: 120px; resize: vertical; }
option { color: #111; }
form .btn { width: 100%; }
.btn:disabled { opacity: .68; cursor: wait; transform: none; box-shadow: none; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 14px; font-size: 14px; }
.form-status.is-visible { display: block; }
.form-status.loading { border: 1px solid rgba(201,169,110,0.32); background: rgba(201,169,110,0.12); color: var(--gold-light); }
.form-status.success { border: 1px solid rgba(92, 214, 142, 0.36); background: rgba(92, 214, 142, 0.12); color: #a9efc4; }
.form-status.error { border: 1px solid rgba(255, 116, 116, 0.38); background: rgba(255, 116, 116, 0.12); color: #ffb8b8; }
.note { color: var(--muted); font-size: 12px; margin-top: 12px; }
.footer { padding: 60px 0; background: #0a0c10; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.footer strong { color: var(--gold-light); }

/* =========================
   08. FLOATING BUTTONS
========================= */
.floating-btn { position: fixed; right: 22px; z-index: 30; width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; box-shadow: 0 20px 54px rgba(0,0,0,0.35); }
.whatsapp-fixed { bottom: 22px; background: linear-gradient(135deg, var(--gold-light), #a9823f); color: #111; }
.telegram-fixed { bottom: 100px; background: #2AABEE; color: #fff; }

/* =========================
   09. ACCESSIBILITY
========================= */
.accessibility-panel { position: fixed; left: 22px; bottom: 22px; z-index: 40; width: min(360px, calc(100% - 44px)); background: rgba(15,17,21,0.94); border: 1px solid rgba(201,169,110,0.35); border-radius: 24px; padding: 16px; box-shadow: 0 22px 70px rgba(0,0,0,0.42); backdrop-filter: blur(18px); }
.accessibility-toggle { width: 100%; min-height: 48px; border-radius: 999px; border: 1px solid var(--gold); background: transparent; color: var(--gold-light); font-weight: 800; cursor: pointer; }
.accessibility-controls { display: none; margin-top: 14px; gap: 10px; flex-wrap: wrap; }
.accessibility-panel.open .accessibility-controls { display: flex; }
.accessibility-controls button { flex: 1 1 145px; min-height: 42px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.07); color: var(--text); cursor: pointer; font-weight: 700; }
body.access-font-large { font-size: 19px; }
body.access-font-xlarge { font-size: 22px; }
body.access-contrast { --bg: #000; --bg-soft: #000; --card: #000; --gold: #ffff00; --gold-light: #ffff00; --text: #fff; --muted: #fff; --line: #ffff00; background: #000; }
body.access-contrast .card, body.access-contrast .panel, body.access-contrast form, body.access-contrast .cta, body.access-contrast .trust-item, body.access-contrast .step, body.access-contrast .topbar, body.access-contrast .accessibility-panel { background: #000 !important; border-color: #ffff00 !important; color: #fff !important; }
body.access-contrast .btn, body.access-contrast .floating-btn { background: #ffff00 !important; color: #000 !important; border-color: #ffff00 !important; box-shadow: none !important; }
body.access-contrast input, body.access-contrast select, body.access-contrast textarea { background: #000 !important; border-color: #ffff00 !important; color: #fff !important; }
body.access-no-effects *, body.access-no-effects *::before, body.access-no-effects *::after { animation: none !important; transition: none !important; box-shadow: none !important; text-shadow: none !important; }
body.access-no-effects .portrait-card { background-image: none !important; min-height: 260px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* =========================
   10. RESPONSIVE
========================= */
@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid, .split, .form-wrap, .cta { grid-template-columns: 1fr; }
  .portrait-card { min-height: 420px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .topbar-inner { height: 68px; }
  .phone { display: none; }
  .hero { padding-top: 120px; }
  .trust-row, .cards, .steps, .footer-grid, .micro-offer { grid-template-columns: 1fr; }
  .cta, .panel, form { padding: 28px; }
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .accessibility-panel { left: 12px; bottom: 12px; width: calc(100% - 104px); }
}
