/* Основные цвета
 * Глубокий фиолетовый: #4A148C
 * Ярко-желтый: #FFEB3B
 * Слоновая кость: #FFF8E1
 * Угольно-серый: #212121
 * Яркий акцент (аквамарин): #00BCD4
 */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Arial', sans-serif;
    color: #212121;
    background-color: #FFF8E1;
    line-height: 1.6;
}

a {
    color: #4A148C;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00BCD4;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}

/* Buttons */
.btn-primary, 
.btn-secondary,
.btn-submit,
.btn-option,
.btn-option-featured,
.btn-cookie {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.btn-primary {
    background-color: #4A148C;
    color: #FFF;
}

.btn-primary:hover {
    background-color: #5D1DB1;
    color: #FFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(74, 20, 140, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #4A148C;
    border: 2px solid #4A148C;
}

.btn-secondary:hover {
    background-color: #4A148C;
    color: #FFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(74, 20, 140, 0.2);
}

.btn-submit {
    background-color: #4A148C;
    color: #FFF;
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

.btn-submit:hover {
    background-color: #5D1DB1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(74, 20, 140, 0.2);
}

.btn-option {
    background-color: #4A148C;
    color: #FFF;
    width: 100%;
}

.btn-option:hover {
    background-color: #5D1DB1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(74, 20, 140, 0.2);
    color: #FFF;
}

.btn-option-featured {
    background-color: #00BCD4;
    color: #FFF;
    width: 100%;
}

.btn-option-featured:hover {
    background-color: #00ACC1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 188, 212, 0.2);
    color: #FFF;
}

.btn-cookie {
    background-color: #FFEB3B;
    color: #212121;
    padding: 8px 16px;
}

.btn-cookie:hover {
    background-color: #FDD835;
    color: #212121;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 36px;
    color: #4A148C;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #FFEB3B;
}

.section-header p {
    color: #666;
    font-size: 18px;
}

/* Header & Navigation */
.site-header {
    background-color: #FFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    max-width: 200px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: #212121;
    font-weight: 600;
    padding: 10px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #FFEB3B;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #4A148C;
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #4A148C;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(33, 33, 33, 0.95);
    color: #FFF;
    z-index: 9999;
    padding: 15px;
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookie-content {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
}

.cookie-content a {
    color: #FFEB3B;
    text-decoration: underline;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4A148C 0%, #7B1FA2 100%);
    color: #FFF;
    padding: 100px 0;
    overflow: hidden;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Services Section */
.services-section {
    background-color: #FFF;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #FFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin: 0 auto 24px;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 235, 59, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #4A148C;
}

.service-link {
    display: inline-block;
    margin-top: 16px;
    font-weight: 600;
    color: #4A148C;
    position: relative;
}

.service-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover::after {
    transform: translateX(5px);
}

/* Service Options Section */
.service-options-section {
    background-color: #F5F5F5;
    position: relative;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.option-card {
    background-color: #FFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.option-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.option-image {
    height: 180px;
    overflow: hidden;
}

.option-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.option-card:hover .option-image img {
    transform: scale(1.05);
}

.option-header {
    background-color: #4A148C;
    color: #FFF;
    padding: 30px 20px;
    text-align: center;
}

.option-card.featured .option-header {
    background-color: #00BCD4;
}

.option-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    transform: rotate(45deg);
    background-color: #FFEB3B;
    color: #212121;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 5;
}

.option-price {
    margin-top: 15px;
}

.price-amount {
    font-size: 36px;
    font-weight: 700;
}

.price-period {
    font-size: 16px;
    opacity: 0.7;
}

.price-custom {
    font-size: 24px;
    font-weight: 600;
}

.option-features {
    padding: 30px 20px;
}

.option-features ul {
    text-align: center;
}

.option-features li {
    padding: 10px 0;
    border-bottom: 1px solid #F0F0F0;
}

.option-features li:last-child {
    border-bottom: none;
}

.option-card .btn-option,
.option-card .btn-option-featured {
    margin: 0 20px 30px;
    display: block;
    text-decoration: none;
    font-weight: 600;
}

/* Advantages Section */
.advantages-section {
    background-color: #FFF8E1;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    text-align: center;
    padding: 30px 20px;
    background-color: #FFF;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    margin: 0 auto 24px;
    width: 70px;
    height: 70px;
}

.advantage-card h3 {
    font-size: 20px;
    color: #4A148C;
    margin-bottom: 16px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #F5F5F5;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: #FFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    position: relative;
    padding-top: 20px;
    margin-bottom: 30px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 80px;
    opacity: 0.1;
    font-family: Georgia, serif;
    color: #4A148C;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #4A148C;
}

.author-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Contact Section */
.contact-section {
    background-color: #FFF;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contact-form-container {
    background-color: #FFF;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #212121;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #DDD;
    border-radius: 5px;
    background-color: #F9F9F9;
    font-family: 'Arial', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #4A148C;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 20, 140, 0.1);
}

.form-check {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.form-check input {
    margin-top: 5px;
    margin-right: 10px;
}

.form-check label {
    font-size: 14px;
    line-height: 1.5;
}

.form-check a {
    text-decoration: underline;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background-color: #4A148C;
    color: #FFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    margin-bottom: 20px;
    color: #FFEB3B;
    font-size: 24px;
}

.info-card p {
    margin-bottom: 15px;
}

.info-card a {
    color: #FFEB3B;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: #FFF;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* FAQ Section */
.faq-section {
    background-color: #F5F5F5;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #FFF;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 18px;
    margin: 0;
    color: #4A148C;
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #4A148C;
    transition: all 0.3s ease;
}

.faq-icon::before {
    width: 20px;
    height: 2px;
    top: 9px;
}

.faq-icon::after {
    width: 2px;
    height: 20px;
    left: 9px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* Footer */
.site-footer {
    background-color: #212121;
    color: #FFF8E1;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info p {
    opacity: 0.8;
    margin-top: 20px;
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
    font-size: 20px;
    color: #FFEB3B;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-legal a {
    color: #FFF8E1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    opacity: 1;
    color: #FFEB3B;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    font-size: 14px;
    opacity: 0.7;
    margin: 0;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease;
}

.animate-slide-up {
    animation: slideUp 1s ease;
}

.animate-slide-right {
    animation: slideRight 1s ease;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* CSS для активации анимации при прокрутке */
.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ accordion */
.faq-item .faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 24px;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* Media Queries */
@media (max-width: 1024px) {
    section {
        padding: 60px 0;
    }
    
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .services-grid,
    .advantages-grid,
    .testimonials-grid,
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 30px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 80px);
        background-color: #FFF;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .services-grid,
    .advantages-grid,
    .testimonials-grid,
    .options-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 0;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Общие стили для страниц политик */
.policy-section {
    background-color: #FFF8E1;
    padding: 60px 0;
}

.policy-content {
    background-color: #FFF;
    border-radius: 10px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.policy-content h1 {
    color: #4A148C;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFEB3B;
    padding-bottom: 15px;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
}

.policy-text h2 {
    color: #4A148C;
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 24px;
}

.policy-text h3 {
    color: #00BCD4;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 20px;
}

.policy-text p, 
.policy-text ul {
    margin-bottom: 20px;
}

.policy-text ul {
    padding-left: 20px;
}

.policy-text li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.policy-text a {
    color: #00BCD4;
}

.policy-text a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .policy-section {
        padding: 40px 0;
    }
    
    .policy-content {
        padding: 30px 20px;
    }
    
    .policy-content h1 {
        font-size: 28px;
    }
    
    .policy-text h2 {
        font-size: 22px;
    }
    
    .policy-text h3 {
        font-size: 18px;
    }
}

/* Страница благодарности */
.thanks-section {
    background-color: #FFF8E1;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.thanks-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 60px;
    background-color: #FFF;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.thanks-icon {
    margin: 0 auto 30px;
}

.thanks-content h1 {
    color: #4A148C;
    margin-bottom: 20px;
}

.thanks-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.info-time {
    color: #666;
    font-size: 16px;
    font-style: italic;
}

.thanks-buttons {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .thanks-content {
        padding: 40px 20px;
    }
    
    .thanks-content h1 {
        font-size: 28px;
    }
} 