/* 
 * Основные стили сайта финансового аудита
 * Цветовая палитра:
 * - Основной фон: #1fcfcf (яркий лазурный)
 * - Заголовки: #001f54 (насыщенный темно-синий)
 * - Акценты: #ff6b4d (кораллово-оранжевый)
 * - Кнопки: #006d5b (темно-зеленый)
 * - Фон блоков: #fff5e6 (нежный кремовый)
 */

/* Reset и основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1fcfcf 0%, #006d5b 100%);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #001f54;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: #ff6b4d;
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: #006d5b;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff6b4d;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: #006d5b;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 109, 91, 0.3);
}

.btn-primary:hover {
    background-color: #005446;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 109, 91, 0.4);
}

.btn-secondary {
    background-color: #ff6b4d;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 77, 0.3);
}

.btn-secondary:hover {
    background-color: #ff5233;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255, 107, 77, 0.4);
}

img {
    max-width: 100%;
    height: auto;
}

.text-center {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.card {
    background-color: #fff5e6;
    border-radius: 20px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background-color: rgba(255, 245, 230, 0.95);
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: #001f54;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff6b4d;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-contact {
    background-color: #006d5b;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px;
}

.btn-contact:hover {
    background-color: #005446;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 109, 91, 0.3);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    padding: 0;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: #001f54;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1fcfcf 0%, #006d5b 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern.svg') repeat;
    opacity: 0.05;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
}

.hero-content.text-center {
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* About Section */
.about {
    background-color: #fff5e6;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    background-color: white;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background-color: #fff5e6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1fcfcf;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
}

.service-image {
    width: 100%;
    height: 180px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 10px;
}

.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);
}

/* Benefits Section */
.benefits {
    background: linear-gradient(135deg, #1fcfcf 0%, #006d5b 100%);
    color: white;
    position: relative;
}

.benefits .section-title h2 {
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.benefit-icon {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ff6b4d;
    border-radius: 50%;
    margin-right: 20px;
    color: white;
    font-size: 1.5rem;
}

.benefit-content h3 {
    color: white;
    margin-bottom: 10px;
}

/* Process Section */
.process {
    background-color: #fff5e6;
    position: relative;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    flex: 0 0 25%;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1fcfcf 0%, #006d5b 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 109, 91, 0.3);
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 4px;
    background-color: rgba(0, 109, 91, 0.2);
    z-index: 1;
}

/* Testimonials Section */
.testimonials {
    background-color: white;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    position: relative;
    padding: 40px 30px;
    background-color: #fff5e6;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 31, 84, 0.1);
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(0, 31, 84, 0.1);
    line-height: 1;
}

.testimonial-author {
    font-weight: 700;
    color: #001f54;
}

.testimonial-position {
    font-size: 0.9rem;
    color: #666;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #1fcfcf 0%, #006d5b 100%);
    color: white;
    position: relative;
}

.contact .section-title h2 {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info-icon {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ff6b4d;
    border-radius: 50%;
    margin-right: 20px;
    color: white;
    font-size: 1.5rem;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    height: 400px;
}

/* Form Styles */
.contact-form {
    background-color: #fff5e6;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #001f54;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #1fcfcf;
    box-shadow: 0 0 0 3px rgba(31, 207, 207, 0.2);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check-input {
    margin-right: 10px;
    margin-top: 6px;
}

.form-check-label {
    color: #333;
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    background-color: #001f54;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-contact h4, .footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: #ff6b4d;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background-color: #fff5e6;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    opacity: 0;
    transition: bottom 0.5s ease, opacity 0.5s ease;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0 20px 0 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-accept {
    background-color: #006d5b;
    color: white;
}

.btn-accept:hover {
    background-color: #005446;
}

.btn-decline {
    background-color: #ff6b4d;
    color: white;
}

.btn-decline:hover {
    background-color: #ff5233;
}

.cookie-banner.show {
    bottom: 0;
    opacity: 1;
}

/* Legal Pages */
.legal-page {
    background-color: #fff5e6;
    padding: 80px 0;
}

.legal-content {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
    color: #001f54;
    margin: 40px 0 20px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p, .legal-content ul, .legal-content ol {
    margin-bottom: 20px;
}

.legal-content ul, .legal-content ol {
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1fcfcf 0%, #006d5b 100%);
    position: relative;
    text-align: center;
    color: white;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
}

.thank-you h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.thank-you p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Медиа-запросы для адаптивного дизайна */
@media screen and (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
}

@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff5e6;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-step {
        margin-bottom: 40px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin: 0 0 20px 0;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .btn {
        padding: 10px 20px;
    }
} 