@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #8B1E3F;
    --secondary-color: #6A1B9A;
    --accent-color: #B71C7B;
    --light-color: #F5F5F5;
    --dark-color: #333333;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Comfortaa', cursive;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

header {
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
}

.logo-container h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.контакт-кнопка {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.контакт-кнопка:hover {
    background-color: var(--secondary-color);
    color: white;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.hero {
    height: 80vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(139, 30, 63, 0.7), rgba(106, 27, 154, 0.7));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.benefits {
    padding: 5rem 5%;
    background-color: var(--light-color);
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.benefit-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary-color);
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.programs {
    padding: 5rem 5%;
}

.programs-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.program-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.program-item.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.program-item.reverse .program-content {
    direction: ltr;
}

.program-image {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.program-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.program-content p {
    margin-bottom: 1.5rem;
}

.program-benefits {
    margin-bottom: 2rem;
}

.program-benefits li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.program-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.program-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.program-button:hover {
    background-color: var(--secondary-color);
    color: white;
}

.philosophy {
    padding: 5rem 5%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.philosophy-content {
    color: white;
    padding: 2rem;
}

.philosophy-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.philosophy-content p {
    margin-bottom: 1.5rem;
}

.philosophy-content blockquote {
    font-style: italic;
    font-size: 1.2rem;
    padding-left: 1.5rem;
    border-left: 4px solid white;
    margin: 2rem 0;
}

.philosophy-image {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.testimonials {
    padding: 5rem 5%;
    background-color: var(--light-color);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--primary-color);
}

.testimonial-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
}

.contact {
    padding: 5rem 5%;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1.5rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
}

.form-consent {
    display: flex;
    align-items: flex-start;
}

.form-consent input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.form-consent label {
    font-size: 0.9rem;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-img {
    width: 80px;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-family: 'Comfortaa', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.9rem !important;
    opacity: 0.8;
}

.footer-nav h3,
.footer-policies h3,
.footer-contact h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-nav h3::after,
.footer-policies h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -8px;
    left: 0;
}

.footer-nav ul,
.footer-policies ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a,
.footer-policies a,
.footer-contact a {
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-nav a:hover,
.footer-policies a:hover,
.footer-contact a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.thank-you-section {
    padding: 5rem 5%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.thank-you-message {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.thank-you-message p {
    margin-bottom: 1.5rem;
}

.thank-you-button-container {
    margin-top: 2rem;
}

.thank-you-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.thank-you-button:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.policy-section {
    padding: 5rem 5%;
}

.policy-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.policy-header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.policy-header h2 {
    color: white;
    margin-bottom: 0;
    font-size: 2rem;
}

.back-button {
    background-color: white;
    color: var(--primary-color);
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.policy-content {
    padding: 3rem;
}

.policy-intro {
    margin-bottom: 2.5rem;
}

.policy-section-item {
    margin-bottom: 2.5rem;
}

.policy-section-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.policy-section-content {
    padding-left: 1rem;
    border-left: 3px solid var(--accent-color);
}

.policy-section-content p {
    margin-bottom: 1rem;
}

.policy-list {
    margin: 1rem 0 1rem 1.5rem;
}

.policy-list li {
    margin-bottom: 0.5rem;
    position: relative;
}

.policy-list li::before {
    content: "•";
    position: absolute;
    left: -1rem;
    color: var(--accent-color);
}

.cookies-policy .policy-content {
    padding-top: 0;
}

.cookies-diagram {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin: 3rem 0;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
}

.cookies-diagram-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookies-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.cookies-icon.essential {
    background-color: #4CAF50;
}

.cookies-icon.functional {
    background-color: #2196F3;
}

.cookies-icon.analytics {
    background-color: #FF9800;
}

.cookies-icon.marketing {
    background-color: #F44336;
}

.cookies-icon.essential::before {
    content: "✓";
}

.cookies-icon.functional::before {
    content: "⚙";
}

.cookies-icon.analytics::before {
    content: "📊";
}

.cookies-icon.marketing::before {
    content: "🎯";
}

.cookies-info h4 {
    margin-bottom: 0.5rem;
}

.cookies-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cookie-type {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px dashed #ddd;
}

.cookie-type:last-child {
    border-bottom: none;
}

.cookie-type h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.cookie-examples {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.cookie-examples p {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-examples ul {
    margin-left: 1.5rem;
}

.terms-of-use .policy-content {
    padding-top: 0;
}

.terms-timeline {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    position: relative;
}

.terms-timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    z-index: 0;
}

.timeline-item {
    position: relative;
    z-index: 1;
    width: 20%;
    text-align: center;
}

.timeline-marker {
    width: 50px;
    height: 50px;
    background-color: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-marker::before {
    counter-increment: section;
    content: counter(section);
    font-weight: bold;
    color: var(--primary-color);
}

.timeline-content h4 {
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 1200px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .program-content h3 {
        font-size: 1.8rem;
    }
    
    .philosophy-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero {
        height: 70vh;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .philosophy {
        grid-template-columns: 1fr;
    }
    
    .philosophy-image {
        order: -1;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .terms-timeline {
        flex-wrap: wrap;
    }
    
    .timeline-item {
        width: 45%;
        margin-bottom: 2rem;
    }
    
    .terms-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        padding: 5rem 2rem;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .program-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .program-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .policy-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .policy-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .benefits-container,
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .cta-button,
    .program-button,
    .submit-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-nav h3::after,
    .footer-policies h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item {
        width: 100%;
    }
    
    .thank-you-message {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 375px) {
    .header-container {
        padding: 1rem 3%;
    }
    
    .logo-container h1 {
        font-size: 1.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .policy-header h2 {
        font-size: 1.5rem;
    }
}