/* Основные стили и переменные */
:root {
    --primary-gradient: linear-gradient(135deg, #ff6b00 0%, #0055ff 100%);
    --accent-purple: #7b00ff;
    --accent-aqua: #00d4d4;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-medium: #666666;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --radius: 8px;
    --neon-shadow: 0 0 10px rgba(0, 212, 212, 0.5);
}

/* Сброс и общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--accent-purple);
    color: var(--text-light);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(123, 0, 255, 0.3);
}

.btn-secondary {
    background: var(--accent-aqua);
    color: var(--text-dark);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--neon-shadow);
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px var(--accent-aqua);
    }
    50% {
        box-shadow: 0 0 15px var(--accent-aqua), 0 0 30px rgba(0, 212, 212, 0.3);
    }
    100% {
        box-shadow: 0 0 5px var(--accent-aqua);
    }
}

/* Хедер */
header {
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-aqua);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    font-weight: 500;
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-purple);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.menu a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.contact-phone a {
    font-weight: 600;
    color: var(--accent-purple);
}

.contact-phone a:hover {
    color: var(--accent-aqua);
}

/* Главная герой-секция */
.hero {
    background: var(--primary-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--text-light);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./img/L5Qybw.jpg') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 700px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

/* О компании */
.about {
    background: var(--text-light);
    position: relative;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-aqua);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--accent-purple);
}

.about-text p {
    margin-bottom: 20px;
}

/* Услуги */
.services {
    background: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--text-light);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--accent-purple);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 30px;
}

.service-title {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Преимущества */
.benefits {
    background: var(--text-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-purple);
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
    animation: pulse 1s infinite;
}

.benefit-title {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Отзывы */
.testimonials {
    background: #f9f9f9;
}

.testimonials-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 20px 0;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    background: var(--text-light);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    scroll-snap-align: start;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-info h4 {
    font-weight: 600;
}

.testimonial-author-info p {
    font-size: 14px;
    color: var(--text-medium);
}

/* Процесс работы */
.process {
    background: var(--text-light);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 30px 0 60px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-purple);
    z-index: 1;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.process-step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    transition: var(--transition);
}

.process-step:hover .process-step-number {
    animation: glow 1.5s infinite;
}

.process-step-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.process-step-text {
    max-width: 200px;
}

/* Форма заказа */
.order {
    background: #f9f9f9;
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--text-light);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: inherit;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-purple);
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 0, 255, 0.1);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-option input[type="checkbox"] {
    margin-top: 6px;
}

.form-submit {
    margin-top: 30px;
}

/* Контакты */
.contact {
    background: var(--primary-gradient);
    color: var(--text-light);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./img/KUnm5v.jpg') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.contact-container {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 50px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-info ul {
    margin-bottom: 30px;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-map {
    flex: 1;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius);
}

/* Футер */
footer {
    background: #333;
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-description {
    opacity: 0.7;
    line-height: 1.5;
}

.footer-content h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-content h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-aqua);
}

.footer-contacts ul li,
.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--accent-aqua);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 14px;
}

/* Cookie баннер */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(51, 51, 51, 0.95);
    color: var(--text-light);
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cookie-info {
    color: var(--accent-aqua);
    text-decoration: underline;
}

/* Страницы с политиками */
.policy-page {
    padding-top: 120px;
    padding-bottom: 80px;
    max-width: 800px;
    margin: 0 auto;
}

.policy-page h1 {
    font-size: 32px;
    margin-bottom: 30px;
}

.policy-page h2 {
    font-size: 24px;
    margin: 30px 0 15px;
}

.policy-page p {
    margin-bottom: 15px;
}

.policy-page ul {
    margin: 15px 0;
    padding-left: 20px;
    list-style-type: disc;
}

.policy-page li {
    margin-bottom: 8px;
}

/* Страница благодарности */
.thank-you {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.thank-you::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./img/L5Qybw.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.thank-you-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    padding: 60px 40px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    animation: fadeIn 1s ease;
}

.thank-you-icon {
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.thank-you h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--accent-purple);
    font-weight: 700;
}

.thank-you-message {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.6;
}

.thank-you-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent-aqua);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.info-card p {
    margin: 0;
}

.info-card a {
    color: var(--accent-purple);
    font-weight: 600;
    text-decoration: none;
}

.info-card a:hover {
    color: var(--accent-aqua);
}

.thank-you-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .section-title {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .process-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        flex: 0 0 calc(50% - 20px);
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .header-inner {
        height: 70px;
    }
    
    .menu {
        display: none; /* На мобильных нужно добавить меню-гамбургер */
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .process-step {
        flex: 0 0 100%;
    }
    
    .order-form {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        word-break: break-word;
        hyphens: auto;
        line-height: 1.1;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-item {
        padding: 15px 10px;
    }
    
    .testimonial-card {
        padding: 20px 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .thank-you-content {
        padding: 40px 20px;
    }
    
    .thank-you h1 {
        font-size: 28px;
    }
    
    .thank-you-message {
        font-size: 16px;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thank-you-actions .btn {
        width: 100%;
        max-width: 280px;
    }
} 