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

:root {
    --bg: #0b1220;
    --bg-soft: #111a2b;
    --surface: #ffffff;
    --surface-soft: #f3f6fb;
    --text: #162033;
    --text-light: #6b7280;
    --white: #ffffff;
    --primary: #ff7a00;
    --primary-hover: #e66e00;
    --border: #e5e7eb;
    --shadow: 0 20px 50px rgba(11, 18, 32, 0.08);
    --radius: 18px;
    --container: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 18, 32, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-row {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

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

.nav a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    transition: 0.2s ease;
}

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

.header-phone {
    color: var(--white);
    font-weight: 700;
    white-space: nowrap;
}

.hero {
    background:
        linear-gradient(135deg, rgba(11,18,32,0.96), rgba(17,26,43,0.86)),
        radial-gradient(circle at top right, rgba(255,122,0,0.18), transparent 35%);
    color: var(--white);
    padding: 88px 0 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 36px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #d7deea;
    font-size: 14px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: 54px;
    line-height: 1.05;
    margin-bottom: 18px;
    max-width: 760px;
}

.hero-text {
    font-size: 18px;
    color: #d7deea;
    max-width: 620px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-points span {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 10px 14px;
    color: #e6edf8;
    font-size: 14px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    padding: 28px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.hero-card h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

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

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--bg);
    color: var(--white);
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.section-head.left {
    text-align: left;
    margin-left: 0;
}

.section-head h1,
.section-head h2 {
    font-size: 40px;
    line-height: 1.1;
    margin-bottom: 12px;
}

.section-head p {
    color: var(--text-light);
    font-size: 17px;
}

.section-head.light p {
    color: #c7d0de;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: -50px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 26px 22px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-card strong {
    display: block;
    font-size: 32px;
    margin-bottom: 6px;
}

.stat-card span {
    color: var(--text-light);
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-light);
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.feature {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.feature p {
    color: #c7d0de;
}

.cta {
    background: var(--surface-soft);
}

.cta-box {
    background: linear-gradient(135deg, #111a2b, #1b2942);
    color: var(--white);
    border-radius: 28px;
    padding: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow);
}

.cta-box h2 {
    font-size: 34px;
    margin-bottom: 8px;
}

.cta-box p {
    color: #d7deea;
}

.contacts-page {
    background: var(--surface-soft);
    min-height: 70vh;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.2fr;
    gap: 24px;
    margin-top: 24px;
}

.contact-card,
.form-card {
    height: 100%;
}

.contact-info h3,
.form-card h3 {
    font-size: 26px;
    margin-bottom: 18px;
}

.contact-info p {
    margin-bottom: 16px;
}

.contact-note {
    margin-top: 18px;
    padding: 16px;
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    font-size: 14px;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

input:focus,
textarea:focus {
    border-color: rgba(255, 122, 0, 0.65);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 700;
    transition: 0.2s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
}

.btn-full {
    width: 100%;
}

.site-footer {
    background: var(--bg);
    color: var(--white);
    padding-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    padding-bottom: 28px;
}

.footer-logo {
    margin-bottom: 12px;
}

.site-footer p,
.site-footer h4 {
    color: #d7deea;
}

.site-footer h4 {
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0 26px;
    color: #aab4c5;
}

@media (max-width: 1100px) {
    .hero h1 {
        font-size: 44px;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .header-row {
        flex-wrap: wrap;
        justify-content: center;
        padding: 14px 0;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-grid,
    .contacts-grid,
    .footer-grid,
    .features,
    .cta-box {
        grid-template-columns: 1fr;
    }

    .cta-box {
        align-items: flex-start;
    }

    .hero {
        padding: 72px 0 56px;
    }

    .hero h1,
    .section-head h1,
    .section-head h2 {
        font-size: 34px;
    }
}

@media (max-width: 640px) {
    .cards,
    .stats {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn,
    .header-phone {
        width: 100%;
    }

    .hero-card {
        padding: 22px;
    }

    .section {
        padding: 64px 0;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lk-btn {
    white-space: nowrap;
}
