/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #0868B2;
    --color-secondary: #08A5D5;
    --color-accent: #FFB20D;
    --color-bg-light: #F3F8FD;
    --color-bg-white: #FFFFFF;
    --color-text-dark: #12385F;
    --color-text-gray: #5D7187;
    --color-border: #DBE8F4;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --border-radius: 6px;
    --shadow-sm: 0 1px 0 rgba(15, 76, 92, 0.06);
    --shadow-md: 0 8px 0 rgba(15, 76, 92, 0.08);
}

html,
body {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-bg-white);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Comfortaa', 'Nunito', sans-serif;
}

/* Оптимизация изображений */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Оптимизация анимаций для пользователей с prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

/* Оптимизация производительности */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Улучшение читаемости текста */
p, li, span, div {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero-блок */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-image: url('https://ctr23.ru/new/pngtree-children-s-playroom-at-our-new-family-daycare-picture-image_26947932.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a2e;
    padding: 0;
    overflow: hidden;
}

/* Lazy loading для изображений обрабатывается через атрибут loading="lazy" в HTML */

/* Навигация в hero */
.hero-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: var(--spacing-sm) 0;
    transition: all 0.3s ease;
}

.hero-nav.nav-fixed {
    position: fixed;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-secondary-nav {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    z-index: 9;
}

.hero-secondary-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0.65rem 1.2rem;
    gap: 1.05rem;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(8px);
}

.hero-secondary-menu > li {
    position: relative;
}

.hero-secondary-menu > li > a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0.15rem 0.28rem;
    transition: color 0.2s ease;
}

.hero-secondary-menu > li > a:hover {
    color: var(--color-accent);
}

.hero-secondary-submenu {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    min-width: 240px;
    list-style: none;
    margin: 0;
    padding: 0.45rem 0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.hero-secondary-submenu a {
    display: block;
    padding: 0.52rem 1rem;
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    text-transform: uppercase;
}

.hero-secondary-submenu a:hover {
    background: rgba(74, 144, 226, 0.1);
    color: var(--color-primary);
}

.hero-secondary-has-submenu:hover .hero-secondary-submenu,
.hero-secondary-has-submenu:focus-within .hero-secondary-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero-secondary-nav {
        display: none;
    }
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
  
}

.nav-logo-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Скрываем иконки соцсетей при разрешении меньше 1200px */
/* Планшеты (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        --spacing-xs: 0.5rem;
        --spacing-sm: 0.9rem;
        --spacing-md: 1.8rem;
        --spacing-lg: 2.5rem;
        --spacing-xl: 3rem;
    }
    
    .container {
        max-width: 960px;
        padding: 0 var(--spacing-md);
    }
    
    .section-title {
        font-size: clamp(2rem, 3.5vw, 3rem);
    }
    
    .bullets-list {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .photo-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .groups-list {
        grid-template-columns: 1fr;
    }
    
    .formats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nutrition-list {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .babies-directions {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Десктоп средний (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .nav-social {
        display: none;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Десктоп большой (1201px+) */
@media (min-width: 1201px) {
    .container {
        max-width: 1200px;
    }
}

.social-icon {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.social-icon:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: rem;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: block;
}

.nav-menu a:hover {
    color: #ffffff;
}

.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;  color: #ffffff;
    height: 40px;
    padding: 0;
    background: 0 0;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 150px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.nav-dropdown-trigger:hover {
    color: #ffffff;
}

.nav-dropdown-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 0.5rem 0;
    z-index: 100;
}

.nav-item-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}

.nav-dropdown-menu a:hover {
    background: rgba(74, 144, 226, 0.1);
    color: var(--color-primary);
}

@media (min-width: 769px) {
    .nav-item-dropdown:hover .nav-dropdown-menu {
        display: block;
    }
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-hamburger:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.6);
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100%;
    background: #ffffff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.25);
    transition: right 0.3s ease;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-md);
    gap: var(--spacing-md);
}

.mobile-drawer.open {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--color-text-dark);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.drawer-close:hover {
    background-color: var(--color-bg-light);
}

.mobile-drawer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.mobile-drawer-menu a {
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: var(--spacing-sm) 0;
}

.mobile-drawer-contact {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.mobile-drawer .nav-social {
    gap: var(--spacing-sm);
}

.drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    backdrop-filter: blur(2px);
}

.mobile-drawer .nav-social .social-icon {
    color: var(--color-primary);
}

.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
    display: none;
}

.mobile-drawer-overlay.open {
    display: block;
}

.nav-phone {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-phone:hover {
    color: var(--color-accent);
}

.nav-btn {
    padding: 0.3rem 2rem;
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    border-radius: 150px;
    border: 2px solid #ffffff;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: #ffffff;
    color: var(--color-text-dark);
    transform: translateY(-2px);
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px var(--spacing-md) var(--spacing-xl);
    display: flex;
    align-items: center;
    flex: 1;
}

.hero-text-wrapper {
    width: 900px;
    max-width: 100%;
    text-align: left;
}

.hero-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: 'Comfortaa', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    word-break: break-word;
    hyphens: auto;
    white-space: normal;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 150px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background-color: #ffffff;
    color: #1a1a2e;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.hero-note {
    margin-top: var(--spacing-md);
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.6;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-accent) 0%, #FFE55C 100%);
    color: var(--color-text-dark);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 20px rgba(255, 217, 61, 0.4);
    border: 3px solid #FFC700;
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero-address-block {
    margin-top: var(--spacing-md);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-address-image {
    height: 100%;
    max-height: 150px;
    width: auto;
    flex-shrink: 0;
    align-self: flex-start;
    object-fit: contain;
}

.hero-address-content {
    flex: 1;
    min-width: 200px;
}

.hero-address-title {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.4;
}

.hero-addresses {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-address-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 -8px 18px rgba(0, 0, 0, 0.10));
}

.hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Общие стили секций */
section {
    padding: var(--spacing-lg) 0;
}

/* Появление блоков при прокрутке */
.reveal {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.985);
    transition: opacity 700ms ease, transform 700ms ease;
    will-change: opacity, transform;
}

.reveal.reveal-in {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Крупные карточки преимуществ продлёнки */
.after-school-benefits {
    padding: var(--spacing-lg) 0;
}

/* АКЦИИ */
.promo-section {
    padding: var(--spacing-lg) 0;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 380px at 15% 0%, rgba(255, 217, 61, 0.55) 0%, rgba(255, 217, 61, 0.0) 60%),
        radial-gradient(800px 380px at 85% 15%, rgba(255, 90, 165, 0.45) 0%, rgba(255, 90, 165, 0.0) 60%),
        radial-gradient(900px 420px at 50% 100%, rgba(74, 144, 226, 0.35) 0%, rgba(74, 144, 226, 0.0) 65%),
        linear-gradient(135deg, #fff6c4 0%, #ffe0f0 35%, #dff0ff 100%);
}

.promo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.65) 0, rgba(255, 255, 255, 0) 45%),
        radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0) 40%),
        radial-gradient(circle at 60% 85%, rgba(255, 255, 255, 0.45) 0, rgba(255, 255, 255, 0) 45%);
    opacity: 0.9;
    pointer-events: none;
}

.promo-parallax {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.promo-float {
    position: absolute;
    font-size: clamp(72px, 6.2vw, 120px);
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.18));
    opacity: 0.75;
    transform: translate3d(0,0,0);
    animation: promoFloat 6s ease-in-out infinite;
}

