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

:root {
    --primary-color: #ED5E5B;
    --primary-color-dark: #D95351;
    --primary-color-light: #f7cac9;
    --secondary-color: #f3f4f6;
    --accent-color: #06b6d4;
    --text-primary: #221F21;
    --text-secondary: #6B7280;
    --text-light: #9ca3af;
    --bg-primary: #FDFEFF;
    --bg-secondary: #f5f6fa;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 10px 15px -3px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.2s cubic-bezier(.4,0,.2,1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden; /* Предотвращаем горизонтальный скролл */
    position: relative; /* Это ключ к исправлению! */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative; /* Добавляем позиционирование */
    z-index: 2;      /* Ставим контент выше иконок */
}

/* Общие компоненты */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--bg-primary);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Блок 1: Хедер */
.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 5rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.footer-logo img{
    width: 100px;
    filter: brightness(0) invert(1);
}

.nav-list a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-links-header {
    display: flex;
    gap: 16px;
}

.social-links-header a {
    color: var(--text-primary);
    font-size: 1.6rem;
    transition: var(--transition);
}

.social-links-header a:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Блок 2: Главный баннер */
.hero {
    padding: 120px 0 80px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color-light), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8rem;
    animation: float 4s ease-in-out infinite;
}

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

/* Блок 3: О нас */
.about {
    padding: 80px 0;
    background: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.125rem;
    line-height: 1.7;
}

