<style version="1.0.1">

	html, body {
		height: 100%;
	}


    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

	:root {
		--primary-color: #1E88E5;      /* Яркий синий вместо розового */
		--secondary-color: #42A5F5;    /* Светло-голубой */
		--accent-color: #E3F2FD;       /* Очень светлый голубой фон */
		--text-color: #333;            /* Оставляем как есть */
		--light-color: #f8f9fa;        /* Оставляем */
		--dark-color: #1565C0;         /* Темно-синий для текста */
		--shadow: 0 4px 20px rgba(33, 150, 243, 0.15); /* Голубая тень */
		--transition: all 0.3s ease;
	}

    body {
        font-family: 'Open Sans', sans-serif;
        color: var(--text-color);
        line-height: 1.6;
        overflow-x: hidden;
        scroll-behavior: smooth;
        background-color: #f5f7ff;
        padding-bottom: 95px;
    }

    .section {
        min-height: 100vh;
        width: 100%;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        scroll-snap-align: start;
    }

    .container {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* Hero Section */
    #hero {
    background: 
        linear-gradient(135deg, rgba(30, 136, 229, 0.00) 0%, rgba(66, 165, 245, 0.0) 100%), 
        url('/images/hero-bg.webp') center/cover no-repeat;
        color: white;
        text-align: center;
        position: relative;
    }

    #hero .container {
        position: absolute;
        bottom: 15%;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        width: 100%;
        max-width: 1200px;
        padding: 15px 20px; /* Уменьшены вертикальные отступы */
        height: auto; /* Убрана фиксированная высота */
    }

    .hero-content {
        background: rgba(255, 255, 255, 0.9);
        padding: 20px; /* Уменьшены внутренние отступы */
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        max-width: 800px;
        margin: 0 auto;
        animation: fadeInUp 1s ease-out;
    }

    .name {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 3.5rem;
        margin-bottom: 0.5rem; /* Уменьшен отступ */
        text-transform: uppercase;
        letter-spacing: 2px;
        color: var(--primary-color);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .position {
        font-size: 1.8rem;
        font-weight: 300;
        margin-bottom: 1.5rem; /* Уменьшен отступ */
        color: var(--dark-color);
        text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
    }

    .btn {
        display: inline-block;
        background-color: white;
        color: var(--primary-color);
        padding: 15px 35px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
        border: 2px solid var(--primary-color);
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }

    .btn:hover {
        background-color: var(--primary-color);
        color: white;
        transform: translateY(-5px);
        box-shadow: 0 6px 25px rgba(30, 136, 229, 0.3);
    }

    .btn:active {
        transform: translateY(-2px);
    }

    /* Общие стили разделов */
    .section-title {
        font-family: 'Montserrat', sans-serif;
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 3rem;
        color: var(--primary-color);
        position: relative;
        padding-bottom: 15px;
    }

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

    /* Education Section */
    #education {
        background-color: var(--accent-color);
    }

    .timeline {
        position: relative;
        max-width: 800px;
        margin: 0 auto;
    }

    .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--secondary-color);
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
        position: relative;
        width: 50%;
        padding: 20px 40px;
        margin-bottom: 50px;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
    }

    .timeline-item:nth-child(even) {
        left: 50%;
    }

    .timeline-content {
        background: white;
        padding: 30px;
        border-radius: 10px;
        box-shadow: var(--shadow);
        position: relative;
        transition: var(--transition);
        border-left: 4px solid var(--primary-color);
		overflow-wrap: break-word;    /* стандартный синтаксис */
		word-wrap: break-word;        /* для совместимости со старыми браузерами */
		word-break: break-word;       /* неофициальное, но хорошо поддерживается */
		hyphens: auto;                /* автоматические переносы по правилам языка */
    }

    .timeline-content:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .timeline-content::before {
        content: '';
        position: absolute;
        top: 30px;
        width: 20px;
        height: 20px;
        background: white;
        transform: rotate(45deg);
        border: 2px solid var(--primary-color);
    }

    .timeline-item:nth-child(odd) .timeline-content::before {
        right: -10px;
    }

    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
    }

    .timeline-year {
        font-weight: 700;
        font-size: 1.2rem;
        color: var(--primary-color);
        margin-bottom: 10px;
    }

    .timeline-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
        font-family: 'Montserrat', sans-serif;
    }

    .timeline-description {
        color: #666;
    }

    /* Приём пациентов */
    #services {
        background-color: #fff;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
        max-width: 1000px;
        margin: 0 auto;
		margin-top: 20px; /* Добавили отступ сверху */
    }

    .service-card {
        background: white;
        border-radius: 15px;
        padding: 25px;
        box-shadow: var(--shadow);
        transition: var(--transition);
        border-top: 4px solid var(--primary-color);
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 30px rgba(30, 136, 229, 0.15);
    }

    .service-card h3 {
        color: var(--primary-color);
        font-size: 1.4rem;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
    }

    .service-card h3 i {
        margin-right: 10px;
        font-size: 1.6rem;
    }

    /* Консультации */
    #consultation {
        background-color: #fff;
    }

    .consultation-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .consultation-card {
        background: white;
        border-radius: 15px;
        padding: 30px;
        box-shadow: var(--shadow);
        transition: var(--transition);
        display: flex;
        flex-direction: column;
    }

    .consultation-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(118, 147, 166, 0.2);
    }

    .consultation-card h3 {
        color: var(--primary-color);
        font-size: 1.5rem;
        margin-bottom: 15px;
        border-bottom: 2px solid var(--accent-color);
        padding-bottom: 10px;
    }

    .consultation-card p {
        margin-bottom: 20px;
        flex-grow: 1;
    }

    .consultation-card h4 {
        color: var(--secondary-color);
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .consultation-card ul {
        padding-left: 20px;
        margin-bottom: 20px;
        flex-grow: 1;
    }

    .consultation-card li {
        margin-bottom: 8px;
        position: relative;
    }

    .consultation-card li:before {
        content: "•";
        color: var(--primary-color);
        font-size: 1.2rem;
        position: absolute;
        left: -15px;
    }

    .price-tag {
        background: var(--primary-color);
        color: white;
        padding: 12px 20px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 1.3rem;
        text-align: center;
        margin-top: 15px;
        transition: var(--transition);
    }

    /* Отзывы */
    #reviews {
        background-color: var(--accent-color);
    }

    .reviews-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto 40px;
    }

    .review-card {
        background: white;
        border-radius: 15px;
        padding: 30px;
        box-shadow: var(--shadow);
        width: 100%;
        max-width: 350px;
        position: relative;
        transition: var(--transition);
    }

    .review-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(118, 147, 166, 0.25);
    }

    .review-rating {
        margin-bottom: 15px;
        color: #FFD700;
        font-size: 1.8rem;
        letter-spacing: 3px;
    }

    .review-content {
        font-style: italic;
        margin-bottom: 20px;
        line-height: 1.7;
        position: relative;
    }

    .review-content:before,
    .review-content:after {
        content: '"';
        font-size: 3rem;
        color: var(--accent-color);
        position: absolute;
        opacity: 0.3;
    }

    .review-content:before {
        top: -20px;
        left: -15px;
    }

    .review-content:after {
        bottom: -40px;
        right: -15px;
    }

    .review-author {
        text-align: right;
        font-weight: 600;
        color: var(--secondary-color);
    }

    .more-reviews {
        display: block;
        text-align: center;
        margin-top: 30px;
        color: var(--primary-color);
        font-weight: 600;
        text-decoration: none;
        transition: var(--transition);
    }

    .more-reviews:hover {
        color: var(--secondary-color);
        transform: translateY(-3px);
    }

    /* Социальные сети */
    #social {
        background-color: #fff;
    }

    .social-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 25px;
        margin: 30px 0;
    }

    .social-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: white;
        color: var(--primary-color);
        font-size: 2.5rem;
        box-shadow: var(--shadow);
        transition: var(--transition);
        text-decoration: none;
    }

    .social-icon:hover {
        transform: translateY(-10px) scale(1.1);
        background: var(--primary-color);
        color: white;
        box-shadow: 0 10px 25px rgba(30, 136, 229, 0.3);
    }

    .social-text {
        text-align: center;
        max-width: 600px;
        font-size: 1.2rem;
        margin-top: 20px;
        color: var(--secondary-color);
    }

    /* PC Navigation */
    .nav-dots {
        position: fixed;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 100;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .dot {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: auto;
        height: 40px;
        cursor: pointer;
        transition: var(--transition);
        position: relative;
    }
	
	.nav-dots .dot {
	  border: none;           /* убираем стандартную границу */
	  border-radius: 50%;     /* делаем их круглыми */
	  width: 12px;
	  height: 12px;
	  background-color: rgba(0,0,0,0.3);
	}

	/* Ховерэффект (по желанию) */
	.nav-dots .dot:hover {
	  background-color: var(--accent-color);
	}

	/* Фокус — без квадратного outline, но с круговой обводкой */
	.nav-dots .dot:focus {
	  outline: none;  /* убираем «квадратный» outline */
	  /* вместо него — круговая «обводка» */
	  box-shadow: 0 0 0 2px var(--accent-color);
	  /* сместим обводку чуть в сторону, чтобы не налазила на сам кружок */
	  outline-offset: 2px;
	}

    .dot-circle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 12px;
        height: 12px;
        background-color: var(--secondary-color);
        border-radius: 50%;
        transition: var(--transition);
        position: relative;
        z-index: 2;
    }

    .dot.active .dot-circle {
        background-color: var(--primary-color);
        transform: scale(1.4);
    }

    .dot-label {
        position: absolute;
        right: 25px;
        background-color: var(--primary-color);
        color: white;
        padding: 6px 15px;
        border-radius: 20px;
        font-size: 14px;
        opacity: 0;
        transform: translateX(10px);
        transition: var(--transition);
        pointer-events: none;
        white-space: nowrap;
        z-index: 1;
    }

    /* Hover effect for desktop */
    .dot:hover .dot-label {
        opacity: 1;
        transform: translateX(0);
    }

    /* Footer */
    footer {
        background: var(--secondary-color);
        color: white;
        text-align: center;
        padding: 30px 0;
    }

    .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
	
	.developer-credit {
		margin-top: 15px;
		position: relative;
	}

	.telegram-link {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 8px 16px;
		background: rgba(255, 255, 255, 0.1);
		border-radius: 30px;
		color: white;
		text-decoration: none;
		transition: var(--transition);
		font-weight: 500;
		border: 1px solid rgba(255, 255, 255, 0.2);
	}

	.telegram-link:hover {
		background: rgba(255, 255, 255, 0.2);
		transform: translateY(-3px);
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	}

	.telegram-link i {
		color: var(--accent-color);
		font-size: 1.2rem;
		transition: transform 0.3s ease;
	}

	.telegram-link:hover i {
		transform: scale(1.2);
		color: white;
	}

    /* Mobile Navigation */
    .mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-menu-btn {
        background: var(--primary-color);
        color: white;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1010;
        box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
        cursor: pointer;
        transition: var(--transition);
        position: fixed;
        bottom: 35px;
        left: calc(50% - 30px);
        transform: none !important;
    }

    .mobile-menu-btn:hover {
        background: var(--secondary-color);
        transform: translateY(-5px) !important;
    }

    .mobile-menu-btn i {
        font-size: 24px;
        transition: var(--transition);
    }

    .mobile-menu-btn.active i {
        transform: rotate(90deg);
    }

	.mobile-menu-container {
	  position: fixed;           /* чтобы не занимало места в потоке */
	  bottom: 0;
	  left: 0;
	  width: 100%;
	  transform: translateY(100%); /* сдвинуто вниз на 100% своей высоты */
	  opacity: 0;                /* полностью прозрачно */
	  pointer-events: none;      /* не мешает кликам по странице */
	  
	  /* Плавные переходы */
	  transition: transform 0.4s ease, opacity 0.4s ease;
	  display: flex;             /* оставляем flex, чтобы элементы внутри сразу считались */
	  justify-content: center;
	  padding: 40px 20px 80px;
	  background: rgba(255, 255, 255, 0.95);
	  border-radius: 30px 30px 0 0;
	  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
	}

	.mobile-menu-container.active {
	  transform: translateY(0);
	  opacity: 1;
	  pointer-events: auto;      /* клики внутри работают */
	}

    .mobile-menu {
        display: flex;
        max-width: 600px;
        width: 100%;
        justify-content: space-around;
        list-style: none;
    }

    .mobile-menu li {
        text-align: center;
    }

    .mobile-menu a {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--text-color);
        padding: 10px 15px;
        border-radius: 15px;
        transition: var(--transition);
    }

    .mobile-menu a:hover {
        background: rgba(30, 136, 229, 0.1);
        transform: translateY(-3px);
    }

    .mobile-menu a i {
        font-size: 20px;
        margin-bottom: 8px;
        color: var(--primary-color);
    }

    .mobile-menu a span {
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
    }

    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes pulse {
        0% { 
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(30, 136, 229, 0.4);
        }
        70% { 
            transform: scale(1.05);
            box-shadow: 0 0 0 10px rgba(30, 136, 229, 0);
        }
        100% { 
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(30, 136, 229, 0);
        }
    }
	

    /* Responsive Design */
    @media (max-width: 768px) {
	
		.section-header {
			margin-bottom: 40px;
		}
	
		.section-subtitle {
			font-size: 1.1rem;
			margin-top: 10px;
			padding: 0 00px;
		}
		
		.modal-content {
			padding: 25px 20px;
			margin: 10px;
			border-radius: 15px;
		}
		
		.form-group {
			margin-bottom: 20px;
		}
		
		input, textarea {
			padding: 12px 15px;
			font-size: 15px;
		}
		
		.form-buttons {
			flex-direction: column;
			gap: 10px;
		}
	
        .name {
            font-size: 2.5rem;
        }
        
        .position {
            font-size: 1.4rem;
        }
        
        .section-title {
            font-size: 2rem;
        }
        
        .timeline::before {
            left: 30px;
        }
        
        .timeline-item {
            width: 100%;
            padding-left: 50px;
            padding-right: 0;
            left: 0 !important;
        }
        
        .timeline-item:nth-child(even) {
            left: 0;
        }
        
        .timeline-content::before {
            left: -10px !important;
            top: 20px;
        }
        
        .nav-dots {
            display: none;
        }
        
        body {
            padding-bottom: 95px;
        }

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

        .review-card {
            max-width: 100%;
        }

        /* Hero адаптация */
        #hero .container {
            bottom: 10%;
        }
        
        .hero-content {
            padding: 15px; /* Уменьшены отступы для планшетов */
        }
        
        .name {
            font-size: 2.2rem;
            margin-bottom: 0.4rem; /* Уменьшен отступ */
        }
        
        .position {
            font-size: 1.2rem;
            margin-bottom: 1.2rem; /* Уменьшен отступ */
        }
    }

    @media (min-width: 769px) {
	
		#hero .container {
			bottom: 5%;
			max-width: 800px;
			padding: 10px 15px;
		}

		.hero-content {
			padding: 15px;
		}

		.name {
			font-size: 2.8rem;
			margin-bottom: 0.3rem;
		}
		
		.position {
			font-size: 1.5rem;
			margin-bottom: 1rem;
		}
		
        .mobile-nav {
            display: none;
        }
    }

    @media (max-width: 480px) {
	
	
		.section-header {
			margin-bottom: 30px;
			padding: 0 15px;
		}
	
		.section-subtitle {
			font-size: 1.1rem;
			padding: 0 0px;
		}
		
		.services-grid {
			margin-top: 10px;
		}
	
		.datetime-container {
			flex-direction: column;
		}
		
		.custom-checkbox label {
			width: 22px;
			height: 22px;
		}
	
        .name {
            font-size: 2rem;
        }
		
	  .modal-content {
		padding: 20px 15px;
	  }
	  
	  .form-buttons .btn {
		padding: 12px 20px;
		font-size: 0.9rem;
	  }
        
        .position {
            font-size: 1.2rem;
        }
        
        .btn {
            padding: 12px 25px;
            font-size: 1rem;
        }
        
        .section-title {
            font-size: 1.8rem;
        }
        
        .timeline-title {
            font-size: 1.3rem;
        }
        
        .mobile-menu {
            flex-wrap: wrap;
        }
        
        .mobile-menu li {
            flex: 0 0 50%;
            margin-bottom: 15px;
        }
        
        .mobile-menu-btn {
            width: 55px;
            height: 55px;
            bottom: 23px;
			background: var(--primary-color) !important;
        }
		
		.mobile-menu-btn.active {
		  background: var(--secondary-color) !important;
		}

        .social-icon {
            width: 70px;
            height: 70px;
            font-size: 2rem;
        }

        /* Hero адаптация */
        #hero .container {
            bottom: 5%;
            padding: 10px 15px; /* Уменьшены отступы */
        }
        
        .hero-content {
            padding: 12px; /* Уменьшены отступы */
        }
        
        .name {
            font-size: 1.8rem;
            margin-bottom: 0.3rem; /* Уменьшен отступ */
        }
        
        .position {
            font-size: 1.1rem;
            margin-bottom: 1rem; /* Уменьшен отступ */
        }
    }
    
    .mobile-menu-btn.pulse {
        animation: pulse 2s infinite;
    }

    /* Scroll Snap */
    html {
        scroll-snap-type: y mandatory;
        overflow-y: scroll;
    }
	
	/* Стиль когда кнопка скрыта */
	#mobileMenuBtn[style*="none"] {
	display: flex !important;
	opacity: 0;
	transform: translateY(20px);
	pointer-events: none;
	}
	
	/* Стили для формы */
	.modal {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.7);
		z-index: 10000;
		overflow-y: auto; /* Разрешаем скролл модального окна */
		-webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
	}

	.modal-content {
		position: relative;
		background: white;
		border-radius: 20px;
		box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
		width: 100%;
		max-width: 600px;
		padding: 40px;
		margin: 20px auto;
		animation: fadeInUp 0.5s ease-out;
		box-sizing: border-box;
		max-height: 90vh; /* Добавлено ограничение по высоте */
		overflow-y: auto; /* Добавлена прокрутка при необходимости */
		display: flex; /* Новый стиль */
		flex-direction: column; /* Новый стиль */
		scrollbar-width: none; /* Скрыть скроллбар в Firefox */
	}
	
	.modal-content::-webkit-scrollbar {
		display: none;
	}
		
	#appointment-form {
		display: flex;
		flex-direction: column;
		flex-grow: 1; /* Занимает все доступное пространство */
	}

	.close-modal {
		position: absolute;
		top: 20px;
		right: 20px;
		font-size: 28px;
		font-weight: bold;
		color: var(--secondary-color);
		background: none;
		border: none;
		cursor: pointer;
		transition: var(--transition);
	}

	.close-modal:hover {
		color: var(--primary-color);
		transform: rotate(90deg);
	}

	.modal-title {
		text-align: center;
		color: var(--primary-color);
		font-family: 'Montserrat', sans-serif;
		font-size: 2rem;
		margin-bottom: 30px;
		position: relative;
		padding-bottom: 15px;
	}

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

	/* Стили формы */
	.form-group {
		margin-bottom: 25px;
		position: relative;
	}

	.form-group label {
		display: block;
		margin-bottom: 8px;
		font-weight: 600;
		color: var(--dark-color);
	}

	.required {
		color: var(--primary-color);
	}

	input, textarea {
		width: 100%;
		padding: 14px 18px;
		border: 2px solid #e0e0e0;
		border-radius: 12px;
		font-family: 'Open Sans', sans-serif;
		font-size: 16px;
		transition: var(--transition);
		background: #f9f9f9;
	}

	input:focus, textarea:focus {
		border-color: var(--primary-color);
		outline: none;
		box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
		background: white;
	}

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

	.error-message {
		color: var(--primary-color);
		font-size: 14px;
		margin-top: 6px;
		display: none;
	}

	.checkbox-group {
		display: flex;
		align-items: center;
		padding: 15px;
		background: rgba(216, 235, 242, 0.3);
		border-radius: 12px;
	}

	.checkbox-group input {
		width: auto;
		margin-right: 12px;
	}

	.privacy-link {
		color: var(--primary-color);
		text-decoration: none;
		font-weight: 600;
	}

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

	.form-buttons {
		display: flex;
		justify-content: space-between;
		gap: 20px;
		margin-top: auto; /* Важное изменение - прижимает кнопки к низу */
		padding-top: 20px;
	}

	.btn-back {
		background: white;
		color: var(--secondary-color);
		border: 2px solid var(--secondary-color);
	}

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

	.btn-submit {
		background: var(--primary-color);
		color: white;
		border: 2px solid var(--primary-color);
		flex-grow: 1;
	}

	.btn-submit:hover {
		background: #006ac7;
		transform: translateY(-3px);
		box-shadow: 0 6px 15px rgba(30, 136, 229, 0.3);
	}

	/* Анимация */
	@keyframes fadeInUp {
		from {
			opacity: 0;
			transform: translateY(30px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
	
	
	@supports (-webkit-overflow-scrolling: touch) {
		.modal {
			-webkit-overflow-scrolling: touch;
		}
	}


	/* Кастомный чекбокс */
	.custom-checkbox {
		position: relative;
		display: inline-block;
		margin-right: 12px;
	}

	.custom-checkbox input {
		opacity: 0;
		position: absolute;
		width: 0;
		height: 0;
	}

	.custom-checkbox label {
		position: relative;
		display: inline-block;
		width: 24px;
		height: 24px;
		background: white;
		border: 2px solid var(--secondary-color);
		border-radius: 6px;
		cursor: pointer;
		transition: var(--transition);
	}

	.custom-checkbox label:after {
		content: '';
		position: absolute;
		top: 1px;
		left: 7px;
		width: 6px;
		height: 12px;
		border: solid white;
		border-width: 0 2px 2px 0;
		transform: rotate(45deg);
		opacity: 0;
		transition: var(--transition);
	}

	.custom-checkbox input:checked + label {
		background: var(--primary-color);
		border-color: var(--primary-color);
	}

	.custom-checkbox input:checked + label:after {
		opacity: 1;
	}

	.consent-label {
		display: inline-block;
		vertical-align: middle;
		cursor: pointer;
		font-weight: 500;
		color: var(--text-color);
		max-width: calc(100% - 40px);
	}

	/* Контейнер для выбора даты/времени */
	.datetime-container {
		display: flex;
		gap: 10px;
	}

	.datetime-input {
		flex: 1;
		padding: 14px 18px;
		border: 2px solid #e0e0e0;
		border-radius: 12px;
		font-family: 'Open Sans', sans-serif;
		font-size: 16px;
		transition: var(--transition);
		background: #f9f9f9;
	}

	.datetime-input:focus {
		border-color: var(--primary-color);
		outline: none;
		box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
		background: white;
	}
	
	/* Стили для подзаголовка */
	.section-header {
		text-align: center;
		max-width: 800px;
		margin: 0 auto 50px; /* Увеличили отступ снизу */
		width: 100%;
		padding: 0 20px; /* Добавили боковые отступы */
		box-sizing: border-box;
	}

	.section-subtitle {
		text-align: center;
		font-size: 1.1rem;
		color: var(--secondary-color);
		font-weight: 500;
		margin-top: 15px; /* Изменили отступ сверху */
		position: relative;
		line-height: 1.6;
		margin-left: auto;
		margin-right: auto;
		padding: 0 00px;
	}
	
	
	/* Контейнер для центрирования кнопки */
	.btn-container {
	  display: flex;
	  justify-content: center;
	  width: 100%;
	  margin-top: 30px;
	}

	/* Центрирование текста в кнопке */
	.center-btn {
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  text-align: center;
	}

	.review-highlights {
		margin-top: 10px;
		font-style: normal;
		color: var(--text-color);
		line-height: 1.5;
	}
	
/* Контейнер для контакта */
.contact-container {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    width: 100%;
    border: 2px solid #e0e0e0;
    background: #f9f9f9;
}

.contact-container:focus-within {
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
    border-color: var(--primary-color);
    background: white;
}

/* Обертка для выпадающего списка */
.social-select-wrapper {
    position: relative;
    min-width: 120px;
    background: #f8f9fa;
    border-right: 2px solid #e0e0e0;
}

/* Стили выпадающего списка */
.social-type-select {
    width: 100%;
    padding: 14px 35px 14px 15px;
    border: none;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    cursor: pointer;
    outline: none;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.social-type-select:focus {
    background: rgba(30, 136, 229, 0.05);
}

/* Кастомная стрелка */
.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}

/* Поле ввода */
.contact-input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    outline: none;
    background: transparent;
    color: var(--text-color);
    transition: all 0.3s ease;
}

/* Адаптивность */
@media (max-width: 480px) {
    .social-select-wrapper {
        min-width: 100px;
    }
    
    .social-type-select {
        padding: 12px 30px 12px 12px;
        font-size: 15px;
    }
    
    .contact-input {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .select-arrow {
        right: 10px;
    }
}

/* Состояние ошибки */
.form-group.error .contact-container {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
}

</style>