/* Перевозки — профессиональный лендинг */

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-text: #0f172a;
    --color-text-muted: #64748b;
    --color-accent: #0f172a;
    --color-accent-hover: #1e293b;
    --color-border: #e2e8f0;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo:hover {
    color: var(--color-text);
}

.nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: var(--color-text);
    background: var(--color-bg-alt);
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: var(--font);
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
    border: none;
}

.btn-sm {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.btn-lg {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-text-muted);
}

/* Hero */
.hero {
    padding: 5rem 0 6rem;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: var(--color-text);
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 540px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Features */
.features {
    padding: 4rem 0 5rem;
    background: var(--color-bg-alt);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--color-text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 1.75rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
}

.feature-icon-wrap {
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-icon {
    font-size: 1rem;
    font-weight: 700;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* CTA */
.cta-section {
    padding: 4rem 0 5rem;
    text-align: center;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.cta-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
}

.footer-text {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header {
        padding: 0.875rem 0;
    }
    
    .header-inner {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .logo {
        font-size: 1.125rem;
    }
    
    .nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.875rem;
        padding: 0.4rem 0.625rem;
    }
    
    .btn-sm {
        font-size: 0.8125rem;
        padding: 0.4rem 0.875rem;
    }
    
    .btn-lg {
        font-size: 0.9375rem;
        padding: 0.625rem 1.25rem;
    }
    
    .hero {
        padding: 3rem 0 4rem;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 1rem;
    }
    
    .hero-desc {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .features {
        padding: 3rem 0 4rem;
    }
    
    .section-title {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon-wrap {
        width: 36px;
        height: 36px;
        margin-bottom: 1rem;
    }
    
    .feature-card h3 {
        font-size: 0.9375rem;
    }
    
    .feature-card p {
        font-size: 0.8125rem;
    }
    
    .cta-section {
        padding: 3rem 0 4rem;
    }
    
    .cta-title {
        font-size: 1.25rem;
    }
    
    .cta-desc {
        font-size: 0.9375rem;
    }
    
    .footer {
        padding: 1.5rem 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .header {
        padding: 0.75rem 0;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .nav {
        width: 100%;
        justify-content: space-between;
    }
    
    .hero {
        padding: 2.5rem 0 3rem;
    }
    
    .hero-title {
        font-size: clamp(1.25rem, 7vw, 1.75rem);
    }
    
    .hero-desc {
        font-size: 0.9375rem;
    }
    
    .features {
        padding: 2.5rem 0 3rem;
    }
    
    .section-title {
        font-size: 1.125rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .cta-section {
        padding: 2.5rem 0 3rem;
    }
    
    .cta-title {
        font-size: 1.125rem;
    }
}
