:root {
  --bg: #fff7f3;
  --bg-soft: #fdeee8;
  --card: #ffffff;
  --ink: #2a0f16;
  --ink-2: #6b4a52;
  --line: #f1d9d3;
  --red: #e5304f;
  --red-2: #ff5a76;
  --pink: #ffb3c1;
  --wine: #2b0a14;
  --wine-2: #4a1022;
  --gold: #f6c27a;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(80, 10, 30, .06), 0 12px 32px -12px rgba(120, 20, 45, .22);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 500 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; }
img, svg { display: block; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }

/* ---------- типографика ---------- */
.h1 { font: 700 clamp(42px, 6.4vw, 82px)/1.02 var(--serif); letter-spacing: -.02em; margin: 0 0 22px; text-wrap: balance; }
.h1 em, .h2 em { font-style: italic; color: var(--red); }
.h1-small { font-size: clamp(34px, 4.6vw, 54px); }
.h2 { font: 700 clamp(30px, 4vw, 50px)/1.08 var(--serif); letter-spacing: -.015em; margin: 0 0 34px; text-wrap: balance; }
.h3 { font: 700 24px/1.2 var(--serif); margin: 0 0 18px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 560px; margin: 0 0 30px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 12px; }
.eyebrow-light { color: var(--pink); }
.body-text { font-size: 18px; margin: 0 0 16px; }
.muted { color: var(--ink-2); font-size: 16px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 800 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--red-2), var(--red) 55%, #c81d43); box-shadow: 0 10px 26px -8px rgba(229, 48, 79, .65), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(229, 48, 79, .75), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--red); color: var(--red); }
.btn-light { background: #fff; color: var(--wine); }
.btn-light:hover { transform: translateY(-2px); }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 15px; color: #fff; background: var(--ink); }
.btn-small:hover { background: var(--red); }
.btn-big { min-height: 62px; padding: 0 34px; font-size: 18px; }
.btn-inline { min-height: 44px; margin-left: 8px; }
.btn:focus-visible, .chip:focus-visible, .city:focus-visible, summary:focus-visible { outline: 3px solid var(--red-2); outline-offset: 3px; }

/* ---------- шапка ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 247, 243, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.topbar.scrolled { border-color: var(--line); }
.topbar-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--red-2), var(--red)); box-shadow: 0 6px 16px -6px rgba(229,48,79,.7); transform: rotate(-8deg); }
.logo-mark svg { width: 20px; fill: #fff; }
.logo-text { font: italic 700 24px/1 var(--serif); }
.logo-light .logo-text { color: #fff; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 700; }
.nav a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--red); }

/* ---------- hero (светлая панель) ---------- */
.hero { position: relative; padding: 12px 0 0; }
.hero-panel {
  position: relative; overflow: hidden; isolation: isolate;
  width: min(1280px, 100% - 24px); margin-inline: auto; border-radius: 36px;
  color: var(--ink); padding: 36px 0 0; border: 1px solid #f6dde3;
  background:
    radial-gradient(55% 75% at 85% 15%, rgba(255, 107, 139, .28), transparent 65%),
    radial-gradient(45% 60% at 5% 100%, rgba(182, 156, 255, .25), transparent 65%),
    linear-gradient(150deg, #fff4f6, #fff8f2 55%, #f7f1ff);
}
.hero-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(229,48,79,.22) 1px, transparent 1.2px); background-size: 26px 26px;
  mask-image: radial-gradient(70% 60% at 70% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 70% 30%, #000, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-bottom: 8px; }
.hero-copy { padding: 24px 0 64px; }
.hero-small { padding: 12px 0 0; }
.hero-small .hero-panel { padding: 40px 0 56px; }
.badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; margin: 0 0 22px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-size: 14px; font-weight: 700; color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); animation: pulse 2s ease-in-out infinite; }
.hero .h1 { font-size: clamp(40px, 5.2vw, 68px); }
.hero .h1 em { background: linear-gradient(90deg, #e5304f, #ff5a8a 50%, #8f5bff); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero .lead { color: var(--ink-2); }
.hero .btn-ghost { background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1.5px #f0d3da; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-facts { display: flex; gap: 34px; padding: 0; margin: 0; list-style: none; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts b { font: 700 26px/1.1 var(--serif); }
.hero-facts span { font-size: 14px; color: var(--ink-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }

/* телефон */
.hero-visual { position: relative; height: 500px; display: grid; place-items: end center; align-self: end; }
.phone { position: relative; width: 290px; height: 480px; border-radius: 40px 40px 0 0; padding: 12px 12px 0; background: #2b0a14; box-shadow: 0 -20px 60px -20px rgba(160, 30, 70, .45), inset 0 0 0 1.5px rgba(255,255,255,.1); overflow: hidden; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 12px 10px 14px; color: #fff; }
.phone-top small { display: block; font-size: 12px; opacity: .55; }
.phone-top b { font-size: 15px; }
.phone-ava { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--red-2), #8f5bff); font-size: 18px; }
.phone-ava svg { width: 18px; fill: #fff; }
.chat { background: #fff5f2; border-radius: 28px 28px 0 0; padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; height: 100%; color: var(--ink); }
.msg { max-width: 84%; padding: 9px 13px; border-radius: 18px; font-size: 14px; line-height: 1.4; opacity: 0; animation: pop .45s ease forwards; }
.msg.sys { align-self: center; max-width: none; background: transparent; color: #7d6a86; font-size: 12.5px; font-weight: 700; padding: 4px 10px; }
.msg.sys.found { background: #e9fbef; color: #1d7a45; border-radius: 999px; }
.msg.them { background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 2px 6px rgba(40,10,60,.07); }
.msg.me { align-self: flex-end; background: linear-gradient(135deg, var(--red-2), var(--red)); color: #fff; border-bottom-right-radius: 6px; }
.chat > :nth-child(1) { animation-delay: .2s; } .chat > :nth-child(2) { animation-delay: .9s; } .chat > :nth-child(3) { animation-delay: 1.5s; }
.chat > :nth-child(4) { animation-delay: 2.2s; } .chat > :nth-child(5) { animation-delay: 2.9s; } .chat > :nth-child(6) { animation-delay: 3.4s; } .chat > :nth-child(7) { animation-delay: 3.6s; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; background: #fff; border-radius: 18px 18px 18px 6px; width: max-content; opacity: 0; animation: pop .4s ease forwards; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #b9a8c4; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
.chat-actions { margin-top: auto; margin-bottom: 70px; display: grid; gap: 8px; opacity: 0; animation: pop .45s ease forwards; }
.chat-actions span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 14px; background: #fff; font-size: 13.5px; font-weight: 800; color: var(--ink-2); box-shadow: 0 2px 6px rgba(40,10,60,.06); }
.chat-actions .ca-like { background: linear-gradient(135deg, #ffe3ea, #efe4ff); color: var(--red); }
.chat-actions svg { width: 15px; fill: currentColor; }

@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); } }

@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.15); } 30% { transform: scale(1); } 45% { transform: scale(1.1); } }
@keyframes rise { 0% { transform: translateY(0) rotate(0); opacity: 0; } 15% { opacity: .55; } 100% { transform: translateY(-560px) rotate(25deg); opacity: 0; } }

/* ---------- секции ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-tight { padding: 40px 0 60px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.features.three { grid-template-columns: repeat(3, 1fr); }
.feature { background: var(--card); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.feature h3 { font: 700 22px/1.2 var(--serif); margin: 14px 0 10px; }
.features.three .feature h3 { margin-top: 0; }
.feature p { margin: 0; color: var(--ink-2); font-size: 16px; }
.f-ico { font-size: 28px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--bg-soft); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.step-n { font: italic 700 64px/1 var(--serif); color: transparent; -webkit-text-stroke: 1.5px var(--red); display: block; margin-bottom: 14px; }
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.step:not(:last-child)::after { content: '→'; position: absolute; right: 18px; top: 34px; color: var(--pink); font-size: 22px; }

/* города */
.picker { background: var(--card); border-radius: 28px; padding: 26px; box-shadow: var(--shadow); }
.search { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 20px; border-radius: 16px; background: var(--bg); border: 1.5px solid var(--line); transition: border-color .2s; }
.search:focus-within { border-color: var(--red); }
.search svg { width: 22px; fill: none; stroke: var(--ink-2); stroke-width: 2; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 600 17px var(--sans); color: var(--ink); }
.chips { display: flex; gap: 8px; margin: 16px 0 20px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 700 14px var(--sans); color: var(--ink-2); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cities-collapsed .city:nth-child(n+17) { display: none; }
.cities.is-filtered .city:nth-child(n+17) { display: flex; }
.city { min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; text-decoration: none; background: var(--bg); border: 1.5px solid transparent; transition: all .2s; }
.city:hover { border-color: var(--red); background: #fff; transform: translateY(-2px); }
.city-name { font-weight: 800; }
.city-meta { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.city.is-hidden { display: none !important; }
.show-all { margin: 20px auto 0; display: flex; }
.show-all[hidden] { display: none; }
.empty { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-2); margin: 10px 0 0; }
.empty[hidden] { display: none; }

.near { display: flex; flex-wrap: wrap; gap: 10px; }
.near a { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; font-size: 15px; transition: all .2s; }
.near a:hover { border-color: var(--red); color: var(--red); }
.groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 48px; }
.group { scroll-margin-top: 100px; }

/* свидание */
.date-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.spots { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.spot { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; padding: 20px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.spot:nth-child(2) { margin-left: 34px; } .spot:nth-child(3) { margin-left: 68px; }
.spot-n { grid-row: span 2; font-size: 26px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--bg-soft); }
.spot b { font: 700 20px/1.2 var(--serif); }
.spot small { color: var(--ink-2); }

/* канал */
.channel { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; padding: 56px; border-radius: 34px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #7a1634, var(--wine) 60%); position: relative; overflow: hidden; }
.channel p { color: rgba(255,255,255,.75); max-width: 560px; }
.channel .h2 { margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.tags span { display: inline-flex; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.09); font-size: 14px; font-weight: 700; }
.channel-art { display: grid; place-items: center; }
.env { position: relative; width: 230px; height: 150px; border-radius: 14px; background: #fbe3dc; box-shadow: 0 30px 50px -20px rgba(0,0,0,.6); transform: rotate(-6deg); }
.env::after { content: ''; position: absolute; inset: 0; border-radius: 14px; background: linear-gradient(to top right, #f6cfc4 50%, transparent 50%) left / 50% 100% no-repeat, linear-gradient(to top left, #f6cfc4 50%, transparent 50%) right / 50% 100% no-repeat; }
.env-flap { position: absolute; inset: 0 0 auto; height: 90px; background: #f3c1b4; clip-path: polygon(0 0, 100% 0, 50% 100%); border-radius: 14px 14px 0 0; z-index: 2; }
.env-letter { position: absolute; left: 22px; right: 22px; top: -54px; height: 130px; background: #fff; border-radius: 10px; display: grid; place-items: center; align-content: center; gap: 4px; animation: letter 4s ease-in-out infinite; }
.env-letter svg { width: 34px; fill: var(--red); }
.env-letter span { font: italic 600 15px var(--serif); color: var(--wine); }
@keyframes letter { 0%, 100% { translate: 0 18px; } 50% { translate: 0 -6px; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 22px 26px; font-weight: 800; font-size: 17.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft); transition: transform .25s, background .25s; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; inset: 50% auto auto 50%; width: 12px; height: 2px; background: var(--red); translate: -50% -50%; border-radius: 2px; }
.faq-plus::after { rotate: 90deg; }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: #ffe3e9; }
.faq-a { padding: 0 26px 22px; color: var(--ink-2); }
.faq-a p { margin: 0; }

/* финальный CTA */
.final { text-align: center; padding: 76px 24px; border-radius: 34px; background: linear-gradient(135deg, #ffe3e9, #fff1e6); position: relative; overflow: hidden; }
.final .h2 { margin-bottom: 14px; }
.final p { color: var(--ink-2); margin: 0 0 30px; }
.final-hearts { display: flex; justify-content: center; gap: 6px; margin-bottom: 18px; }
.final-hearts svg { width: 22px; fill: var(--red); }
.final-hearts svg:nth-child(2) { width: 30px; translate: 0 -6px; }

/* текстовые страницы */
.prose h2 { font: 700 28px/1.2 var(--serif); margin: 36px 0 12px; }
.prose h3 { font: 700 22px/1.25 var(--serif); margin: 28px 0 10px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--red); }

/* подвал */
.footer { background: var(--wine); color: rgba(255,255,255,.72); padding: 72px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.footer h3 { color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.footer h3.mt { margin-top: 28px; }
.footer-note { max-width: 360px; margin: 18px 0 24px; font-size: 15.5px; }
.footer-links { display: grid; gap: 8px; font-size: 15px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }

.sticky-cta { display: none; }

/* появление */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .msg, .typing, .chat-actions, .reveal { opacity: 1; transform: none; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1024px) {
  .hero-grid, .date-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero-visual { display: none; }
  .hero-copy { padding-bottom: 48px; }
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .channel { grid-template-columns: 1fr; padding: 40px 32px; }
  .channel-art { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .topbar-in { height: 62px; justify-content: space-between; }
  .hero-panel { border-radius: 26px; padding-top: 24px; width: calc(100% - 16px); }
  .hero-copy { padding-top: 16px; }
  .hero-facts { gap: 18px; }
  .hero-facts b { white-space: nowrap; }
  .hero-facts b { font-size: 22px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .phone { width: 270px; height: 460px; }
  .chat-actions { margin-bottom: 40px; }
  .section { padding: 64px 0; }
  .features, .features.three, .steps, .groups { grid-template-columns: 1fr; }
  .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city { padding: 12px 14px; }
  .cities-collapsed .city:nth-child(n+11) { display: none; }
  .cities.is-filtered .city:nth-child(n+11) { display: flex; }
  .picker { padding: 16px; border-radius: 22px; margin-inline: -4px; }
  .spot:nth-child(2), .spot:nth-child(3) { margin-left: 0; }
  .channel { padding: 32px 22px; border-radius: 26px; }
  .final { padding: 52px 20px; border-radius: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .sticky-cta {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 60; height: 56px; border-radius: 999px;
    color: #fff; text-decoration: none; font-weight: 800; background: linear-gradient(135deg, var(--red-2), var(--red));
    box-shadow: 0 14px 30px -10px rgba(229,48,79,.8); transform: translateY(120px); transition: transform .3s ease;
  }
  .sticky-cta svg { width: 18px; fill: #fff; }
  .sticky-cta.is-shown { transform: none; }
  .footer { padding-bottom: 100px; }
}
.tags i { font-style: normal; }

/* ---------- документы, отмена подписки, контакты ---------- */
.doc { padding-top: 48px; }
.doc .crumbs { color: var(--ink-2); margin-bottom: 20px; }
.doc .crumbs a:hover { color: var(--red); }
.lead.dark { color: var(--ink-2); }
.lead.dark a { color: var(--red); }
.legal { font-size: 16px; color: #3d2329; }
.legal h2 { font: 700 22px/1.3 var(--sans); margin: 34px 0 10px; }
.legal p { margin: 0 0 12px; }
.legal strong { color: var(--ink); }
.legal code, .cancel-steps code { padding: 2px 8px; border-radius: 6px; background: var(--bg-soft); font-size: .92em; }
.doc-owner { margin-top: 40px; padding: 22px 24px; border-radius: 18px; background: var(--bg-soft); font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.doc-owner a { color: var(--red); }
.cancel-card { background: #fff; border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; margin: 8px 0 18px; }
.cancel-main { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 28px; }
.cancel-main h2 { font: 700 24px/1.2 var(--serif); margin: 0 0 4px; }
.cancel-main p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.cancel-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #ffe3e9; color: var(--red); font-weight: 800; font-size: 22px; }
.cancel-steps { margin: 0; padding: 22px 28px 24px 52px; background: var(--bg-soft); border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15.5px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
.info-grid.two { grid-template-columns: 1fr 1fr; }
.info { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); text-decoration: none; transition: transform .2s; }
a.info:hover { transform: translateY(-2px); }
.info b { font-size: 17px; }
.info span, .info small { color: var(--ink-2); font-size: 14.5px; }
.info.big { padding: 26px; gap: 12px; }
.info.big .btn { align-self: flex-start; }
.req { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.req dt { color: var(--ink-2); }
.req dd { margin: 0; font-weight: 700; }
.req a, .prose a { color: var(--red); }
.footer-grid-4 { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
.footer-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: rgba(255,255,255,.5); }
.footer-legal p { margin: 0 0 6px; }
.footer-legal a { color: rgba(255,255,255,.75); }
.footer-legal + .footer-bottom { margin-top: 18px; }
@media (max-width: 1024px) { .footer-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .cancel-main { grid-template-columns: 1fr; }
  .cancel-main .btn { width: 100%; }
  .info-grid, .info-grid.two { grid-template-columns: 1fr; }
  .footer-grid-4 { grid-template-columns: 1fr; }
}
.top-actions { display: flex; gap: 8px; flex: none; }
.btn-cancel { color: var(--red); background: #fff; box-shadow: inset 0 0 0 1.5px #f3c4cf; }
.btn-cancel:hover { background: var(--red); color: #fff; box-shadow: none; }
@media (max-width: 1100px) { .nav { gap: 18px; font-size: 14px; } }
@media (max-width: 760px) {
  .top-actions .btn { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
  .logo-text { font-size: 20px; }
  .logo-mark { width: 34px; height: 34px; }
}
@media (max-width: 760px) { .top-actions .btn-cancel { display: none; } }
.footer-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-cancel-dark { color: #fff; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.btn-cancel-dark:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px #fff; }

/* ---------- иконки ---------- */
.ico { width: 1em; height: 1em; flex: none; }
.f-ico { color: var(--red); }
.f-ico .ico { width: 28px; height: 28px; }
.spot-n { color: var(--red); }
.spot-n .ico { width: 26px; height: 26px; }
.phone-ava { color: #fff; }
.phone-ava .ico { width: 22px; height: 22px; }
.msg.sys { display: inline-flex; align-items: center; gap: 6px; }
.msg.sys .ico { width: 14px; height: 14px; }
.chat-actions .ico { width: 15px; height: 15px; }
.tags span { align-items: center; }
.tags .ico { width: 16px; height: 16px; color: var(--pink); }

/* ---------- блог ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(80,10,30,.06), 0 20px 40px -16px rgba(120,20,45,.3); }
.post-card b { font: 700 21px/1.25 var(--serif); }
.post-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-soft); color: var(--red); }
.post-ico .ico { width: 24px; height: 24px; }
.post-meta { font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: .02em; }
.post-desc { color: var(--ink-2); font-size: 15px; }
.article { font-size: 17.5px; }
.article ol, .article ul { padding-left: 22px; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; padding: 24px 28px; border-radius: 24px; background: linear-gradient(135deg, #ffe3e9, #fff1e6); }
.inline-cta b { display: block; font: 700 21px/1.2 var(--serif); }
.inline-cta > div span { display: block; color: var(--ink-2); font-size: 15px; }
.inline-cta .btn { flex: none; white-space: nowrap; }
@media (max-width: 1024px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .posts { grid-template-columns: 1fr; }
  .inline-cta { flex-direction: column; align-items: stretch; }
}
.cancel-ico .ico { width: 24px; height: 24px; }

/* ---------- согласие и cookie ---------- */
.consent-note { margin: -18px 0 28px; max-width: 520px; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.consent-note a { color: inherit; }
.cookie { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; margin-inline: auto; max-width: 980px; display: flex; align-items: center; gap: 20px; padding: 16px 18px 16px 24px; border-radius: 20px; background: #fff; box-shadow: 0 20px 50px -12px rgba(80, 10, 30, .35), 0 0 0 1px var(--line); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1; font-size: 14.5px; color: var(--ink-2); }
.cookie a { color: var(--red); }
.cookie-btns { display: flex; gap: 8px; flex: none; }
.btn-accept { color: #fff; background: linear-gradient(135deg, var(--red-2), var(--red)); }
.btn-accept:hover { background: var(--red); }
.btn-decline { color: var(--ink); background: var(--bg-soft); }
.btn-decline:hover { background: var(--line); }
@media (max-width: 760px) {
  .cookie { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; bottom: 12px; left: 12px; right: 12px; }
  .cookie-btns .btn { flex: 1; }
  .consent-note { margin-top: -18px; }
}
.cookie:not([hidden]) ~ .sticky-cta { display: none; }

/* ---------- статья: сайдбар, оглавление, CTA ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 56px; justify-content: center; align-items: start; }
.article-aside { position: sticky; top: 96px; margin-top: 120px; }
.aside-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 24px; background: linear-gradient(160deg, #fff, #fff1f4); box-shadow: var(--shadow); border: 1px solid #f6dde3; }
.aside-card b { font: 700 22px/1.2 var(--serif); }
.aside-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.aside-card .btn { width: 100%; }
.aside-card small { text-align: center; color: var(--ink-2); font-size: 12.5px; }
.aside-ico, .mid-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--red-2), #8f5bff); flex: none; }
.aside-ico .ico, .mid-ico .ico { width: 26px; height: 26px; }
.toc { margin: 0 0 36px; padding: 20px 24px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.toc b { display: block; margin-bottom: 8px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15.5px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--red); }
.article h2 { scroll-margin-top: 90px; }
.mid-cta { display: flex; align-items: center; gap: 18px; margin: 36px 0; padding: 22px 24px; border-radius: 22px; background: linear-gradient(135deg, #ffe3ea, #f3eaff); }
.mid-cta > div { flex: 1; }
.mid-cta b { display: block; font: 700 19px/1.25 var(--serif); color: var(--ink); }
.mid-cta > div span { display: block; color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }
.mid-cta .btn { flex: none; white-space: nowrap; }
.article h3 { font: 700 19px/1.3 var(--sans); margin: 22px 0 6px; }
@media (max-width: 1024px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-aside { display: none; }
}
@media (max-width: 760px) {
  .mid-cta { flex-direction: column; align-items: stretch; text-align: left; }
  .mid-cta .mid-ico { display: none; }
}
.prose a.btn, .prose a.btn span { color: #fff; text-decoration: none; }

/* ---------- теги ---------- */
.tag-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.tag-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; transition: all .2s; }
.tag-chip:hover, .tag-chip.is-active { border-color: var(--red); color: var(--red); }
.tag-chip small { font-size: 12px; color: var(--ink-2); opacity: .7; }
.tag-cloud { margin: 6px 0 28px; }

/* ---------- тарифы ---------- */
.tariffs-lead { margin-top: -18px; }
.tariffs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 8px 0 18px; }
.tariff { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border: 1.5px solid #f6dde3; }
.tariff-name { font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.tariff-price { font: 700 40px/1.1 var(--serif); }
.tariff-next { color: var(--ink-2); font-size: 15px; }
.tariffs-note { font-size: 14px; color: var(--ink-2); max-width: 860px; margin: 0; }
.tariffs-note a { color: var(--red); }
@media (max-width: 760px) { .tariffs { grid-template-columns: 1fr; } .tariff { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 12px; } .tariff-price { font-size: 30px; } .tariff-next { flex-basis: 100%; } }

/* ---------- компактный первый экран ---------- */
.topbar-in { height: 64px; }
.hero { padding-top: 8px; }
.hero-panel { padding-top: 18px; }
.hero-copy { padding: 12px 0 40px; }
.hero .badge { margin-bottom: 16px; }
.hero .h1 { margin-bottom: 16px; }
.hero .lead { margin-bottom: 22px; }
.hero-cta { margin-bottom: 16px; }
.consent-note { margin: 0 0 22px; }
.hero-facts b { font-size: 24px; }
.hero-visual { height: 470px; }
.phone { height: 456px; }
.chat-actions { margin-bottom: 56px; }
.hero-city .crumbs, .hero .crumbs { margin-bottom: 12px; }
@media (min-width: 1025px) { .hero-grid { align-items: end; } .hero-copy { align-self: center; } }
@media (max-width: 760px) { .topbar-in { height: 58px; } .hero-copy { padding-bottom: 32px; } }
/* телефон «выходит» из нижнего края панели без зазора */
.hero-grid { padding-bottom: 0; }
.hero-visual { height: 480px; align-self: end; margin-bottom: -1px; }
.phone { height: 480px; }

/* =========================== БЛОГ v2 =========================== */
.post-card { padding: 0; gap: 0; overflow: hidden; }
.post-cover { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--bg-soft); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-cover img { transform: scale(1.04); }
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; }
.post-card b { font: 700 20px/1.25 var(--serif); }
.post-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.post-tag { padding: 3px 10px; border-radius: 999px; background: #ffe3e9; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .02em; }

/* главная блога */
.blog-hero { padding: 36px 0 12px; }
.blog-hero .crumbs { margin-bottom: 20px; }
.blog-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.blog-hero .h1 { font-size: clamp(38px, 5vw, 62px); }
.blog-search { max-width: 460px; margin-top: 8px; background: #fff; }
.featured { display: block; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.featured:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(80,10,30,.06), 0 26px 50px -20px rgba(120,20,45,.35); }
.featured-cover { display: block; aspect-ratio: 1200 / 630; overflow: hidden; }
.featured-cover img { width: 100%; height: 100%; object-fit: cover; }
.featured-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 26px 26px; }
.featured-body b { font: 700 26px/1.2 var(--serif); }
.featured-body .post-desc { color: var(--ink-2); font-size: 15.5px; }
.blog-list { padding-top: 40px; }
.blog-list .mid-cta { margin-top: 40px; }
.post-card.is-hidden { display: none; }

/* статья */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), #8f5bff); border-radius: 0 3px 3px 0; }
.article-head { padding: 34px 0 0; }
.article-head .crumbs { margin-bottom: 18px; }
.article-head .tag-chips { margin-bottom: 14px; }
.article-title { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 14px; }
.byline { display: flex; align-items: center; gap: 12px; margin: 6px 0 26px; }
.byline-ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--red-2), #8f5bff); }
.byline-ava .ico { width: 22px; height: 22px; }
.byline b { display: block; font-size: 15px; }
.byline small { color: var(--ink-2); font-size: 13.5px; }
.article-cover-wrap { max-width: 1100px; }
.article-cover { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); }
.article-grid { padding-top: 44px; padding-bottom: 40px; }
.article-aside { margin-top: 0; display: flex; flex-direction: column; gap: 16px; }
.article-aside .toc { margin: 0; max-height: 46vh; overflow: auto; }
.article-aside .toc ol { font-size: 14.5px; }
.toc a.is-active { color: var(--red); font-weight: 700; }
.toc-mobile { display: none; }

/* типографика статьи */
.article { font-size: 18px; line-height: 1.75; color: #33181e; }
.article > p:first-child { font-size: 20px; line-height: 1.65; color: var(--ink); }
.article h2 { position: relative; font: 700 clamp(25px, 2.6vw, 31px)/1.2 var(--serif); margin: 48px 0 16px; padding-left: 18px; }
.article h2::before { content: ''; position: absolute; left: 0; top: .18em; bottom: .18em; width: 5px; border-radius: 4px; background: linear-gradient(var(--red-2), #8f5bff); }
.article h3 { font: 700 20px/1.3 var(--sans); margin: 28px 0 8px; }
.article ul { list-style: none; padding-left: 0; }
.article ul > li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.article ul > li::before { content: ''; position: absolute; left: 6px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--red-2), #8f5bff); box-shadow: 0 0 0 4px #ffe8ee; }
.article ol { counter-reset: n; list-style: none; padding-left: 0; }
.article ol > li { counter-increment: n; position: relative; padding-left: 44px; margin-bottom: 12px; min-height: 30px; }
.article ol > li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font: 800 14px/1 var(--sans); color: var(--red); background: #ffe8ee; }
.article b, .article strong { color: var(--ink); background: linear-gradient(transparent 62%, #ffe0e7 62%); }
.article a:not(.btn) { color: var(--red); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.article a:not(.btn):hover { text-decoration-color: transparent; }
.article-faq { margin-top: 48px; }
.article-faq h2 { font: 700 clamp(25px, 2.6vw, 31px)/1.2 var(--serif); margin: 0 0 18px; scroll-margin-top: 90px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.share a, .share button { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 700 14px var(--sans); color: var(--ink); text-decoration: none; cursor: pointer; transition: all .2s; }
.share a:hover, .share button:hover { border-color: var(--red); color: var(--red); }
.related .posts { margin-top: 4px; }

@media (max-width: 1024px) {
  .blog-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .toc-mobile { display: block; }
  .toc-mobile .toc { margin-bottom: 28px; }
}
@media (max-width: 760px) {
  .article { font-size: 17px; }
  .article > p:first-child { font-size: 18px; }
  .article-cover { border-radius: 18px; }
  .article-grid { padding-top: 28px; }
  .featured-body b { font-size: 22px; }
  .blog-hero { padding-top: 22px; }
}
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 6px; background: radial-gradient(60% 120% at 85% 0%, rgba(255,107,139,.14), transparent 70%), radial-gradient(50% 100% at 0% 100%, rgba(182,156,255,.12), transparent 70%); }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; font-size: 14px; color: var(--ink-2); }
.article-tags .tag-chips { margin: 0; }
.article-tags + .share { margin-top: 16px; }


/* ---------- полоса прокрутки ---------- */
html { scrollbar-width: thin; scrollbar-color: #e5304f #fdeee8; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #fdeee8; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #ff5a76, #8f5bff); border-radius: 10px; border: 2px solid #fdeee8; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #e5304f, #7a3cff); }
::selection { background: #ffd0db; color: #2b0a14; }

/* ---------- оглавление в статье (сворачиваемое) ---------- */
.toc-inline { padding: 0; margin: 0 0 32px; }
.toc-inline summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 20px; }
.toc-inline summary::-webkit-details-marker { display: none; }
.toc-inline summary b { margin: 0; }
.toc-inline summary span:not(.faq-plus) { color: var(--ink-2); font-size: 14px; }
.toc-inline summary .faq-plus { margin-left: auto; }
.toc-inline[open] .faq-plus { transform: rotate(45deg); background: #ffe3e9; }
.toc-inline nav { padding: 0 24px 20px; }
.toc-mobile { display: none !important; }
.article-aside { position: sticky; top: 96px; }

/* ---------- плавающая кнопка + шторка (мобилки/планшеты) ---------- */
.fab, .sheet { display: none; }
@media (max-width: 1024px) {
  body:has(.fab) .sticky-cta { display: none; }
  .fab { display: grid; place-items: center; position: fixed; right: 16px; bottom: 18px; z-index: 75; width: 60px; height: 60px; border: 0; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--red-2), #8f5bff); box-shadow: 0 14px 30px -8px rgba(229,48,79,.65); cursor: pointer; animation: fabIn .4s ease both; }
  .fab .ico { width: 28px; height: 28px; }
  .fab::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,90,118,.5); animation: fabPulse 2.4s ease-out infinite; }
  .sheet:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 90; }
  .sheet-backdrop { position: absolute; inset: 0; background: rgba(43,10,20,.45); backdrop-filter: blur(2px); animation: fadeIn .25s ease; }
  .sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow: auto; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: var(--bg); box-shadow: 0 -20px 50px -10px rgba(43,10,20,.4); animation: sheetUp .3s cubic-bezier(.2,.8,.2,1); }
  .sheet-panel::before { content: ''; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: -8px auto 14px; }
  .sheet-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); cursor: pointer; }
  .sheet-close .ico { width: 18px; height: 18px; }
  .sheet-cta { display: flex; align-items: center; gap: 14px; padding-right: 44px; margin-bottom: 14px; }
  .sheet-cta b { display: block; font: 700 20px/1.2 var(--serif); }
  .sheet-cta p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; }
  .sheet-btn { width: 100%; }
  .sheet-toc { margin-top: 18px; padding: 18px 20px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
  .sheet-toc b { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
  .sheet-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15.5px; }
  .sheet-toc a { color: var(--ink); text-decoration: none; }
}
@keyframes fabIn { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fabPulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
body.sheet-open { overflow: hidden; }

/* ---------- cookie: компактно на мобилках ---------- */
.cookie-short { display: none; }
@media (max-width: 760px) {
  .cookie-long { display: none; }
  .cookie-short { display: inline; }
  .cookie { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 14px; left: 8px; right: 8px; bottom: 8px; border-radius: 16px; }
  .cookie p { font-size: 13px; line-height: 1.4; }
  .cookie-btns .btn { min-height: 40px; font-size: 14px; }
}
/* пока открыт баннер cookie — плавающая кнопка поднимается над ним */
body:has(.cookie:not([hidden])) .fab { bottom: 140px; }
@media (min-width: 761px) { body:has(.cookie:not([hidden])) .fab { bottom: 110px; } }
.fab { z-index: 85; }
@media (max-width: 1024px) {
  .sheet-points { list-style: none; padding: 0; margin: 4px 0 16px; display: grid; gap: 10px; }
  .sheet-points li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; font-size: 15px; font-weight: 600; }
  .sheet-points .ico { width: 20px; height: 20px; color: var(--red); flex: none; }
  .sheet-note { text-align: center; margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
}

/* ---------- быстрые варианты поиска ---------- */
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -2px 0 16px; }
.quick-label { font-size: 14px; font-weight: 700; color: var(--ink-2); margin-right: 2px; }
.quick-pick { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 11px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1.5px solid #f3d3db; font-size: 14.5px; font-weight: 700; color: var(--ink); text-decoration: none; transition: transform .15s, border-color .2s, color .2s, box-shadow .2s; }
.quick-pick .ico { width: 17px; height: 17px; color: var(--red); }
.quick-pick:hover { transform: translateY(-2px); border-color: var(--red); color: var(--red); box-shadow: 0 8px 18px -10px rgba(229,48,79,.6); }
@media (max-width: 760px) {
  .quick { gap: 6px; }
  .quick-label { width: 100%; font-size: 13px; }
  .quick-pick { padding: 8px 12px 8px 10px; font-size: 14px; }
}
.city-seo h2 { margin-top: 0; } .city-seo h2 + p { margin-bottom: 28px; }
/* legal docs 2026-10-05: таблицы, оглавление, шаги */
.legal { line-height: 1.7; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 15.5px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--bg-soft); font-weight: 700; }
.legal td.num { white-space: nowrap; font-weight: 700; }
.legal .toc { background: var(--bg-soft); border-radius: 14px; padding: 12px 18px; margin: 0 0 24px; font-size: 15px; }
.legal .toc summary { cursor: pointer; font-weight: 700; }
.legal .toc ol { list-style: none; padding-left: 0; margin: 10px 0 2px; }
.legal .toc li { margin: 0 0 4px; }
.legal .toc a { color: var(--red); text-decoration: none; }
.legal .note { background: var(--bg-soft); border-left: 4px solid var(--red); border-radius: 10px; padding: 12px 16px; margin: 14px 0 22px; }
.legal .steps { counter-reset: s; list-style: none; padding: 0; }
.legal .steps li { counter-increment: s; position: relative; padding-left: 42px; margin-bottom: 14px; }
.legal .steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.legal h2 { scroll-margin-top: 90px; }
@media (max-width: 600px) { .legal th, .legal td { padding: 8px; font-size: 14.5px; } }

/* Таблицы и диалоги в статьях блога (08.11.2026) */
.prose table{width:100%;border-collapse:separate;border-spacing:0;margin:18px 0 26px;font-size:.94em;line-height:1.45;background:#fff;border:1px solid var(--line,#f1d9d3);border-radius:16px;overflow:hidden}
.prose th,.prose td{padding:10px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line,#f1d9d3)}
.prose th{background:var(--bg-soft,#fdeee8);font-weight:700;color:var(--ink,#2a0f16)}
.prose tbody tr:last-child td{border-bottom:0}
.prose tbody tr:nth-child(even) td{background:rgba(253,238,232,.35)}
.prose blockquote{margin:14px 0 22px;padding:12px 16px;background:var(--bg-soft,#fdeee8);border-left:4px solid var(--red,#e5304f);border-radius:0 16px 16px 0;font-style:normal}
.prose blockquote p{margin:.3em 0}
.prose blockquote b{color:var(--red,#e5304f)}
@media (max-width:640px){.prose table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}.prose th,.prose td{min-width:120px;padding:9px 10px}}
