/* Domain - Finanzaudit Services Stylesheet */

/* CSS Variables для цветовой палитры */
:root {
    --deep-night: #0E0B16;        /* Tiefes Nachtblau */
    --vibrant-violet: #A239CA;     /* Vibrantes Violett */
    --electric-indigo: #4717F6;    /* Elektrisches Indigo */
    --light-gray: #E7DFDD;         /* Hellgrau */
    --coral: #FF5A5F;              /* Koralle */
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-light: #666666;
}

/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; /* Увеличенная компенсация фиксированной шапки при прокрутке к якорям */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Базовые классы для анимации */
.animate-on-scroll {
    animation: fadeInUp 0.8s ease-out;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

/* Header Styles */
.main-header {
    background: rgba(14, 11, 22, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500; /* Уменьшенный z-index чтобы не блокировать кнопку в hero */
    transition: background 0.3s ease;
    pointer-events: auto; /* Только навигация должна быть кликабельной */
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo svg {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(162, 57, 202, 0.2));
}

.logo:hover svg {
    transform: scale(1.03);
    filter: drop-shadow(0 3px 8px rgba(162, 57, 202, 0.4));
}

.logo:hover svg rect {
    fill: rgba(162, 57, 202, 0.15);
    stroke-width: 2;
}

.main-nav {
    display: none;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--vibrant-violet);
}

.nav-cta {
    background: var(--coral);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--vibrant-violet);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 65vh; /* Еще более уменьшенная высота для минимального отступа снизу */
    display: flex;
    align-items: center;
    overflow: visible !important; /* Убираем overflow hidden чтобы ничего не блокировало клики */
    padding-top: 80px; /* Отступ для фиксированной шапки */
    padding-bottom: 0.5rem; /* Минимальный отступ снизу */
    z-index: 10 !important; /* Высокий z-index для всей секции */
}

.hero-background {
    background: linear-gradient(135deg, var(--deep-night) 0%, var(--electric-indigo) 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -100 !important; /* Максимально низкий z-index для фона */
    pointer-events: none !important; /* Фон НЕ должен блокировать клики */
    user-select: none !important; /* Фон не должен быть выделяемым */
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: float 6s ease-in-out infinite;
    pointer-events: none !important; /* Псевдоэлемент НЕ должен блокировать клики */
    z-index: -200 !important; /* Самый низкий z-index */
    user-select: none !important;
}

.hero-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 50000; /* Максимальный z-index для контента */
    padding-top: 4rem; /* Увеличенный отступ сверху чтобы шапка не закрывала текст */
    animation: fadeInUp 1s ease-out;
    pointer-events: auto; /* Разрешаем все клики в контенте */
    animation-fill-mode: both; /* Сохраняем состояние после анимации */
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: slideInLeft 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
    display: inline-block !important;
    background: var(--coral) !important;
    color: var(--white) !important;
    text-decoration: none !important;
    padding: 1rem 2rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 30px rgba(255, 90, 95, 0.3) !important;
    position: relative !important;
    z-index: 99999 !important; /* Максимально возможный z-index */
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: none !important;
    /* Убираем анимацию чтобы она не мешала */
    animation: none !important;
    /* Позиционирование относительно viewport */
    margin-top: 2rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.cta-button:hover {
    background: var(--vibrant-violet);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(162, 57, 202, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
    transition: transform 0.1s ease;
}

/* Дополнительная проверка кликабельности */
.cta-button:focus {
    outline: 2px solid #FFE135;
    outline-offset: 2px;
}

/* Section Styles */
section {
    padding: 5rem 0;
    animation: fadeInUp 0.8s ease-out;
}

section:nth-child(even) {
    background: var(--light-gray);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--vibrant-violet);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--electric-indigo);
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text h2::after {
    left: 0;
    transform: none;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-highlights {
    list-style: none;
    margin-top: 2rem;
}

.about-highlights li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
}

.about-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--electric-indigo);
    font-weight: bold;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Services Section */
.services-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--electric-indigo);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    margin-bottom: 1.5rem;
}

.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-icon {
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.service-card:nth-child(2) .service-icon {
    animation-delay: 1s;
}

.service-card:nth-child(3) .service-icon {
    animation-delay: 2s;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--vibrant-violet);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    margin-bottom: 1rem;
    animation: float 4s ease-in-out infinite;
}

.benefit-item:nth-child(2) .benefit-icon {
    animation-delay: 1s;
}

