/* ============================================================
   Design System v2: Maternal Spring Softness
   "Психолог без границ" — Sunrise Lavender Palette
   ============================================================ */

/* --- Fonts loaded in HTML --- */

/* === 1. Design Tokens (from guide v2) === */
:root {
    /* Primary Lavender */
    --lavender-main: #BFA8E8;
    --lavender-soft: #D7C4F2;
    --lavender-light: #EEE4FF;

    /* Sunrise Colors */
    --sunrise-pink: #F6D8F2;
    --sunrise-rose: #F4CFE3;
    --sunrise-warm: #FFE3F1;

    /* Cloud Colors */
    --cloud-white: #FFFFFF;
    --cloud-soft: #F8F4FF;
    --cloud-mist: #EFE7FB;

    /* Crocus Accent Colors */
    --crocus: #C7A6F5;
    --crocus-pink: #E8B8E5;
    --crocus-soft: #F1D8F7;
    --crocus-dark: #B895F0;

    /* Backgrounds */
    --bg-main: #F5EEFF;
    --bg-soft: #FBF8FF;
    --bg-cloud: #FFFFFF;

    /* Text */
    --text-main: #6F5CA6;
    --text-soft: #9B8AC6;
    --text-muted: #A79BCF;
    --text-inverted: #FFFFFF;

    /* Borders & Shadows */
    --border-soft: #E4D6FF;
    --shadow-card: rgba(160, 120, 210, 0.12);
    --shadow-hover: rgba(160, 120, 210, 0.22);
    --shadow-hero: rgba(180, 130, 220, 0.25);

    /* Border Radii (guide v2: larger, cloud-shaped) */
    --radius-small: 8px;
    --radius-medium: 16px;
    --radius-large: 28px;
    --radius-cloud: 40px;
    --radius-pill: 999px;

    /* Spacing (8px grid) */
    --space-xs: 8px;
    --space-s: 16px;
    --space-m: 24px;
    --space-l: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;
    --space-section: 48px;

    /* Layout */
    --container-max: 1200px;
}

/* === 2. Reset & Base === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    color: var(--text-soft);
    background: var(--bg-soft);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--crocus);
    text-decoration: none;
    transition: color 200ms ease;
}

a:hover {
    color: var(--text-main);
}

ul {
    list-style: none;
}

/* === 3. Skip Link === */
.skip-link {
    background: var(--text-main);
    color: #fff;
    padding: var(--space-xs) var(--space-s);
    position: absolute;
    left: -10000px;
    top: auto;
    z-index: 100;
    border-radius: var(--radius-small);
    font-size: 14px;
}

.skip-link:focus {
    left: var(--space-s);
    top: var(--space-s);
}

/* === 4. Layout === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-m);
}

section {
    padding: var(--space-section) 0;
}

/* === 5. Header === */
.site-header {
    background: rgba(251, 248, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.brand {
    font-family: 'Marck Script', cursive;
    font-size: 1.6rem;
    color: var(--text-main);
    text-decoration: none;
    transition: opacity 200ms ease;
}

.brand:hover {
    opacity: 0.75;
    color: var(--text-main);
}

.header-nav {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    position: relative;
}

.header-nav__controls {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.header-nav__menu {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-toggle__control {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
}

.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;
}

.home-pill {
    display: inline-block;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 200ms ease;
}

.home-pill:hover {
    background: var(--cloud-mist);
    color: var(--text-main);
    border-color: var(--lavender-soft);
}

.home-pill.is-active {
    background: var(--lavender-light);
    border-color: var(--lavender-soft);
}

.quick-nav {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.menu-group--mobile {
    display: none;
}

.menu-group__title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0 12px;
}

.quick-nav__pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.65);
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 200ms ease;
}

.quick-nav__pill:hover {
    background: var(--cloud-mist);
    color: var(--text-main);
    border-color: var(--lavender-soft);
}

.quick-nav__pill.is-active {
    background: var(--lavender-light);
    color: var(--text-main);
    border-color: var(--lavender-soft);
}

/* Language Switch */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.85rem;
}

