:root {
  --primary: #0c3c60;
  --primary-2: #0f527f;
  --primary-dark: #061d30;
  --primary-deep: #03111d;
  --accent: #16b8d9;
  --accent-2: #8de8ff;
  --accent-warm: #ffb84d;
  --ink: #0f1b2a;
  --muted: #637184;
  --soft: #edf5fa;
  --soft-2: #f7fafc;
  --white: #ffffff;
  --black: #03070d;
  --rail: 178px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 42px;
  --shadow: 0 22px 70px rgba(4, 21, 35, 0.15);
  --shadow-deep: 0 28px 90px rgba(0, 0, 0, 0.35);
  --line: rgba(12, 60, 96, 0.14);
  --ease: cubic-bezier(.2, .75, .22, 1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft-2);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

img, svg, video {
  max-width: 100%;
  display: block;
}

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

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--primary);
  color: var(--white);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform .25s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #174c74 0%, #071827 45%, #02070d 100%);
  transition: opacity .55s ease, visibility .55s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__card {
  width: min(440px, 86vw);
  padding: 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(22px);
  text-align: center;
}

.preloader__card img {
  width: 260px;
  margin: 0 auto 22px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.95);
}

.preloader__bar {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}

.preloader__bar span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: loadingLine 1.25s var(--ease) infinite;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  box-shadow: 0 0 20px rgba(22,184,217,.55);
}

.site-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  width: var(--rail);
  padding: 24px 18px 22px;
  background: linear-gradient(180deg, #04080f 0%, #08131e 55%, #03070d 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.08);
  box-shadow: 16px 0 50px rgba(0,0,0,.28);
}

.site-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 40% 12%, rgba(22,184,217,.20), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 35%, rgba(255,255,255,.03));
}

.brand {
  position: relative;
  z-index: 1;
  min-height: 84px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 20px 45px rgba(0,0,0,.28);
  overflow: hidden;
}

.brand::after {
  content: "";
  position: absolute;
  inset: auto -45% -55% -45%;
  height: 68px;
  background: linear-gradient(90deg, transparent, rgba(22,184,217,.32), transparent);
  transform: rotate(-8deg);
  animation: brandSweep 5s ease-in-out infinite;
}

.brand img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  color: var(--white);
  align-items: center;
  justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle span::before {
  transform: translateY(-7px);
}

.menu-toggle span::after {
  transform: translateY(5px);
}

.site-rail.nav-open .menu-toggle span {
  transform: rotate(45deg);
}

.site-rail.nav-open .menu-toggle span::before {
  opacity: 0;
}

.site-rail.nav-open .menu-toggle span::after {
  transform: translateY(-2px) rotate(-90deg);
}

.main-nav {
  position: relative;
  z-index: 2;
  margin-top: 44px;
  display: grid;
  gap: 6px;
}

.nav-link,
.nav-button {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 12px 12px;
  background: transparent;
  color: rgba(255,255,255,.86);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .095em;
  text-transform: uppercase;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-button:hover,
.nav-button:focus-visible,
.nav-link.is-active {
  color: var(--accent-2);
  background: rgba(255,255,255,.07);
  transform: translateX(4px);
  outline: none;
}

.nav-link.is-active::before,
.nav-button.is-current::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(22,184,217,.85);
}

.nav-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-arrow {
  color: var(--accent);
  transition: transform .25s ease;
}

.has-mega:hover .nav-arrow,
.has-mega:focus-within .nav-arrow,
.has-mega.is-open .nav-arrow {
  transform: rotate(90deg);
}

.has-mega {
  position: relative;
}

.mega-menu {
  position: fixed;
  top: 112px;
  left: calc(var(--rail) - 6px);
  z-index: 90;
  width: min(900px, calc(100vw - var(--rail) - 46px));
  min-height: 300px;
  padding: 26px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background:
    linear-gradient(135deg, rgba(5, 15, 24, .96), rgba(7, 34, 55, .96)),
    radial-gradient(circle at 76% 18%, rgba(22,184,217,.24), transparent 34%);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-18px) scale(.985);
  transition: opacity .28s ease, visibility .28s ease, transform .28s var(--ease);
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu,
.has-mega.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.mega-menu__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.mega-menu__header p {
  margin: 6px 0 0;
  max-width: 560px;
  color: rgba(255,255,255,.68);
  line-height: 1.7;
  font-size: .94rem;
}

