:root {
    --ink: #102434;
    --ink-soft: #426072;
    --blue: #0a5f8f;
    --blue-dark: #073c5c;
    --green: #42a66b;
    --amber: #f2a23a;
    --paper: #ffffff;
    --mist: #eef5f7;
    --line: #d7e4e8;
    --shadow: 0 18px 45px rgba(16, 36, 52, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.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: fixed;
    inset: 0 0 auto;
    z-index: 20;
    color: var(--paper);
    transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(7, 60, 92, 0.97);
    box-shadow: 0 10px 28px rgba(6, 34, 50, 0.22);
}

.topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 13px;
}

.topbar-inner {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    padding: 8px 0;
}

.topbar a {
    opacity: 0.9;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    width: 164px;
    max-width: 40vw;
    height: auto;
    flex: 0 0 auto;
}

.brand em {
    display: block;
    letter-spacing: 0;
}

.brand em {
    margin-top: 0;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.76);
}

.brand-logo-footer {
    width: 230px;
    max-width: 100%;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 700;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.88);
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--paper);
}

.language-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 6px;
    font-size: 12px;
}

.nav-button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    max-width: 100%;
    padding: 12px 20px;
    border: 0;
    border-radius: 6px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
}

.nav-button {
    color: var(--blue-dark) !important;
    background: var(--paper);
}

.button.primary {
    color: var(--paper);
    background: var(--green);
    box-shadow: 0 14px 30px rgba(66, 166, 107, 0.27);
}

.button.secondary {
    color: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.08);
}

.button:hover,
.button:focus-visible,
.nav-button:hover,
.nav-button:focus-visible {
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--paper);
}

.hero {
    position: relative;
    min-height: 84vh;
    display: flex;
    align-items: center;
    color: var(--paper);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(5, 31, 46, 0.88) 0%, rgba(5, 31, 46, 0.64) 47%, rgba(5, 31, 46, 0.2) 100%),
        url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(0deg, rgba(5, 31, 46, 0.45), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 150px 0 78px;
}

.hero-kicker,
.section-kicker,
.service-number {
    margin: 0 0 14px;
    color: var(--amber);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 870px;
    margin: 0;
    font-size: 60px;
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 690px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 2;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 20px;
    transform: translateX(-50%);
}

.scroll-cue::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 4px;
    background: var(--paper);
    transform: translateX(-50%);
    animation: scroll-cue-dot 2s infinite;
}

@keyframes scroll-cue-dot {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    80% {
        transform: translate(-50%, 18px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.intro-band {
    background: var(--blue-dark);
    color: var(--paper);
}

.intro-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 40px;
    align-items: center;
    min-height: 180px;
    padding: 42px 0;
}

.intro-inner h2 {
    margin: 0;
    font-size: 32px;
    line-height: 1.2;
}

.phrase-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.phrase-list span {
    min-height: 78px;
    display: flex;
    align-items: center;
    padding: 18px;
    border-left: 4px solid var(--green);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
}

.fit-section {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.88)),
        url("https://images.unsplash.com/photo-1521791055366-0d553872125f?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat;
}

.fit-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 68px;
    align-items: start;
    padding: 92px 0;
}

.fit-grid h2,
.section-heading h2,
.service-content h2,
.contact-panel h2 {
    margin: 0;
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: 0;
}

.fit-grid p:not(.section-kicker),
.section-heading p:not(.section-kicker),
.service-content p:not(.section-kicker):not(.service-number),
.contact-panel p,
.footer-info p {
    color: var(--ink-soft);
}

.fit-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fit-list li {
    position: relative;
    padding: 20px 22px 20px 48px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 26px rgba(16, 36, 52, 0.08);
    font-weight: 700;
}

.fit-list li::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 28px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(66, 166, 107, 0.14);
}

.services {
    background: var(--paper);
}

.service {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 620px;
}

.service:nth-child(even) .service-image {
    order: 2;
}

.service-image {
    background-position: center;
    background-size: cover;
}

.service-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 74px max(40px, calc((100vw - 1180px) / 2)) 74px 72px;
}

.service:nth-child(even) .service-content {
    padding: 74px 72px 74px max(40px, calc((100vw - 1180px) / 2));
}

.service-number {
    color: var(--green);
    font-size: 42px;
    line-height: 1;
    opacity: 0.26;
}

.service-content p {
    max-width: 620px;
}

.service-content ul {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.service-content li {
    position: relative;
    padding-left: 26px;
    color: var(--ink);
    font-weight: 700;
}

.service-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 12px;
    height: 2px;
    background: var(--amber);
}

.service-cta {
    align-self: flex-start;
    margin-top: 22px;
}

.method-section {
    padding: 96px 0;
    background: var(--mist);
}

