:root {
    --navy: #09243a;
    --blue: #0e5f87;
    --signal: #0b95b7;
    --teal: #35b4bf;
    --ink: #17212b;
    --muted: #657282;
    --line: #d9e3ea;
    --soft: #f3f7fa;
    --white: #ffffff;
    --shadow: 0 18px 40px rgba(9, 36, 58, 0.14);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

a:hover {
    color: var(--signal);
}

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

.narrow {
    width: min(820px, calc(100% - 40px));
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 20;
    padding: 10px 14px;
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--signal);
}

.skip-link:focus {
    top: 12px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    text-decoration: none;
}

.brand strong {
    display: block;
    font-size: 1.05rem;
    line-height: 1.1;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
}

.brand-logo {
    width: 76px;
    height: 52px;
    object-fit: contain;
    flex: 0 0 auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

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

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: var(--navy);
    content: "";
}

.nav-toggle-lines::before {
    transform: translateY(-7px);
}

.nav-toggle-lines::after {
    transform: translateY(5px);
}

.hero {
    position: relative;
    min-height: clamp(560px, 78vh, 760px);
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}

.hero picture,
.hero img,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero img {
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(5, 24, 39, 0.88), rgba(5, 24, 39, 0.52) 48%, rgba(5, 24, 39, 0.1));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    color: var(--white);
    padding: 76px 0 104px;
}

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

h1,
h2,
h3 {
    margin: 0;
    color: var(--navy);
    line-height: 1.14;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.7rem, 6vw, 5.3rem);
    max-width: 900px;
}

.hero p:not(.eyebrow) {
    max-width: 690px;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.92);
}

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

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

.button-primary {
    background: var(--signal);
    color: var(--white);
}

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

.button-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
}

.button-secondary:hover {
    background: var(--white);
    color: var(--navy);
}

.button-outline {
    background: var(--white);
    color: var(--navy);
    border-color: var(--line);
}

.button-outline:hover {
    background: var(--soft);
    color: var(--blue);
}

.section {
    padding: 86px 0;
}

.section-muted {
    background: var(--soft);
}

.section-head {
    max-width: 760px;
    margin-bottom: 32px;
}

.section-head h2,
.split h2,
.cta-inner h2,
.form-aside h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: center;
    gap: 48px;
}

.split.reverse {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.fact-panel {
    padding: 28px;
    border-left: 5px solid var(--signal);
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.fact-panel strong {
    display: block;
    color: var(--navy);
    font-size: 1.2rem;
}

.section-tight {
    padding-top: 0;
}

.portrait-card {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.portrait-card img {
    width: min(100%, 360px);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
}

.portrait-card figcaption {
    max-width: 360px;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

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

.feature-card,
.service-list article {
    min-height: 170px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.feature-card h3,
.service-list h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.use-case {
    min-height: 76px;
    display: grid;
    place-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--navy);
    font-weight: 800;
    background: var(--white);
    text-align: center;
}

.section-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

figure {
    margin: 0;
}

.media-grid figure,
.inline-media {
    display: grid;
    gap: 10px;
}

.media-grid img,
.media-grid video,
.inline-media img {
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--navy);
}

.inline-media {
    margin-top: 28px;
}

figcaption {
    color: var(--muted);
    font-size: 0.92rem;
}

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

.faq-list {
    display: grid;
    gap: 12px;
}

details {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 20px;
}

summary {
    color: var(--navy);
    cursor: pointer;
    font-weight: 800;
}

.cta-band {
    padding: 42px 0;
    background: var(--navy);
    color: var(--white);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta-inner h2,
.cta-inner p {
    color: var(--white);
}

.page-hero {
    background: linear-gradient(135deg, var(--navy), #164963);
    color: var(--white);
}

.compact-hero {
    padding: 82px 0 76px;
}

.page-hero h1 {
    max-width: 900px;
    color: var(--white);
    font-size: clamp(2.3rem, 5vw, 4rem);
}

.page-hero p:not(.eyebrow) {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
}

.service-list {
    display: grid;
    gap: 14px;
}

.timeline {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: steps;
}

.timeline li {
    position: relative;
    min-height: 112px;
    padding: 24px 24px 24px 86px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    counter-increment: steps;
}

.timeline li::before {
    position: absolute;
    left: 24px;
    top: 24px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--signal);
    color: var(--white);
    font-weight: 800;
    content: counter(steps);
}

.timeline strong {
    display: block;
    color: var(--navy);
    font-size: 1.2rem;
}

.form-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.form-aside {
    position: sticky;
    top: 104px;
    padding: 26px;
    background: var(--soft);
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

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

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--navy);
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    border: 1px solid #b9c8d3;
    border-radius: 6px;
    padding: 13px 14px;
    color: var(--ink);
    font: inherit;
    font-weight: 400;
    background: var(--white);
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus,
button:focus,
a:focus {
    outline: 3px solid rgba(11, 149, 183, 0.35);
    outline-offset: 2px;
}

.checkbox {
    grid-template-columns: 22px 1fr;
    align-items: start;
    gap: 12px;
    font-weight: 400;
    color: var(--ink);
}

.checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 4px;
}

.field-error {
    color: #a32626;
    font-size: 0.9rem;
    font-weight: 700;
}

.message {
    padding: 14px 16px;
    border-radius: var(--radius);
    font-weight: 700;
}

.message.error {
    background: #fdeaea;
    color: #8a1d1d;
    border: 1px solid #e0a5a5;
}

.message.success {
    background: #e6f6ef;
    color: #155c3d;
    border: 1px solid #9ad7b9;
}

.hp-field {
    position: absolute;
    left: -9999px;
}

.note {
    padding: 12px 14px;
    background: var(--soft);
    border-left: 4px solid var(--signal);
}

.legal h2 {
    margin-top: 34px;
    font-size: 1.45rem;
}

.legal h2:first-child {
    margin-top: 0;
}

.site-footer {
    background: #061926;
    color: rgba(255, 255, 255, 0.78);
    padding: 54px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.6fr;
    gap: 42px;
}

.site-footer h2 {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 1rem;
}

.site-footer a,
.footer-brand,
.footer-brand small,
.footer-brand strong {
    color: var(--white);
}

.footer-link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--white);
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 18px;
    background: rgba(6, 25, 38, 0.82);
    backdrop-filter: blur(10px);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.cookie-banner h2 {
    margin-bottom: 6px;
    font-size: 1.2rem;
}

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

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-actions .button {
    min-height: 44px;
}

.cookie-privacy-link {
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px 18px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
    }

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

    .main-nav a {
        padding: 13px 12px;
    }

    .hero {
        min-height: 660px;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(5, 24, 39, 0.86), rgba(5, 24, 39, 0.62));
    }

    .split,
    .split.reverse,
    .form-layout {
        grid-template-columns: 1fr;
    }

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

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

    .media-grid {
        grid-template-columns: 1fr;
    }

    .form-aside {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cookie-banner-inner {
        grid-template-columns: 1fr;
    }

    .cookie-actions {
        justify-content: flex-start;
    }
}

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

    .header-inner {
        min-height: 68px;
    }

    .main-nav {
        top: 68px;
    }

    .brand small {
        display: none;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding: 58px 0 80px;
    }

    .section {
        padding: 58px 0;
    }

    .feature-grid,
    .feature-grid.three,
    .use-case-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

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

    .button {
        width: 100%;
    }

    .cookie-banner {
        padding: 10px;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-privacy-link {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