.promo-float--1 { top: 18%; left: 6%;  animation-duration: 7s; }
.promo-float--2 { top: 8%;  left: 74%; animation-duration: 6.5s; }
.promo-float--3 { top: 62%; left: 10%; animation-duration: 8.2s; }
.promo-float--4 { top: 22%; left: 88%; animation-duration: 7.6s; }
.promo-float--5 { top: 74%; left: 84%; animation-duration: 8.8s; }
.promo-float--6 { top: 80%; left: 22%; animation-duration: 7.9s; }
.promo-float--7 { top: 45%; left: 50%; animation-duration: 9.1s; }

@keyframes promoFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
    50% { transform: translate3d(0, -12px, 0) rotate(2deg); }
}

.promo-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.promo-title {
    margin-bottom: var(--spacing-xs);
}

.promo-subtitle {
    max-width: 900px;
    margin: 0 auto;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.promo-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.55);
    padding: 18px 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(255, 217, 61, 0.55), rgba(255, 90, 165, 0.45), rgba(74, 144, 226, 0.35));
    opacity: 0.22;
    pointer-events: none;
}

.promo-card:nth-child(1)::before {
    background: linear-gradient(135deg, rgba(255, 217, 61, 0.75), rgba(255, 184, 0, 0.45), rgba(255, 255, 255, 0));
    opacity: 0.28;
}

.promo-card:nth-child(2)::before {
    background: linear-gradient(135deg, rgba(255, 90, 165, 0.6), rgba(255, 45, 122, 0.35), rgba(255, 255, 255, 0));
    opacity: 0.26;
}

.promo-card:nth-child(3)::before {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.55), rgba(45, 156, 219, 0.35), rgba(255, 255, 255, 0));
    opacity: 0.26;
}

.promo-card--wide::before {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.35), rgba(74, 144, 226, 0.35), rgba(255, 217, 61, 0.35));
    opacity: 0.28;
}

