/* 
* Основные стили для сайта финансового аудита
* Цветовая палитра:
* - Темно-лиловый: #3A0CA3
* - Персиковый: #FFB4A2
* - Мятный: #99F6E4
* - Графитовый фон: #1F2937
* - Акценты: Желтый неон: #FFEA00
*/

/* Сброс и общие стили */
:root {
    --primary: #3A0CA3;
    --secondary: #FFB4A2;
    --tertiary: #99F6E4;
    --dark: #1F2937;
    --accent: #FFEA00;
    --light: #ffffff;
    --gray: #f5f5f5;
    --text: #333333;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Arial', sans-serif;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text);
    line-height: 1.6;
    background-color: var(--light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--primary);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    background-color: var(--primary);
    color: var(--light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--accent);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--light);
    color: var(--light);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-secondary:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--dark);
}

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-2 {
    margin-top: 2rem;
}

.section-header {
    margin-bottom: 60px;
}

.section-subheading {
    color: var(--secondary);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: block;
}

/* Шапка сайта */
.site-header {
    background-color: var(--light);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 0 0 auto;
}

.logo-svg {
    display: block;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    width: 30px;
    height: 21px;
    position: relative;
    cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: var(--primary);
    height: 3px;
    width: 100%;
    position: absolute;
    transition: all 0.3s ease;
}

.nav-toggle-label span {
    top: 9px;
}

.nav-toggle-label span::before {
    content: '';
    top: -9px;
}

.nav-toggle-label span::after {
    content: '';
    top: 9px;
}

.main-nav ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
}

.main-nav .cta-button a {
    margin-left: 10px;
}

/* Hero секция */
.hero {
    padding: 180px 0 100px;
    background-color: var(--dark);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, var(--primary) 0%, rgba(26,18,70,0.8) 100%);
    opacity: 0.8;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    color: var(--light);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--tertiary);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* О компании */
.about {
    background-color: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Блок преимуществ */
.benefits {
    background-color: var(--gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--tertiary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 2rem;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* Услуги */
.services {
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--tertiary);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-features {
    margin: 20px 0;
    padding-left: 20px;
}

.service-features li {
    margin-bottom: 8px;
}

/* Отзывы */
.testimonials {
    background-color: var(--gray);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.testimonial-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-style: italic;
    position: relative;
    padding: 0 15px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: 0;
    left: -10px;
    font-size: 30px;
    color: var(--secondary);
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-name {
    font-weight: 600;
    color: var(--primary);
}

.client-company {
    font-size: 0.9rem;
    color: var(--text);
}

/* Форма заказа */
.contact-form {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--light);
}

.contact-form h2,
.contact-form .section-subheading {
    color: var(--light);
}

.contact-form h2::after {
    background-color: var(--accent);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.form-container {
    background-color: var(--light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.form-control {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
    background-color: var(--gray);
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(58, 12, 163, 0.25);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
}

.checkbox-group label {
    color: var(--text);
    font-size: 0.95rem;
}

.checkbox-group a {
    color: var(--primary);
    font-weight: 600;
}

.form-submit {
    margin-top: 20px;
}

.form-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

/* FAQ */
.faq {
    background-color: var(--light);
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--gray);
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Контактная информация */
.contact-info {
    background-color: var(--gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--tertiary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 2rem;
}

.contact-card h3 {
    margin-bottom: 15px;
}

.map-container {
    margin-top: 50px;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Подвал */
.site-footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-description {
    color: var(--gray);
    font-size: 0.9rem;
}

.site-footer h3 {
    color: var(--light);
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.site-footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-contact p {
    color: var(--gray);
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--tertiary);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-legal ul,
.footer-nav ul {
    list-style-type: none;
}

.footer-legal ul li,
.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-legal a,
.footer-nav a {
    color: var(--gray);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-legal a:hover,
.footer-nav a:hover {
    color: var(--tertiary);
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Cookie баннер */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark);
    color: var(--light);
    padding: 15px 0;
    z-index: 9999;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 20px;
    font-size: 0.9rem;
}

.cookie-content a {
    color: var(--tertiary);
}

/* Страница благодарности */
.thank-you {
    padding: 120px 0;
    text-align: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background-color: var(--tertiary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 3rem;
}

/* Адаптивность - Media Queries */

/* Tablets */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .benefits-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-grid,
    .form-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
}

/* Mobile Phones */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .nav-toggle-label {
        display: block;
        z-index: 2;
    }
    
    .main-nav {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--light);
        overflow: hidden;
        transition: all 0.3s ease;
        opacity: 0;
    }
    
    .nav-toggle:checked ~ .main-nav {
        height: auto;
        padding: 80px 20px 30px;
        opacity: 1;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .main-nav .cta-button {
        margin-top: 20px;
    }
    
    .main-nav .cta-button a {
        margin-left: 0;
    }
    
    .benefits-grid,
    .services-grid,
    .testimonials-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Small Mobile Phones */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .form-container {
        padding: 20px;
    }
} 