.benefit-item:nth-child(3) .benefit-icon {
    animation-delay: 2s;
}

.benefit-item:nth-child(4) .benefit-icon {
    animation-delay: 3s;
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--electric-indigo);
}

.benefit-item p {
    color: var(--text-light);
}

/* Process Section */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--electric-indigo);
    border-radius: 2px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: var(--vibrant-violet);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 2rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(162, 57, 202, 0.3);
}

.step-content {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    transition: transform 0.3s ease;
}

.step-content:hover {
    transform: translateX(10px);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--electric-indigo);
}

.step-content p {
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: var(--vibrant-violet);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.testimonial-author strong {
    color: var(--electric-indigo);
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Order Section */
.order-section {
    background: var(--deep-night);
    color: var(--white);
    scroll-margin-top: 100px; /* Дополнительный отступ для якорной навигации */
    position: relative;
}

/* Разделительная полоска между формой и footer */
.order-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #FFE135 50%, transparent 100%);
}

.order-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.order-content h2 {
    color: var(--white);
}

.order-content p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.order-form {
    text-align: left;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.form-group select option {
    background: var(--deep-night);
    color: var(--white);
    padding: 0.5rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--coral);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.checkbox-label a {
    color: var(--coral);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    background: var(--coral);
    color: var(--white);
    border: none;
    padding: 1.2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    background: var(--vibrant-violet);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(162, 57, 202, 0.4);
}

/* Footer Styles */
.main-footer {
    background: var(--deep-night);
    color: var(--white);
    padding: 3rem 0 1rem;
}

/* Legal Section как на скриншоте */
.legal-section-footer {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.legal-title-yellow {
    color: #FFE135; /* Яркий желтый как на скриншоте */
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: none;
}

.legal-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.legal-links-vertical a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.legal-links-vertical a:hover {
    color: #FFE135;
}



.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--vibrant-violet);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--coral);
}

.contact-info p {
    margin-bottom: 1rem;
}