.mega-menu__title {
  margin: 0;
  font-size: clamp(1.65rem, 2vw, 2.25rem);
  letter-spacing: -.045em;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mega-card {
  min-height: 142px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
  position: relative;
  transition: transform .25s var(--ease), background .25s ease, border-color .25s ease;
}

.mega-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -72px;
  bottom: -72px;
  border-radius: 50%;
  background: rgba(22,184,217,.17);
  transition: transform .35s var(--ease);
}

.mega-card:hover,
.mega-card:focus-visible {
  transform: translateY(-5px);
  background: rgba(255,255,255,.09);
  border-color: rgba(141,232,255,.35);
  outline: none;
}

.mega-card:hover::after,
.mega-card:focus-visible::after {
  transform: scale(1.4);
}

.mega-card small {
  color: var(--accent-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.mega-card strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.25;
}

.mega-card span {
  color: rgba(255,255,255,.64);
  font-size: .88rem;
  line-height: 1.55;
}

.rail-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: grid;
  gap: 14px;
  color: rgba(255,255,255,.72);
}

.rail-footer__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: .02em;
}

.rail-footer__label::after {
  content: "›";
  color: var(--accent);
  font-size: 1.55rem;
  line-height: 0;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255,255,255,.07);
  color: var(--white);
  font-size: .78rem;
  font-weight: 900;
  transition: transform .25s var(--ease), background .25s ease;
}

.socials a:hover,
.socials a:focus-visible {
  transform: translateY(-4px);
  background: var(--primary-2);
  outline: none;
}

.main {
  min-height: 100vh;
  margin-left: var(--rail);
  background: var(--soft-2);
}

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--primary-deep);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(3, 10, 18, .98) 0%, rgba(3,10,18,.87) 31%, rgba(12,60,96,.64) 58%, rgba(3,10,18,.24) 100%),
    radial-gradient(circle at 80% 30%, rgba(22,184,217,.20), transparent 34%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, var(--soft-2), transparent);
  pointer-events: none;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1s ease, transform 8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide__texture {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
  opacity: .45;
  animation: gridMove 18s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(920px, 94vw);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px clamp(24px, 6vw, 86px) 128px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 18px;
  color: var(--accent-2);
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .78rem;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 18px rgba(141,232,255,.65);
}

.hero-title {
  margin: 0;
  font-size: clamp(3rem, 7vw, 7.9rem);
  line-height: .88;
  letter-spacing: -.075em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-title span {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.82);
  text-shadow: none;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  position: relative;
  overflow: hidden;
  border: 0;
  min-height: 52px;
  padding: 16px 24px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .28s var(--ease), box-shadow .28s ease, background .28s ease, color .28s ease, border-color .28s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -70%;
  width: 60%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transition: left .55s ease;
}

.btn:hover::after,
.btn:focus-visible::after {
  left: 120%;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-4px);
  outline: none;
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 18px 40px rgba(12,60,96,.28);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 26px 60px rgba(12,60,96,.35);
}

.btn--light {
  color: var(--primary);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(0,0,0,.20);
}

.btn--ghost {
  color: var(--white);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.20);
}

.btn--outline {
  color: var(--primary);
  background: transparent;
  border: 1px solid rgba(12,60,96,.24);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.hero-controls {
  position: absolute;
  z-index: 8;
  right: clamp(22px, 4vw, 64px);
  bottom: 46px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(255,255,255,.08);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  transition: transform .25s var(--ease), background .25s ease;
  backdrop-filter: blur(12px);
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  transform: translateY(-3px) scale(1.05);
  background: var(--primary);
  outline: none;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  background: transparent;
  transition: width .25s var(--ease), background .25s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--accent-2);
}

