:root {
    --bg: #0a0d11;
    --bg-soft: #10151b;
    --panel: rgba(255, 255, 255, 0.04);
    --panel-strong: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.09);
    --text: #eef2f7;
    --muted: #a4afbd;
    --accent: #9ed7ff;
    --accent-strong: #ffffff;
    --success: #0f8a5f;
    --error: #b94545;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(96, 162, 255, 0.18), transparent 32%),
        radial-gradient(circle at left center, rgba(255, 255, 255, 0.06), transparent 26%),
        var(--bg);
    color: var(--text);
}

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

.site-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 48px;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px 0 28px;
    border-bottom: 1px solid var(--border);
}

.brand-block { display: flex; flex-direction: column; gap: 4px; }
.brand {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}
.brand-tag {
    color: var(--muted);
    font-size: 0.9rem;
}

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

.main-nav {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
    color: var(--muted);
}
.main-nav a:hover,
.lang-btn:hover { color: var(--text); }

.lang-switcher {
    display: inline-flex;
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.lang-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
    color: var(--muted);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.09);
    color: var(--text);
}

.hero {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 28px;
    padding: 64px 0 30px;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.service-card,
.contact-form-wrap,
.quote-section,
.story-section,
.services-section {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: 44px;
}

.eyebrow,
.section-index {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero h1 {
    margin: 14px 0 18px;
    font-size: clamp(2.4rem, 4vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero-text,
.story-lead,
.story-body p,
.service-card p,
.contact-copy p,
.contact-note,
.form-row label,
.site-footer,
.form-status {
    color: var(--muted);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    transition: 180ms ease;
    font-weight: 600;
}

.button-primary {
    background: var(--accent-strong);
    color: #0c1117;
}

.button-primary:hover {
    transform: translateY(-1px);
    background: #dcefff;
}

.button-secondary {
    background: transparent;
    color: var(--text);
}

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

.hero-panel {
    display: grid;
    gap: 16px;
    padding: 20px;
    align-content: center;
}

.stat-card {
    padding: 22px;
    border-radius: 22px;
    background: var(--panel-strong);
    border: 1px solid var(--border);
}

.stat-card-wide { min-height: 140px; }

.stat-value {
    display: block;
    font-size: clamp(1.6rem, 2.2vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 6px;
}

.stat-label { color: var(--muted); }

.section {
    margin-top: 22px;
    padding: 34px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 3rem);
    letter-spacing: -0.04em;
}

.story-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
}

.story-lead {
    font-size: 1.15rem;
    margin: 0;
}

.story-body p:first-child { margin-top: 0; }
.story-body p:last-child { margin-bottom: 0; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    padding: 24px;
    border-radius: 22px;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 1.15rem;
}

.quote-section {
    padding: 32px 34px;
}

.quote-section blockquote {
    margin: 0;
    font-size: clamp(1.4rem, 2.8vw, 2.6rem);
    line-height: 1.25;
    letter-spacing: -0.04em;
}

.contact-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 24px;
}

.contact-copy h2 {
    margin-top: 12px;
    margin-bottom: 16px;
    font-size: clamp(1.8rem, 3vw, 3rem);
    letter-spacing: -0.04em;
}

.contact-form-wrap {
    padding: 24px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    gap: 8px;
}

.form-row label {
    font-size: 0.92rem;
}

.form-row input,
.form-row textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: 2px solid rgba(158, 215, 255, 0.35);
    border-color: rgba(158, 215, 255, 0.35);
}

.full-width { width: 100%; }

.form-status {
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid transparent;
}

.form-status.success {
    background: rgba(15, 138, 95, 0.14);
    color: #9cf0cb;
    border-color: rgba(15, 138, 95, 0.35);
}

.form-status.error {
    background: rgba(185, 69, 69, 0.14);
    color: #ffc4c4;
    border-color: rgba(185, 69, 69, 0.35);
}

.contact-note {
    margin-top: 20px;
}

.site-footer {
    padding: 28px 0 10px;
    text-align: center;
    font-size: 0.92rem;
}

@media (max-width: 980px) {
    .hero,
    .story-grid,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .site-shell {
        width: min(100% - 20px, 1200px);
    }

    .site-header,
    .header-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .hero-copy,
    .section,
    .contact-form-wrap,
    .quote-section {
        padding: 24px;
    }
}
