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

:root {
    --ink: #23262b;
    --muted: #5f6670;
    --brand: #29465a;
    --brand-soft: #eaf0f5;
    --surface: #f5f6f8;
    --line: #d9dde3;
    --white: #ffffff;
}

body {
    font-family: "Nunito Sans", sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #f9fafb 0%, #f3f5f8 100%);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: "Source Serif 4", serif;
    line-height: 1.2;
}

h1 {
    font-size: 2.6rem;
    margin-bottom: 16px;
}

h2 {
    font-size: 1.9rem;
    margin-bottom: 14px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

p {
    margin-bottom: 12px;
    color: var(--muted);
}

a {
    color: var(--brand);
    text-decoration: none;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.section-space {
    padding: 72px 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-size: 0.8rem;
    color: var(--brand);
    margin-bottom: 10px;
    font-weight: 700;
}

.lead {
    font-size: 1.1rem;
}


.site-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.brand {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ink);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
}

.main-nav a {
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    color: #434a54;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--brand-soft);
    color: var(--brand);
}

.main-nav .lang-link {
    border: 1px solid var(--line);
    background: var(--white);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 700;
    cursor: pointer;
}

.hero {
    background: radial-gradient(circle at 85% 20%, #dde5ed 0%, #edf2f7 40%, #f6f8fb 100%);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    align-items: start;
}

.hero-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
}

.hero-card ul,
.panel ul {
    padding-left: 18px;
}

.button-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.btn {
    display: inline-block;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 700;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background: #2f5872;
}

.btn-light {
    background: var(--white);
    color: var(--ink);
    border-color: var(--line);
}

.btn-light:hover {
    background: #eef2f6;
}

.section-title {
    margin-bottom: 10px;
}

.section-intro {
    margin-bottom: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
}

.panel.soft {
    background: #f4f7fa;
}

.text-link {
    font-weight: 700;
}

.accent-section {
    background: linear-gradient(180deg, #edf2f6 0%, #f5f7fa 100%);
}

.page-top {
    padding-bottom: 20px;
}

.case-list {
    display: grid;
    gap: 20px;
}

.case-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
}

.tag-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 0;
}

.tag-list li {
    border: 1px solid #cfd6de;
    background: #eef2f6;
    color: #45515e;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.9rem;
}

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

.contact-form label {
    font-weight: 700;
    color: #4a5562;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #d1d7df;
    border-radius: 8px;
    padding: 10px;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #c5d6e4;
    border-color: #7f9eb8;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #f8f9fb 0%, #f1f4f7 100%);
    margin-top: 30px;
}

.footer-inner {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.footer-name {
    color: var(--ink);
    font-weight: 800;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    padding: 0 0 18px;
    margin-bottom: 0;
}

@media (max-width: 860px) {
    h1 {
        font-size: 2.2rem;
    }

    .hero-layout,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: inline-block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 62px;
        right: 4%;
        width: 220px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 8px;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
