/* Базовые настройки */
:root {
    --primary-color: #3B1F5F;
    --accent-color: #9B72AA;
    --light-mint: #A4E7D3;
    --peach: #FFD8C2;
    --dark-gray: #4A4A4A;
    --light-gray: #f7f7f7;
    --white: #ffffff;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: var(--transition);
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow);
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo svg {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--dark-gray);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
}

.nav-button {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 50px;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    width: 30px;
    cursor: pointer;
}

.menu-icon span {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    margin-bottom: 5px;
    border-radius: 3px;
}

/* Главный баннер */
.main-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.main-banner::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(164, 231, 211, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.main-banner .container {
    position: relative;
    z-index: 1;
}

.main-banner h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.main-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.main-banner .btn {
    font-size: 1.1rem;
    padding: 12px 30px;
    background: var(--light-mint);
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* О компании */
.about-company {
    background-color: var(--light-gray);
    text-align: center;
}

.about-company p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Преимущества */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.benefit-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(155, 114, 170, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card .icon svg {
    width: 40px;
    height: 40px;
    fill: var(--accent-color);
}

/* Услуги */
.services {
    background-color: var(--peach);
    position: relative;
    overflow: hidden;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-color) 0%, rgba(155, 114, 170, 0) 70%);
    opacity: 0.2;
    border-radius: 50%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.service-card h3,
.service-card p {
    padding: 0 20px;
}

.service-card h3 {
    margin-top: 20px;
}

.service-card p {
    padding-bottom: 20px;
}

/* Отзывы */
.testimonials {
    background-color: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.3s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(155, 114, 170, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.quote {
    font-style: italic;
    margin-bottom: 15px;
}

.client-name {
    font-weight: 600;
    color: var(--primary-color);
}

/* Форма заказа */
.order-form {
    background: linear-gradient(135deg, var(--light-mint), var(--peach));
    padding: 80px 0;
}

.order-form .container {
    max-width: 800px;
}

.order-form form {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(155, 114, 170, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(155, 114, 170, 0.2);
    outline: none;
}

.checkbox {
    display: flex;
    align-items: flex-start;
}

.checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.required {
    color: #e74c3c;
}

/* FAQ */
.faq {
    background-color: var(--light-gray);
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
}

.faq-toggle:checked ~ .faq-question::after {
    content: '−';
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 90%;
    max-width: 400px;
    animation: slideUp 0.5s forwards;
}

@keyframes slideUp {
    0% {
        transform: translate(-50%, 100px);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.cookie-content {
    padding: 20px;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-popup .btn {
    width: 100%;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-about p,
.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: var(--light-mint);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Адаптивная верстка */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .main-banner {
        padding: 80px 0;
    }

    .main-banner h1 {
        font-size: 2.2rem;
    }

    .menu-icon {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .menu-toggle:checked ~ .nav-links {
        max-height: 300px;
    }

    .benefits-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-banner {
        padding: 60px 0;
    }

    .main-banner h1 {
        font-size: 1.8rem;
    }

    .logo svg {
        height: 30px;
    }

    .logo a span {
        display: none;
    }

    .order-form form {
        padding: 20px;
    }
} 