.hero-status {
  position: absolute;
  z-index: 7;
  left: clamp(24px, 6vw, 86px);
  bottom: 46px;
  display: flex;
  gap: 22px;
  color: rgba(255,255,255,.78);
}

.hero-status strong {
  display: block;
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
}

.hero-status span {
  display: block;
  margin-top: 5px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 128px) clamp(22px, 5vw, 80px);
}

.section--tight {
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(48px, 6vw, 76px);
}

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

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

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .85fr);
  align-items: end;
  gap: clamp(24px, 6vw, 80px);
  margin-bottom: 44px;
}

.section-head--center {
  display: block;
  text-align: center;
  max-width: 830px;
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--primary);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.15rem, 4.6vw, 4.65rem);
  line-height: .98;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-title em {
  color: var(--primary);
  font-style: normal;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.85;
}

.text-block p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

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

.solution-card,
.value-card,
.tech-card,
.info-card,
.process-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.86);
  box-shadow: 0 12px 35px rgba(12,60,96,.07);
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

.solution-card:hover,
.value-card:hover,
.tech-card:hover,
.info-card:hover,
.process-card:hover,
.contact-card:hover {
  transform: translateY(-9px);
  border-color: rgba(12,60,96,.30);
  box-shadow: var(--shadow);
  background: var(--white);
}

.solution-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.solution-card__image {
  height: 182px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(12,60,96,.10), rgba(22,184,217,.13));
}

.solution-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .75s var(--ease);
}

.solution-card:hover .solution-card__image img {
  transform: scale(1.08) rotate(.4deg);
}

.solution-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.solution-card__icon,
.value-card__icon,
.tech-card__icon,
.info-card__icon,
.contact-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 26px rgba(12,60,96,.22);
  font-weight: 950;
}

.solution-card h3,
.value-card h3,
.tech-card h3,
.info-card h3,
.process-card h3,
.contact-card h3 {
  margin: 18px 0 10px;
  font-size: 1.24rem;
  letter-spacing: -.03em;
}

.solution-card p,
.value-card p,
.tech-card p,
.info-card p,
.process-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.solution-card__body a {
  margin-top: auto;
  padding-top: 18px;
  color: var(--primary);
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(360px, 1fr) minmax(0, .96fr);
}

.visual-card {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), #081827);
  box-shadow: var(--shadow);
}

.visual-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(12,60,96,.18), transparent 50%),
    radial-gradient(circle at 88% 20%, rgba(141,232,255,.24), transparent 30%);
  pointer-events: none;
}

.float-badge {
  position: absolute;
  right: 28px;
  bottom: 28px;
  max-width: 250px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 20px;
  color: var(--white);
  background: rgba(3, 13, 22, .72);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(20px);
  animation: floatY 5s ease-in-out infinite;
}

.float-badge strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.float-badge span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.74);
  line-height: 1.5;
}

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

.stat-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(12,60,96,.06);
}

.stat-card strong {
  display: block;
  color: var(--primary);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.dark-panel {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 16%, rgba(22,184,217,.22), transparent 28%),
    linear-gradient(135deg, #02060b 0%, #071927 54%, #02060b 100%);
}

.dark-panel .section-title,
.dark-panel h2,
.dark-panel h3 {
  color: var(--white);
}

.dark-panel .lead,
.dark-panel p {
  color: rgba(255,255,255,.70);
}

.dark-panel .kicker {
  color: var(--accent-2);
}

.dark-panel .kicker::before {
  background: var(--accent-2);
}

.performance-band {
  overflow: hidden;
}

.performance-grid {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: center;
}

.layered-visual {
  position: relative;
  min-height: 520px;
}

.layered-visual::before,
.layered-visual::after {
  content: "";
  position: absolute;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.08);
}

.layered-visual::before {
  inset: 42px 14% 18px 0;
  transform: rotate(-3deg);
}

.layered-visual::after {
  inset: 0 0 54px 18%;
  transform: rotate(4deg);
  border: 1px solid rgba(255,255,255,.14);
}

.layered-visual img {
  position: absolute;
  inset: 34px 10% 42px 8%;
  width: 82%;
  height: calc(100% - 76px);
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-deep);
  animation: floatY 6.4s ease-in-out infinite;
}

