@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --blue: #007BA1;
    --navy: #071A2B;
    --char: #1D1F23;
    --slate: #5E6872;
    --gray: #B6C4CF;
    --mist: #DFF4FB;
    --off: #F5F7FA;
    --white: #fff;
    --line: #E1E8EC;
    --max: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

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

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e9eef1;
}

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

.brand img {
    width: 168px;
    display: block;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
    font-weight: 500;
}

nav>a:hover {
    color: var(--blue);
}

.langs {
    display: flex;
    padding: 3px;
    background: var(--off);
    border-radius: 9px;
}

.langs button {
    border: 0;
    background: transparent;
    padding: 7px 8px;
    border-radius: 7px;
    cursor: pointer;
    color: var(--slate);
}

.langs button.active {
    background: white;
    color: var(--navy);
    box-shadow: 0 1px 4px rgba(7, 26, 43, .1);
}

.menu {
    display: none;
    border: 0;
    background: none;
    font-size: 25px;
    cursor: pointer;
}

.hero {
    padding: 95px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
}

.hero-copy,
.feature-copy,
.split-copy {
    min-width: 0;
}

.media-frame {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-media {
    min-height: 430px;
}

.hero-img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: contain;
    display: block;
    border-radius: 24px;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: .15em;
    font-weight: 700;
    color: var(--blue);
    margin: 0 0 14px;
}

h1 {
    font-size: clamp(45px, 5.7vw, 72px);
    line-height: 1.04;
    letter-spacing: -.05em;
    margin: 0 0 24px;
    color: var(--navy);
}

h2 {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.1;
    letter-spacing: -.035em;
    margin: 0 0 25px;
    color: var(--navy);
}

.lead {
    font-size: 19px;
    color: var(--slate);
    max-width: 650px;
}

.lead.small {
    font-size: 18px;
}

.section-intro {
    max-width: 760px;
    color: var(--slate);
    font-size: 17px;
    margin: -8px 0 38px;
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 19px;
    border-radius: 7px;
    font-weight: 600;
    font-size: 14px;
    border: 0;
    cursor: pointer;
    transition: .2s ease;
}

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

.primary:hover {
    background: #006c8d;
}

.secondary {
    border: 1px solid #d6e0e5;
    background: white;
}

.secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.section {
    padding: 95px 0;
}

.section>.container>h2 {
    max-width: 820px;
}

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

.cards article {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    transition: .2s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cards article:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(7, 26, 43, .07);
}

.card-media {
    width: 100%;
    height: 210px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 210px;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 11px;
}

.card-copy {
    padding: 0 26px 26px;
    flex: 1;
}

.cards h3 {
    font-size: 21px;
    margin: 18px 0 8px;
    color: var(--navy);
}

.cards p {
    margin: 0;
    color: var(--slate);
    font-size: 15px;
}

.tint {
    background: var(--off);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    align-items: start;
}

.steps {
    border-top: 1px solid #d9e2e6;
}

.steps div {
    display: grid;
    grid-template-columns: 65px 1fr;
    padding: 22px 0;
    border-bottom: 1px solid #d9e2e6;
}

.steps b {
    color: var(--blue);
}

.feature {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.feature-media {
    min-height: 360px;
}

.feature-media img {
    width: 100%;
    height: 100%;
    max-height: 430px;
    object-fit: contain;
    display: block;
    border-radius: 20px;
}

.pill {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 12px;
    background: var(--mist);
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
}

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

.navy h2 {
    color: white;
}

.navy .eyebrow {
    color: #65bdd7;
}

.navy p {
    color: #c2d0d8;
}

.reverse .feature-media {
    order: 2;
}

.contact {
    padding: 95px 0;
    background: var(--mist);
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.contact-copy h2 {
    margin-bottom: 16px;
}

.contact-copy>p:not(.eyebrow) {
    color: var(--slate);
}

.contact-email {
    margin-top: 28px;
    font-size: 14px;
}

.contact-email a {
    color: var(--blue);
    font-weight: 600;
}

.contact-form {
    background: var(--white);
    border: 1px solid rgba(7, 26, 43, .08);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 16px 45px rgba(7, 26, 43, .07);
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid #ccd8de;
    border-radius: 8px;
    background: white;
    color: var(--char);
    padding: 12px 13px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

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

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 123, 161, .11);
}

.was-validated input:invalid,
.was-validated textarea:invalid {
    border-color: #b64545;
}

.form-submit {
    width: 100%;
}

.form-note {
    margin: 12px 0 0;
    color: var(--slate);
    font-size: 12px;
    line-height: 1.45;
}

.form-status {
    margin: 10px 0 0;
    font-size: 13px;
    color: #8b3030;
}

.hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #d6e0e5;
    border-radius: 8px;
    padding: 13px 14px;
    font: inherit;
    color: var(--char);
    background: white;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 123, 161, .12);
}

.form-submit {
    border: 0;
    cursor: pointer;
}

.form-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.form-status {
    margin-top: 15px;
    font-size: 14px;
    min-height: 22px;
}

.form-status.success {
    color: #176b43;
}

.form-status.error {
    color: #a73535;
}

footer {
    background: #04131f;
    color: #8fa0ab;
    font-size: 12px;
}

.footer {
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer img {
    width: 130px;
    filter: brightness(0) invert(1);
}

@media(max-width: 820px) {
    .menu {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 20px;
        right: 20px;
        flex-direction: column;
        align-items: stretch;
        background: white;
        border: 1px solid #e2e8ec;
        border-radius: 12px;
        padding: 18px;
        box-shadow: 0 14px 40px rgba(7, 26, 43, .1);
    }

    nav.open {
        display: flex;
    }

    .hero {
        padding-top: 65px;
    }

    .hero-grid,
    .cards,
    .split,
    .feature,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid,
    .feature,
    .contact-grid {
        gap: 42px;
    }

    .hero-media,
    .feature-media {
        min-height: 280px;
    }

    .reverse .feature-media {
        order: 0;
    }

    .cards {
        gap: 25px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 28px 0;
    }
}

@media(max-width: 520px) {
    .container {
        width: min(var(--max), calc(100% - 28px));
    }

    .section,
    .contact {
        padding: 72px 0;
    }

    .hero {
        padding-bottom: 65px;
    }

    .card-media {
        height: 190px;
        flex-basis: 190px;
    }

    .contact-form {
        padding: 22px;
    }
}