:root {
    --bg: #f7f8fb;
    --bg-alt: #eef2f7;
    --surface: #ffffff;
    --text: #172033;
    --muted: #5b667a;
    --line: #d7deea;
    --accent: #2563eb;
    --accent-strong: #1d4ed8;
    --container: 1120px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

.container {
    width: min(100% - 2rem, var(--container));
    margin: 0 auto;
}

.site-header,
.site-footer {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
}

.header-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.brand {
    font-weight: 700;
}

.site-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link,
.language-switch {
    color: var(--muted);
}

.nav-link.is-current,
.nav-link:hover,
.language-switch:hover {
    color: var(--text);
}

.nav-toggle {
    display: none;
}

.site-main {
    padding-bottom: 4rem;
}

.hero-section,
.page-section {
    padding: 4rem 0;
}

.page-section-alt {
    background: var(--bg-alt);
}

.hero-grid,
.page-intro,
.about-preview,
.final-cta {
    max-width: 760px;
}

.lead {
    font-size: 1.125rem;
    color: var(--muted);
}

.button-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
}

.button-primary {
    background: var(--accent);
    color: #ffffff;
}

.button-secondary {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
}

.trust-strip,
.card-grid {
    display: grid;
    gap: 1rem;
}

.trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-item,
.content-card {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
}

.content-card h2,
.final-cta h2,
.about-preview h2 {
    margin-top: 0;
}

.text-link {
    color: var(--accent);
    font-weight: 600;
}

.form-shell {
    max-width: 720px;
}

.contact-details {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.contact-detail {
    margin: 0;
    color: var(--muted);
}

.contact-detail-address {
    white-space: pre-line;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form label {
    display: grid;
    gap: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
    color: var(--text);
}

.field-validation-error {
    color: #b42318;
    font-size: 0.95rem;
}

.form-message {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 16px;
}

.form-message-success {
    background: #ecfdf3;
    border: 1px solid #86efac;
}

.form-message-error {
    background: #fef3f2;
    border: 1px solid #fda29b;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 0.75rem;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 1rem;
        right: 1rem;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: var(--bg-alt);
    }

    .site-nav.is-open {
        display: flex;
    }

    .trust-strip,
    .card-grid,
    .card-grid-three {
        grid-template-columns: 1fr;
    }
}