.section-heading {
    max-width: 800px;
    margin-bottom: 46px;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.step-card {
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    box-shadow: 0 14px 34px rgba(16, 36, 52, 0.08);
}

.step-card span {
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

.step-card h3 {
    margin: 18px 0 10px;
    font-size: 23px;
    line-height: 1.2;
}

.step-card p {
    margin: 0;
    color: var(--ink-soft);
}

.proof-section {
    color: var(--paper);
    background:
        linear-gradient(90deg, rgba(5, 31, 46, 0.86), rgba(5, 31, 46, 0.72)),
        url("https://images.unsplash.com/photo-1600880292089-90a7e086ee0c?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

.proof-overlay {
    padding: 96px 0;
}

.proof-inner {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 60px;
    align-items: center;
}

blockquote {
    margin: 0;
}

blockquote p {
    margin: 0;
    font-size: 32px;
    line-height: 1.32;
    font-weight: 300;
}

.proof-stats {
    display: grid;
    gap: 14px;
}

.proof-stats span {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    color: rgba(255, 255, 255, 0.78);
}

.proof-stats strong {
    color: var(--paper);
    font-size: 30px;
    line-height: 1;
}

.site-footer {
    background: #092a40;
    color: var(--paper);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.2fr);
    gap: 70px;
    padding: 80px 0;
}

.footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.footer-info p {
    max-width: 430px;
    color: rgba(255, 255, 255, 0.76);
}

.contact-list {
    display: grid;
    gap: 10px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    font-weight: 700;
}

.contact-item {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 4px;
    align-items: start;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.86);
    flex: 0 0 auto;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-secondary-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: -32px;
    margin-top: 2px;
}

.contact-email-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.contact-icon-secondary {
    width: 22px;
    height: 22px;
    margin-top: 0;
}

.contact-label {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin: 28px 0 6px;
}

.contact-item:nth-of-type(3) > span.contact-icon {
    display: none;
}

.contact-item:nth-of-type(3) > div {
    display: grid;
    gap: 8px;
    grid-column: 1 / -1;
}

.contact-main,
.contact-secondary {
    color: #ffffff;
    text-decoration: none;
}

.contact-main {
    font-weight: 800;
}

.contact-list > li:not(:first-of-type) .contact-main {
    font-weight: 400;
}

.contact-secondary {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
}

.contact-secondary:hover,
.contact-main:hover {
    text-decoration: underline;
}

.contact-panel {
    padding: 36px;
    border-radius: 6px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.contact-panel h2 {
    font-size: 32px;
}

.form-alert {
    margin: 20px 0;
    padding: 14px 16px;
    border-radius: 6px;
    font-weight: 700;
}

.form-alert.success {
    color: #135d37;
    background: #e8f6ee;
}

.form-alert.error {
    color: #8a2d25;
    background: #fdecea;
}

form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

label {
    display: grid;
    gap: 7px;
    font-size: 14px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 13px 14px;
    color: var(--ink);
    background: #f8fbfc;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(10, 95, 143, 0.12);
}

textarea {
    resize: vertical;
}

label em {
    color: #9b3128;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.64);
    font-size: 13px;
}

.copyright .wrap {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.copyright p {
    margin: 0;
}

@media (max-width: 980px) {
    .topbar {
        display: none;
    }

    .site-header {
        background: rgba(7, 60, 92, 0.97);
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border-radius: 6px;
        background: var(--paper);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 14px;
        color: var(--ink);
    }

    .language-link {
        justify-content: flex-start;
        border-color: var(--line);
    }

    .nav-button {
        margin-top: 8px;
        color: var(--paper) !important;
        background: var(--green);
    }

    .hero {
        min-height: 700px;
        background:
            linear-gradient(90deg, rgba(5, 31, 46, 0.9), rgba(5, 31, 46, 0.66)),
            url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1200&q=80") center / cover no-repeat;
    }

    .hero-content {
        padding: 122px 0 72px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .intro-inner,
    .fit-grid,
    .proof-inner,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .phrase-list,
    .step-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service,
    .service:nth-child(even) {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .service:nth-child(even) .service-image {
        order: 0;
    }

    .service-image {
        min-height: 360px;
    }

    .service-content,
    .service:nth-child(even) .service-content {
        padding: 54px 40px;
    }
}

@media (max-width: 640px) {
    .wrap {
        width: min(360px, calc(100% - 28px));
        margin-left: 14px;
        margin-right: auto;
    }

    .nav-shell {
        padding: 12px 0;
    }

    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 112px;
        max-width: 34vw;
    }

    .hero {
        min-height: 680px;
    }

    .hero h1 {
        font-size: 31px;
        line-height: 1.1;
    }

    .hero-content {
        width: min(360px, calc(100% - 28px));
        margin-left: 14px;
        margin-right: auto;
    }

    .hero-lead {
        font-size: 17px;
    }

    .hero-actions,
    .button {
        width: 100%;
    }

    .intro-inner {
        gap: 24px;
    }

    .phrase-list,
    .step-grid,
    .field-grid {
        grid-template-columns: 1fr;
    }

    .fit-grid {
        padding: 64px 0;
        gap: 36px;
    }

    .fit-grid h2,
    .section-heading h2,
    .service-content h2 {
        font-size: 32px;
    }

    .service-image {
        min-height: 270px;
    }

    .service-content,
    .service:nth-child(even) .service-content,
    .method-section,
    .proof-overlay {
        padding: 56px 20px;
    }

    .method-section .wrap,
    .proof-overlay .wrap {
        width: 100%;
    }

    blockquote p {
        font-size: 25px;
    }

    .proof-stats strong {
        font-size: 24px;
    }

    .proof-stats span {
        display: grid;
        gap: 6px;
    }

    .footer-grid {
        gap: 34px;
        padding: 56px 0;
    }

    .contact-panel {
        padding: 24px;
    }

    .contact-panel h2 {
        font-size: 27px;
    }

    .copyright .wrap {
        display: grid;
        gap: 8px;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
