/* ===== ОСНОВНЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0d1821;
    --accent-light: #ecf0f1;
    --accent-coral: #e94f37;
    --accent-yellow: #ffcb47;
    --text-primary: #ffffff;
    --text-secondary: #b0bec5;
    --gradient: linear-gradient(135deg, #e94f37, #ffcb47);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== ТИПОГРАФИКА ===== */
h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-light);
}

h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--accent-coral);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===== КОНТЕЙНЕРЫ ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 3rem 0;
    animation: fadeInUp 0.8s ease-out;
    scroll-margin-top: 100px;
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(rgba(13, 24, 33, 0.95), rgba(13, 24, 33, 0.95));
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-coral);
    text-decoration: none;
}

.logo svg {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--accent-coral);
}

.header-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: var(--gradient);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--gradient);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 79, 55, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 79, 55, 0.4);
    animation: pulse 1s infinite;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-coral);
    color: var(--accent-coral);
}

.btn-secondary:hover {
    background: var(--accent-coral);
    color: var(--text-primary);
}

/* ===== HERO СЕКЦИЯ ===== */
.hero {
    background: linear-gradient(135deg, rgba(13, 24, 33, 0.8), rgba(13, 24, 33, 0.9)), url('./img/Jnr5kj.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

/* ===== КАРТОЧКИ ===== */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: linear-gradient(135deg, rgba(236, 240, 241, 0.1), rgba(176, 190, 197, 0.05));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(236, 240, 241, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: slideInLeft 0.8s ease-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(233, 79, 55, 0.2);
    border-color: var(--accent-coral);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

/* Service cards with images */
.service-card {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 24, 33, 0.7), rgba(233, 79, 55, 0.4));
}

.card-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.service-card .card-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    width: 50px;
    height: 50px;
    background: rgba(13, 24, 33, 0.9);
    border: 2px solid var(--accent-coral);
}

/* ===== ЭТАПЫ АУДИТА ===== */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.step-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: rgba(236, 240, 241, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--accent-coral);
    animation: slideInLeft 0.8s ease-out;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* ===== ОТЗЫВЫ ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background: rgba(236, 240, 241, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--accent-yellow);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-coral);
}

/* ===== ФОРМА ===== */
.form-container {
    background: linear-gradient(135deg, rgba(236, 240, 241, 0.1), rgba(176, 190, 197, 0.05));
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(236, 240, 241, 0.2);
    backdrop-filter: blur(10px);
    margin: 2rem auto 0;
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-light);
    font-weight: 500;
}

.form-input, .form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(13, 24, 33, 0.8);
    border: 2px solid rgba(236, 240, 241, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--accent-coral);
    box-shadow: 0 0 10px rgba(233, 79, 55, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
}

.checkbox-group label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkbox-group a {
    color: var(--accent-coral);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, rgba(13, 24, 33, 0.95), rgba(13, 24, 33, 1));
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(236, 240, 241, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-coral);
    margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-coral);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(236, 240, 241, 0.1);
    color: var(--text-secondary);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: rgba(13, 24, 33, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-top: 1px solid rgba(236, 240, 241, 0.2);
    z-index: 10000;
    transition: bottom 0.5s ease, opacity 0.3s ease;
    opacity: 0;
}

.cookie-banner.show {
    bottom: 0;
    opacity: 1;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text {
    color: var(--text-secondary);
    text-align: center;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* ===== МЕДИА-ЗАПРОСЫ ===== */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .header-content {
        gap: 2rem;
    }
    
    .header-nav {
        order: 2;
        flex: 1;
        justify-content: center;
    }
    
    .contact-info {
        order: 3;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info {
        display: flex;
    }
    
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .cookie-text {
        text-align: left;
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .contact-info {
        display: none;
    }
    
    .header-nav {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .form-container {
        padding: 2rem 1rem;
    }
    
    .card-image {
        height: 150px;
    }
}

/* ===== УТИЛИТЫ ===== */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
} 