/* СистемТех — лёгкий современный стиль, баланс */
:root {
    --bg: #ffffff;
    --text: #1f2937;
    --text-light: #4b5563;
    --graphite: #374151;
    --graphite-soft: #6b7280;
    --accent: #4b5563;
    --border: #e5e7eb;
    --radius: 12px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--graphite);
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--graphite);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: 1.5px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--graphite);
    color: white;
    border-color: var(--graphite);
}

.btn-primary:hover {
    background: #1f2937;
}

.btn-outline {
    background: transparent;
    color: var(--graphite);
    border-color: var(--graphite);
}

.btn-outline:hover {
    background: var(--graphite);
    color: white;
}

/* Hero */
.hero {
    padding: 100px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--graphite);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Directions */
.directions {
    padding: 60px 0;
}

.cards-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    background: #fafafa;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--graphite);
}

.card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Services */
.services {
    padding: 80px 0;
    background: #f9fafb;
}

.services h2, .how h2, .advantages h2, .contacts h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 40px;
    color: var(--graphite);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.service-card .icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.service-card h4 {
    margin-bottom: 8px;
    color: var(--graphite);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* How */
.how {
    padding: 80px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    text-align: center;
}

.step-num {
    width: 48px;
    height: 48px;
    background: var(--graphite);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 16px;
}

/* Advantages */
.advantages {
    padding: 60px 0;
    background: #f9fafb;
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.adv {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    color: var(--text);
}

/* Contacts */
.contacts {
    padding: 80px 0;
    text-align: center;
}

.contacts p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.contact-form {
    max-width: 480px;
    margin: 0 auto 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--graphite);
}

.contact-info {
    color: var(--text-light);
}

/* Footer */
.footer {
    padding: 30px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--graphite-soft);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .hero h1 {
        font-size: 2.75rem;
    }
    .cards-two {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 70px 0 50px;
    }
}