.lang-switch__pill {
    display: inline-block;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-soft);
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 200ms ease;
}

.lang-switch__pill:hover {
    background: var(--cloud-mist);
    color: var(--text-main);
    border-color: var(--lavender-soft);
}

.lang-switch__pill.is-active {
    background: var(--crocus);
    border-color: var(--crocus);
    color: var(--text-inverted);
    font-weight: 600;
}

/* === 6. Hero Section === */
.hero {
    padding: var(--space-xl) 0 var(--space-l);
}

.hero__panel {
    /* Sunrise sky gradient from design guide v2 */
    background: linear-gradient(180deg, #FFE3F1 0%, #F4D6FF 40%, #D8C4F4 100%);
    border-radius: var(--radius-cloud);
    overflow: hidden;
    box-shadow: 0 24px 70px var(--shadow-hero);
    position: relative;
}

/* Decorative cloud blobs */
.hero__panel::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero__panel::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(199, 166, 245, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Decorative bird silhouettes (CSS) */
.hero__birds {
    position: absolute;
    top: var(--space-m);
    right: var(--space-l);
    z-index: 2;
    display: flex;
    gap: 6px;
    align-items: flex-end;
    opacity: 0.5;
}

.bird {
    width: 20px;
    height: 10px;
    border-top: 2px solid rgba(111, 92, 166, 0.6);
    border-radius: 50% 50% 0 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    position: relative;
    transform: scaleX(0.5);
}

.bird--sm {
    transform: scaleX(0.35) scaleY(0.8);
}

.bird--lg {
    transform: scaleX(0.6);
}

/* Decorative crocus petal SVG-like shape */
.hero__crocus {
    position: absolute;
    bottom: var(--space-m);
    left: var(--space-l);
    z-index: 2;
    opacity: 0.35;
    font-size: 2.5rem;
    line-height: 1;
    filter: blur(0.5px);
}

.hero__grid {
    display: grid;
    gap: 0;
    position: relative;
    z-index: 1;
}

.hero__media {
    min-height: 320px;
    overflow: hidden;
    position: relative;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: multiply;
    opacity: 0.92;
}

.hero__content {
    padding: var(--space-l) var(--space-m) var(--space-xl);
    position: relative;
    z-index: 2;
}

/* Badge */
.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--radius-pill);
    color: var(--text-main);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    padding: 6px 16px;
    margin-bottom: var(--space-s);
    text-transform: uppercase;
}

/* Headings */
h1 {
    font-family: 'Marck Script', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--text-main);
    line-height: 1.15;
    margin-bottom: var(--space-xs);
    text-shadow: 0 2px 12px rgba(199, 166, 245, 0.4);
}

.tagline {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    opacity: 0.9;
    margin-bottom: var(--space-xs);
    line-height: 1.5;
}

.lede {
    font-size: 0.95rem;
    color: var(--text-soft);
    margin-bottom: var(--space-m);
}

/* === 7. Buttons (guide v2) === */
.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-medium);
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 200ms ease;
    min-height: 48px;
    cursor: pointer;
    border: none;
}

.btn--primary {
    /* Crocus color per design guide v2 */
    background: var(--crocus);
    color: var(--text-inverted);
    box-shadow: 0 6px 20px rgba(199, 166, 245, 0.4);
}

.btn--primary:hover {
    background: var(--crocus-dark);
    color: var(--text-inverted);
    box-shadow: 0 8px 28px rgba(199, 166, 245, 0.5);
    transform: translateY(-2px);
}

.btn--ghost {
    /* Soft button per design guide v2 */
    background: var(--lavender-light);
    color: var(--text-main);
    border-radius: var(--radius-medium);
}

.btn--ghost:hover {
    background: var(--lavender-light);
    color: var(--text-main);
    transform: translateY(-1px);
}

