@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/manrope-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/manrope-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/playfair-display-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/playfair-display-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/playfair-display-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #fbf7f4;
  --surface: #ffffff;
  --blush: #f6e6ea;
  --blush-soft: #fbf0f2;
  --cream: #f6ecdc;
  --ink: #2a1f2d;
  --muted: #6b5e6b;
  --line: #ecdfe3;
  --accent: #9e3d64;
  --accent-hover: #87304f;
  --accent-ink: #ffffff;
  --gold: #b8925a;
  --gold-ink: #85622f;
  --error: #b3261e;
  --shadow: 0 1px 2px rgba(42, 31, 45, .04), 0 8px 24px rgba(42, 31, 45, .06);

  --fs-xs: 14px;
  --fs-s: 15px;
  --fs-m: 17px;
  --fs-l: 22px;
  --fs-xl: 34px;
  --fs-hero: 52px;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-m)/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
b, strong { font-weight: 700; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 10; background: rgba(251, 247, 244, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.top-cta { font-size: var(--fs-s); font-weight: 700; text-decoration: none; padding: 8px 16px; border-radius: 999px; background: var(--blush); color: var(--accent); }
.top-cta:hover { background: #f1d7de; }

/* Заголовки */
h1, h2, h3 { color: var(--ink); }
h1 { font: 600 var(--fs-xl)/1.15 var(--serif); letter-spacing: -.01em; margin: 8px 0 18px; }
h2 { font: 600 var(--fs-l)/1.3 var(--serif); font-size: 28px; letter-spacing: -.005em; margin: 64px 0 18px; }
h3 { font-size: var(--fs-m); font-weight: 700; margin: 0 0 6px; }

/* Первый экран главной */
.hero { background: radial-gradient(1200px 500px at 85% 0%, var(--blush) 0%, rgba(246, 230, 234, 0) 60%), radial-gradient(800px 400px at 0% 100%, var(--cream) 0%, rgba(246, 236, 220, 0) 55%); padding: 48px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.tagline { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 4px; font: 600 24px/1.3 var(--serif); color: var(--gold-ink); }
.tagline::before { content: ""; width: 32px; height: 2px; background: var(--gold); }
.hero .answer2 { margin-top: -6px; color: var(--ink); font-weight: 600; }
.hero .eyebrow { margin: 18px 0 0; }
.eyebrow { margin: 0 0 6px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.hero h1 { font-size: var(--fs-hero); line-height: 1.08; margin: 6px 0 22px; }
.hero h1 .accent { color: var(--accent); }
.hero .answer { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; font-size: 18px; color: var(--muted); max-width: 600px; }
.hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(158, 61, 100, .12)); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; }
.chips li { font-size: var(--fs-xs); font-weight: 600; padding: 6px 12px 6px 30px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); position: relative; }
.chips li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 9px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(-45deg); }

/* Шапка внутренних страниц */
.page-head { background: linear-gradient(180deg, var(--blush-soft), rgba(251, 240, 242, 0)); padding: 28px 0 8px; }
.crumbs { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.answer { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 16px 18px; border-radius: 4px 14px 14px 4px; margin: 0 0 22px; box-shadow: var(--shadow); }

/* Кнопки */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }
.btn, button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 14px 28px; font: 700 var(--fs-m)/1.2 var(--sans); text-decoration: none; cursor: pointer; box-shadow: 0 8px 20px rgba(158, 61, 100, .25); transition: background .15s, transform .15s; }
.btn:hover, button[type="submit"]:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-1px); }
.btn-ghost { display: inline-flex; align-items: center; padding: 13px 22px; border-radius: 999px; border: 1.5px solid var(--accent); color: var(--accent); font-weight: 700; text-decoration: none; background: rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: var(--blush); }
.btn-secondary { background: var(--surface); color: var(--accent); border: 1.5px solid var(--accent); border-radius: 999px; padding: 10px 20px; font: 700 var(--fs-s) var(--sans); cursor: pointer; margin-top: 14px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(158, 61, 100, .35); outline-offset: 2px; }

/* Контент */
.content { padding-bottom: 56px; }
.content > section:first-child h2 { margin-top: 40px; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 16px 70px; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--blush); color: var(--accent); font: 800 16px/36px var(--sans); text-align: center; }

