/* ============================================
   ОСНОВНЫЕ СТИЛИ И СБРОС
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1A1A2E;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ============================================
   ЦВЕТОВАЯ ПАЛИТРА
   ============================================ */

:root {
    --primary-purple: #6B2C91;
    --gold-accent: #D4AF37;
    --dark-cosmos: #1A1A2E;
    --light-lavender: #E8D5F2;
    --white: #FFFFFF;
    --silver: #C0C0C0;
    --orange-sunset: #FF6B35;
    --soft-pink: #F5E6F8;
    --dark-purple: #4A148C;
    --cosmos-gradient: linear-gradient(135deg, #6B2C91 0%, #1A1A2E 50%, #4A148C 100%);
}

/* ============================================
   ТИПОГРАФИКА
   ============================================ */

h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 15px;
}

h3 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: bold;
    margin-bottom: 12px;
}

p {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ============================================
   HEADER И НАВИГАЦИЯ
   ============================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(107, 44, 145, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: bold;
    color: var(--white);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    position: relative;
}

/* Мобильное меню - checkbox hack */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background: var(--gold-accent);
    transition: all 0.3s ease;
    border-radius: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav ul li a {
    color: var(--white);
    font-size: clamp(14px, 2vw, 16px);
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--gold-accent);
    background: rgba(107, 44, 145, 0.3);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 80%;
}

/* Мобильное меню */
@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }

    .header-container nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    .menu-toggle:checked ~ nav {
        max-height: 500px;
    }

    .header-container nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .header-container nav ul li {
        width: 100%;
    }

    .header-container nav ul li a {
        display: block;
        padding: 15px;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .menu-icon {
        display: none !important;
    }
    
    .header-container nav {
        display: block !important;
    }
}

/* ============================================
   HERO СЕКЦИЯ
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--cosmos-gradient);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 20px 60px;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./img/VWu789.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cosmos-gradient);
    opacity: 0.8;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.hero h1 {
    color: var(--gold-accent);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    margin-bottom: 25px;
    animation: fadeInUp 1.2s ease;
}

.hero p {
    font-size: clamp(18px, 3vw, 24px);
    margin-bottom: 35px;
    color: var(--white);
    animation: fadeInUp 1.4s ease;
}

/* CTA Кнопка */
.btn-primary {
    display: inline-block;
    padding: 18px 40px;
    background: var(--primary-purple);
    color: var(--gold-accent);
    font-size: clamp(16px, 2vw, 20px);
    font-weight: bold;
    border-radius: 50px;
    border: 2px solid var(--gold-accent);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(107, 44, 145, 0.5);
}

.btn-primary:hover {
    background: var(--orange-sunset);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

/* ============================================
   СЕКЦИИ
   ============================================ */

section {
    padding: clamp(40px, 8vw, 80px) 20px;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    color: var(--primary-purple);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold-accent);
    border-radius: 2px;
}

/* Секция About */
.about {
    background: var(--light-lavender);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.about-text {
    animation: fadeInLeft 1s ease;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(107, 44, 145, 0.3);
    animation: fadeInRight 1s ease;
}

/* Секция услуг */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    border: 3px solid var(--primary-purple);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(107, 44, 145, 0.2);
    animation: fadeInUp 0.8s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-accent);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--dark-cosmos);
    margin-bottom: 20px;
}

.service-price {
    font-size: clamp(20px, 3vw, 28px);
    color: var(--gold-accent);
    font-weight: bold;
    margin-bottom: 20px;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-purple);
    color: var(--white);
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background: var(--gold-accent);
    color: var(--dark-cosmos);
    transform: scale(1.05);
}

/* Секция преимуществ */
.benefits {
    background: var(--cosmos-gradient);
    color: var(--white);
}

.benefits .section-title {
    color: var(--gold-accent);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold-accent);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.benefit-item h3 {
    color: var(--gold-accent);
    margin-bottom: 10px;
}

/* Секция How It Works */
.how-it-works {
    background: var(--soft-pink);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step {
    text-align: center;
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-purple);
    color: var(--gold-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(107, 44, 145, 0.4);
}

.step h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
}

/* Форма заказа */
.order-form-section {
    background: var(--light-lavender);
    padding: 80px 20px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light-lavender);
    border-radius: 20px;
    padding: 40px;
    border: 3px solid;
    border-image: linear-gradient(135deg, var(--primary-purple), var(--gold-accent)) 1;
    box-shadow: 0 10px 40px rgba(107, 44, 145, 0.3);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '⭐';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    opacity: 0.3;
    animation: rotate 10s linear infinite;
}