.promo-card > * {
    position: relative;
    z-index: 1;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.promo-cta {
    margin-top: 12px;
    width: 100%;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #2c3e50;
    background: linear-gradient(135deg, #ffd93d 0%, #ffb800 100%);
    box-shadow: 0 10px 26px rgba(255, 184, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.promo-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 14px 34px rgba(255, 184, 0, 0.42);
}

.promo-cta:active {
    transform: translateY(0);
}

/* Модалка акций */
.promo-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.promo-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.promo-modal-container {
    background: #ffffff;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    position: relative;
    padding: var(--spacing-lg) var(--spacing-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    max-height: 90vh;
    overflow: auto;
}

.promo-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.promo-modal-title {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    margin: 0 0 6px;
    color: var(--color-text-dark);
}

.promo-modal-subtitle {
    margin: 0 0 var(--spacing-md);
    color: var(--color-text-gray);
    line-height: 1.6;
}

.promo-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.promo-input {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.promo-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.promo-input.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.promo-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
    color: var(--color-text-gray);
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
}

.promo-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.promo-checkbox-label.error {
    border: 2px solid #e74c3c;
    border-radius: var(--border-radius);
    padding: var(--spacing-xs);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.promo-submit-btn {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(74, 144, 226, 0.35);
}

@media (max-width: 480px) {
    .promo-modal-container {
        padding: var(--spacing-md);
        border-radius: 12px;
    }
}

.promo-card-title {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.promo-card-text {
    margin: 0;
    color: var(--color-text-gray);
    line-height: 1.6;
    font-size: 1rem;
}

.promo-card-badges {
    margin: 12px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(74, 144, 226, 0.12);
    border: 1px solid rgba(74, 144, 226, 0.22);
    color: var(--color-text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.promo-card--wide {
    grid-column: 1 / -1;
}

@media (max-width: 1024px) {
    .promo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .promo-card--wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-parallax {
        display: none;
    }
}

.after-school-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-dark);
}

.after-school-subtitle {
    text-align: center;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.05rem;
    color: var(--color-text-gray);
    line-height: 1.6;
}

/* Swiper для карточек преимуществ */
.benefits-swiper {
    padding: 8px 8px 44px;
}

.benefits-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.benefits-swiper .swiper-slide > .benefit-card {
    width: 100%;
}

.benefits-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.8);
    opacity: 1;
}

.benefits-swiper .swiper-pagination-bullet-active {
    background: #ffffff;
}

.benefits-swiper .swiper-button-prev,
.benefits-swiper .swiper-button-next {
    color: rgba(255, 255, 255, 0.95);
}

.benefits-swiper .swiper-button-prev::after,
.benefits-swiper .swiper-button-next::after {
    font-size: 22px;
    font-weight: 800;
}

.benefit-card {
    border-radius: 32px;
    padding: 40px 32px;
    color: #ffffff;
    text-align: center;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  
}

.benefit-icon {
    font-size: 8rem;
    margin-bottom: 12px;
}

.benefit-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.benefit-text {
    font-size: 1.05rem;
    line-height: 1.7;
}

.benefit-card--safety {
    background: radial-gradient(circle at 30% 10%, #ffb3ff 0, #f440ff 45%, #d318ff 100%);
}

.benefit-card--games {
    background: radial-gradient(circle at 30% 10%, #ffeaa0 0, #ffc629 45%, #f5a623 100%);
}

.benefit-card--fun {
    background: radial-gradient(circle at 30% 10%, #d3ff9c 0, #6bcf2f 45%, #3e9b0b 100%);
}

.benefit-card--walks {
    background: radial-gradient(circle at 30% 10%, #a5c9ff 0, #2f7bff 45%, #1853c7 100%);
}

.benefit-card--food {
    background: radial-gradient(circle at 30% 10%, #b8d8ff 0, #4a90e2 45%, #2563eb 100%);
}

.benefit-card--homework {
    background: radial-gradient(circle at 30% 10%, #c8f0ff 0, #59c2ff 45%, #2b7bff 100%);
}

.benefit-card--english {
    background: radial-gradient(circle at 30% 10%, #e6d5ff 0, #9b6bff 45%, #5b34f0 100%);
}

.benefit-card--dailywalks {
    background: radial-gradient(circle at 30% 10%, #caffd3 0, #52d18c 45%, #19a35f 100%);
}

.benefit-card--cooking {
    background: radial-gradient(circle at 30% 10%, #ffe5b5 0, #ffb347 45%, #ff7a18 100%);
}

.benefit-card--decor {
    background: radial-gradient(circle at 30% 10%, #fff2b8 0, #ffd93d 45%, #ff9a1f 100%);
}

.benefit-card--events {
    background: radial-gradient(circle at 30% 10%, #ffd1e6 0, #ff5aa5 45%, #ff2d7a 100%);
}

@media (max-width: 1024px) {
    .benefits-swiper {
        padding-bottom: 40px;
    }
}

@media (max-width: 640px) {
    .benefit-card {
        padding: 32px 24px;
    }
}

/* Блок с дополнительными занятиями */
.extra-activities {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-bg-white);
}

.extra-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-dark);
}

.extra-description {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
    font-size: 1.05rem;
    color: var(--color-text-gray);
    line-height: 1.7;
}

.extra-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--spacing-md);
}

.extra-item {
    background: #f9f9ff;
    border-radius: 20px;
    padding: 18px 16px 20px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(31, 59, 87, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.extra-item--wide {
    grid-column: span 2;
}

.extra-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.extra-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-dark);
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .extra-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .extra-item--wide {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .extra-grid {
        grid-template-columns: 1fr;
    }

    .extra-item--wide {
        grid-column: auto;
    }
}

/* Блок со школами */
.service {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-light);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-item {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--color-text-dark);
}

.service-item-top {
    padding: 18px 20px 14px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #ffffff;
}

.service-item-top__title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.service-item-top__subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
}

.service-item-content {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.service-item-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    color: var(--color-text-dark);
}

.service-item-list li + li {
    margin-top: 4px;
}

.service-item-content__btn {
    align-self: flex-start;
    margin-top: var(--spacing-xs);
}

.btn--yellow {
    background: linear-gradient(135deg, #ffd93d 0%, #ffb800 100%);
    color: #2c3e50;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(255, 184, 0, 0.45);
}

.btn--yellow:hover {
    background: linear-gradient(135deg, #ffea70 0%, #ffc933 100%);
    transform: translateY(-2px);
}

.service-list__item.schedule-form-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.service-list__item.schedule-form-card .schedule-form {
    flex: 1;
}

@media (max-width: 1024px) {
    .service-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .service {
        padding: var(--spacing-lg) 0;
    }

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

@media (max-width: 1024px) {
    .for-kids-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--spacing-md);
    }
}

@media (max-width: 600px) {
    .for-kids {
        padding: var(--spacing-md) 0;
    }

    .for-kids-list {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .for-kids-item {
        max-width: none;
    }
}

/* Блок с буллитами */
.bullets {
    background-color: var(--color-bg-white);
    padding: var(--spacing-lg) 0;
}

.bullets-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.bullet-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #E8F4F8 0%, #F0F8F4 100%);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.bullet-item:nth-child(1) {
    background: linear-gradient(135deg, #E8F4F8 0%, #E0F2F5 100%);
}

.bullet-item:nth-child(1):hover {
    border-color: var(--color-primary);
}

.bullet-item:nth-child(2) {
    background: linear-gradient(135deg, #F0F8F4 0%, #E8F5E8 100%);
}

.bullet-item:nth-child(2):hover {
    border-color: var(--color-secondary);
}

.bullet-item:nth-child(3) {
    background: linear-gradient(135deg, #FFF8E8 0%, #FFF5E0 100%);
}

.bullet-item:nth-child(3):hover {
    border-color: var(--color-accent);
}

.bullet-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.bullet-icon {
    font-size: 4.5rem;
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.bullet-item:nth-child(1) .bullet-icon {
    background: linear-gradient(135deg, #4A90E2 0%, #5BA3F0 100%);
}

.bullet-item:nth-child(2) .bullet-icon {
    background: linear-gradient(135deg, #50C9C3 0%, #60D9D3 100%);
}

.bullet-item:nth-child(3) .bullet-icon {
    background: linear-gradient(135deg, #FFD93D 0%, #FFE55C 100%);
}

.bullet-content {
    flex: 1;
    width: 100%;
}

.bullet-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.bullet-text {
    font-size: 1.05rem;
    color: var(--color-text-gray);
    line-height: 1.6;
    margin: 0;
}

.section-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-dark);
    padding: var(--spacing-sm) 0;
    line-height: 1.3;
}

.section-title::after {
    display: none;
}

.subsection-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 400;
    color: var(--color-text-gray);
    margin-top: calc(var(--spacing-sm) * -1);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

/* О садике и нейроподходе */
.about {
    background-color: var(--color-bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: stretch;
    margin-top: var(--spacing-lg);
}

.about-text p {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    color: var(--color-text-gray);
    line-height: 1.8;
}

.about-text strong {
    color: var(--color-primary);
    font-weight: 600;
}

.about-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    width: 100%;
    max-width: 500px;
    height: 100%;
    justify-content: space-between;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-buttons.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-buttons.visible .about-nav-btn {
    opacity: 1;
    transform: translateX(0);
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Анимация для каждой кнопки с задержкой */
.about-nav-btn {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.about-buttons.visible .about-nav-btn:nth-child(1) {
    transition-delay: 0.1s;
}

.about-buttons.visible .about-nav-btn:nth-child(2) {
    transition-delay: 0.2s;
}

.about-buttons.visible .about-nav-btn:nth-child(3) {
    transition-delay: 0.3s;
}

.about-buttons.visible .about-nav-btn:nth-child(4) {
    transition-delay: 0.4s;
}

.about-buttons.visible .about-nav-btn:nth-child(5) {
    transition-delay: 0.5s;
}

.about-buttons.visible .about-nav-btn:nth-child(6) {
    transition-delay: 0.6s;
}

.about-buttons.visible .about-nav-btn:nth-child(7) {
    transition-delay: 0.7s;
}

.about-nav-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-xs);
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    flex: 1;
}

.about-nav-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #357ABD 0%, #40B9B3 100%);
}

.about-nav-btn-special {
    background: linear-gradient(135deg, var(--color-accent) 0%, #FFE55C 100%);
    color: var(--color-text-dark);
    font-weight: 700;
    border: 3px solid #FFC700;
    box-shadow: 0 4px 20px rgba(255, 217, 61, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    width: auto;
    align-self: center;
    margin: 0 auto;
}

.about-nav-btn-special::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

.about-nav-btn-special:hover {
    background: linear-gradient(135deg, #FFC700 0%, #FFD93D 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 25px rgba(255, 217, 61, 0.6);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 217, 61, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 217, 61, 0.7);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.btn-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-nav-btn-special .btn-icon {
    font-size: 3rem;
    animation: roll 2s ease-in-out infinite;
}

@keyframes roll {
    0%, 100% {
        transform: rotate(0deg) translateY(0);
    }
    25% {
        transform: rotate(-15deg) translateY(-3px);
    }
    50% {
        transform: rotate(0deg) translateY(0);
    }
    75% {
        transform: rotate(15deg) translateY(-3px);
    }
}

.btn-text {
    flex: 1;
    text-align: left;
}

/* Малочисленные группы */
.groups {
    position: relative;
    background-color: var(--color-bg-light);
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.groups-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}

.groups-wave-top svg {
    width: 100%;
    height: 100%;
    display: block;
}

.groups-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}

.groups-wave-bottom svg {
    width: 100%;
    height: 100%;
    display: block;
}

.groups .container {
    position: relative;
    z-index: 2;
    padding: 0 var(--spacing-md);
}

.groups-card {
    padding: 80px var(--spacing-lg) var(--spacing-lg);
    width: 100%;
}

.groups-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.group-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
    text-align: center;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.05);
}

.group-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(74, 144, 226, 0.15);
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(74, 144, 226, 0.2);
}

.group-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.group-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--border-radius);
}

.group-item:hover .group-image::after {
    opacity: 1;
}

.group-item:hover .group-image {
    box-shadow: 0 12px 30px rgba(74, 144, 226, 0.25);
    transform: scale(1.02);
}

.group-photo {
    width: 100%;
    height: 262.5px;
    max-height: 262.5px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.group-item:hover .group-photo {
    transform: scale(1.05);
}

.icon-circle {
    width: 100%;
    height: 300px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.group-text {
    width: 100%;
}

.group-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.group-description {
    font-size: 1.05rem;
    color: var(--color-text-gray);
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
}

.group-item:hover .group-description {
    color: var(--color-text-dark);
}

/* Питание */
.nutrition {
    background-color: var(--color-bg-white);
}

.nutrition-meals {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
}

.nutrition-meal-card {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-border);
    border-radius: 50px;
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--color-bg-white);
    text-align: center;
    width: auto;
    min-width: fit-content;
}

.meal-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.nutrition-list {
    list-style: none;
    margin: var(--spacing-lg) auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.nutrition-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    color: var(--color-text-gray);
}

.nutrition-list li span:not(.nutrition-icon) {
    display: block;
}

.nutrition-icon {
    font-size: 6rem;
    flex-shrink: 0;
}

.about-mobile-btn-wrapper {
    display: none;
}

.groups-mobile-btn-wrapper,
.formats-mobile-btn-wrapper {
    display: none;
}

/* Фотогалерея */
.photo-gallery {
    width: 100%;
    padding: var(--spacing-sm);
    margin: 0;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-sm);
    width: 100%;
}

.gallery-item {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Модальное окно для просмотра изображения */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--border-radius);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-close:hover {
    color: var(--color-primary);
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.modal-nav:hover {
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--color-primary);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-content {
    cursor: default;
}

/* 15 видов занятий - Расписание */
.activities {
    background-color: var(--color-bg-light);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.activities-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}

.activities-wave-top svg {
    width: 100%;
    height: 100%;
    display: block;
}

.activities-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}

.activities-wave-bottom svg {
    width: 100%;
    height: 100%;
    display: block;
}

.activities .container {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl) var(--spacing-md);
}

.schedule-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(90deg, #FF6B9D 0%, #FFB3D1 50%, #FF6B9D 100%);
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.1) 10px,
        rgba(255, 255, 255, 0.1) 20px
    );
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    z-index: 1;
}


.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.schedule-form-card .schedule-day-title {
    text-transform: none;
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
}

.schedule-day-card {
    background: linear-gradient(135deg, #E8F4F8 0%, #F0F8F4 100%);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    border: 2px solid transparent;
}

.schedule-day-card:nth-child(1) {
    background: linear-gradient(135deg, #E8F4F8 0%, #E0F2F5 100%);
}

.schedule-day-card:nth-child(1):hover {
    border-color: var(--color-primary);
}

.schedule-day-card:nth-child(2) {
    background: linear-gradient(135deg, #F0F8F4 0%, #E8F5E8 100%);
}

.schedule-day-card:nth-child(2):hover {
    border-color: var(--color-secondary);
}

.schedule-day-card:nth-child(3) {
    background: linear-gradient(135deg, #FFF8E8 0%, #FFF5E0 100%);
}

.schedule-day-card:nth-child(3):hover {
    border-color: var(--color-accent);
}

.schedule-day-card:nth-child(4) {
    background: linear-gradient(135deg, #F5E8F8 0%, #F0E0F5 100%);
}

.schedule-day-card:nth-child(4):hover {
    border-color: #9B59B6;
}

.schedule-day-card:nth-child(5) {
    background: linear-gradient(135deg, #E8F0F8 0%, #E0E8F5 100%);
}

.schedule-day-card:nth-child(5):hover {
    border-color: #3498DB;
}

.schedule-day-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.schedule-day-card::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    border-radius: 0 0 12px 0;
    transform: rotate(5deg);
}


.schedule-pin {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, #ff4444 0%, #cc0000 100%);
    border-radius: 50% 50% 50% 0;
    transform: translateX(-50%) rotate(-45deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.schedule-pin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.schedule-day-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: var(--spacing-xs);
}

.schedule-activities {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-activities li {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) 0;
    color: var(--color-text-dark);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    text-transform: uppercase;
}

.schedule-activities li span:not(.activity-icon-small) {
    text-transform: uppercase;
}

.activity-icon-small {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}

/* Форма записи */
.schedule-form-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff !important;
}

.schedule-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.schedule-input {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.schedule-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.schedule-input.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.3);
}

.schedule-input.error:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.3);
}

.schedule-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
    color: var(--color-text-gray);
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
}

.schedule-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.schedule-checkbox-label span {
    flex: 1;
}

.schedule-checkbox-label.error {
    border: 2px solid #e74c3c;
    border-radius: var(--border-radius);
    padding: var(--spacing-xs);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

.privacy-link {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.privacy-link:hover {
    border-bottom-color: var(--color-primary);
}

.schedule-submit-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border: none;
    border-radius: 150px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.schedule-submit-btn:active {
    transform: translateY(0);
}

/* Режим дня */
.schedule {
    position: relative;
    overflow: hidden;
    background-color: #fbfbf7;
    /* тетрадная клетка */
    background-image:
        linear-gradient(to right, rgba(73, 108, 164, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(73, 108, 164, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 90, 165, 0.18) 2px, transparent 2px);
    background-size: 26px 26px, 26px 26px, 100% 52px;
    background-position: 0 0, 0 0, 0 60px; /* розовая “линия” тетради */
    padding: var(--spacing-xl) 0;
}

.schedule::before {
    /* лёгкая “бумажная” подсветка */
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 10% 10%, rgba(255, 217, 61, 0.25) 0%, rgba(255, 217, 61, 0) 60%),
        radial-gradient(900px 420px at 90% 15%, rgba(74, 144, 226, 0.18) 0%, rgba(74, 144, 226, 0) 60%),
        radial-gradient(900px 420px at 60% 95%, rgba(255, 90, 165, 0.15) 0%, rgba(255, 90, 165, 0) 65%);
    pointer-events: none;
    opacity: 0.9;
}

.schedule::after {
    /* линейка/карандаш внизу справа (декор) */
    content: '';
    position: absolute;
    right: -60px;
    bottom: -30px;
    width: 280px;
    height: 120px;
    background:
        linear-gradient(135deg, rgba(255, 217, 61, 0.55) 0%, rgba(255, 184, 0, 0.2) 60%, rgba(255, 255, 255, 0) 100%);
    border-radius: 24px;
    transform: rotate(-8deg);
    opacity: 0.8;
    pointer-events: none;
}

.schedule .container {
    position: relative;
    z-index: 2;
}

.schedule-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.schedule-time-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: #fff;
    border-radius: var(--border-radius);
    border: 2px solid rgba(74, 144, 226, 0.2);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.schedule-time-item:nth-child(1) { animation-delay: 0.1s; }
.schedule-time-item:nth-child(2) { animation-delay: 0.2s; }
.schedule-time-item:nth-child(3) { animation-delay: 0.3s; }
.schedule-time-item:nth-child(4) { animation-delay: 0.4s; }
.schedule-time-item:nth-child(5) { animation-delay: 0.5s; }
.schedule-time-item:nth-child(6) { animation-delay: 0.6s; }
.schedule-time-item:nth-child(7) { animation-delay: 0.7s; }
.schedule-time-item:nth-child(8) { animation-delay: 0.8s; }
.schedule-time-item:nth-child(9) { animation-delay: 0.9s; }
.schedule-time-item:nth-child(10) { animation-delay: 1s; }
.schedule-time-item:nth-child(11) { animation-delay: 1.1s; }
.schedule-time-item:nth-child(12) { animation-delay: 1.2s; }
.schedule-time-item:nth-child(13) { animation-delay: 1.3s; }
.schedule-time-item:nth-child(14) { animation-delay: 1.4s; }



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.schedule-time-item:last-child {
    border-bottom: none;
}

/* Новый режим дня продлёнки: две колонки */
.schedule-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.schedule-column {
    position: relative;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
    padding: 18px 18px 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.schedule-column::before {
    /* “скрепка” сверху */
    content: '';
    position: absolute;
    top: -14px;
    left: 18px;
    width: 54px;
    height: 26px;
    border: 3px solid rgba(40, 40, 40, 0.45);
    border-bottom: none;
    border-radius: 18px 18px 0 0;
    transform: rotate(-10deg);
    opacity: 0.55;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.schedule-column::after {
    /* маленький “ластик” в углу */
    content: '';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 18px;
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(255, 90, 165, 0.55) 0%, rgba(255, 217, 61, 0.45) 100%);
    opacity: 0.55;
    transform: rotate(8deg);
}

.schedule-column-title {
    font-family: 'Caveat', 'Comic Sans MS', cursive;
    font-size: clamp(2.1rem, 2.6vw, 2.6rem);
    font-weight: 700;
    text-align: center;
    margin: 8px 0 12px;
    letter-spacing: 0.5px;
    text-transform: none;
    color: var(--color-text-dark);
}

.schedule-column-title::after {
    /* подчеркивание как “линия темы” */
    content: '';
    display: block;
    height: 6px;
    width: min(320px, 82%);
    margin: 8px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 90, 165, 0.55) 0%, rgba(255, 217, 61, 0.55) 40%, rgba(74, 144, 226, 0.55) 100%);
    opacity: 0.55;
}

.schedule-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.schedule-list li {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: baseline;
    column-gap: var(--spacing-sm);
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px dashed rgba(73, 108, 164, 0.18);
    background: rgba(255, 255, 255, 0.65);
}

.schedule-list li:nth-child(odd) {
    background: rgba(74, 144, 226, 0.06);
}

.schedule-list-time {
    font-weight: 700;
    color: #27496d;
    font-size: 0.98rem;
}

.schedule-list-text {
    font-size: 0.98rem;
    text-transform: none;
    color: var(--color-text-dark);
}

@media (max-width: 768px) {
    .schedule-columns {
        grid-template-columns: 1fr;
    }
    .schedule::after {
        opacity: 0.35;
    }
}

.time-badge {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.3rem;
    min-width: 140px;
    text-align: left;
    letter-spacing: 0.5px;
}

.time-description {
    color: var(--color-text-dark);
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 500;
    flex: 1;text-transform: uppercase;
}

/* Форматы посещения */
.formats {
    background-color: var(--color-bg-light);
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.format-card {
    background-color: var(--color-bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.format-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.format-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.format-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.format-card p {
    color: var(--color-text-gray);
    font-size: 1.05rem;
}

.schedule-highlight {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent) 0%, #FFE55C 100%);
    color: var(--color-text-dark);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.4);
    border: 3px solid #FFC700;
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Блок для самых маленьких */
.babies {
    background-color: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

.babies::after {
    display: none;
}

.babies .container {
    position: relative;
    z-index: 2;
}

.babies-params {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
    margin: var(--spacing-md) 0 var(--spacing-lg);
}

.param-item {
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius);
    font-size: 1.05rem;
    color: var(--color-text-gray);
    box-shadow: var(--shadow-sm);
}

.babies-content {
    max-width: 800px;
    margin: var(--spacing-lg) auto;
}

.babies-content p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
    color: var(--color-text-gray);
    line-height: 1.8;
}

.babies-directions {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
    max-width: 900px;
    margin: var(--spacing-sm) auto 0;
    padding: 0;
}

.babies-directions li {
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border: 2px solid #ffffff;
    border-radius: var(--border-radius);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    padding-left: var(--spacing-md);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.babies-directions li:nth-child(1) { animation-delay: 0.1s; }
.babies-directions li:nth-child(2) { animation-delay: 0.2s; }
.babies-directions li:nth-child(3) { animation-delay: 0.3s; }
.babies-directions li:nth-child(4) { animation-delay: 0.4s; }
.babies-directions li:nth-child(5) { animation-delay: 0.5s; }
.babies-directions li:nth-child(6) { animation-delay: 0.6s; }
.babies-directions li:nth-child(7) { animation-delay: 0.7s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Фотогалерея */
.gallery-section {
    background-color: var(--color-bg-white);
    padding: var(--spacing-xl) 0;
    padding-bottom:0px;
}

.gallery-container {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

.gallery-container .section-title {
    text-align: center;
    padding: 0 var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    margin-top: 0;
    width: 100%;
    padding: 4px;
}

.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: none;
    transition: all 0.3s ease;
    aspect-ratio: 4 / 3; /* Горизонтальный формат */
    cursor: pointer;
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: scale(1.05);
    z-index: 10;
    border-color: var(--color-primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-show-more {
    display: block;
    margin: var(--spacing-lg) auto 0;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #ffffff;
    border: none;
    border-radius: 150px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Comfortaa', sans-serif;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.gallery-show-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

@media (max-width: 768px) {
    .gallery-container .section-title {
        padding: 0 var(--spacing-md);
    }
    
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    
    .gallery-item {
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
}

.babies-directions li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
    border-color: #ffffff;
    background: linear-gradient(135deg, #357ABD 0%, #40B9B3 100%);
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.15) rotate(180deg);
        opacity: 0.85;
    }
}

/* Записаться на экскурсию + контакты */
.contact {
    background-color: var(--color-bg-light);
    padding: var(--spacing-md) 0;
    position: relative;
    overflow: hidden;
}

.contact-bg-image {
    position: absolute;
    top: -73px;
    left: 0;
    -webkit-filter: drop-shadow(8px 4px 19px rgb(87 87 87 / 5%));
    filter: drop-shadow(8px 4px 19px rgb(87 87 87 / 5%));
    max-width: none;
    height: auto;
    z-index: 0;
    pointer-events: none;
    max-width: 400px;
    animation: floatImage 3s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.contact-info-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.3;
    margin: 0 0 var(--spacing-md) 0;
}

.contact-info-title-large {
    font-family: 'Comfortaa', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--color-text-dark);
    line-height: 1.2;
    margin: 0 0 var(--spacing-xs) 0;
}

.contact-info-title-small {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 500;
    color: var(--color-text-gray);
    line-height: 1.4;
    margin: 0;
}

.contact-info-arrow {
    width: 50px;
    height: 50px;
    position: relative;
    margin-top: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-arrow::after {
    content: '→';
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: bold;
    animation: arrowPulse 2s ease-in-out infinite;
    display: block;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(15px);
        opacity: 0.8;
    }
}

.contact-info-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 500;
    color: var(--color-text-gray);
    line-height: 1.4;
    margin: 0;
}

.contact-form-wrapper {
    background-color: #ffffff;
    border-radius: 16px;
    padding: var(--spacing-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.contact-form-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-gray);
    line-height: 1.4;
    margin: 0 0 var(--spacing-md) 0;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    background-color: #ffffff;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
    color: var(--color-text-gray);
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.form-checkbox-label span {
    flex: 1;
}

.form-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border: none;
    border-radius: 150px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: var(--spacing-sm);
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.form-submit-btn:active {
    transform: translateY(0);
}

.form-submit-btn svg {
    width: 20px;
    height: 20px;
}

.phone-link:hover {
    text-decoration: underline;
}

.addresses-list {
    list-style: none;
    max-width: 600px;
    margin: var(--spacing-lg) auto 0;
    display: grid;
    gap: var(--spacing-sm);
}

.addresses-list li {
    padding: var(--spacing-md);
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    color: var(--color-text-gray);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

/* Текстовый блок перед футером */
.text-content-section {
    background-color: var(--color-bg-white);
    padding: var(--spacing-xl) 0;
}

.text-content-section h2 {
    font-family: 'Comfortaa', sans-serif;
    font-size: 2rem;
    font-weight: 700;
 
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.text-content-section h2:first-child {
    margin-top: 32px;
}

.text-content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-gray);
    
}

.text-content-section ul {
    margin: 0 0 var(--spacing-md);
    padding-left: 1.25rem;
    color: var(--color-text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.text-content-section li + li {
    margin-top: 0.35rem;
}

/* Footer */
footer {
    background-color: #2d2d2d;
    color: white;
    padding: var(--spacing-sm) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

/* Левая колонка */
.footer-column-left {
    align-items: flex-start;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0;
}

.footer-description {
    font-size: 0.75rem;
    color: white;
    line-height: 1.3;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 0;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-credit {
    color: #fff;
    font-size: 0.7rem;
    margin-top: 0;
    margin-bottom: 0;
}

/* Правая колонка */
.footer-column-right {
    align-items: flex-end;
    text-align: right;
}

.footer-phone {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
   
    transition: opacity 0.3s ease;
    display: block;
    line-height: 1.2;
}

.footer-phone:hover {
    opacity: 0.8;
}

.footer-schedule {
    display: flex;
    flex-direction: column;
   
}

.schedule-item {
    display: block;
    font-size: 0.9rem;
    line-height: 1.4;
    color: white;
}

.schedule-label {
    font-size: 0.9rem;
    color: white;
    display: inline;
}

.schedule-time {
    font-size: 0.9rem;
    color: #ffd700;
    font-weight: 500;
    display: inline;
}

.schedule-time.schedule-off {
    color: #f15b5b;
}

.footer-sitemap {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
    margin-top: 0;
    display: block;
}

.footer-sitemap:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Мобильные устройства и маленькие планшеты (до 768px) */
@media (max-width: 768px) {
    :root {
        --spacing-xs: 0.4rem;
        --spacing-sm: 0.8rem;
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 2.5rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }

    section {
        padding: var(--spacing-md) 0;
    }

    .hero {
        min-height: 100vh;
        padding: 0;
    }
    
    .groups-wave-top,
    .groups-wave-bottom,
    .activities-wave-top,
    .activities-wave-bottom,
    .hero-wave {
        height: 0;
        display: none;
    }
    
    .activities .container {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    .nav-content {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: var(--spacing-xs);
        width: 100%;
    }
    
    .nav-logo-section {
        width: auto;
        flex-shrink: 0;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        min-width: 0;
    }
    
    .nav-logo-img {
        height: 30px;
        width: auto;
        flex-shrink: 0;
    }
    
    /* Убираем соцсети полностью на мобильных */
    .nav-social {
        display: none !important;
    }
    
    .nav-menu,
    .nav-btn {
        display: none;
    }

    .nav-contact {
        margin-left: 0;
        gap: var(--spacing-xs);
        flex-shrink: 1;
        display: flex;
        align-items: center;
        min-width: 0;
        overflow: hidden;
    }

    .nav-phone {
        font-size: 1.3rem;
        color: #ffffff;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-shrink: 0;
    }

    .nav-hamburger {
        display: flex;
        flex-shrink: 0;
        margin-left: 0;
    }
    
    .hero-content {
        padding: 80px var(--spacing-sm) var(--spacing-md);
    }
    
    .hero-text-wrapper {
        width: 100%;
        max-width: 100%;
    }
    
    .bullets-list {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .bullet-item {
        padding: var(--spacing-md);
    }
    
    .bullet-title {
        font-size: 1.1rem;
    }
    
    .bullet-text {
        font-size: 1rem;
    }
    

    .about-mobile-btn-wrapper {
        display: block !important;
        margin-bottom: var(--spacing-lg);
        text-align: center;
        width: 100%;
    }
    
    .about-mobile-btn {
        width: 100%;
        max-width: 100%;
        display: flex !important;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .groups-mobile-btn-wrapper,
    .formats-mobile-btn-wrapper {
        display: block !important;
        margin: var(--spacing-lg) auto;
        text-align: center;
        width: 100%;
        padding: 0 var(--spacing-md);
    }
    
    .groups-mobile-btn,
    .formats-mobile-btn {
        width: 100%;
        max-width: 100%;
        display: flex !important;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-buttons {
        max-width: 100%;
    }
    
    .groups .container {
        padding: 0;
    }
    
    .groups-card {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    .groups-list {
        grid-template-columns: 1fr;
    }
    
    .group-item {
        text-align: center;
    }
    
    .icon-circle {
        height: 250px;
        font-size: 4rem;
    }
    
    .about-nav-btn {
        font-size: 1rem;
        padding: 0.7rem 0.9rem;
        flex-direction: row;
        gap: 0.5rem;
        justify-content: flex-start;
    }
    
    .btn-icon {
        font-size: 1.3rem;
    }

    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .schedule-day-card {
        padding: var(--spacing-sm);
    }
    
    .schedule-day-title {
        font-size: 1.3rem;
    }
    
    .schedule-activities li {
        font-size: 1.1rem;
    }
    
    .schedule-form-card .schedule-day-title {
        font-size: 1.2rem;
    }
    
    .schedule-input {
        font-size: 1rem;
        padding: 0.9rem 1rem;
    }
    
    .schedule-submit-btn {
        font-size: 1.1rem;
        padding: 0.9rem 1.5rem;
    }

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

    .babies-directions {
        grid-template-columns: 1fr;
    }
    
    .nutrition-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item {
        height: 250px;
    }

    .schedule-timeline {
        gap: var(--spacing-sm);
    }
    
    .schedule-time-item {
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
    }
    
    .time-badge {
        min-width: 120px;
        font-size: 1.2rem;
    }
    
    .time-description {
        font-size: 1.1rem;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    /* Оптимизация контактов */
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: var(--spacing-md);
    }
    
    /* Оптимизация форм */
    .form-input,
    .form-select {
        font-size: 1rem;
        padding: 0.85rem 1rem;
    }
    
    .form-submit-btn {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
    
    /* Оптимизация расписания */
    .schedule-timeline {
        gap: var(--spacing-sm);
    }
    
    .schedule-time-item {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.95rem;
    }
    
    .time-badge {
        min-width: 100px;
        font-size: 1rem;
    }
    
    /* Адаптивный футер */
    footer {
        padding: var(--spacing-sm) 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .footer-column {
        align-items: center;
        gap: var(--spacing-xs);
    }
    
    .footer-column-left {
        align-items: center;
    }
    
    .footer-column-right {
        align-items: center;
        text-align: center;
    }
    
    .footer-logo-img {
        height: 35px;
    }
    
    .footer-description {
        text-align: center;
        font-size: 0.7rem;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-link {
        font-size: 0.7rem;
    }
    
    .footer-credit {
        font-size: 0.65rem;
    }
    
    .footer-phone {
        font-size: 1.2rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .footer-schedule {
        gap: var(--spacing-xs);
        margin-bottom: var(--spacing-xs);
    }
    
    .schedule-item {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .schedule-label {
        font-size: 0.8rem;
    }
    
    .schedule-time {
        font-size: 0.8rem;
    }
    
    .footer-sitemap {
        font-size: 0.8rem;
    }
}

/* Оптимизация для маленьких мобильных */
@media (max-width: 480px) {
    :root {
        --spacing-xs: 0.3rem;
        --spacing-sm: 0.6rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-note {
        font-size: 1rem;
        padding: var(--spacing-sm);
        margin-top: var(--spacing-sm);
    }
    
    .btn {
        font-size: 0.85rem;
        padding: 0.8rem 1.5rem;
    }
    
    .hero-address-block {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--spacing-sm);
        flex-wrap: nowrap;
    }
    
    .hero-address-image {
        max-height: 140px;
        height: auto;
        width: auto;
        flex-shrink: 0;
        object-fit: contain;
    }
    
    .hero-address-content {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }
    
    .hero-address-title {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-xs);
        line-height: 1.3;
    }
    
    .hero-address-item {
        font-size: 1.15rem;
        line-height: 1.4;
        margin: 0;
    }

    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        padding: var(--spacing-xs) 0;
        line-height: 1.2;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
    }

    .subsection-title {
        font-size: 1.1rem;
    }

    .about-text p,
    .babies-content p {
        font-size: 0.95rem;
    }
    
    .contact {
        padding: var(--spacing-sm) 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .contact-info {
        padding: var(--spacing-sm);
        align-items: center;
        text-align: center;
    }
    
    .contact-info-arrow {
        margin: var(--spacing-xs) auto 0;
    }
    
    .contact-bg-image {
        display: none;
    }
    
    .contact-info-title-large {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: var(--spacing-xs);
    }
    
    .contact-info-title-small {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
    
    .contact-info-title {
        font-size: 1.2rem;
    }
    
    .contact-form-wrapper {
        padding: var(--spacing-md);
    }
    
    .contact-form-subtitle {
        font-size: 0.9rem;
    }
    
    .contact-form-title {
        font-size: 1.2rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .contact-form-subtitle {
        font-size: 0.9rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .contact-form {
        gap: var(--spacing-xs);
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .schedule-day-card {
        padding: var(--spacing-sm);
    }
    
    .schedule-day-title {
        font-size: 1.2rem;
    }
    
    .schedule-activities li {
        font-size: 1rem;
    }
    
    .activity-icon-small {
        font-size: 1.5rem;
        width: 32px;
    }
    
    .schedule-form-card .schedule-day-title {
        font-size: 1.1rem;
    }
    
    .schedule-input {
        font-size: 0.95rem;
        padding: 0.8rem 0.9rem;
    }
    
    .schedule-submit-btn {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
    
    .schedule-checkbox-label {
        font-size: 0.85rem;
    }
    
    .schedule-main-title {
        margin-top: 80px;
        font-size: 1.8rem;
    }
    
    .schedule-subtitle {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
    }
    
    .schedule-timeline {
        grid-template-columns: 1fr;
    }
    
    .schedule-timeline {
        gap: var(--spacing-sm);
    }
    
    .schedule-time-item {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .time-badge {
        font-size: 1.1rem;
        min-width: 100px;
    }
    
    .time-description {
        font-size: 1rem;
    }
    
    .nutrition-meals {
        gap: var(--spacing-xs);
    }
    
    .meal-title {
        font-size: 0.95rem;
    }
    
    .nutrition-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nutrition-list {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .nutrition-list li {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: var(--spacing-md);
        gap: var(--spacing-md);
    }
    
    .nutrition-icon {
        font-size: 3rem;
        flex-shrink: 0;
        width: auto;
        text-align: left;
    }
    
    .nutrition-list li span:not(.nutrition-icon) {
        flex: 1;
        text-align: left;
    }
    
    /* Адаптивный футер для маленьких мобильных */
    footer {
        padding: var(--spacing-xs) 0;
    }
    
    .footer-logo-img {
        height: 30px;
    }
    
    .footer-description {
        font-size: 0.65rem;
    }
    
    .footer-link {
        font-size: 0.65rem;
    }
    
    .footer-credit {
        font-size: 0.6rem;
    }
    
    .footer-phone {
        font-size: 1rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .footer-schedule {
        gap: 2px;
        margin-bottom: var(--spacing-xs);
    }
    
    .schedule-item {
        font-size: 0.75rem;
        text-align: center;
    }
    
    .schedule-label {
        font-size: 0.75rem;
    }
    
    .schedule-time {
        font-size: 0.75rem;
    }
    
    .footer-sitemap {
        font-size: 0.75rem;
    }
    
    .contact-info-title-large {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    
    .contact-info-title-small {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
    }
}

@media (max-width: 480px) {
    .nutrition-meals {
        gap: var(--spacing-xs);
    }
    
    .meal-title {
        font-size: 0.9rem;
    }
    
    .nutrition-list {
        grid-template-columns: 1fr;
    }
    
    .nutrition-list {
        grid-template-columns: 1fr;
    }
    
    .nutrition-list li {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: var(--spacing-sm) var(--spacing-md);
        gap: var(--spacing-sm);
    }
    
    .nutrition-icon {
        font-size: 2.5rem;
        flex-shrink: 0;
        width: auto;
        text-align: left;
    }
    
    .nutrition-list li span:not(.nutrition-icon) {
        flex: 1;
        text-align: left;
        font-size: 0.95rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item {
        height: 200px;
    }
}

/* Квиз модальное окно */
.quiz-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md);
    overflow-y: auto;
}

.quiz-modal-content {
    background-color: #ffffff;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: quizSlideIn 0.3s ease-out;
}

@keyframes quizSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.quiz-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--color-text-gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.quiz-close:hover {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

.quiz-step {
    display: none;
   
}

.quiz-step.active {
    display: block;
}

.quiz-step-content {
    text-align: center;
}

.quiz-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.quiz-description {
    font-size: 1.1rem;
    color: var(--color-text-gray);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.quiz-subtitle {
    font-size: 1rem;
    color: var(--color-text-gray);
    margin-bottom: var(--spacing-md);
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.quiz-option {
    display: flex;
    align-items: center;
    padding: var(--spacing-md);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--color-bg-white);
}

.quiz-option:hover {
    border-color: var(--color-primary);
    background-color: var(--color-bg-light);
    transform: translateX(5px);
}

.quiz-option input[type="radio"],
.quiz-option input[type="checkbox"] {
    margin-right: var(--spacing-sm);
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-primary);
    flex-shrink: 0;
}

.quiz-option input[type="radio"]:checked + span,
.quiz-option input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: var(--color-primary);
}

.quiz-option:has(input:checked) {
    border-color: var(--color-primary);
    background-color: rgba(74, 144, 226, 0.1);
}

.quiz-option span {
    flex: 1;
    font-size: 1rem;
    color: var(--color-text-dark);
}

.quiz-options-multiple .quiz-option {
    border-style: dashed;
}

.quiz-options-contact .quiz-option {
    padding: var(--spacing-sm) var(--spacing-md);
}

.quiz-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

.quiz-btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 120px;
}

.quiz-btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    box-shadow: var(--shadow-sm);
}

.quiz-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quiz-btn-secondary {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    border: 2px solid var(--color-border);
}

.quiz-btn-secondary:hover {
    background-color: var(--color-border);
    transform: translateY(-2px);
}

.quiz-input {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-bottom: var(--spacing-sm);
}

.quiz-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.quiz-input.error {
    border-color: #e74c3c;
}

.quiz-error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: var(--spacing-xs);
    min-height: 20px;
    text-align: left;
}

.form-group {

    text-align: left;
}

.quiz-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    display: block;
}

.quiz-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
    color: var(--color-text-gray);
    line-height: 1.5;
    cursor: pointer;
    margin: var(--spacing-md) 0;
    text-align: left;
}

.quiz-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.quiz-step-thanks {
    padding: var(--spacing-xl) var(--spacing-lg);
}

.quiz-thanks-icon {
    font-size: 5rem;
    margin-bottom: var(--spacing-md);
    animation: bounce 1s ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Адаптивность квиза */
@media (max-width: 768px) {
    .quiz-modal-content {
        max-width: 100%;
        border-radius: 15px;
        margin: var(--spacing-sm);
    }

    .quiz-step {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .quiz-title {
        font-size: 1.5rem;
    }

    .quiz-description {
        font-size: 1rem;
    }

    .quiz-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-width: 100px;
    }

    .quiz-option {
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .quiz-modal {
        padding: var(--spacing-xs);
    }

    .quiz-modal-content {
        border-radius: 10px;
    }

    .quiz-step {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .quiz-title {
        font-size: 1.3rem;
    }

    .quiz-thanks-icon {
        font-size: 4rem;
    }

    .quiz-buttons {
        flex-direction: column;
    }

    .quiz-btn {
        width: 100%;
    }
}

/* Интерактивный квиз */
.quiz-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md);
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quiz-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.quiz-modal-container {
    background: #ffffff;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: quizSlideIn 0.4s ease-out;
    padding: var(--spacing-md);
}

@keyframes quizSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.quiz-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-bg-light);
    border: none;
    font-size: 24px;
    color: var(--color-text-gray);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.quiz-close-btn:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: rotate(90deg);
}

/* Прогресс-бар */
.quiz-progress {

    position: relative;
}

.quiz-progress-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 2px;
    width: 0%;
    transition: width 0.4s ease;
}

.quiz-progress-text {
    text-align: center;
    margin-top: var(--spacing-xs);
    font-size: 0.8rem;
    color: var(--color-text-gray);
    font-weight: 600;
}

/* Шаги квиза */
.quiz-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.quiz-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quiz-step-main-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 900;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
    text-align: center;
    line-height: 1.2;
}

.quiz-step-subtitle {
    font-family: 'Comfortaa', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.quiz-step-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.2rem);
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quiz-step-description {
    font-size: 0.95rem;
    color: var(--color-text-gray);
    margin-bottom: var(--spacing-md);
    text-align: center;
    line-height: 1.5;
}

/* Плитки выбора */
.quiz-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.quiz-option-tile {
    position: relative;
    cursor: pointer;
    border: 2px solid var(--color-border);
    border-radius: 10px;
  
    background: var(--color-bg-white);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}

.quiz-option-tile:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.2);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(80, 201, 195, 0.05) 100%);
}

.quiz-option-tile input[type="radio"],
.quiz-option-tile input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.quiz-option-tile input[type="radio"]:checked + .tile-content,
.quiz-option-tile input[type="checkbox"]:checked + .tile-content {
    color: var(--color-primary);
}

.quiz-option-tile:has(input:checked) {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(80, 201, 195, 0.1) 100%);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.tile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-xs);
}

.tile-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.tile-subtitle {
    font-size: 0.8rem;
    color: var(--color-text-gray);
}

/* Форма контактов */
.quiz-form-fields {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.quiz-form-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.quiz-input,
.quiz-select,
.quiz-textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
    background-color: #ffffff;
}

.quiz-input:focus,
.quiz-select:focus,
.quiz-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.quiz-input.error,
.quiz-select.error,
.quiz-textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.quiz-textarea {
    resize: vertical;
    min-height: 50px;
}

.quiz-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.quiz-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    font-size: 0.8rem;
    color: var(--color-text-gray);
    line-height: 1.4;
    cursor: pointer;
    margin-top: var(--spacing-xs);
    padding: var(--spacing-xs);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.quiz-checkbox-label.error {
    border: 2px solid #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

.quiz-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.quiz-error {
    display: none !important;
}

/* Навигация */
.quiz-navigation {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-sm);
   
    padding-top: var(--spacing-sm);
    border-top: 2px solid var(--color-border);
}

.quiz-nav-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 150px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Comfortaa', sans-serif;
    flex: 1;
}

.quiz-btn-back {
    background: var(--color-bg-light);
    color: var(--color-text-dark);
    border: 2px solid var(--color-border);
}

.quiz-btn-back:hover {
    background: var(--color-border);
    transform: translateY(-2px);
}

.quiz-btn-next,
.quiz-btn-submit {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.quiz-btn-next:hover,
.quiz-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* Экран благодарности */
.quiz-thanks-content {
    text-align: center;
    padding: var(--spacing-md) 0;
}

.quiz-thanks-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    animation: bounce 1s ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.quiz-social-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.quiz-social-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
   
}

.quiz-social-vk {
    background: #4C75A3;
    color: #ffffff;
}

.quiz-social-vk:hover {
    background: #3d5f8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 117, 163, 0.4);
}

.quiz-social-telegram {
    background: #0088cc;
    color: #ffffff;
}

.quiz-social-telegram:hover {
    background: #006ba3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

/* Модальное окно "Спасибо" для форм */
.thanks-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md);
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thanks-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.thanks-modal-container {
    background: #ffffff;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: quizSlideIn 0.4s ease-out;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.thanks-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-bg-light);
    border: none;
    font-size: 24px;
    color: var(--color-text-gray);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.thanks-close-btn:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: rotate(90deg);
}

.thanks-content {
    text-align: center;
    padding: var(--spacing-md) 0;
}

.thanks-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    animation: bounce 1s ease-in-out;
}

.thanks-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.thanks-description {
    font-size: 1.05rem;
    color: var(--color-text-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.thanks-social-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.thanks-social-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Comfortaa', sans-serif;
}

.thanks-social-vk {
    background: #4C75A3;
    color: #ffffff;
}

.thanks-social-vk:hover {
    background: #3d5f8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 117, 163, 0.4);
}

.thanks-social-telegram {
    background: #0088cc;
    color: #ffffff;
}

.thanks-social-telegram:hover {
    background: #006ba3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

.thanks-close-button {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 150px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Comfortaa', sans-serif;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.thanks-close-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

@media (max-width: 768px) {
    .thanks-modal-container {
        padding: var(--spacing-lg) var(--spacing-md);
        max-width: 95%;
    }
    
    .thanks-title {
        font-size: 1.5rem;
    }
    
    .thanks-description {
        font-size: 1rem;
    }
    
    .thanks-social-buttons {
        flex-direction: column;
    }
    
    .thanks-social-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .thanks-modal-container {
        padding: var(--spacing-md);
        border-radius: 12px;
        max-width: 98%;
    }
    
    .thanks-icon {
        font-size: 3rem;
    }
    
    .thanks-title {
        font-size: 1.3rem;
    }
    
    .thanks-description {
        font-size: 0.9rem;
    }
}

/* Адаптивность квиза */
@media (max-width: 768px) {
    .contact-bg-image {

        opacity: 0.4;
    }
    .quiz-modal-container {
        padding: var(--spacing-md) var(--spacing-sm);
        max-height: 90vh;
        max-width: 95%;
    }
    
    .quiz-step-title {
        font-size: 1.2rem;
    }
    
    .quiz-step-description {
        font-size: 0.85rem;
    }
    
    .quiz-options-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }
    
    .quiz-option-tile {
        min-height: 60px;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .tile-title {
        font-size: 0.9rem;
    }
    
    .tile-subtitle {
        font-size: 0.75rem;
    }
    
    .quiz-navigation {
        flex-direction: row-reverse;
        gap: var(--spacing-sm);
    }
    
    .quiz-nav-btn {
        flex: 1;
    }
    
    .quiz-btn-next {
        flex: 2;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        order: -1;
    }
    
    .quiz-btn-back {
        order: 1;
    }
    
    .quiz-social-buttons {
        flex-direction: column;
    }
    
    .quiz-social-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .quiz-modal-container {
        padding: var(--spacing-sm);
        border-radius: 12px;
        max-width: 98%;
    }
    
    .quiz-close-btn {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        font-size: 20px;
    }
    
    .quiz-step-main-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
        margin-bottom: var(--spacing-xs);
    }
    
    .quiz-step-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
    }
    
    .quiz-step-title {
        font-size: 1.1rem;
    }
    
    .quiz-step-description {
        font-size: 0.8rem;
    }
    
    .quiz-thanks-icon {
        font-size: 3rem;
    }
    
    .quiz-nav-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .quiz-btn-next {
        padding: 1.1rem 1.5rem;
        font-size: 1.1rem;
        flex: 2;
    }
}
