:root {
  --navy: #0d1b3d;
  --navy-2: #081229;
  --blue: #103d91;
  --cyan: #00c9e6;
  --turquoise: #00d2c1;
  --graphite: #1a1e24;
  --muted: #5b6573;
  --line: #d7e0ea;
  --surface: #f4f7fa;
  --white: #ffffff;
  --grad: linear-gradient(90deg, #103d91 0%, #00c9e6 100%);
  --grad-diag: linear-gradient(135deg, #0d1b3d 0%, #103d91 48%, #00c9e6 100%);
  --shadow: 0 18px 50px rgba(13, 27, 61, 0.08);
  --radius: 4px;
  --container: 1320px;
  --header: 84px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

html,
body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: clamp(16px, 0.2vw + 15.5px, 18px);
  line-height: 1.6;
  color: var(--graphite);
  background: var(--white);
  min-height: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--cyan); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--cyan);
  color: var(--navy);
  padding: 0.6rem 1rem;
  z-index: 1000;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
@media (min-width: 768px) {
  .container { width: min(100% - 80px, var(--container)); }
}
.narrow { max-width: 820px; }

.kicker {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}
.kicker--light { color: var(--blue); }

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 0.7em;
}
h1 { font-size: clamp(2.15rem, 4.6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.55rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; }

.lead {
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  color: var(--muted);
  max-width: 46rem;
  margin: 0 0 1.5rem;
}

.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section--tight { padding: 2.4rem 0; }
.section--muted { background: var(--surface); }
.section--dark {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(0, 201, 230, 0.16), transparent 55%),
    radial-gradient(900px 400px at 0% 120%, rgba(16, 61, 145, 0.45), transparent 50%),
    var(--navy);
  color: var(--white);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark .lead { color: rgba(255,255,255,.78); }
.section--compact-hero { padding: calc(var(--header) + 3.5rem) 0 4rem; }
.section--cta { padding: clamp(4rem, 7vw, 6rem) 0; }

.section-head { margin-bottom: 2.4rem; max-width: 46rem; }
.section-head--row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
  max-width: none;
}
.section-head--light { max-width: 48rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 220ms var(--ease), background 220ms var(--ease), border-color 220ms, color 220ms, box-shadow 220ms;
}
.btn--primary {
  background: var(--cyan);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(0, 201, 230, 0.25);
}
.btn--primary:hover {
  background: #3ad6ee;
  color: var(--navy);
  transform: translateY(-1px);
}
.btn--secondary {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}
.section--dark .btn--secondary { color: var(--white); border-color: rgba(255,255,255,.35); }
.section--dark .btn--secondary:hover { border-color: var(--cyan); color: var(--cyan); }
body:not(.has-dark-hero) .btn--secondary,
.section:not(.section--dark) .btn--secondary { color: var(--blue); border-color: var(--blue); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.3);
}
.btn--sm { min-height: 44px; padding: 0.55rem 1.1rem; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.text-link {
  color: var(--cyan);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header) + 2rem) 0 4rem;
}
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 70%, rgba(8,18,41,.45)),
    repeating-linear-gradient(135deg, rgba(0,201,230,.04) 0 1px, transparent 1px 72px);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
}
.hero__title { margin-bottom: .6em; }
.hero__text { margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero__badges li {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  border-bottom: 1px solid rgba(0,201,230,.45);
  padding-bottom: .15rem;
}

.arch-panel {
  position: relative;
  min-height: 360px;
  animation: rise 900ms var(--ease) both;
}
.arch-panel__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.arch-panel__node {
  position: absolute;
  min-width: 108px;
  padding: .85rem 1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(0,201,230,.28);
  backdrop-filter: blur(8px);
  color: var(--white);
}
.arch-panel__node span { display: block; font-weight: 800; font-size: 1.05rem; }
.arch-panel__node small { color: rgba(255,255,255,.6); }
.arch-panel__node--a { top: 6%; left: 36%; animation: float 7s ease-in-out infinite; }
.arch-panel__node--b { top: 42%; left: 4%; animation: float 8s ease-in-out infinite .4s; }
.arch-panel__node--c { top: 38%; right: 2%; animation: float 6.5s ease-in-out infinite .8s; }
.arch-panel__node--d { bottom: 8%; left: 32%; animation: float 7.5s ease-in-out infinite 1.1s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
}
.facts__item strong {
  display: block;
  font-size: 1.45rem;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.facts__item span { color: var(--muted); font-size: .92rem; }

.cards {
  display: grid;
  gap: 1.15rem;
}
.cards--tasks { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cards--cases { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards--benefits { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--white);
  padding: 1.4rem 1.35rem 1.5rem;
  border-top: 3px solid var(--cyan);
  box-shadow: var(--shadow);
}
.section--muted .card { background: var(--white); }
.card h2, .card h3 { margin-bottom: .45em; }
.card p { margin: 0; color: var(--muted); }
.card--link {
  display: flex;
  flex-direction: column;
  color: inherit;
  min-height: 100%;
  transition: transform 280ms var(--ease);
}
.card--link:hover { transform: translateY(-4px); color: inherit; }
.card__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  color: var(--blue);
  margin-bottom: 1rem;
}
.card__icon .icon { width: 28px; height: 28px; }
.card__more {
  margin-top: auto;
  padding-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 700;
  color: var(--blue);
}
.card--case { padding: 0; overflow: hidden; border-top: 0; }
.card--case .card__body { padding: 1.2rem 1.2rem 1.4rem; }
.card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--navy); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--placeholder {
  display: grid; place-items: center;
  background: var(--grad-diag);
}
.delta-mark {
  width: 72px; height: 62px;
  clip-path: polygon(50% 8%, 8% 92%, 92% 92%);
  background: rgba(255,255,255,.18);
}
.card__meta { font-size: .82rem; color: var(--muted); margin: 0 0 .4rem; }
.card__result { margin-top: .75rem !important; color: var(--navy) !important; }

.pipeline {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 900px) {
  .pipeline { grid-template-columns: repeat(5, 1fr); }
}
.pipeline__item {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(0,201,230,.35);
}
.pipeline__index {
  display: block;
  font-size: .8rem;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: .5rem;
}
.pipeline__item strong { display: block; margin-bottom: .35rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 800px) { .steps { grid-template-columns: 1fr 1fr; } }
.steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.steps__num {
  font-weight: 800;
  color: var(--cyan);
  font-size: 1.1rem;
}
.steps__item p { margin: .3rem 0 0; color: var(--muted); }

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tech-list li {
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--navy);
}