.about-features {
    list-style: none;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.about-features i {
    color: var(--success-color);
    font-size: 1.125rem;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.about-stat {
    text-align: center;
    flex-basis: 30%;
}

.about-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    font-weight: bold;
}

.about-stat-label {
    font-size: 0.9rem;
    margin-top: 8px;
    color: var(--text-secondary);
}

/* Блок 4: Наши услуги */
.services {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
    background: var(--primary-color-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.75rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.service-link i {
    transition: transform 0.2s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Блок 5: Почему выбирают нас */
.why-us {
    padding: 100px 0;
    background-color: var(--bg-dark);
    color: var(--bg-secondary);
}

.why-us .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.why-us .section-title,
.why-us .section-subtitle {
    color: var(--bg-primary);
}

.why-us .section-title::after {
    left: 0;
    transform: translateX(0);
    background: var(--primary-color);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 80px;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.advantage-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.advantage-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--bg-primary);
    margin-bottom: 8px;
}

.advantage-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.why-us-image .image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 450px;
    background: linear-gradient(135deg, var(--primary-color), #2c2c2c);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10rem;
}

/* Блок 6: Подобрать психолога */
.team {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.psychologist-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.psychologist-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.member-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-info .member-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.header-info .member-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2px 0;
    color: var(--text-primary);
}

.header-info .member-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.card-body {
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.info-row span {
    color: var(--text-secondary);
}
.info-row i {
    margin-right: 8px;
}
.info-row strong {
    color: var(--text-primary);
    font-weight: 500;
}
.info-row strong .fa-bolt {
    color: var(--warning-color);
}

.card-tags .tags-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.card-tags ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-tags li {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

.card-tags li i {
    color: var(--primary-color);
    margin-right: 6px;
}

.card-footer {
    margin-top: auto;
    padding-top: 16px;
}

.btn-details {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.btn-details:hover {
    background: var(--primary-color);
    color: white;
}

.view-all-wrapper {
    text-align: center;
    margin-top: 48px;
}

.view-all-wrapper .btn-outline i {
    margin-left: 8px;
    transition: var(--transition);
}
.view-all-wrapper .btn-outline:hover i {
    transform: translateX(4px);
}

/* Блок 7: Отзывы */
.reviews {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.reviews-masonry-grid {
    column-count: 3;
    column-gap: 24px;
}

.review-card {
    display: inline-block;
    width: 100%;
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 24px;
    break-inside: avoid;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-emoji {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background-color: var(--bg-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.review-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.review-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.author-info strong {
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .reviews-masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .reviews-masonry-grid {
        column-count: 1;
    }
}

/* Блок 8: Наши достижения */
.achievements {
    padding: 100px 0;
    background-image: url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
}

.achievements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 24, 39, 0.8);
    z-index: 1;
}

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

.achievements .section-header .section-title {
    color: white;
}

.achievements .section-header .section-title::after {
    background: var(--primary-color);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.achievement-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px 24px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.achievement-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.achievement-number {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 12px;
}

.achievement-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .achievement-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    .achievement-number {
        font-size: 3rem;
    }
}

/* Блок 9: FAQ */
.faq {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    /* max-height будет установлен через JS */
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Блок 10: Контакты */
.contact {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 4px;
}

.contact-item h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-form {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: var(--transition);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Блок 11: Футер */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 0;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 32px;
}

.demo-credentials {
    margin-top: 20px;
    padding: 15px;
    background-color: #f0f8ff;
    border-radius: 8px;
    border-left: 4px solid #015340;
}

.demo-credentials p {
    margin: 5px 0 16px 0;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.demo-account {
    margin-bottom: 12px;
    padding: 8px;
    background: white;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
    color: #333;
}

.demo-account:last-child {
    margin-bottom: 0;
}

.demo-credentials strong {
    color: #015340;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header-content {
        position: relative;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        margin-top: 8px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 16px;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list a {
        display: block;
        padding: 12px;
        border-radius: var(--border-radius);
    }
    
    .nav-list a:hover {
        background: var(--bg-secondary);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-placeholder {
        width: 300px;
        height: 300px;
        font-size: 6rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .faq-question {
        padding: 16px;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 16px 16px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
	
	.contact-form{
		padding:15px;
	}
	
	.custom-checkbox label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    display: block !important;
    align-items: center;
}
    
    .btn {
        width: 90%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .advantages-grid,
    .team-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* О центре */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 80px;
}

.about-image .image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 8rem;
    overflow: hidden;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text .section-title::after {
    left: 0;
    transform: translateX(0);
}

.about-mission {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.about-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.about-stats .about-stat {
    text-align: left;
}

.about-stats .about-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.about-stats .about-stat-label {
    font-size: 0.9rem;
    margin-top: 8px;
    color: var(--text-secondary);
}

.about-section, .about-text-content, .stats-container, .stat-item, .stat-info, .stat-number, .stat-label {
    /* Эти селекторы больше не используются в старом виде, но я оставлю их пустыми, на случай если они где-то еще были. */
}

/* --- Летающие иконки --- */
.floating-icons-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Ставим иконки между фоном и контентом */
    pointer-events: none;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    color: #ED5E5B;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
    pointer-events: auto;
    cursor: pointer;
    /* Плавный переход для прозрачности и размера шрифта */
    transition: opacity 0.3s ease, font-size 0.3s ease;
}

.floating-icon:hover {
    opacity: 0.6;
}

/* Распределяем иконки и задаем им увеличение размера при наведении */
.floating-icon.fa-brain { top: 15%; left: 5%; font-size: 3rem; animation-duration: 25s; }
.floating-icon.fa-brain:hover { font-size: 3.6rem; }

.floating-icon.fa-puzzle-piece { top: 35%; right: 7%; font-size: 2.5rem; animation-duration: 30s; animation-delay: 5s; }
.floating-icon.fa-puzzle-piece:hover { font-size: 3rem; }

.floating-icon.fa-comment-dots { top: 60%; left: 8%; font-size: 2rem; animation-duration: 22s; animation-delay: 2s; }
.floating-icon.fa-comment-dots:hover { font-size: 2.4rem; }

.floating-icon.fa-heart { top: 85%; right: 4%; font-size: 3.5rem; animation-duration: 28s; animation-delay: 8s; }
.floating-icon.fa-heart:hover { font-size: 4.2rem; }

.floating-icon.fa-spa { top: 120%; left: 10%; font-size: 2.8rem; animation-duration: 35s; }
.floating-icon.fa-spa:hover { font-size: 3.4rem; }

.floating-icon.fa-hand-holding-heart { top: 150%; right: 9%; font-size: 3rem; animation-duration: 26s; animation-delay: 12s; }
.floating-icon.fa-hand-holding-heart:hover { font-size: 3.6rem; }

.floating-icon.fa-yin-yang { top: 180%; left: 15%; font-size: 2rem; animation-duration: 40s; animation-delay: 3s; }
.floating-icon.fa-yin-yang:hover { font-size: 2.4rem; }

.floating-icon.fa-lightbulb { top: 210%; right: 12%; font-size: 2.2rem; animation-duration: 20s; animation-delay: 10s; }
.floating-icon.fa-lightbulb:hover { font-size: 2.7rem; }

@keyframes float {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-20px) translateX(15px) rotate(10deg); }
    50% { transform: translateY(0) translateX(-10px) rotate(0deg); }
    75% { transform: translateY(20px) translateX(10px) rotate(-10deg); }
    100% { transform: translateY(0) translateX(0) rotate(0deg); }
}

/* Медиа-запросы для адаптивности */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .floating-icon.fa-yin-yang { display: none; }
}

@media (max-width: 992px) {
    .nav {
        background-color: var(--bg-primary);
        z-index: 999;
    }

    .floating-icon.fa-puzzle-piece,
    .floating-icon.fa-hand-holding-heart {
        display: none;
    }

    .header-content {
        justify-content: space-between;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .floating-icon.fa-brain,
    .floating-icon.fa-heart {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-content,
    .about-content {
        flex-direction: column;
		display:flex;
        gap: 2rem;
    }
	
	.why-us-content , .team-grid{
		   flex-direction: column;
		display:flex;
		        align-items: stretch;
        gap: 2rem;
	}
    
    .floating-icons-container {
        display: none; /* Полностью скрываем на мобильных */
    }

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

/* Custom Checkbox styles */
.custom-checkbox {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.custom-checkbox input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.custom-checkbox label {
    position: relative;
    padding-left: 30px; 
    cursor: pointer;
    font-size: 14px;
    color: #555;
    display: inline-flex;
    align-items: center;
}

.custom-checkbox label a {
    color: #ED5E5B; 
    text-decoration: underline;
    margin-left: 5px;
}

.custom-checkbox label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ED5E5B;
    border-radius: 4px;
    background-color: #fff;
    transition: background-color 0.2s;
}

.custom-checkbox label::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s;
}

.custom-checkbox input[type="checkbox"]:checked + label::before {
    background-color: #ED5E5B; 
    border-color: #ED5E5B;
}

.custom-checkbox input[type="checkbox"]:checked + label::after {
    opacity: 1;
}

.custom-checkbox input[type="checkbox"]:focus + label::before {
    box-shadow: 0 0 0 2px rgba(237, 94, 91, 0.3);
} 

/* Responsive adjustments for About Section */
@media (max-width: 992px) {
.about-stats {
    display: flex
;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    flex-direction: column;
}
}