.metric-strip {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.metric {
  display: flex;
  align-items: center;
  gap: 14px;
}

.metric i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--accent-2);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  font-style: normal;
  font-size: 1.4rem;
}

.metric strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.metric span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.58);
}

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

.logo-cloud span {
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: rgba(255,255,255,.74);
  font-weight: 950;
  letter-spacing: .03em;
  transition: transform .25s var(--ease), box-shadow .25s ease;
}

.logo-cloud span:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(12,60,96,.10);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(34px, 6vw, 70px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(12,60,96,.95), rgba(7,26,42,.96)),
    radial-gradient(circle at 85% 20%, rgba(141,232,255,.35), transparent 28%);
  box-shadow: var(--shadow);
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 58px solid rgba(255,255,255,.08);
  animation: spinSlow 16s linear infinite;
}

.cta-panel__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.cta-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: .96;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

.cta-panel p {
  margin: 0 0 28px;
  color: rgba(255,255,255,.78);
  line-height: 1.8;
  font-size: 1.08rem;
}

.page-hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 90px clamp(22px, 5vw, 80px) 70px;
  color: var(--white);
  background: linear-gradient(135deg, #03111d 0%, #0c3c60 55%, #082034 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 28%, rgba(141,232,255,.26), transparent 28%),
    linear-gradient(rgba(255,255,255,.048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: auto, 58px 58px, 58px 58px;
  animation: gridMove 22s linear infinite;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  bottom: -250px;
  border-radius: 50%;
  border: 72px solid rgba(255,255,255,.06);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255,255,255,.74);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--accent-2);
}

.page-title {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 7.2rem);
  line-height: .88;
  letter-spacing: -.08em;
  text-transform: uppercase;
  text-wrap: balance;
}

.page-intro {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.78);
  line-height: 1.85;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.value-card,
.info-card,
.contact-card {
  padding: 28px;
}

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

.timeline-item {
  position: relative;
  padding: 28px 28px 28px 86px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(12,60,96,.06);
}

.timeline-item::before {
  content: attr(data-step);
  position: absolute;
  left: 24px;
  top: 24px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--white);
  background: var(--primary);
  font-weight: 950;
}

.timeline-item h3 {
  margin: 0 0 8px;
  letter-spacing: -.03em;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.service-detail {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 34px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 16px 48px rgba(12,60,96,.08);
  overflow: hidden;
}

.service-detail + .service-detail {
  margin-top: 28px;
}

.service-detail__visual {
  min-height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--soft);
}

.service-detail__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail__body h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.service-detail__body p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 13px 14px 13px 42px;
  border-radius: 14px;
  background: var(--soft);
  color: #223142;
  font-weight: 750;
  line-height: 1.45;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 12px;
  color: var(--primary);
  font-weight: 950;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag-row span,
.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(12,60,96,.08);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tech-card {
  padding: 26px;
  min-height: 230px;
}

.tech-card__meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.architecture {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.architecture__step {
  min-height: 150px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #062337);
  position: relative;
  overflow: hidden;
}

.architecture__step::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -58px;
  top: -56px;
  border-radius: 50%;
  background: rgba(255,255,255,.13);
}

.architecture__step small {
  color: var(--accent-2);
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.architecture__step strong {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  line-height: 1.32;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(380px, 1.1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.form-card {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

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

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

.form-field label {
  font-weight: 900;
  color: #263748;
  font-size: .86rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid rgba(12,60,96,.16);
  border-radius: 16px;
  padding: 15px 16px;
  color: var(--ink);
  background: var(--soft-2);
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

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

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(12,60,96,.10);
  background: var(--white);
}

.form-message {
  margin-top: 16px;
  min-height: 24px;
  color: var(--primary);
  font-weight: 800;
}

.map-card {
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--white);
}

.map-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 950;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.35rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  line-height: 1.75;
}

.footer {
  color: rgba(255,255,255,.76);
  background: #02060b;
  padding: 62px clamp(22px, 5vw, 80px) 28px;
}

.footer__grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(150px, .65fr));
  gap: 34px;
}

