/* Основные стили */
:root {
    --color-primary: #4b0082; /* индиго */
    --color-secondary: #ff0066; /* пурпурный */
    --color-text: #ffffff; /* белый текст */
    --color-accent1: #ccff00; /* лаймовый */
    --color-accent2: #66ffcc; /* мятный */
    --font-main: 'Arial', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 100px; /* Отступ для якорей */
    scroll-behavior: smooth; /* Плавная прокрутка */
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--color-text);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--color-accent1);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: var(--color-accent2);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

section {
    padding: 80px 0;
}

/* Вспомогательные классы */
.text-center {
    text-align: center;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-accent1);
    color: var(--color-primary);
}

.btn-primary:hover {
    background: #deff33;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--color-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent1);
    border: 2px solid var(--color-accent1);
}

.btn-secondary:hover {
    background: var(--color-accent1);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.btn-accent {
    background: var(--color-accent2);
    color: var(--color-primary);
}

.btn-accent:hover {
    background: #8affdd;
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* Шапка */
.site-header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(75, 0, 130, 0.9);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 50px;
    border-radius: 0;
    transition: max-height 0.3s ease;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 20px;
}

.main-nav ul li a {
    color: var(--color-text);
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
}

.main-nav ul li a:hover {
    color: var(--color-accent1);
    background: rgba(255, 255, 255, 0.1);
}

/* Мобильная версия шапки */
@media (max-width: 768px) {
    .site-header {
        padding: 10px 0;
    }
    
    .logo img {
        max-height: 40px;
    }
    
    .main-nav ul {
        gap: 5px;
        padding: 0;
    }
    
    .main-nav ul li {
        margin-left: 5px;
    }
    
    .main-nav ul li a {
        padding: 3px 7px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 8px 0;
    }
    
    .logo img {
        max-height: 35px;
    }
    
    .main-nav ul li a {
        padding: 3px 5px;
        font-size: 13px;
    }
}

/* Hero секция */
.hero-section {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-primary);
    background-blend-mode: multiply;
    position: relative;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(75, 0, 130, 0.7);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 3;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Секция с преимуществами */
.benefits-section {
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 80px 0;
}

.benefits-section h2 {
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 10px;
    transition: all var(--transition-speed) ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.benefit-icon {
    background: var(--color-accent1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.benefit-icon .icon {
    font-size: 30px;
    color: var(--color-primary);
}

/* О компании */
.about-section {
    padding: 100px 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

/* Услуги */
.services-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.services-section h2 {
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border-radius: 10px;
    transition: all var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.service-image {
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin: 0 auto 20px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    margin: 20px 0;
}

.service-card p {
    margin-bottom: 30px;
}

/* Процесс работы */
.process-section {
    padding: 100px 0;
}

.process-section h2 {
    text-align: center;
    margin-bottom: 60px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.process-step {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    transition: all var(--transition-speed) ease;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.step-number {
    background: var(--color-accent1);
    color: var(--color-primary);
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

/* Контакты и форма */
.contact-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
}

.contact-details {
    margin: 30px 0;
}

.contact-map {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-text);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
}

.form-group select option {
    background-color: var(--color-primary);
    color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    display: inline;
}

/* Отзывы */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    transition: all var(--transition-speed) ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-content h3 {
    margin-bottom: 20px;
    color: var(--color-accent1);
}

.footer-content ul {
    list-style: none;
}

.footer-content li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.8;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    opacity: 0;
    transition: all var(--transition-speed) ease;
}

.cookie-popup.visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

/* Страницы политики */
.policy-section {
    padding: 80px 0;
}

.policy-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
}

.policy-block {
    margin-bottom: 40px;
}

.policy-block h2 {
    color: var(--color-accent1);
    margin-bottom: 20px;
}

.policy-block ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-update {
    font-style: italic;
    opacity: 0.8;
    margin-top: 40px;
}

/* Страница благодарности */
.thanks-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 40px 20px;
}

.thanks-section .container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thanks-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    display: block;
    text-align: center;
}

.thanks-content h1 {
    color: var(--color-accent1);
    margin-bottom: 30px;
    text-align: center;
}

.thanks-content p {
    text-align: center;
}

.thanks-content .btn {
    margin-top: 30px;
    display: inline-block;
}

/* Адаптивность */
@media (max-width: 992px) {
    section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 38px;
    }
    
    .hero-section {
        min-height: 60vh;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    .hero-section h1 {
        font-size: 32px;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-form {
        order: -1;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-nav ul li {
        margin-left: 0;
    }
    
    .hero-section h1 {
        font-size: 28px;
    }
    
    .benefits-grid,
    .services-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .policy-content {
        padding: 20px;
    }
} 