/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-bg: #F9F6F1;
    --accent-purple: #5F4B8B;
    --text-dark: #1C1C1C;
    --button-gradient-start: #E9A6A6;
    --button-gradient-end: #E65C5C;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-medium: #E0E0E0;
    --gray-dark: #666666;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    
    /* Typography */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Breakpoints */
    --mobile: 480px;
    --tablet: 768px;
    --desktop: 1024px;
    --desktop-lg: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    background-color: var(--primary-bg);
    padding-top: 5rem;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--button-gradient-end);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--button-gradient-start), var(--button-gradient-end));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--accent-purple);
    border: 2px solid var(--accent-purple);
}

.btn-secondary:hover {
    background: var(--accent-purple);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px var(--shadow-medium);
    z-index: 1000;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cookie-text p {
    margin-bottom: 0;
    color: var(--gray-dark);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px var(--shadow-light);
    z-index: 999;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 2.5rem;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-purple);
}

.header-contact {
    display: flex;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent-purple);
}

/* Черный цвет для контактов в шапке */
.header .contact-item a {
    color: #1C1C1C;
    font-weight: 500;
}

.header .contact-item a:hover {
    color: var(--accent-purple);
}

.contact-icon {
    font-size: 1.2rem;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 10px var(--shadow-light);
    padding: 1rem;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Hero Section */
.hero {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(95, 75, 139, 0.05) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-purple);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 2rem;
    box-shadow: 0 10px 30px var(--shadow-medium);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: var(--spacing-xxl) 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 0 5px 25px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-medium);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--gray-dark);
    margin-bottom: 0;
}

/* Services Section */
.services {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--primary-bg);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 5px 25px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-medium);
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--gray-medium);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-price {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 10px var(--shadow-light);
}

.price-from {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-purple);
    margin: 0 0.5rem;
}

.price-period {
    color: var(--gray-dark);
}

/* Why Us Section */
.why-us {
    padding: var(--spacing-xxl) 0;
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 0 5px 25px var(--shadow-light);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1rem;
    color: var(--gray-dark);
    font-weight: 500;
}

.testimonials-preview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 5px 25px var(--shadow-light);
    border-left: 4px solid var(--accent-purple);
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-purple);
}

/* Process Section */
.process {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--button-gradient-start), var(--button-gradient-end));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.step-content h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--gray-dark);
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
    padding: var(--spacing-xxl) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card-full {
    background: white;
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 5px 25px var(--shadow-light);
    transition: transform 0.3s ease;
}

.testimonial-card-full:hover {
    transform: translateY(-5px);
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
}

.rating-text {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    border-top: 1px solid var(--gray-medium);
    padding-top: 1rem;
}

.author-info strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

/* Contact Form Section */
.contact-form {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-inner {
    background: var(--primary-bg);
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 5px 25px var(--shadow-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-medium);
    border-radius: 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-purple);
}

/* Максимально простые чекбоксы с нуля */
.checkbox-group {
    margin: 1rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    line-height: 1.5;
    color: var(--text-dark);
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    margin-top: 0;
    accent-color: #5F4B8B;
}

.form-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-medium);
}

.form-note p {
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--gray-light);
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 2rem;
    width: auto;
    margin-top: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.contact-item a {
    color: var(--gray-light);
    text-decoration: none;
}

.contact-item a:hover {
    color: white;
}

/* Белый цвет для адреса в футере */
.contact-info .contact-item span[itemprop="streetAddress"],
.contact-info .contact-item span[itemprop="postalCode"],
.contact-info .contact-item span[itemprop="addressLocality"],
.contact-info .contact-item span[itemprop="addressCountry"] {
    color: white;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--gray-dark);
    padding-top: 1rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom-links a {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 4rem;
    }

    .header {
        padding: 0.5rem 0;
    }

    .header-content {
        justify-content: space-between;
    }

    .logo img {
        height: 2rem;
    }

    .nav-menu {
        display: none;
    }

    .header-contact {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-us-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 3.5rem;
    }

    .header {
        padding: 0.3rem 0;
    }

    .logo img {
        height: 1.8rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .benefit-card,
    .service-card,
    .testimonial-card-full {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contact-form-inner {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Smooth transitions for all interactive elements */
.benefit-card,
.service-card,
.testimonial-card-full,
.stat-card,
.process-step,
.btn {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects */
.benefit-card:hover .benefit-icon,
.service-card:hover .service-content h3,
.testimonial-card-full:hover .testimonial-author strong {
    color: var(--accent-purple);
    transition: color 0.3s ease;
}

/* Focus states for accessibility */
.btn:focus,
.form-group input:focus,
.form-group select:focus {
    outline: 2px solid var(--accent-purple);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .mobile-menu-toggle,
    .mobile-nav {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        background: white;
        color: black;
    }
    
    .hero,
    .about,
    .services,
    .why-us,
    .process,
    .testimonials,
    .contact-form {
        page-break-inside: avoid;
    }
} 