.laws { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.laws li { padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-size: var(--fs-s); }

.price-card { display: flex; gap: 24px; align-items: center; background: linear-gradient(135deg, var(--blush) 0%, var(--cream) 100%); border-radius: 22px; padding: 26px 28px; }
.price-card .big { font: 600 72px/1 var(--serif); color: var(--accent); margin: 0; flex: none; }
.price-card h3 { font-size: 19px; }
.price-card p { margin: 0; color: var(--muted); font-size: var(--fs-s); }

.excuses { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.excuse { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.excuse .say { margin: 0 0 8px; font: 600 19px/1.3 var(--serif); color: var(--accent); }
.excuse .law { margin: 0; font-size: var(--fs-s); color: var(--muted); }
.excuse:last-child:nth-child(odd) { grid-column: 1 / -1; }

.kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kinds a { display: grid; gap: 2px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.kinds a:hover { border-color: var(--accent); transform: translateY(-1px); }
.kinds b { color: var(--ink); font-size: var(--fs-m); }
.kinds span { color: var(--muted); font-size: var(--fs-s); }
.kinds b::after { content: " →"; color: var(--accent); }
.story { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px 24px 24px 64px; box-shadow: var(--shadow); margin: 0; }
.story::before { content: "“"; position: absolute; left: 20px; top: 4px; font: 600 72px/1 var(--serif); color: var(--gold); }

.template { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; font-size: var(--fs-s); box-shadow: var(--shadow); }
.template .center { text-align: center; }

/* Вопросы */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { list-style: none; font-weight: 700; cursor: pointer; padding: 16px 32px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--sans); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Форма */
.lead { background: linear-gradient(160deg, var(--blush) 0%, var(--blush-soft) 45%, var(--surface) 100%); border: 1px solid var(--line); border-radius: 24px; padding: 8px 24px 26px; margin-top: 64px; box-shadow: var(--shadow); scroll-margin-top: 80px; }
.lead h2 { margin-top: 24px; margin-bottom: 6px; }
.lead > p { margin-top: 0; color: var(--muted); }
.lead form { display: grid; gap: 14px; }
.lead label { display: grid; gap: 6px; font-size: var(--fs-s); font-weight: 700; }
.lead input, .lead select, .lead textarea { font: 400 var(--fs-m) var(--sans); padding: 12px 14px; border: 1px solid #e2d1d7; border-radius: 12px; background: var(--surface); color: var(--ink); width: 100%; }
.lead input:focus, .lead select:focus, .lead textarea:focus { border-color: var(--accent); }
.lead .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.lead .check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--accent); flex: none; }
.lead .hp { position: absolute; left: -9999px; }
.lead button[type="submit"] { justify-self: start; }
.form-note { margin: 14px 0 0; font-size: var(--fs-xs); color: var(--muted); }
.doc h2 { font-size: 22px; margin: 32px 0 10px; }
.doc ul { padding-left: 20px; }
.foot span { color: var(--muted); }
.form-msg { margin: 0; font-weight: 700; color: var(--accent); }
.form-msg.err { color: var(--error); }

.related ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.related a { display: block; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; }
.related a:hover { border-color: var(--accent); }
.updated { font-size: var(--fs-xs); color: var(--muted); margin-top: 40px; }
.foot { border-top: 1px solid var(--line); padding: 22px 0; font-size: var(--fs-xs); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--muted); }

@media (max-width: 860px) {
  .hero { padding: 28px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { order: -1; max-width: 340px; margin: 0 auto; }
  .hero h1 { font-size: 38px; }
  .excuses { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; margin-top: 48px; }
  .hero h1 { font-size: 34px; }
  .tagline { font-size: 21px; }
  .tagline::before { display: none; }
  .hero .answer { font-size: var(--fs-m); }
  .top-cta { padding: 7px 12px; }
  .logo span { font-size: var(--fs-s); }
  .kinds { grid-template-columns: 1fr; }
  .price-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; }
  .price-card .big { font-size: 60px; }
  .story { padding: 22px 20px 20px 52px; }
  .story::before { left: 14px; font-size: 60px; }
  .lead { padding: 4px 16px 20px; }
  .lead button[type="submit"] { width: 100%; }
  .btn, .btn-ghost { width: 100%; justify-content: center; }
}

/* Плашка про cookie */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 560px; margin: 0 auto; display: flex; gap: 12px; align-items: center; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 14px 12px 18px; box-shadow: 0 10px 30px rgba(42, 31, 45, .25); font-size: var(--fs-s); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1; }
.cookie a { color: #f3c6d6; }
.cookie button { flex: none; border: 0; border-radius: 999px; padding: 8px 16px; background: #fff; color: var(--ink); font: 700 var(--fs-s) var(--sans); cursor: pointer; }