.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 350px;
    z-index: 1001;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.6s ease;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.cookie-btn {
    background: var(--coral);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.cookie-btn:hover {
    background: var(--vibrant-violet);
    transform: translateY(-2px);
}

/* Responsive Design - Mobile First */

/* Very Small Mobile Styles - для очень маленьких экранов */
@media (max-width: 360px) {
    .hero-section {
        padding-top: 140px; /* МАКСИМАЛЬНЫЙ отступ для очень маленьких экранов */
    }
    
    .hero-content {
        padding-top: 5rem; /* МАКСИМАЛЬНЫЙ отступ для текста на очень маленьких экранах */
    }
    
    .header-content {
        padding: 0.3rem 0; /* Минимальная высота шапки для очень маленьких экранов */
    }
}

/* Extra Small Mobile Styles */
@media (max-width: 480px) {
    .hero-section {
        min-height: 75vh; /* Увеличенная высота для размещения кнопки */
        padding-top: 120px; /* УВЕЛИЧЕННЫЙ отступ чтобы шапка не закрывала текст */
        padding-bottom: 5rem; /* Большой отступ снизу чтобы кнопка точно не заезжала */
    }
    
    .hero-content {
        padding-top: 4.5rem; /* УВЕЛИЧЕННЫЙ отступ для мобильных чтобы текст не перекрывался шапкой */
    }
    
    .cta-button {
        margin-bottom: 3rem !important; /* Дополнительный отступ снизу для кнопки на мобильных */
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .header-content {
        padding: 0.5rem 0; /* Уменьшенная высота шапки на мобильных для экономии места */
    }
    
    .logo svg {
        width: 110px;
        height: 36px;
    }
    
    .logo svg text:nth-of-type(1) {
        font-size: 14px;
    }
    
    .logo svg text:nth-of-type(2) {
        font-size: 15px;
    }
}

/* Medium Mobile Styles */
@media (min-width: 481px) and (max-width: 767px) {
    .hero-section {
        min-height: 70vh; /* Увеличенная высота для средних мобильных */
        padding-top: 180px; /* УВЕЛИЧЕННЫЙ отступ чтобы шапка не закрывала текст */
        padding-bottom: 4rem; /* Большой отступ снизу для средних мобильных */
    }
    
    .hero-content {
        padding-top: 4rem; /* УВЕЛИЧЕННЫЙ защитный отступ чтобы текст не перекрывался шапкой */
    }
    
    .cta-button {
        margin-bottom: 2.5rem !important; /* Дополнительный отступ снизу для кнопки на средних мобильных */
    }
}

/* Tablet Styles */
@media (min-width: 768px) {
    .main-nav {
        display: flex;
        align-items: center;
    }
    
    .hero-section {
        min-height: 65vh; /* Компактная высота для планшетов */
        padding-top: 100px; /* Меньший отступ для планшетов с навигацией */
    }
    
    .hero-content {
        padding-top: 3rem; /* Увеличенный защитный отступ для планшетов */
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    

}

/* Desktop Styles */
@media (min-width: 1200px) {
    .hero-section {
        min-height: 70vh; /* Компактная элегантная высота для desktop */
        padding-top: 90px; /* Оптимальный отступ для desktop с полной навигацией */
    }
    
    .hero-content {
        padding-top: 5.5rem; /* Увеличенный отступ для desktop */
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .process-step {
        width: 50%;
        margin-bottom: 4rem;
    }
    
    .process-step:nth-child(odd) {
        margin-left: 0;
        flex-direction: row;
    }
    
    .process-step:nth-child(even) {
        margin-left: 50%;
        flex-direction: row-reverse;
    }
    
    .process-step:nth-child(even) .step-number {
        margin-left: 2rem;
        margin-right: 0;
    }
    
    .process-step:nth-child(even) .step-content {
        margin-right: 2rem;
    }
    
    .process-step:nth-child(odd) .step-content {
        margin-left: 2rem;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        padding: 0 3rem;
    }
    
    section {
        padding: 6rem 0;
    }
}

/* Legal Pages Styles */
.legal-section {
    padding: 8rem 0 5rem;
    background: var(--light-gray);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

.legal-content h1 {
    color: var(--vibrant-violet);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.legal-content h2 {
    color: var(--electric-indigo);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    border-bottom: 2px solid var(--electric-indigo);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    color: var(--vibrant-violet);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
}

.legal-content p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-dark);
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-info {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-box {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    border-left: 4px solid var(--coral);
}

.legal-content a {
    color: var(--coral);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Service packages styles for terms page */
.service-packages {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.package {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--electric-indigo);
}

.package h4 {
    color: var(--vibrant-violet);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.package ul {
    margin: 0;
    padding-left: 1.5rem;
}

.package li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .service-packages {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Cookie policy specific styles */
.cookie-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.cookie-table th {
    background: var(--electric-indigo);
    color: var(--white);
    font-weight: 600;
}

.cookie-table tbody tr:hover {
    background: var(--light-gray);
}

.cookie-control {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
    border-left: 4px solid var(--coral);
}

.cookie-reset-btn {
    background: var(--coral);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.cookie-reset-btn:hover {
    background: var(--vibrant-violet);
    transform: translateY(-2px);
}

.browser-guides {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.browser-guides h3 {
    color: var(--electric-indigo);
    margin: 1rem 0 0.5rem;
}

.browser-guides h3:first-child {
    margin-top: 0;
}

.browser-guides p {
    margin-bottom: 1rem;
    font-style: italic;
    color: var(--text-light);
}

/* Disclaimer page specific styles */
.disclaimer-notice {
    background: linear-gradient(135deg, var(--coral) 0%, var(--vibrant-violet) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    text-align: center;
}

.disclaimer-notice h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.disclaimer-notice p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-size: 1.1rem;
}

.warning-box {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.warning-box p {
    margin: 0;
    font-weight: 500;
}

.warning-box strong {
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.important-notice {
    background: var(--deep-night);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 2px solid var(--coral);
}

.important-notice h3 {
    color: var(--coral);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.important-notice p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.important-notice ul {
    color: rgba(255, 255, 255, 0.9);
    margin: 1rem 0;
}

.important-notice li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .legal-content {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .disclaimer-notice {
        padding: 1.5rem;
    }
    
    .disclaimer-notice h2 {
        font-size: 1.3rem;
    }
    
    .important-notice {
        padding: 1.5rem;
    }
    
    /* Адаптивные стили для legal section */
    .legal-section-footer {
        padding: 1.5rem;
    }
    
    .legal-title-yellow {
        font-size: 1.3rem;
    }

    /* Адаптивная разделительная полоска */
    .order-section::after {
        width: 90%;
    }

}

/* Accessibility and Print Styles */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .main-header,
    .cookie-banner,
    .order-section {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
        min-height: auto;
        page-break-after: always;
    }
}