.accordion { display: grid; gap: .6rem; }
.accordion__item {
  background: var(--white);
  border: 1px solid var(--line);
}
.accordion__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.2rem;
  font-weight: 700;
  color: var(--navy);
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__body { padding: 0 1.2rem 1.15rem; color: var(--muted); }

.cta-band {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .cta-band { grid-template-columns: .9fr 1.1fr; align-items: start; }
}
.cta-band__form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(0,201,230,.2);
  padding: 1.4rem;
}

.lead-form { color: inherit; }
.lead-form__intro { margin: 0 0 1.1rem; color: inherit; opacity: .85; }
.form-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .92rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
  color: var(--graphite);
}
.section--dark .field input,
.section--dark .field select,
.section--dark .field textarea {
  background: rgba(8,18,41,.55);
  border-color: rgba(255,255,255,.18);
  color: var(--white);
}
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.checkbox input { margin-top: .3rem; }
.lead-form__actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.1rem; }
.form-status { margin: 0; min-height: 1.3em; }
.form-status.is-success { color: var(--turquoise); }
.form-status.is-error { color: #ff8a8a; }
.hp-field { position: absolute; left: -9999px; }

.choice-grid {
  display: grid;
  gap: .7rem;
  margin-bottom: 1.2rem;
}
@media (min-width: 700px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice {
  display: block;
  cursor: pointer;
}
.choice span {
  display: block;
  min-height: 52px;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  font-weight: 650;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) span,
.choice:has(input:focus-visible) span {
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 1px var(--cyan);
}
.estimate-step[hidden] { display: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  background: transparent;
  transition: background 240ms var(--ease), box-shadow 240ms, backdrop-filter 240ms;
}
.site-header.is-scrolled,
body:not(.has-dark-hero) .site-header {
  background: rgba(8, 18, 41, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0, 201, 230, 0.12);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--header);
  gap: 1rem;
}
.site-logo img { height: 42px; width: auto; }
.has-dark-hero .site-header:not(.is-scrolled) .site-logo { filter: brightness(1.05); }

.menu {
  display: flex;
  gap: 1.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.menu a {
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
}
.menu a:hover { color: var(--cyan); }
.sub-menu {
  position: absolute;
  min-width: 230px;
  background: var(--white);
  box-shadow: var(--shadow);
  list-style: none;
  margin: .6rem 0 0;
  padding: .5rem 0;
  display: none;
}
.menu-item-has-children { position: relative; }
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu { display: block; }
.sub-menu a { color: var(--navy) !important; display: block; padding: .55rem 1rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.nav-toggle { color: var(--white); }
.site-nav__mobile-contacts { display: none; }

.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 40;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--cyan);
  color: var(--navy);
  font-weight: 800;
  border-radius: var(--radius);
}

.site-footer {
  background: var(--navy-2);
  color: rgba(255,255,255,.78);
  padding: 4rem 0 1.5rem;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--cyan); }
