:root {
    --ink: #090f2f;
    --text: #263153;
    --muted: #596581;
    --line: #e4e9f7;
    --blue: #3152ff;
    --blue-soft: #edf2ff;
    --violet: #6155f6;
    --green: #22b66c;
    --orange: #ff7937;
    --shadow: 0 18px 48px rgba(33, 55, 118, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

[id] {
    scroll-margin-top: 96px;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    background:
        radial-gradient(circle at 50% 135px, rgba(61, 96, 255, .075), transparent 360px),
        linear-gradient(180deg, #ffffff 0, #fbfdff 390px, #f8fbff 770px, #ffffff 100%);
}

img {
    display: block;
    max-width: 100%;
}

.reveal-item {
    opacity: 0;
    transform: translate3d(0, 34px, 0) rotate(.35deg);
    transition:
        opacity .62s ease,
        transform .72s cubic-bezier(.18, .84, .28, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-item:nth-child(2n) {
    transform: translate3d(18px, 30px, 0) rotate(-.45deg);
}

.reveal-item:nth-child(3n) {
    transform: translate3d(-18px, 32px, 0) rotate(.45deg);
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

.js-email {
    unicode-bidi: bidi-override;
    direction: rtl;
}

.js-email[href^="mailto:"] {
    unicode-bidi: normal;
    direction: ltr;
}

svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.wrap {
    width: min(1280px, calc(100% - 64px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    min-height: 72px;
    gap: 22px;
    padding: 0 calc((100% - min(1280px, calc(100% - 64px))) / 2);
    background: rgba(255,255,255,.88);
    border-bottom: 1px solid rgba(228,233,247,.65);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 252px;
}

.brand img {
    display: block;
    width: 252px;
    height: auto;
}

.site-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.1vw, 34px);
    font-size: 13px;
    font-weight: 700;
}

.site-nav a,
.btn {
    white-space: nowrap;
}

.site-nav a:hover {
    color: var(--blue);
}

.header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    color: #172144;
    background: #fff;
    border: 1px solid rgba(226, 232, 246, .95);
    border-radius: 10px;
    box-shadow: 0 16px 34px rgba(31, 45, 92, .10);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.header-phone svg {
    color: #5654a8;
    font-size: 18px;
}

.header-phone:hover,
.header-phone:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(49, 82, 255, .22);
    box-shadow: 0 20px 42px rgba(31, 45, 92, .15);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 7px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #2f40ff, #3e68ff);
    box-shadow: 0 12px 28px rgba(49,82,255,.25);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.28) 45%, transparent 70%);
    transform: translateX(-120%);
    animation: buttonSheen 3.8s ease-in-out infinite;
    transition: transform .55s ease;
}

.btn-primary::after {
    content: "→";
    position: relative;
    font-size: 17px;
    line-height: 1;
    transition: transform .22s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2637f7, #5277ff);
    box-shadow: 0 18px 38px rgba(49,82,255,.34);
}

.btn-primary:hover::before,
.btn-primary:focus-visible::before {
    transform: translateX(120%);
    animation-play-state: paused;
}

.btn-primary:hover::after,
.btn-primary:focus-visible::after {
    transform: translateX(4px);
}

@keyframes buttonSheen {
    0%,
    48% {
        transform: translateX(-120%);
    }
    72%,
    100% {
        transform: translateX(120%);
    }
}

.nav-toggle {
    display: none;
}

.hero {
    padding: 48px 0 10px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 48% 52%;
    align-items: center;
    gap: 0;
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding-top: 6px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 25px;
    padding: 7px 12px;
    color: var(--blue);
    background: #eef2ff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 25px;
    max-width: 610px;
    font-size: clamp(50px, 4.45vw, 64px);
    line-height: 1.14;
    letter-spacing: 0;
}

h1 span {
    color: transparent;
    background: linear-gradient(90deg, #3152ff 11%, #3152ff 17%, #2e66ff 21%, #2ca9ff 26%, #62e4c4 48%, #35b8ff 75%, #3152ff 81%, #3152ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    white-space: nowrap;
}

.hero-copy p {
    max-width: 510px;
    margin-bottom: 28px;
    color: #435071;
    font-size: 17px;
    line-height: 1.72;
}

.hero-copy p strong {
    color: #111a3d;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 21px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 440px;
    margin-right: -38px;
    overflow: visible;
}

.hero-image::before {
    content: "";
    position: absolute;
    inset: 0 -4% 0 8%;
    background:
        radial-gradient(circle at 78% 58%, rgba(255, 121, 55, .18), transparent 22%),
        radial-gradient(circle at 46% 48%, rgba(49, 82, 255, .13), transparent 54%);
    filter: blur(20px);
}

.hero-image::after {
    content: "";
    position: absolute;
    right: 9%;
    bottom: 16%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 121, 55, .22), rgba(255, 121, 55, .05) 54%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-image img {
    position: relative;
    z-index: 1;
    width: 760px;
    filter: drop-shadow(0 28px 58px rgba(55, 80, 150, .10));
}

.metrics {
    display: grid;
    grid-template-columns: .95fr 1.18fr 1.03fr 1.11fr;
    margin-top: 27px;
    padding: 28px 28px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--line);
    border-radius: 11px;
    box-shadow: var(--shadow);
}

.metrics article {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 5px 18px;
    padding: 0 20px;
    border-right: 1px solid var(--line);
}

.metrics article:last-child {
    border-right: 0;
}

.metric-icon,
.card-icon {
    display: grid;
    place-items: center;
}

.metric-icon {
    grid-row: span 2;
    width: 70px;
    height: 70px;
    border-radius: 18px;
    font-size: 39px;
}

.blue { color: var(--blue); background: #eef2ff; }
.green { color: var(--green); background: #eafaf1; }
.violet { color: var(--violet); background: #f1efff; }
.orange { color: var(--orange); background: #fff1e9; }

.metrics strong {
    max-width: 195px;
    font-size: 24px;
    line-height: 1.05;
}

.metrics small {
    color: #4e5b78;
    max-width: 190px;
    font-size: 12px;
    line-height: 1.45;
}

.metrics article:last-child small {
    max-width: 220px;
}

.section {
    padding: 43px 0;
}

.section h2 {
    margin-bottom: 20px;
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.service-card {
    display: grid;
    grid-template-columns: 63px 1fr;
    gap: 19px;
    min-height: 154px;
    padding: 20px 19px;
    background: rgba(255,255,255,.88);
    border: 1px solid var(--line);
    border-radius: 11px;
    box-shadow: 0 12px 30px rgba(33,55,118,.06);
    transform: translateY(0) scale(1);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.018);
    background: #fff;
    border-color: rgba(49, 82, 255, .18);
    box-shadow: 0 22px 46px rgba(33,55,118,.12);
}

.service-card .card-icon {
    transition: transform .24s ease, box-shadow .24s ease;
}

.service-card:hover .card-icon {
    transform: scale(1.08);
    box-shadow: 0 14px 28px rgba(33,55,118,.10);
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    font-size: 30px;
}

.service-card h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.service-card p {
    margin-bottom: 0;
    color: #33405f;
    font-size: 14px;
    line-height: 1.55;
}

.process {
    margin-top: -2px;
    padding: 37px 0 39px;
    background: linear-gradient(180deg, #f6f9ff, #f9fbff);
}

.process-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    padding-top: 4px;
}

.process-line::before {
    content: "";
    position: absolute;
    left: calc(10% + 28px);
    right: calc(10% + 28px);
    top: 32px;
    border-top: 1px dashed #b8c3ea;
}

.process-step {
    position: relative;
    text-align: center;
}

.process-step span {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 17px;
    color: var(--blue);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(33,55,118,.08);
    font-size: 25px;
}

.process-step:nth-child(1) span {
    color: var(--blue);
}

.process-step:nth-child(2) span {
    color: var(--violet);
}

.process-step:nth-child(3) span {
    color: #24a8ff;
}

.process-step:nth-child(4) span {
    color: var(--green);
}

.process-step:nth-child(5) span {
    color: var(--orange);
}

.process-step h3 {
    margin-bottom: 10px;
    font-size: 15px;
}

.process-step p {
    margin-bottom: 0;
    color: #3b4765;
    font-size: 13px;
    line-height: 1.58;
}

.proof {
    padding: 48px 0 20px;
}

.proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, .86fr);
    align-items: stretch;
    gap: 30px;
}

.proof h2,
.cta h2,
.form-shell h2 {
    text-align: left;
}

.industries-block {
    display: flex;
    flex-direction: column;
    min-height: 430px;
}

.industries-block h2 {
    margin-bottom: 0;
}

.industries {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 18px 20px;
    margin-top: 24px;
    flex: 1;
}

.industries article {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    place-items: center;
    min-height: 0;
    height: 100%;
    padding: 20px 14px;
    color: #3f4b70;
    background: linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(247, 250, 255, .72));
    border: 1px solid rgba(228, 233, 247, .72);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: transform .22s ease, color .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.industries svg {
    margin-bottom: 13px;
    color: #737eaa;
    font-size: 44px;
    stroke-width: 1.9;
    transition: transform .22s ease, color .22s ease, margin .22s ease;
}

.industries strong {
    display: block;
    transition: transform .22s ease;
}

.industries small {
    display: block;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    color: #53617e;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.38;
    opacity: 0;
    transform: translateY(8px);
    transition: max-height .24s ease, margin .24s ease, opacity .22s ease, transform .22s ease;
}

.industries article:hover,
.industries article:focus-visible {
    color: #14204a;
    background: #fff;
    border-color: rgba(49, 82, 255, .20);
    box-shadow: 0 18px 38px rgba(33,55,118,.12);
    transform: translateY(-4px);
    outline: 0;
}

.industries article:hover svg,
.industries article:focus-visible svg {
    margin-bottom: 8px;
    color: var(--blue);
    transform: translateY(-6px) scale(.92);
}

.industries article:hover small,
.industries article:focus-visible small {
    max-height: 78px;
    margin-top: 7px;
    opacity: 1;
    transform: translateY(0);
}

.industries article:hover strong,
.industries article:focus-visible strong {
    transform: translateY(-6px);
}

.industries article:nth-child(2):hover svg,
.industries article:nth-child(2):focus-visible svg,
.industries article:nth-child(6):hover svg,
.industries article:nth-child(6):focus-visible svg {
    color: var(--green);
}

.industries article:nth-child(3):hover svg,
.industries article:nth-child(3):focus-visible svg,
.industries article:nth-child(7):hover svg,
.industries article:nth-child(7):focus-visible svg {
    color: var(--violet);
}

.industries article:nth-child(4):hover svg,
.industries article:nth-child(4):focus-visible svg,
.industries article:nth-child(8):hover svg,
.industries article:nth-child(8):focus-visible svg {
    color: var(--orange);
}

.ai-panel {
    position: relative;
    min-height: 430px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding: 30px 32px 26px;
    background:
        radial-gradient(circle at 72% 62%, rgba(98, 228, 196, .16), transparent 34%),
        radial-gradient(circle at 58% 56%, rgba(49, 82, 255, .14), transparent 42%),
        linear-gradient(135deg, rgba(247,250,255,.98) 0%, rgba(241,247,255,.96) 58%, rgba(255,255,255,.94) 100%);
    border: 1px solid rgba(49, 82, 255, .28);
    border-radius: 14px;
    box-shadow: 0 22px 54px rgba(49, 82, 255, .12), inset 0 1px 0 rgba(255,255,255,.85);
}

.ai-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(49,82,255,.12), transparent 34%, rgba(98,228,196,.16) 100%);
}

.ai-panel > div {
    position: relative;
    z-index: 2;
}

.ai-panel > div:first-child {
    max-width: 100%;
}

.ai-panel h2 {
    margin-bottom: 7px;
    font-size: 23px;
}

.ai-panel p,
.cta-box p,
.form-shell p {
    color: #3b4765;
    font-size: 14px;
    line-height: 1.55;
}

.ai-panel p {
    max-width: 100%;
}

.ai-panel p strong {
    color: #101a3f;
    font-weight: 800;
}

.ai-web {
    position: relative;
    z-index: 2;
    right: auto;
    top: auto;
    width: min(100%, 620px);
    margin: 20px auto 0;
    padding: 10px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(223, 231, 251, .95);
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(49,82,255,.10);
    transform: none;
}

.ai-web img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transform-origin: center center;
    transition: transform .28s ease, filter .28s ease, box-shadow .28s ease;
}

.ai-web:hover {
    z-index: 30;
}

.ai-web:hover img {
    transform: scale(1.8);
    filter: drop-shadow(0 30px 58px rgba(20, 35, 90, .22));
}

.cta {
    padding: 0 0 16px;
}

.cta-box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 420px);
    align-items: start;
    gap: 22px 34px;
    padding: 26px 42px;
    background:
        radial-gradient(circle at 84% 42%, rgba(49,82,255,.16), transparent 26%),
        radial-gradient(circle at 72% 78%, rgba(255,121,55,.14), transparent 24%),
        linear-gradient(135deg, #f8fbff, #eef4ff 58%, #f7fbff);
    border: 1px solid rgba(49,82,255,.16);
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(33,55,118,.09);
}

.cta-note {
    position: relative;
    z-index: 1;
    padding: 19px 20px 19px 22px;
    background:
        linear-gradient(90deg, rgba(49,82,255,.08), rgba(255,255,255,.78)),
        rgba(255, 255, 255, .74);
    border: 1px solid rgba(49,82,255,.24);
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(49,82,255,.10), inset 0 1px 0 rgba(255,255,255,.72);
}

.cta-note::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 4px;
    background: linear-gradient(180deg, var(--blue), #62e4c4);
    border-radius: 0 999px 999px 0;
}

.cta-note strong {
    display: block;
    margin-bottom: 7px;
    color: #101a3f;
    font-size: 16px;
}

.cta-note span {
    display: block;
    color: #243052;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

.cta-side {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    display: grid;
    gap: 14px;
}

.cta-copy {
    position: relative;
    z-index: 1;
}

.cta-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 8px 14px;
    color: var(--orange);
    background: #fff1e9;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.cta-box h2 {
    margin-bottom: 8px;
    font-size: 30px;
}

.cta-box p {
    max-width: 720px;
    margin-bottom: 14px;
    font-size: 15px;
}

.cta-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cta-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    color: #243052;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(223,231,251,.9);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.cta-points span::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
}

