/* Основные стили для сайта финансового аудита */
:root {
    --primary: #FF6B6B; /* яркий лососевый */
    --white: #FFFFFF;
    --dark-blue: #1A1A40; /* глубокий темно-синий */
    --purple: #CDB4DB; /* пастельный фиолетовый */
    --amber: #FFB627; /* мягкий янтарный */
    --black: #121212; /* полуночный черный */
    --gray: #CCCCCC;
    --font-main: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--dark-blue);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Шапка */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    max-height: 60px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-blue);
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero секция */
.hero {
    padding: 160px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--black);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
    color: var(--white);
}

/* О нас */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Услуги */
.services {
    padding: 80px 0;
    background-color: var(--purple);
    background-image: linear-gradient(135deg, var(--white), var(--purple));
}

.services h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.2rem;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    border-radius: 50%;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark-blue);
}

/* Этапы работы */
.process {
    padding: 80px 0;
    background-color: var(--white);
}

.process h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.2rem;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.process-step {
    position: relative;
    flex: 0 0 calc(25% - 30px);
    text-align: center;
    padding: 0 15px;
    margin-bottom: 40px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.process-step h3 {
    margin-bottom: 10px;
    color: var(--dark-blue);
}

/* Преимущества */
.benefits {
    padding: 80px 0;
    background-color: var(--amber);
    background-image: linear-gradient(135deg, var(--amber), var(--white));
}

.benefits h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.2rem;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.benefit-item {
    flex: 0 0 calc(33.333% - 30px);
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    margin-bottom: 20px;
}

.benefit-icon {
    flex: 0 0 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 20px;
}

.benefit-content h3 {
    margin-bottom: 5px;
    color: var(--dark-blue);
}

/* Отзывы */
.testimonials {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.2rem;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.2;
}

.testimonial-author {
    font-weight: bold;
    color: var(--dark-blue);
}

/* Форма заказа */
.contact-form {
    padding: 80px 0;
    background: url('../img/N7zD9F.jpg') center center/cover;
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 64, 0.8);
}

.contact-form .container {
    position: relative;
    z-index: 1;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--white);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-blue);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

.form-check {
    display: block;
    padding-left: 30px;
    margin-bottom: 15px;
    position: relative;
}

.form-check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--white);
    border: 2px solid var(--gray);
    border-radius: 4px;
}

.form-check:hover input ~ .checkmark {
    border-color: var(--primary);
}

.form-check input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.form-check input:checked ~ .checkmark:after {
    display: block;
}

.form-check .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Контакты и карта */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-detail {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    margin-right: 15px;
    min-width: 20px;
    color: var(--primary);
}

.map {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Подвал */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.company-info p {
    margin-bottom: 15px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Куки баннер */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 15px 0;
    z-index: 1001;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
    margin-bottom: 10px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie {
    padding: 8px 20px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-cookie:hover {
    background-color: #ff5252;
}

.btn-cookie-secondary {
    background-color: transparent;
    border: 1px solid var(--white);
}

.btn-cookie-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Страница благодарности */
.thank-you {
    padding: 160px 0 80px;
    background: linear-gradient(to right, var(--white), var(--purple) 150%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thank-you h1 {
    color: var(--primary);
    margin-bottom: 20px;
}

.thank-you p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-info-thank-you {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info-thank-you .contact-detail {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-thank-you .contact-icon {
    margin-right: 10px;
    color: var(--primary);
}

/* Страницы с правовой информацией */
.legal-page {
    padding: 160px 0 80px;
    background-color: var(--white);
}

.legal-page h1 {
    color: var(--dark-blue);
    margin-bottom: 40px;
    text-align: center;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.legal-content h2 {
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 5px;
}

/* Адаптивные стили */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .process-step {
        flex: 0 0 calc(50% - 30px);
    }
    
    .benefit-item {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        align-items: center;
        padding-top: 40px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin-left: 0;
        margin-bottom: 30px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .benefit-item {
        flex: 0 0 100%;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .map {
        height: 300px;
    }
    
    .legal-page {
        padding: 120px 0 60px;
    }
    
    .legal-content {
        padding: 20px;
    }
    
    .legal-content h2 {
        font-size: 1.6rem;
    }
    
    .legal-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .process-step {
        flex: 0 0 100%;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .legal-content {
        padding: 15px;
    }
} 