﻿:root {
    --bg: #f3f7fa;
    --surface: #ffffff;
    --surface-soft: #eaf1f6;
    --text: #152531;
    --muted: #4b6070;
    --primary: #005d8f;
    --primary-dark: #00466a;
    --border: #cfdae4;
    --success-bg: #e8f8ef;
    --success-text: #146c3e;
    --error-bg: #fdecec;
    --error-text: #9a2020;
    --shadow: 0 10px 30px rgba(21, 37, 49, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f8fbfd 0%, #eef4f9 100%);
    line-height: 1.6;
}

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

a:hover,
a:focus {
    text-decoration: underline;
}

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

.narrow {
    width: min(760px, 100%);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
}

.brand {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.main-nav a,
.platforms-menu summary {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav a.active {
    color: var(--primary);
}

.platform-item {
    position: relative;
}

.platforms-menu {
    position: relative;
}

.platforms-menu summary {
    list-style: none;
    cursor: pointer;
}

.platforms-menu summary::-webkit-details-marker {
    display: none;
}

.submenu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    min-width: 220px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.6rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.4rem;
}

.submenu a {
    display: block;
    padding: 0.35rem 0.45rem;
    border-radius: 6px;
}

.submenu a:hover,
.submenu a:focus {
    background: var(--surface-soft);
    text-decoration: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.6rem 1.15rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover,
.btn:focus {
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.site-main {
    min-height: calc(100vh - 180px);
}

.hero {
    padding: 4.5rem 0 3.25rem;
}

.hero h1 {
    font-size: clamp(1.95rem, 3.5vw, 2.9rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    max-width: 19ch;
}

.hero-brand {
    margin: 0 0 0.65rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.88rem;
}

.hero-subheading {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--muted);
    max-width: 60ch;
}

.hero-body {
    margin-top: 1rem;
    max-width: 70ch;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.3rem;
    flex-wrap: wrap;
}

.hero-links {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.95rem;
}

.section {
    padding: 2.8rem 0;
}

.section p {
    margin: 0 0 1rem;
    max-width: 76ch;
}

.domain-lines p {
    font-weight: 600;
    margin: 0.5rem 0;
}

.section-image {
    padding-top: 0.4rem;
    padding-bottom: 0.9rem;
}

.inline-sector-image {
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.inline-sector-image img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: cover;
}

.contact-person-card {
    margin: 1rem 0 1.2rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    padding: 1rem;
}

.contact-person-card p {
    margin: 0;
}

.contact-person-card p + p {
    margin-top: 0.3rem;
}

.section-top {
    padding-top: 3.5rem;
}

.tiny-reference {
    padding-top: 0.2rem;
    padding-bottom: 1rem;
}

.tiny-reference p {
    margin: 0;
    font-size: 0.72rem;
    color: var(--muted);
}

.section-alt {
    background: rgba(234, 241, 246, 0.5);
    border-top: 1px solid #e5edf4;
    border-bottom: 1px solid #e5edf4;
}

h2 {
    margin-top: 0;
    font-size: 1.75rem;
    line-height: 1.3;
}

h3 {
    margin-top: 0;
    font-size: 1.28rem;
    line-height: 1.35;
}

.checklist {
    margin: 1rem 0 1.1rem;
    padding-left: 1.25rem;
}

.cards {
    display: grid;
    gap: 1rem;
}

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

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
}

.card h2 {
    margin-top: 0;
    font-size: 1.3rem;
}

.card-note {
    margin-bottom: 0;
}

.cost-highlight {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.25rem 0 0.75rem;
}

.lead-form {
    margin-top: 1.3rem;
    display: grid;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.2rem;
}

.form-row {
    display: grid;
    gap: 0.35rem;
}

label {
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #bbc9d6;
    border-radius: 8px;
    padding: 0.62rem 0.75rem;
    font: inherit;
    color: var(--text);
    background: #fff;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.btn:focus,
a:focus,
summary:focus {
    outline: 2px solid #78b8e2;
    outline-offset: 2px;
}

.alert {
    border-radius: 10px;
    padding: 0.8rem 0.95rem;
    margin-top: 1rem;
}

.alert p {
    margin-top: 0;
}

.alert ul {
    margin: 0;
    padding-left: 1.1rem;
}

.alert-success {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid #bde8cf;
}

.alert-error {
    background: var(--error-bg);
    color: var(--error-text);
    border: 1px solid #f5c7c7;
}

.site-footer {
    margin-top: 2rem;
    background: #0f202d;
    color: #dae6ef;
    padding-top: 2rem;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-brand {
    margin: 0;
    font-weight: 700;
    color: #fff;
}

.footer-copy {
    margin-top: 0.35rem;
    margin-bottom: 0;
    color: #bdd1df;
}

.footer-links {
    display: grid;
    gap: 0.5rem;
}

.footer-links a {
    color: #d7ebf8;
}

.footer-bottom {
    border-top: 1px solid rgba(189, 209, 223, 0.25);
    margin-top: 1.4rem;
    padding: 1rem 0;
    font-size: 0.92rem;
    color: #bdd1df;
}

@media (max-width: 960px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .platform-item,
    .platforms-menu,
    .submenu {
        position: static;
    }

    .submenu {
        margin-top: 0.4rem;
        min-width: 0;
    }

    .header-cta {
        width: 100%;
    }

    .two-up {
        grid-template-columns: 1fr;
    }

    .inline-sector-image img {
        max-height: 260px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 3.4rem;
    }

    .hero-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-links span {
        display: none;
    }
}