.cta-points span:nth-child(2)::before {
    background: var(--blue);
}

.cta-points span:nth-child(3)::before {
    background: var(--orange);
}

.cta-action {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: stretch;
    gap: 13px;
}

.cta-action .btn {
    width: 100%;
}

.cta-action small {
    color: #243052;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.cta-meeting {
    position: relative;
    z-index: 1;
    grid-column: 1;
    margin: 0;
    padding-top: 16px;
    color: #53617e;
    border-top: 1px solid rgba(49,82,255,.10);
    font-size: 13px;
    line-height: 1.5;
}

.form-section {
    padding: 26px 0 34px;
}

.form-shell {
    display: grid;
    grid-template-columns: .95fr 1.15fr;
    gap: 24px;
    padding: 26px;
    background:
        radial-gradient(circle at 18% 18%, rgba(49,82,255,.07), transparent 28%),
        #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 42px rgba(33,55,118,.07);
}

.contact-panel {
    padding: 24px;
    background: linear-gradient(180deg, #f8fbff, #f1f6ff);
    border: 1px solid rgba(223,231,251,.92);
    border-radius: 14px;
}

.contact-panel h2 {
    margin-bottom: 10px;
}

.contact-panel > p {
    margin-bottom: 18px;
}

.contact-items {
    display: grid;
    gap: 12px;
}

.contact-items > a {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(223,231,251,.92);
    border-radius: 12px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.contact-items .contact-link {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(223,231,251,.92);
    border-radius: 12px;
}

.contact-items > a:hover {
    transform: translateY(-3px);
    border-color: rgba(49,82,255,.20);
    box-shadow: 0 14px 30px rgba(33,55,118,.10);
}

.contact-items svg {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 10px;
    color: var(--blue);
    background: #eef2ff;
    border-radius: 11px;
}

.contact-link svg {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 10px;
    color: var(--blue);
    background: #eef2ff;
    border-radius: 11px;
}

.contact-items > a:nth-child(2) svg {
    color: var(--green);
    background: #eafaf1;
}

.contact-items > a:nth-child(3) svg {
    color: var(--orange);
    background: #fff1e9;
}

.contact-items strong,
.contact-items small {
    display: block;
}

.contact-items strong {
    color: #101a3f;
    font-size: 14px;
}

.contact-items .js-email {
    font-weight: 800;
}

.contact-items small {
    margin-top: 3px;
    color: #53617e;
    font-size: 12px;
    line-height: 1.35;
}

.contact-note {
    margin: 16px 0 0;
    padding-top: 15px;
    border-top: 1px solid rgba(49,82,255,.10);
    font-size: 13px;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-content: start;
    max-width: 720px;
    gap: 13px 16px;
    padding-top: 4px;
}

.contact-form label {
    display: grid;
    align-content: start;
    gap: 6px;
    color: #33405f;
    font-size: 12px;
    font-weight: 700;
}

.contact-form label em {
    color: var(--orange);
    font-style: normal;
}

.wide,
.form-message {
    grid-column: 1 / -1;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--ink);
    background: #fbfdff;
    font: inherit;
}

input {
    min-height: 46px;
}

.contact-form input:not([type="checkbox"]):not([type="hidden"]) {
    height: 46px;
}

textarea {
    min-height: 178px;
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: 3px solid rgba(49,82,255,.12);
    border-color: var(--blue);
}

.check {
    grid-template-columns: 18px 1fr;
    align-items: start;
    font-weight: 500;
    line-height: 1.45;
}

.field-error {
    display: none;
    align-items: center;
    gap: 6px;
    color: #cf3f27;
    font-size: 12px;
    font-weight: 700;
}

.field-error::before {
    content: "!";
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    color: #fff;
    background: #cf3f27;
    border-radius: 50%;
    font-size: 11px;
    line-height: 1;
}

.has-error .field-error {
    display: inline-flex;
}

.check input {
    width: auto;
    height: auto;
    margin-top: 1px;
    min-height: 0;
}

.check .field-error {
    grid-column: 2;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.check a {
    color: #273252;
    text-decoration: underline;
    text-decoration-color: rgba(39, 50, 82, .28);
    text-underline-offset: 3px;
}

.check a:hover {
    color: var(--blue);
    text-decoration-color: rgba(49,82,255,.45);
}

.form-submit {
    justify-self: start;
    min-width: 230px;
    min-height: 50px;
    margin-top: 8px;
    color: #fff;
    background: linear-gradient(135deg, #3152ff, #3f66ff);
    box-shadow: 0 12px 26px rgba(49,82,255,.22);
}

.form-submit svg {
    font-size: 18px;
    stroke-width: 2.2;
    transition: transform .22s ease;
}

.form-submit:hover,
.form-submit:focus-visible {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #293ff4, #4c73ff);
    box-shadow: 0 16px 32px rgba(49,82,255,.28);
}

.form-submit:hover svg,
.form-submit:focus-visible svg {
    transform: translate(2px, -2px);
}

.has-error input,
.has-error textarea {
    border-color: var(--orange);
}

.form-message {
    padding: 11px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.form-message.success {
    color: #0d7b47;
    background: #eafaf1;
}

.form-message.error {
    color: #9f391d;
    background: #fff1e9;
}

.error-page {
    min-height: 100vh;
}

.error-header {
    position: relative;
}

.error-main {
    min-height: calc(100vh - 172px);
}

.error-hero {
    padding: 72px 0 76px;
}

.error-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    align-items: center;
    gap: 56px;
}

.error-copy h1 {
    max-width: 720px;
    margin-bottom: 18px;
    font-size: clamp(44px, 5vw, 72px);
}

.error-copy p {
    max-width: 620px;
    color: #3b4765;
    font-size: 16px;
    line-height: 1.7;
}

.error-lead {
    color: #172144;
    font-size: 19px;
    font-weight: 800;
}

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

.error-secondary {
    color: #243052;
    background: #fff;
    border: 1px solid rgba(223,231,251,.95);
    box-shadow: 0 12px 26px rgba(33,55,118,.08);
}

.error-secondary:hover,
.error-secondary:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(49,82,255,.28);
    box-shadow: 0 16px 34px rgba(33,55,118,.12);
}

.error-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: 38px;
    overflow: hidden;
    background:
        radial-gradient(circle at 68% 40%, rgba(98, 228, 196, .20), transparent 32%),
        radial-gradient(circle at 32% 70%, rgba(255, 121, 55, .18), transparent 30%),
        linear-gradient(135deg, rgba(247,250,255,.98), rgba(238,244,255,.95));
    border: 1px solid rgba(49,82,255,.18);
    border-radius: 16px;
    box-shadow: 0 22px 54px rgba(49,82,255,.12), inset 0 1px 0 rgba(255,255,255,.85);
}

.error-visual::before {
    content: "";
    position: absolute;
    inset: 26px;
    border: 1px dashed rgba(49,82,255,.24);
    border-radius: 14px;
}

.error-visual span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    margin-bottom: 18px;
    color: var(--blue);
    background: #fff;
    border: 1px solid rgba(223,231,251,.95);
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(33,55,118,.10);
    font-size: 46px;
}

