:root {
    --bg: #f4f6f8;
    --surface: #ffffff;
    --surface-soft: #f0f4f8;
    --text: #142033;
    --muted: #566077;
    --brand: #0f4c81;
    --brand-strong: #0a365c;
    --accent: #17b890;
    --border: #d9e2ec;
    --shadow: 0 16px 40px rgba(15, 49, 79, 0.12);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #eef3f7 0%, #f9fbfd 45%, #f3f6f9 100%);
    line-height: 1.6;
}

a {
    color: var(--brand);
}

.site-header {
    background: linear-gradient(140deg, #0a365c 0%, #114d82 52%, #0d6a77 100%);
    color: #fff;
    padding: 28px 20px 64px;
    position: relative;
    overflow: hidden;
}

.site-header::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    top: -150px;
    right: -90px;
}

.container {
    width: min(1080px, 92%);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.brand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.brand {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    letter-spacing: 0.3px;
}

.tagline {
    margin: 8px 0 0;
    max-width: 660px;
    color: rgba(255, 255, 255, 0.88);
}

.site-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.site-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.34);
}

.hero,
.page-section {
    width: min(1080px, 92%);
    margin: -30px auto 0;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: clamp(24px, 4vw, 42px);
}

.hero h2,
.page-section h1 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.2;
}

.lead {
    color: var(--muted);
    max-width: 760px;
    margin: 14px 0 0;
}

.button-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(120deg, var(--brand) 0%, #0b6fa4 100%);
    box-shadow: 0 8px 18px rgba(16, 89, 138, 0.25);
}

.btn-secondary {
    color: var(--brand);
    background: #e8f1f8;
    border: 1px solid #cadff0;
}

.btn:hover {
    transform: translateY(-1px);
}

.services,
.feature-grid,
.legal-grid {
    width: min(1080px, 92%);
    margin: 22px auto 0;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
}

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

.card p {
    margin: 0;
    color: var(--muted);
}

.page-section {
    margin-top: -20px;
}

.page-section h2 {
    margin: 28px 0 10px;
    font-size: 1.3rem;
}

.page-section p,
.page-section li {
    color: var(--muted);
}

form {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

label {
    font-weight: 700;
    font-size: 0.92rem;
}

input,
textarea {
    width: 100%;
    border: 1px solid #cbd7e5;
    border-radius: 12px;
    padding: 12px;
    font: inherit;
    color: var(--text);
    background: #fbfdff;
}

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

button {
    border: 0;
    border-radius: 12px;
    padding: 12px 16px;
    font: inherit;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(120deg, var(--brand) 0%, #0d6f8e 100%);
    width: fit-content;
    cursor: pointer;
}

.alert-success {
    margin-top: 16px;
    background: #e7f7f1;
    color: #1a6b54;
    border: 1px solid #bce8d8;
    border-radius: 12px;
    padding: 12px 14px;
}

.contact-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.meta {
    font-size: 0.92rem;
    color: #d0e4f9;
    margin-top: 12px;
}

.site-footer {
    margin-top: 32px;
    background: #0a243d;
    color: #d5e4f3;
    padding: 18px 20px;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.95rem;
}

.site-footer a {
    color: #d5e4f3;
}

@media (max-width: 700px) {
    .site-header {
        padding-bottom: 50px;
    }
    .hero,
    .page-section {
        margin-top: -22px;
    }
    .site-footer .container {
        flex-direction: column;
    }
}
