:root {
    --night: #07162f;
    --night-2: #0d2344;
    --blue: #1076b9;
    --cyan: #24b8c7;
    --aqua: #d9f4f2;
    --green: #8fd7c5;
    --orange: #f28c28;
    --white: #ffffff;
    --light: #f5f8fb;
    --line: #dbe6ee;
    --text: #1d2b3a;
    --muted: #637487;
    --shadow: 0 24px 70px rgba(7, 22, 47, .14);
    --radius: 24px;
    --max: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

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

.site-header {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto 0;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(219, 230, 238, .8);
}

.site-header__logo img {
    width: 190px;
    height: 52px;
    object-fit: contain;
}

.menu-toggle {
    width: 52px;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    display: grid;
    place-content: center;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 21px;
    height: 2px;
    display: block;
    background: var(--night);
    border-radius: 20px;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(7, 22, 47, .58);
}

.main-menu {
    position: fixed;
    z-index: 1200;
    inset: 0 0 0 auto;
    width: min(460px, 100%);
    background: var(--night);
    color: var(--white);
    box-shadow: -30px 0 80px rgba(0, 0, 0, .24);

    height: 100vh;
    min-height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.main-menu__inner {
    min-height: 100%;
    min-height: 100dvh;

    display: flex;
    flex-direction: column;

    padding: 28px;
    padding-bottom: 80px;
}

.main-menu__list {
    flex: 1;
}

.main-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.main-menu__top img {
    width: 180px;
    max-height: 58px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.main-menu__close {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.main-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-menu__item a {
    display: block;
    padding: 13px 14px;
    border-radius: 14px;
    color: rgba(255,255,255,.82);
    font-size: 1.05rem;
}

.main-menu__item a:hover,
.main-menu__item a.is-active {
    background: rgba(36, 184, 199, .14);
    color: var(--white);
}

.main-menu__item--solution {
    margin-left: 18px;
}

.main-menu__item--solution a {
    font-size: .96rem;
    color: rgba(255,255,255,.68);
}

main {
    padding-top: 86px;
}

.hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    background: var(--night);
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .62;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,22,47,.92), rgba(7,22,47,.55), rgba(7,22,47,.2));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1080px;
}

.eyebrow {
    color: var(--cyan);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
}

h1,
h2,
h3 {
    color: var(--night);
    line-height: 1.12;
    margin: 0 0 20px;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(1.55rem, 6vw, 5.25rem);
}

.hero .eyebrow {
    margin-bottom: 18px;
}

.hero-title span {
    display: block;
    white-space: nowrap;
}

h1 {
    font-size: clamp(2.1rem, 5vw, 4.2rem);
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
}

h3 {
    font-size: 1.25rem;
}

.lead {
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    color: var(--muted);
    max-width: 850px;
}

.hero .lead {
    color: rgba(255,255,255,.88);
}

.section {
    padding: clamp(68px, 9vw, 120px) 0;
}

.section-light {
    background: var(--light);
}

.grid {
    display: grid;
    gap: 24px;
}

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

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

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

.card {
    background: var(--white);
    border: 1px solid rgba(16, 118, 185, .35);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 10px 30px rgba(7, 22, 47, .06);
}

.home-expertises .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-expertises .card > :last-child {
    margin-top: auto;
}

.card:hover {
    transform: translateY(-3px);
    transition: .25s ease;
}

.card__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--aqua);
    display: grid;
    place-items: center;
    color: var(--night);
    margin-bottom: 18px;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

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

.image-panel {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--light);
    box-shadow: var(--shadow);
}

.image-panel img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

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

.step {
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--night);
    font-weight: 700;
}

.page-hero {
    padding: 170px 0 86px;
    background:
        radial-gradient(circle at top right, rgba(36,184,199,.18), transparent 34%),
        linear-gradient(135deg, var(--night), var(--night-2));
    color: var(--white);
}

.page-hero h1,
.page-hero .lead {
    color: var(--white);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    display: grid;
    gap: 12px;
}

.feature-list li {
    padding-left: 28px;
    position: relative;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cyan);
}

.timeline {
    position: relative;
    display: grid;
    gap: 22px;
}

.timeline-item {
    border-left: 4px solid var(--cyan);
    padding: 8px 0 8px 24px;
}

.timeline-item strong {
    color: var(--blue);
    font-size: 1.2rem;
}

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

.logo-card {
    min-height: 130px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    display: grid;
    place-items: center;
}

.logo-card img {
    max-width: 100%;
    max-height: 82px;
    object-fit: contain;
}

.contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: start;
}

.contact-form-panel {
    border: 1px solid rgba(16, 118, 185, .35);
    border-radius: var(--radius);
    padding: clamp(22px, 4vw, 34px);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(7, 22, 47, .05);
}

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

.form-field {
    display: grid;
    gap: 7px;
}

.form-field.full {
    grid-column: 1 / -1;
}

label {
    font-weight: 700;
    color: var(--night);
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    font: inherit;
    background: var(--white);
    color: var(--text);
}

textarea {
    min-height: 160px;
    resize: vertical;
}

.honeypot {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

.alert {
    border-radius: 18px;
    padding: 16px 18px;
    margin-bottom: 22px;
}

.alert-success {
    background: #e9f8f3;
    color: #124737;
}

.alert-error {
    background: #fff0ed;
    color: #7d2418;
}

.site-footer {
    background: var(--night);
    color: rgba(255,255,255,.78);
    padding: 70px 0 26px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 34px;
}

.footer-logo img {
    width: 190px;
    height: 58px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    max-width: 360px;
}

.footer-nav h2,
.footer-contact h2 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-nav ul,
.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 9px;
}

.footer-nav a:hover {
    color: var(--cyan);
}

.footer-bottom {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.14);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    font-size: .9rem;
}

.footer-legal {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

@media (max-width: 980px)     {
    .grid-2,
    .grid-3,
    .grid-4,
    .footer-grid,
    .logo-grid,
    .form-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 620px;
    }
}

@media (max-width: 680px) {
    .site-header {
        height: 76px;
    }

    .site-header__logo img {
        width: 155px;
    }

    main {
        padding-top: 76px;
    }

    .hero {
        min-height: 590px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .footer-grid,
    .logo-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .main-menu {
        width: 100%;
    }
  
  .main-menu {
    min-height: 100dvh;
    overflow-y: auto;
}

    .main-menu__item--solution {
        margin-left: 10px;
    }

    .footer-bottom {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}