.site-footer__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
.site-footer__title {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.site-footer__list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .45rem; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .9rem;
}

.breadcrumbs { margin-bottom: 1.2rem; font-size: .9rem; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs__item:not(:last-child)::after { content: "/"; margin-left: .4rem; opacity: .5; }
.section--dark .breadcrumbs a { color: var(--cyan); }

.content-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .content-grid { grid-template-columns: 1.4fr .8fr; align-items: start; }
}
.side-cta {
  background: var(--surface);
  padding: 1.4rem;
  position: sticky;
  top: calc(var(--header) + 1rem);
}
.section--dark .side-cta { background: rgba(255,255,255,.04); }

.prose :where(p, ul, ol) { margin: 0 0 1rem; }
.prose a { text-decoration: underline; }

.process-stage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.process-dl { display: grid; gap: .8rem; }
.process-dl dt { font-weight: 700; color: var(--navy); font-size: .88rem; }
.process-dl dd { margin: .2rem 0 0; color: var(--muted); }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list span { display: block; color: var(--muted); font-size: .88rem; }
.contact-list a, .contact-list strong { font-size: 1.15rem; color: var(--navy); }

.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: var(--navy);
  color: var(--white);
  padding: 1rem 0;
  box-shadow: 0 -12px 40px rgba(0,0,0,.25);
}
.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.cookie-banner a { color: var(--cyan); }
.cookie-banner[hidden] { display: none !important; }

.empty-state {
  padding: 2rem;
  background: var(--surface);
  color: var(--muted);
}

.case-cover img { width: 100%; }

@media (max-width: 899px) {
  body.menu-open { overflow: hidden; }
  .site-header__inner { grid-template-columns: auto auto 1fr; }
  .site-header__cta { justify-self: end; }
  .site-nav__panel {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0; right: 0;
    background: var(--white);
    padding: 1rem 1.25rem 1.4rem;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open .site-nav__panel { display: block; }
  .menu { flex-direction: column; align-items: flex-start; }
  .menu a { color: var(--navy) !important; }
  .sub-menu { position: static; box-shadow: none; display: block; padding-left: .4rem; }
  .site-nav__mobile-contacts { display: grid; gap: .4rem; margin-top: 1rem; }
  .site-nav__mobile-contacts a { color: var(--blue); font-weight: 700; }
  .mobile-sticky-cta { display: flex; }
  .site-header__cta { display: none; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  body { padding-bottom: 4.5rem; }
}

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