/* Базовые стили */
:root {
    --color-primary: #000000;
    --color-secondary: #333333;
    --color-accent: #0066cc;
    --color-light: #666666;
    --color-bg: #ffffff;
    --color-border: #e0e0e0;
    --color-hover: #f5f5f5;
    
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-primary);
    background: var(--color-bg);
    overflow-x: hidden;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    padding: 0 20px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 30px;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.logo-sub {
    font-size: 12px;
    color: var(--color-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-accent);
    font-size: 14px;
    flex-shrink: 0;
}

.nav-contact i {
    font-size: 16px;
}

.email {
    font-weight: 500;
}

/* Основное содержание */
.main-content {
    margin-top: 80px;
}

/* Герой секция */
.hero-section {
    padding: 100px 20px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    background: var(--color-accent);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-secondary);
    font-size: 16px;
}

.feature i {
    color: var(--color-accent);
    font-size: 14px;
}

/* Общие стили секций */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-light);
    text-align: center;
    margin-bottom: 50px;
}

/* О компании */
.about-section {
    padding: 100px 20px;
    background: var(--color-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-secondary);
    margin-bottom: 60px;
    text-align: center;
}

.about-text strong {
    color: var(--color-primary);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--color-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Услуги */
.services-section {
    padding: 100px 20px;
    background: #f8f9fa;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-bg);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent);
}

.service-icon {
    font-size: 48px;
    color: var(--color-accent);
    margin-bottom: 25px;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.service-description {
    color: var(--color-secondary);
    line-height: 1.6;
}

/* Контакты */
.contacts-section {
    padding: 100px 20px;
    background: var(--color-bg);
}

.contacts-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: var(--radius);
    border-left: 4px solid var(--color-accent);
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 36px;
    color: var(--color-accent);
}

.contact-label {
    font-size: 14px;
    color: var(--color-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-value:hover {
    color: var(--color-accent);
}

.contact-process h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.process-steps {
    padding-left: 20px;
    color: var(--color-secondary);
    line-height: 1.8;
}

.process-steps li {
    margin-bottom: 10px;
}

.contact-note {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #fff8e1;
    border-radius: var(--radius);
    border-left: 4px solid #ffc107;
}

.contact-note i {
    color: #ffc107;
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-note p {
    color: #856404;
    line-height: 1.6;
    margin: 0;
}

/* Подвал */
.footer {
    padding: 40px 20px;
    background: var(--color-primary);
    color: white;
    border-top: 1px solid var(--color-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo-main {
    color: white;
    font-size: 24px;
}

.footer-logo .logo-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.footer-info {
    text-align: right;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
}

.footer-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }
    
    .nav-menu {
        gap: 20px;
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .main-content {
        margin-top: 140px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        gap: 30px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-value {
        font-size: 20px;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .hero-section,
    .about-section,
    .services-section,
    .contacts-section {
        padding: 60px 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .contact-value {
        font-size: 18px;
    }
}

/* Плавные анимации */
.service-card,
.contact-item,
.contact-note {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}