.form-container::after {
    content: '✨';
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 25px;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

.form-title {
    text-align: center;
    color: var(--primary-purple);
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-cosmos);
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--primary-purple);
    border-radius: 10px;
    font-size: 16px;
    background: var(--white);
    color: var(--dark-cosmos);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold-accent);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

select option {
    color: black;
    background-color: white;
}

.checkbox-group {
    margin: 25px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    cursor: pointer;
}

.checkbox-group label {
    font-weight: normal;
    line-height: 1.6;
}

.checkbox-group a {
    color: var(--primary-purple);
    text-decoration: underline;
}

.checkbox-group a:hover {
    color: var(--gold-accent);
}

.form-submit {
    width: 100%;
    padding: 18px;
    background: var(--primary-purple);
    color: var(--gold-accent);
    font-size: 18px;
    font-weight: bold;
    border: 2px solid var(--gold-accent);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.form-submit:hover {
    background: var(--orange-sunset);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

/* Секция отзывов */
.testimonials {
    background: var(--dark-cosmos);
    color: var(--white);
}

.testimonials .section-title {
    color: var(--gold-accent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-accent);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--white);
}

.testimonial-author {
    color: var(--gold-accent);
    font-weight: bold;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--dark-purple);
    color: var(--silver);
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--gold-accent);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p,
.footer-section ul {
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--silver);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--gold-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(192, 192, 192, 0.2);
    color: var(--silver);
}

/* ============================================
   COOKIE POPUP
   ============================================ */

.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(74, 20, 140, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    z-index: 2000;
    box-shadow: 0 -5px 20px rgba(107, 44, 145, 0.5);
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    color: var(--white);
    flex: 1;
    min-width: 250px;
}

.cookie-text a {
    color: var(--gold-accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-cookie {
    padding: 12px 30px;
    background: var(--gold-accent);
    color: var(--dark-purple);
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie:hover {
    background: var(--orange-sunset);
    color: var(--white);
    transform: scale(1.05);
}

/* ============================================
   СТРАНИЦЫ ПОЛИТИКИ
   ============================================ */

.policy-page {
    padding: 120px 20px 80px;
    min-height: 100vh;
    background: var(--soft-pink);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border: 2px solid var(--primary-purple);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(107, 44, 145, 0.2);
}

.policy-container h1 {
    color: var(--primary-purple);
    margin-bottom: 30px;
    text-align: center;
}

.policy-container h2 {
    color: var(--primary-purple);
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-container p,
.policy-container ul {
    margin-bottom: 15px;
    line-height: 1.8;
}

.policy-container ul {
    padding-left: 30px;
}

.policy-container a {
    color: var(--primary-purple);
    text-decoration: underline;
}

.policy-container a:hover {
    color: var(--gold-accent);
}

.contact-info {
    margin-top: 40px;
    padding: 30px;
    background: var(--light-lavender);
    border-radius: 10px;
    border-left: 4px solid var(--gold-accent);
}

.contact-info h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.breadcrumbs {
    margin-bottom: 30px;
    color: var(--primary-purple);
}

.breadcrumbs a {
    color: var(--primary-purple);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--gold-accent);
}

.back-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background: var(--primary-purple);
    color: var(--white);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: var(--gold-accent);
    color: var(--dark-cosmos);
    transform: translateY(-2px);
}

/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТРАНИЦЫ
   ============================================ */

.content-page {
    padding: 120px 20px 80px;
    min-height: 100vh;
    background: var(--soft-pink);
}

.content-block {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(107, 44, 145, 0.2);
    border: 2px solid var(--primary-purple);
}

.content-block h1 {
    color: var(--primary-purple);
    margin-bottom: 30px;
    text-align: center;
}

.content-block p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ============================================
   АНИМАЦИИ
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(107, 44, 145, 0.5);
    }
    50% {
        box-shadow: 0 4px 25px rgba(212, 175, 55, 0.8);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 80px 20px 40px;
    }

    section {
        padding: 40px 20px;
    }

    .services-grid,
    .benefits-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 30px 20px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .policy-container,
    .content-block {
        padding: 30px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .btn-primary,
    .btn-secondary,
    .form-submit {
        padding: 12px 25px;
        font-size: 14px;
    }

    .service-card,
    .benefit-item {
        padding: 20px;
    }
}