.error-visual strong {
    position: relative;
    z-index: 1;
    color: transparent;
    background: linear-gradient(90deg, #3152ff, #2ca9ff, #22b66c);
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 104px;
    line-height: .95;
}

.error-visual small {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    color: #53617e;
    font-size: 13px;
    font-weight: 800;
}

.site-footer {
    padding: 17px 0;
    background: #fff;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr repeat(4, auto);
    align-items: center;
    gap: 28px;
    color: #455174;
    font-size: 13px;
}

.footer-grid span,
.footer-grid a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-grid a {
    transition: color .2s ease;
}

.footer-grid a:hover {
    color: var(--blue);
}

.footer-grid svg {
    color: #5c5fa8;
    font-size: 16px;
}

.legal-footer {
    display: grid;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    color: #68728c;
    border-top: 1px solid rgba(228,233,247,.72);
    font-size: 11px;
    line-height: 1.45;
}

.legal-footer p {
    margin: 0;
}

.legal-footer a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(104,114,140,.35);
    text-underline-offset: 3px;
}

.legal-footer a:hover {
    color: var(--blue);
    text-decoration-color: rgba(49,82,255,.45);
}

.cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 60;
    width: min(980px, calc(100% - 48px));
    padding: 26px;
    transform: translateX(-50%);
    color: var(--ink);
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(223,231,251,.95);
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(33,55,118,.16);
    backdrop-filter: blur(16px);
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
}