/* === 8. Simple hero panel (rubric/index pages) ===
   Same gradient as main hero but no grid/photo layout. */
.hero__panel--simple {
    padding: var(--space-xl) var(--space-l) var(--space-l);
}

.hero__panel--simple h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    text-shadow: none;
    line-height: 1.2;
    margin-bottom: var(--space-xs);
}

.hero__panel--simple .breadcrumb {
    margin-top: var(--space-m);
    font-size: 0.88rem;
}

.hero__panel--simple .breadcrumb a {
    color: var(--text-main);
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 200ms ease;
}

.hero__panel--simple .breadcrumb a:hover {
    opacity: 1;
}

/* === 8b. Utility classes (replaces inline styles) === */
.mb-s {
    margin-bottom: var(--space-s);
}

.cta-row-mt {
    margin-top: var(--space-s);
}

/* === 9. Section Headings === */
h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.25;
    margin-bottom: var(--space-s);
}

h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: var(--space-s);
}

.section-intro {
    color: var(--text-soft);
    font-size: 1.05rem;
    max-width: 640px;
    margin-bottom: var(--space-m);
    line-height: 1.65;
}

/* === 10. Cards — "like marshmallows" (design guide v2) === */
.card {
    background: var(--cloud-white);
    border-radius: var(--radius-large);
    padding: var(--space-l);
    box-shadow: 0 15px 40px var(--shadow-card);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px var(--shadow-hover);
}

/* === 11. CTA / Booking Panel === */
.cta-panel {
    background: linear-gradient(135deg, var(--sunrise-warm), var(--crocus-soft), var(--lavender-soft));
    text-align: center;
    padding: var(--space-xl);
    border: none;
}

.cta-panel h2 {
    color: var(--text-main);
}

.cta-panel .section-intro {
    margin-left: auto;
    margin-right: auto;
}

.cta-panel .hero__cta {
    justify-content: center;
}

.cta-panel .muted {
    margin-top: var(--space-s);
}

/* === 12. Topic lists (inside cards) === */
.list-grid {
    display: grid;
    gap: var(--space-s);
}

.topic-list {
    display: grid;
    gap: var(--space-xs);
}

.topic-list li {
    background: linear-gradient(135deg, var(--cloud-soft), var(--crocus-soft));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-medium);
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--text-main);
    min-height: 48px;
    transition: background 200ms ease, box-shadow 200ms ease;
}

.topic-list li:hover {
    background: linear-gradient(135deg, var(--lavender-light), var(--crocus-soft));
    box-shadow: 0 4px 12px var(--shadow-card);
}

.topic-list strong {
    color: var(--text-main);
    font-weight: 700;
}

.topic-list li a {
    color: inherit;
    display: block;
    text-decoration: none;
}

.topic-list li a:hover {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.request-note {
    margin-top: var(--space-s);
}

.request-note p {
    color: var(--text-soft);
    margin-bottom: var(--space-xs);
}

.request-note p:last-child {
    margin-bottom: 0;
}

/* === 13. Price Grid === */
.price-grid {
    display: grid;
    gap: var(--space-s);
}

/* === 14. Trust/Education — uses .list-grid === */

/* === 15. Reviews === */
#reviews .card {
    background: linear-gradient(135deg, var(--cloud-soft), var(--sunrise-pink));
}

/* === 16. Rubric Grid === */
.rubric-grid {
    display: grid;
    gap: var(--space-s);
}

.article-list {
    display: grid;
    gap: var(--space-s);
}

.article-list__item {
    background: linear-gradient(135deg, var(--cloud-soft), var(--bg-cloud));
    border: 1px solid var(--border-soft);
    box-shadow: none;
    padding: var(--space-m);
}

.article-list__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px var(--shadow-card);
}

.article-list__item p {
    color: var(--text-soft);
    margin-top: var(--space-xs);
}

.rubric-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    margin-top: var(--space-xs);
    color: var(--crocus);
    text-decoration: none;
    transition: all 200ms ease;
}

