/* Уникальный CSS для сайта бухгалтерских услуг Domain */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --peach: #FFDAB9;
    --mint: #98FF98;
    --bright-blue: #0077FF;
    --coral: #FF6B6B;
    --graphite: #2C2C2C;
    --text-dark: #1E1E1E;
    --text-light: #FFFFFF;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --border-radius: 24px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--peach) 0%, var(--mint) 100%);
    min-height: 100vh;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--bright-blue);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav a:hover {
    background: var(--bright-blue);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main content */
.main {
    margin-top: 80px;
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    margin: 4rem 0;
    padding: 3rem 0;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--bright-blue), var(--coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--graphite);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--bright-blue), var(--coral));
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 119, 255, 0.3);
}

/* Card styles */
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.card h3 {
    color: var(--bright-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    line-height: 1.7;
    color: var(--graphite);
}

/* Grid layouts */
.grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Services section */
.service-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.service-item:hover {
    border-color: var(--coral);
    transform: translateY(-8px) scale(1.02);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--bright-blue), var(--coral));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

/* Form styles */
.form {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bright-blue);
    box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1rem 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.submit-btn {
    background: linear-gradient(45deg, var(--bright-blue), var(--coral));
    color: var(--text-light);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: var(--graphite);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h4 {
    color: var(--coral);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.footer a:hover {
    color: var(--coral);
    text-decoration: underline;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 10;
}

.footer-links a {
    color: var(--text-light) !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    text-decoration: none !important;
    display: block !important;
    padding: 0.25rem 0 !important;
    transition: all 0.3s ease !important;
}

.footer-links a:hover {
    color: var(--coral) !important;
    text-decoration: underline !important;
    transform: translateX(5px) !important;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--graphite);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 400px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s ease;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-popup p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--coral);
    color: white;
}

.cookie-decline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid #666;
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

/* Responsive design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        margin: 1rem;
        padding: 4rem 1rem;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .form {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }
    
    .cookie-popup {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .header-container {
        padding: 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--bright-blue);
    outline-offset: 2px;
}

/* Стили для якорей - отступ сверху чтобы заголовок был виден */
section[id] {
    scroll-margin-top: 100px;
}

/* Для всех элементов с id */
*[id] {
    scroll-margin-top: 100px;
}

/* Print styles */
@media print {
    .header,
    .cookie-popup {
        display: none;
    }
    
    .main {
        margin-top: 0;
    }
    
    body {
        background: white;
    }
    
    .card,
    .form {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}