.cookie-settings {
    display: grid;
    gap: 24px;
}

.cookie-main[hidden],
.cookie-settings[hidden] {
    display: none;
}

.cookie-main > div > span,
.cookie-settings > div > span {
    display: block;
    margin-bottom: 4px;
    color: #65708c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cookie-consent strong {
    display: block;
    margin-bottom: 8px;
    font-size: 24px;
}

.cookie-consent p {
    margin: 0;
    color: #53617e;
    font-size: 15px;
    line-height: 1.6;
}

.cookie-options {
    display: grid;
    gap: 0;
    padding: 14px 22px;
    background: #f6f9ff;
    border: 1px solid rgba(207,219,245,.95);
    border-radius: 13px;
}

.cookie-options label {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    padding: 10px 0;
    color: #152143;
    font-weight: 800;
}

.cookie-options input {
    min-height: 0;
    margin-top: 3px;
}

.cookie-options strong {
    margin: 0 0 5px;
    font-size: 16px;
}

.cookie-options small {
    display: block;
    color: #61708e;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-actions-right {
    justify-content: flex-end;
}

.cookie-outline,
.cookie-secondary {
    color: #243052;
    background: #fff;
    border: 1px solid rgba(223,231,251,.95);
    box-shadow: none;
}

.cookie-outline {
    color: var(--blue);
    border-color: rgba(49,82,255,.42);
}