.rubric-link:hover {
    color: var(--text-main);
    gap: 4px;
}

.rubric-link::after {
    content: ' →';
    margin-left: 3px;
    display: inline-block;
    transition: transform 200ms ease;
}

.rubric-link:hover::after {
    transform: translateX(4px);
}

/* === 17. Article Content (Markdown render) === */
.article-content {
    animation: none; /* override card stagger animation */
}

/* Prevent card hover-lift on full article blocks */
.card.article-content:hover {
    transform: none;
    box-shadow: 0 15px 40px var(--shadow-card);
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: 'Manrope', sans-serif;
    text-shadow: none;
    margin-top: var(--space-m);
    margin-bottom: var(--space-xs);
}

.article-content h1 {
    font-size: 2.1rem;
    line-height: 1.2;
}

.article-content h2 {
    font-size: 1.5rem;
}

.article-content h3 {
    font-size: 1.2rem;
}

.article-content p {
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: var(--space-s);
}

.article-content ul,
.article-content ol {
    margin: 0 0 var(--space-s) 1.4rem;
    color: var(--text-soft);
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 0.45rem;
    line-height: 1.7;
}

.article-content a {
    text-underline-offset: 3px;
    text-decoration: underline;
}

/* === 17. Contacts === */
.contact-list {
    display: grid;
    gap: var(--space-xs);
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: linear-gradient(135deg, var(--cloud-soft), var(--sunrise-pink));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-medium);
    padding: 12px 18px;
    min-height: 50px;
    transition: box-shadow 200ms ease;
}

.contact-list li:hover {
    box-shadow: 0 6px 18px var(--shadow-card);
}

.contacts-legal {
    display: grid;
    gap: var(--space-m);
}

.contacts-legal__legal {
    overflow-wrap: anywhere;
}

.contacts-legal__legal p:first-child {
    margin-top: 0;
}

.chip {
    background: var(--crocus-soft);
    border: 1px solid var(--lavender-soft);
    border-radius: var(--radius-pill);
    color: var(--text-main);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    white-space: nowrap;
}

/* === 18. Legal Box === */
.legal-box {
    border-left: 4px solid var(--crocus);
    background: linear-gradient(135deg, var(--cloud-soft), var(--bg-soft));
}

.legal-box:hover {
    transform: none;
}

.legal-box p {
    margin-bottom: var(--space-xs);
    color: var(--text-soft);
    font-size: 0.95rem;
}

.legal-box p:last-child {
    margin-bottom: 0;
}

/* === 19. Utility === */
.muted {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* === 20. Section Dividers (floral/cloud accents) === */
.section-divider {
    text-align: center;
    color: var(--crocus-pink);
    font-size: 1.4rem;
    letter-spacing: 0.5em;
    opacity: 0.5;
    margin: 0;
    padding: var(--space-xs) 0;
}

/* === 21. Footer === */
.site-footer {
    border-top: 1px solid var(--border-soft);
    background: linear-gradient(180deg, var(--bg-soft), var(--sunrise-pink));
    margin-top: var(--space-xl);
    padding: var(--space-l) 0;
}

.site-footer__grid {
    display: grid;
    gap: var(--space-s);
}

.footer-block {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-large);
    padding: var(--space-m);
    box-shadow: 0 10px 24px var(--shadow-card);
}

.footer-block--contacts-visual {
    grid-column: 1 / -1;
    border-left: 4px solid var(--crocus);
    background: linear-gradient(135deg, var(--cloud-soft), var(--bg-soft));
    padding: var(--space-l);
}

.footer-block--contacts-visual h2 {
    text-shadow: none;
    margin-bottom: var(--space-s);
}

.footer-block--contacts-visual .contacts-legal {
    margin-top: var(--space-xs);
}

.footer-block--contacts-visual .contacts-legal__legal p {
    font-size: 0.95rem;
    margin-bottom: var(--space-xs);
}