.footer__brand img {
  width: 250px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
}

.footer__brand p {
  max-width: 420px;
  margin: 18px 0 0;
  line-height: 1.75;
}

.footer h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 1rem;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer a {
  transition: color .2s ease;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--accent-2);
  outline: none;
}

.footer__bottom {
  width: min(var(--max), 100%);
  margin: 44px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="100"] { transition-delay: .1s; }
.reveal[data-delay="200"] { transition-delay: .2s; }
.reveal[data-delay="300"] { transition-delay: .3s; }
.reveal[data-delay="400"] { transition-delay: .4s; }
.reveal[data-delay="500"] { transition-delay: .5s; }

.parallax-float {
  will-change: transform;
}

@keyframes loadingLine {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(260%); }
}

@keyframes brandSweep {
  0%, 45% { transform: translateX(-35%) rotate(-8deg); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: translateX(55%) rotate(-8deg); opacity: 0; }
}

@keyframes gridMove {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 0 0, 58px 58px, 58px 58px; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

@media (max-width: 1160px) {
  .card-grid,
  .card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 960px) {
  :root {
    --rail: 0px;
  }

  .site-rail {
    width: 100%;
    height: 82px;
    padding: 10px 16px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .brand {
    width: min(230px, 68vw);
    min-height: 58px;
    height: 58px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 82px);
    overflow: auto;
    margin: 0;
    padding: 18px;
    background: rgba(3, 7, 13, .97);
    border-top: 1px solid rgba(255,255,255,.10);
    box-shadow: var(--shadow-deep);
    transform: translateY(-115%);
    opacity: 0;
    transition: transform .3s var(--ease), opacity .3s ease;
  }

  .site-rail.nav-open .main-nav {
    transform: translateY(0);
    opacity: 1;
  }

  .rail-footer {
    display: none;
  }

  .mega-menu {
    position: static;
    width: 100%;
    min-height: 0;
    padding: 0 0 0 12px;
    max-height: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: none;
    transition: max-height .35s var(--ease), padding .35s ease;
  }

  .has-mega:hover .mega-menu,
  .has-mega:focus-within .mega-menu {
    transform: none;
  }

  .has-mega.is-open .mega-menu {
    max-height: 1100px;
    padding: 12px 0 12px 12px;
    pointer-events: auto;
  }

  .mega-menu__header {
    display: none;
  }

  .mega-menu__grid {
    grid-template-columns: 1fr;
  }

  .mega-card {
    min-height: auto;
    padding: 16px;
  }

  .main {
    margin-left: 0;
    padding-top: 82px;
  }

  .hero {
    min-height: calc(100vh - 82px);
  }

  .hero-content {
    min-height: calc(100vh - 82px);
    padding-top: 70px;
    padding-bottom: 142px;
  }

  .hero-status {
    display: none;
  }

  .hero-controls {
    left: 24px;
    right: auto;
    bottom: 34px;
  }

  .section-head,
  .split,
  .split--reverse,
  .performance-grid,
  .contact-layout,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child {
    order: 2;
  }

  .split--reverse > :last-child {
    order: 1;
  }

  .page-hero {
    min-height: 50vh;
    padding-top: 70px;
  }

  .service-detail {
    padding: 22px;
  }

  .service-detail__visual {
    min-height: 230px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .hero-title,
  .page-title {
    letter-spacing: -.06em;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .card-grid,
  .card-grid--2,
  .card-grid--4,
  .stat-row,
  .metric-strip,
  .feature-list,
  .form-grid,
  .architecture,
  .logo-cloud {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .layered-visual {
    min-height: 360px;
  }

  .visual-card {
    min-height: 320px;
  }

  .float-badge {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }

  .contact-layout {
    display: block;
  }

  .form-card {
    margin-top: 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    display: grid;
  }
}

@media (min-width: 961px) {
  .footer {
    margin-left: var(--rail);
  }
}

:target {
  scroll-margin-top: 110px;
}

.process-card {
  padding: 28px;
}
