/* Основные стили для сайта бухгалтерской компании */
:root {
    --deep-lavender: #6B5B95;
    --bright-tangerine: #FFA07A;
    --gray-white: #F8F8F8;
    --contrast-graphite: #333333;
    --azure-accent: #00BFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--contrast-graphite);
    background-color: var(--gray-white);
}

/* Контейнеры */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--deep-lavender);
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--deep-lavender), var(--azure-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5rem;
    color: var(--contrast-graphite);
}

/* Хедер */
.header {
    background: linear-gradient(135deg, var(--deep-lavender), var(--azure-accent));
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo svg {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    vertical-align: middle;
}

.contact-phone {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.contact-phone:hover {
    background: white;
    color: var(--deep-lavender);
}

/* Секции */
.hero-section {
    background: linear-gradient(135deg, var(--deep-lavender), var(--azure-accent));
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero-section h1 {
    color: white;
    margin-bottom: 20px;
    -webkit-text-fill-color: white;
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--bright-tangerine);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #ff8c66;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,160,122,0.4);
}

/* Услуги */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 5px solid var(--bright-tangerine);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    border: 3px solid var(--bright-tangerine);
}

.service-card h3 {
    color: var(--deep-lavender);
    margin-bottom: 15px;
}

/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bright-tangerine), var(--azure-accent));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

/* Как мы работаем */
.work-process {
    background: linear-gradient(135deg, var(--gray-white), white);
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--deep-lavender);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 20px;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: var(--bright-tangerine);
    z-index: -1;
}

/* Отзывы */
.testimonials {
    background: var(--deep-lavender);
    color: white;
    padding: 80px 0;
}

.testimonials h2 {
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--bright-tangerine);
}

/* Форма */
.contact-form-section {
    background: linear-gradient(135deg, var(--gray-white), white);
    padding: 80px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 3px solid var(--bright-tangerine);
    position: relative;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--contrast-graphite);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--gray-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--azure-accent);
    background: white;
    box-shadow: 0 0 10px rgba(0,191,255,0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 2px;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Футер */
.footer {
    background: var(--contrast-graphite);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--bright-tangerine);
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.footer-section a:hover {
    color: var(--azure-accent);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--contrast-graphite);
    color: white;
    padding: 20px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--azure-accent);
    color: white;
}

.cookie-accept:hover {
    background: #0099cc;
}

.cookie-decline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-decline:hover {
    background: white;
    color: var(--contrast-graphite);
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .contact-phone {
        font-size: 1rem;
        padding: 8px 16px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-container {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    /* Адаптивность для секции À propos */
    .about-section-flex {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .about-section-flex > div {
        min-width: auto !important;
    }
    
    .about-section-flex p {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .advantage-item {
        padding: 20px 15px;
    }
    
    .testimonials,
    .work-process,
    .contact-form-section {
        padding: 60px 0;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    /* Адаптация картинок услуг на очень маленьких экранах */
    .service-card img {
        width: 100px;
        height: 100px;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}

/* Утилиты */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.hidden {
    display: none;
} 