.footer-block--contacts-visual .contacts-legal__legal p:last-child {
    margin-bottom: 0;
}

/* .footer-title and .footer-links removed — not used in any page */

.footer-block p {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 6px;
}

.footer-block p:last-child {
    margin-bottom: 0;
}

.site-footer__meta {
    text-align: center;
    margin-top: var(--space-s);
    padding-bottom: var(--space-s);
}

.site-footer__meta p {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 6px;
}

.site-footer__meta .muted {
    font-size: 0.85rem;
}

.footer-emoji {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 6px;
    opacity: 0.7;
}

/* === 22. Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* @keyframes cloudFloat removed — not applied anywhere */

.hero__panel {
    animation: fadeInUp 0.9s ease-out;
}

.card {
    animation: fadeInUp 0.6s ease-out both;
}

/* Stagger animation for grid cards */
.list-grid .card:nth-child(1),
.price-grid .card:nth-child(1),
.rubric-grid .card:nth-child(1) {
    animation-delay: 0.05s;
}

.list-grid .card:nth-child(2),
.price-grid .card:nth-child(2),
.rubric-grid .card:nth-child(2) {
    animation-delay: 0.1s;
}

.list-grid .card:nth-child(3),
.price-grid .card:nth-child(3),
.rubric-grid .card:nth-child(3) {
    animation-delay: 0.15s;
}

.list-grid .card:nth-child(4),
.price-grid .card:nth-child(4),
.rubric-grid .card:nth-child(4) {
    animation-delay: 0.2s;
}

/* === 23. Responsive === */
@media (max-width: 759px) {
    section {
        padding: var(--space-xl) 0;
    }

    .site-header .container {
        padding-left: max(14px, env(safe-area-inset-left));
        padding-right: max(14px, env(safe-area-inset-right));
    }

    .site-header__inner {
        flex-wrap: nowrap;
        gap: var(--space-xs);
        padding: var(--space-xs) 0;
        min-height: auto;
    }

    .brand {
        font-size: 1.3rem;
        margin-left: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 44vw;
    }

    .header-nav {
        margin-left: auto;
    }

    .lang-switch {
        gap: 4px;
    }

    .lang-switch__pill {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .header-nav__menu {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        min-width: min(92vw, 320px);
        padding: 10px;
        border: 1px solid var(--border-soft);
        border-radius: var(--radius-medium);
        background: rgba(251, 248, 255, 0.98);
        box-shadow: 0 14px 30px var(--shadow-card);
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        z-index: 60;
    }

    .nav-toggle__control:checked~.header-nav__menu,
    .header-nav:has(.nav-toggle__control:checked) .header-nav__menu {
        display: flex;
    }

    .header-nav__menu .home-pill,
    .header-nav__menu .quick-nav__pill {
        width: 100%;
        text-align: left;
        padding: 8px 12px;
    }

    .header-nav__menu .quick-nav {
        width: 100%;
        display: grid;
        gap: 8px;
    }

    .header-nav__menu .menu-group--mobile {
        width: 100%;
        display: grid;
        gap: 8px;
        padding-top: 8px;
        border-top: 1px solid var(--border-soft);
    }
}

@media (min-width: 760px) {
    .header-nav__menu {
        display: inline-flex;
    }

    .hero {
        padding-top: var(--space-xxl);
    }

    .hero__grid {
        grid-template-columns: 1fr 1.15fr;
    }

    .hero__media {
        min-height: 100%;
    }

    .hero__content {
        padding: var(--space-xl) var(--space-l);
    }

    h1 {
        font-size: 4rem;
    }

    .list-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .price-grid,
    .rubric-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero__panel--simple h1 {
        font-size: 2.6rem;
    }

    .contacts-legal {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
    }

    .article-list {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .cta-panel {
        padding: var(--space-xxl);
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 4.5rem;
    }

    .hero__content {
        padding: var(--space-xxl) var(--space-xl);
    }
}