.grecaptcha-badge {
    visibility: hidden;
}

@media (max-width: 980px) {
    .site-header {
        grid-template-columns: auto auto;
        padding: 12px 24px;
    }

    .nav-toggle {
        justify-self: end;
        display: grid;
        gap: 5px;
        width: 40px;
        height: 40px;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
    }

    .nav-toggle span {
        height: 2px;
        background: var(--ink);
    }

    .site-nav,
    .header-phone,
    .site-header > .btn {
        display: none;
    }

    .site-header.nav-open .site-nav {
        grid-column: 1 / -1;
        display: grid;
        justify-self: stretch;
        gap: 0;
        padding-top: 8px;
    }

    .site-header.nav-open .site-nav a {
        padding: 13px 0;
        border-top: 1px solid var(--line);
    }

    .hero-grid,
    .proof-grid,
    .error-grid,
    .form-shell {
        grid-template-columns: 1fr;
    }

    .hero-image {
        justify-content: center;
        min-height: 0;
        margin: 24px 0 0;
        overflow: hidden;
    }

    .hero-image img {
        width: min(100%, 560px);
    }

    .metrics,
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics article {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 16px;
    }

    .metrics article:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .process-line {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-line::before {
        display: none;
    }

    .industries {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .wrap {
        width: min(100% - 28px, 1280px);
    }

    .hero {
        padding-top: 34px;
    }

    h1 {
        font-size: 42px;
    }

    h1 span {
        white-space: normal;
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .metrics,
    .service-grid,
    .process-line,
    .industries,
    .cta-box,
    .contact-form,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cookie-consent {
        left: 14px;
        right: 14px;
        bottom: 14px;
        width: auto;
        padding: 22px;
        transform: none;
    }

    .cookie-main {
        grid-template-columns: 1fr;
        width: auto;
    }

    .cookie-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cookie-actions-right {
        justify-content: stretch;
    }

    .industries {
        grid-template-rows: none;
    }

    .contact-form {
        max-width: none;
    }

    .error-hero {
        padding: 48px 0 52px;
    }

    .error-visual {
        min-height: 260px;
    }

    .error-visual strong {
        font-size: 78px;
    }

    .form-submit {
        justify-self: stretch;
        width: 100%;
    }

    .metrics {
        padding: 8px;
    }

    .metrics article,
    .metrics article:nth-last-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .metrics article:last-child {
        border-bottom: 0;
    }

    .service-card {
        grid-template-columns: 58px 1fr;
    }

    .industries article {
        height: auto;
        min-height: 118px;
        align-items: flex-start;
        text-align: left;
    }

    .industries svg {
        margin-bottom: 8px;
        font-size: 36px;
    }

    .industries small {
        max-height: none;
        margin-top: 7px;
        opacity: 1;
        transform: none;
    }

    .ai-panel > div {
        max-width: 100%;
    }

    .ai-panel > div:first-child {
        max-width: 100%;
    }

    .ai-web {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        max-width: 520px;
        transform: none;
        margin-top: 22px;
    }

    .cta-box {
        padding: 22px;
    }

    .cta-note {
        padding: 15px;
    }

    .cta-side,
    .cta-meeting {
        grid-column: 1;
        grid-row: auto;
    }

    .cta-action {
        justify-items: start;
    }

    .cta-action .btn {
        width: auto;
    }
}
