
:root {
    --blue: #0f61a5;
    --black: #050505;
    --dark: #111111;
    --white: #ffffff;
    --light: #f4f6f8;
    --text: #222222;
    --muted: #5a6470;
    --border: #d9e0e7;
    --shadow: 0 16px 34px rgba(0,0,0,0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

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

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

.site-header {
    background: var(--black);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 4px solid var(--blue);
}

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

.logo {
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    letter-spacing: 0.02em;
}

.logo span {
    color: var(--blue);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a.active {
    background: var(--blue);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
}

.hero {
    background:
        linear-gradient(120deg, rgba(5,5,5,0.94), rgba(15,97,165,0.84)),
        linear-gradient(45deg, #111111, #0f61a5);
    color: var(--white);
    padding: clamp(70px, 11vw, 135px) 0;
}

.hero-content {
    max-width: 850px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--blue);
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    font-weight: 800;
}

.hero .eyebrow,
.page-hero .eyebrow {
    color: #b9dcff;
}

h1,
h2,
h3 {
    line-height: 1.15;
}

h1 {
    margin: 0;
    font-size: clamp(2.35rem, 6vw, 4.5rem);
}

h2 {
    margin: 0 0 12px;
    font-size: clamp(1.75rem, 4vw, 2.6rem);
}

h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
}

.hero-text {
    max-width: 760px;
    font-size: 1.18rem;
    color: #f1f5f9;
    margin: 22px 0 0;
}

.hero-actions,
.cta-content {
    margin-top: 30px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn.primary:hover {
    background: #0b4d83;
}

.btn.secondary {
    border-color: var(--white);
    color: var(--white);
}

.btn.secondary:hover {
    background: var(--white);
    color: var(--black);
}

.section {
    padding: clamp(55px, 8vw, 90px) 0;
}

.section-heading {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 38px;
}

.section-heading .eyebrow {
    color: var(--blue);
}

.services-home {
    background: var(--light);
}

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

.service-card {
    min-height: 245px;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 6px solid var(--blue);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.service-card h3 {
    color: var(--black);
}

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

.cta-band {
    background: var(--black);
    color: var(--white);
}

.cta-content {
    justify-content: space-between;
}

.cta-content p {
    max-width: 620px;
    color: #e5edf5;
}

.page-hero {
    background: linear-gradient(120deg, var(--black), var(--blue));
    color: var(--white);
    padding: clamp(55px, 8vw, 95px) 0;
}

.page-hero p {
    max-width: 760px;
    color: #edf5ff;
}

.split,
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 34px;
    align-items: start;
}

.panel,
.contact-card,
.contact-form {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.07);
}

.check-list {
    margin: 0;
    padding-left: 20px;
}

.check-list li {
    margin-bottom: 10px;
}

.contact-card a {
    font-weight: 700;
}

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

.contact-form label {
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    font: inherit;
}

.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 38px 0;
    border-top: 4px solid var(--blue);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.site-footer h2 {
    font-size: 1.35rem;
}

.site-footer p {
    margin: 6px 0;
    color: #e5edf5;
}

.site-footer a {
    color: var(--white);
    text-decoration: none;
}

.site-footer a:hover {
    color: #b9dcff;
}

@media (max-width: 1050px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: var(--black);
        border-bottom: 4px solid var(--blue);
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
    }

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

    .site-nav a {
        border-radius: 8px;
    }

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

    .service-card {
        min-height: auto;
    }

    .cta-content {
        display: block;
    }
}

@media (max-width: 520px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}


.password-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-message-section {
    padding: 24px 0 0;
    background: var(--white);
}

.form-message {
    border-radius: 12px;
    padding: 16px 18px;
    font-weight: 800;
    border: 1px solid var(--border);
}

.form-message.success {
    background: #eef8f1;
    color: #14532d;
    border-color: #bbf7d0;
}

.form-message.failure {
    background: #fff1f2;
    color: #7f1d1d;
    border-color: #fecdd3;
}
