/* Основные стили для сайта бухгалтера */

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Цветовая схема */
    --color-primary: #33b1b1;
    --color-secondary: #9c27b0;
    --color-accent: #e6e619;
    --color-purple: #5e35b1;
    --color-white: #ffffff;
    --color-black: #333333;
    --color-gray: #f5f5f5;
    --color-dark-gray: #777777;
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--color-black);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

p {
    margin-bottom: 1rem;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-accent);
    color: var(--color-black);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--color-purple);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Хедер */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    height: 40px;
    width: auto;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav li {
    margin-left: 20px;
}

.nav a {
    font-weight: 600;
    color: var(--color-black);
}

.nav a:hover {
    color: var(--color-secondary);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Секции */
.section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--color-accent);
    margin: 15px auto;
}

/* Герой-секция */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* О нас */
.about {
    position: relative;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Преимущества */
.benefits {
    background-color: var(--color-gray);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-item {
    padding: 30px;
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    margin-bottom: 20px;
    color: var(--color-white);
    font-size: 30px;
}

/* Услуги */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 15px 0;
}

/* Этапы */
.steps {
    background-color: var(--color-gray);
}

.steps-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    flex: 1;
    min-width: 250px;
    position: relative;
    padding-left: 80px;
    margin-bottom: 30px;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    font-size: 24px;
    font-weight: 700;
}

/* FAQ */
.faq {
    background-color: var(--color-white);
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    padding: 20px;
    background-color: var(--color-gray);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.faq-answer {
    padding: 20px;
    border-radius: 0 0 10px 10px;
}

/* Форма заявки */
.contact-form {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--color-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
}

.checkbox-group {
    display: flex;
    align-items: start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-top: 5px;
    margin-right: 10px;
}

/* Контакты */
.contacts {
    background-color: var(--color-gray);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Футер */
.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    margin-bottom: 20px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-gray);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    padding: 20px;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: bottom 0.5s ease;
    opacity: 0;
}

.cookie-popup.show {
    bottom: 0;
    opacity: 1;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Страницы политик */
.policy-page {
    min-height: 100vh;
    padding: 120px 0 60px;
    background-color: var(--color-white);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-container h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.policy-container h3 {
    margin-top: 25px;
    margin-bottom: 10px;
}

.policy-container p,
.policy-container ul,
.policy-container ol {
    margin-bottom: 15px;
}

.policy-container ul,
.policy-container ol {
    padding-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

/* Страница благодарности */
.thanks-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    padding: 80px 0;
}

.thanks-content {
    max-width: 600px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: var(--color-black);
    margin: 0 auto;
}

.thanks-icon {
    font-size: 5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

/* Адаптивность */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .nav li {
        margin: 10px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .hero {
        min-height: 400px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
} 