shkola/design-audit/spacing.md
Dekart Deploy Bot 8fd76af65c feat(family-classes): visual redesign + spacing polish (content frozen)
- section background rhythm (light/tinted/warm/dark CTA) via data-bg
- coordinate-grid motif (subtle) on tinted sections + CTA band
- typography measure, unified cards, hover (reduced-motion aware)
- fit panels with SVG yes/no markers; steps timeline; geo location-card
- FAQ accordion styling (default state untouched); bigger link cards
- comparison accent column; reviews quote mark; hero marker chips
- content freeze preserved (innerText/H1-H3/hrefs/JSON-LD/data-goal identical)
- docs: design-audit/{brief,tokens,spacing,REPORT,before,after,*.json}, assets/CREDITS.md
- no production deploy; dev/staging only; regression: 6 pages overflow 0
2026-10-08 14:43:24 +00:00

16 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Spacing audit
| Section | Selector | Current | Root cause | New | Reason |
|---|---|---:|---|---:|---|
| Секции лендинга | `.page-family-classes .family-block` | `padding-block: clamp(32px,5vw,64px)` | ок, но одинаково у всех → монотонность | `clamp(40px,5vw,72px)` + ритм фонов | воздух между смысловыми блоками с сохранением ритма |
| Hero | `.family-hero` (ds-hero) | `padding:48px 0` (40 mobile) | ок | `clamp(36px,5vw,56px)` | убрать избыточный верх на mobile |
| Sticky desktop | `.sticky-cta-desktop` | fixed, h~72 | не в потоке | — | ок, проверить футер-overlap (уже padding-bottom на mobile) |
| Price | `.price-block` | `padding:72px 0` | больше соседних | `clamp(40px,5vw,72px)` | выровнять ритм |
| Reviews | `.reviews-front-section` | `padding:48px 0` | ок | `clamp(40px,5vw,64px)` | ритм |
| Author | `.author-info-section` | `clamp(24px,4vw,40px)` | ок | keep | «тихая» зона |
| «Кому подходит» | `.family-fit` | панели без явного верт. ритма | — | gap/padding унификация | различимые панели |
| Steps | `.family-steps` | список | нет коннектора | timeline + gaps | flow |
| CTA | `.family-final-cta` | секция как обычная | кнопка «одинокая» | CTA-полоса (padding 56) | визуальный anchor |
Принцип: убрать только бесполезные пустоты; между смысловыми блоками воздух сохраняется. Значения — на существующей 8pt-шкале (`--space-*`) и `clamp()`.