:root {
  --navy: #07111f;
  --navy-2: #102038;
  --ink: #15233a;
  --muted: #5c6b80;
  --line: #e4e9f0;
  --paper: #f3f6f9;
  --white: #ffffff;
  --blue: #1a6fe0;
  --cyan: #39c3ff;
  --amber: #e39b12;
  --green: #1b8a52;
  --red: #d23b3b;
  --shadow: 0 18px 50px rgba(7, 17, 31, 0.12);
  --radius: 18px;
  --max: 1160px;
  --font: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

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

.topbar {
  background: var(--navy);
  color: #d5deea;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar span { opacity: .75; margin-right: 8px; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.mark {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  line-height: 0;
}
.mark img {
  display: block;
  width: auto;
  height: auto;
  max-height: 52px;
  max-width: 100%;
  object-fit: contain;
}
.mark .for-dark { display: none; }
.header .mark img { max-height: 48px; }
.brand-pill .mark img { max-height: 44px; }
.card .mark { margin-bottom: 14px; }
.card .mark img { max-height: 52px; }
.page-hero .mark { margin-top: 16px; }
.page-hero .mark img { max-height: 64px; }
.footer .mark { margin-bottom: 12px; }
.footer .mark img { max-height: 48px; }
.brand-pill .mark .for-light,
.page-hero .mark .for-light,
.footer .mark .for-light { display: none; }
.brand-pill .mark .for-dark,
.page-hero .mark .for-dark,
.footer .mark .for-dark { display: block; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.site-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}
.site-switch select {
  width: auto;
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #07111f;
  font-weight: 800;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
}
.nav a.active, .nav a:hover { background: #eef4fb; color: var(--blue); }
.nav-cta {
  background: var(--navy) !important;
  color: #fff !important;
  margin-left: 6px;
}
.nav-cta:hover { background: var(--blue) !important; color: #fff !important; }
.burger {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 44px;
  height: 44px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(57,195,255,.28), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(227,155,18,.18), transparent 55%),
    linear-gradient(160deg, #07111f 0%, #12305a 100%);
  color: #fff;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 64px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan);
}
.hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
  margin: 12px 0 16px;
  letter-spacing: -0.035em;
}
.hero p.lead { font-size: 18px; color: #d7e2ef; max-width: 560px; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}
.btn-light { background: #fff; color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }

.brand-stack { display: grid; gap: 12px; }
.orbit-sun, .orbit-path { display: none; }
.brand-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 12px 14px;
  text-decoration: none;
  color: #fff;
}
.brand-pill .mark img { background: transparent; border-radius: 0; padding: 0; }
.brand-pill strong { display: block; }
.brand-pill span { color: #c5d2e2; font-size: 13px; }

.stats {
  background: #fff;
  margin-top: -28px;
  position: relative;
}
.stats .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat { padding: 22px 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 28px; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: 14px; }

.section { padding: 72px 0; }
.section h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; margin: 0 0 10px; }
.intro { color: var(--muted); max-width: 680px; margin: 0 0 28px; }
.paper { background: var(--paper); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .mark img { margin-bottom: 0; }
.card .shot {
  width: calc(100% + 44px);
  max-width: none;
  height: 190px;
  object-fit: cover;
  margin: -22px -22px 16px;
}
.hero-shot {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(0,0,0,.28);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 32px;
  align-items: center;
}
.photo-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo-band a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  min-height: 260px;
  text-decoration: none;
  color: #fff;
}
.photo-band img { width: 100%; height: 280px; object-fit: cover; }
.photo-band span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.02em;
  text-shadow: 0 8px 22px rgba(0,0,0,.55);
}
.photo-band small {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: .92;
}
.panel .shot {
  width: calc(100% + 44px);
  max-width: none;
  height: 200px;
  object-fit: cover;
  margin: -22px -22px 16px;
  border-radius: 18px 18px 0 0;
}
.card h3 { margin: 0 0 8px; font-size: 22px; }
.card p { color: var(--muted); margin: 0 0 16px; flex: 1; }
.card .more { font-weight: 800; color: var(--blue); }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 8px;
  margin: 0 6px 6px 0;
  background: #eef4fb;
  color: var(--navy-2);
}

.services { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.list { display: grid; gap: 12px; }
.item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.item h3 { margin: 0 0 4px; font-size: 17px; }
.item p { margin: 0; color: var(--muted); }

.page-hero {
  background: linear-gradient(160deg, #07111f, #16325c);
  color: #fff;
  padding: 54px 0 46px;
}
.page-hero h1 { margin: 10px 0 8px; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.03em; }
.page-hero p { margin: 0; max-width: 680px; color: #d5e0ee; font-size: 18px; }
.crumbs { font-size: 13px; color: #9fb0c6; }
.crumbs a { color: #fff; text-decoration: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  overflow: hidden;
}
.panel h3 { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--paper);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 700;
}

.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.person { padding: 12px 0; border-bottom: 1px solid var(--line); }
.person strong { display: block; }
.person span, .person a { color: var(--muted); font-size: 14px; text-decoration: none; }

.refs { display: flex; flex-wrap: wrap; gap: 8px; }
.ref {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; color: var(--navy-2); }
label.full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d5deea;
  border-radius: 12px;
  padding: 12px 12px;
  background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
.note { font-size: 13px; color: var(--muted); }
.ok {
  background: #e9f8ef;
  color: #0f6b3c;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.err {
  background: #fdecec;
  color: #9d1c1c;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.footer { background: var(--navy); color: #d5deea; padding: 42px 0 22px; }
.footer .grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 22px; }
.footer h3 { color: #fff; margin: 0 0 10px; font-size: 16px; }
.footer a { color: #d5deea; text-decoration: none; display: block; margin: 4px 0; }
.footer a:hover { color: #fff; }
.legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 26px; padding-top: 14px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; }

.fx-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 80;
  background: linear-gradient(90deg, var(--amber), var(--cyan), #7c5cff);
  box-shadow: 0 0 16px var(--cyan);
}
#fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
#fx-canvas { z-index: 4; }
.topbar, .header, .footer { z-index: 20; }
.fx-cursor {
  position: fixed;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  border: 1px solid rgba(57, 195, 255, .8);
  box-shadow: 0 0 24px rgba(57, 195, 255, .55), inset 0 0 12px rgba(227, 155, 18, .35);
  pointer-events: none;
  z-index: 70;
  mix-blend-mode: screen;
  transition: transform .15s ease, opacity .2s ease;
}
.hero-orbs, .hero-grid { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 30% 40%, #000 20%, transparent 75%);
  animation: grid-drift 18s linear infinite;
}
.hero-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: .7;
  animation: float 9s ease-in-out infinite;
}
.hero-orbs span:nth-child(1) { width: 280px; height: 280px; background: #1a6fe0; top: -60px; right: 8%; }
.hero-orbs span:nth-child(2) { width: 180px; height: 180px; background: #e39b12; bottom: -40px; left: 12%; animation-delay: -3s; }
.hero-orbs span:nth-child(3) { width: 120px; height: 120px; background: #39c3ff; top: 30%; left: 42%; animation-delay: -5s; }
.hero h1 {
  background: linear-gradient(100deg, #fff 10%, #9ad8ff 40%, #ffe08a 70%, #fff 90%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 7s linear infinite;
}
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 1.6s ease-in-out infinite;
}
.btn { position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45), transparent 70%);
  transform: translateX(-120%);
}
.btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 30px rgba(26, 111, 224, .35); }
.btn:hover::after { animation: sweep .7s ease; }
.brand-pill, .card, .panel, .item, .stat {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.brand-pill:hover, .card:hover, .panel:hover, .item:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(7, 17, 31, .18);
}
.card { position: relative; overflow: hidden; }
.card::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(57,195,255,.35), transparent 70%);
  transition: transform .4s ease;
}
.card:hover::before { transform: scale(1.6); }
.chip { animation: pop .6s ease both; }
.chip:nth-child(2) { animation-delay: .05s; }
.chip:nth-child(3) { animation-delay: .1s; }
.chip:nth-child(4) { animation-delay: .15s; }
.chip:nth-child(5) { animation-delay: .2s; }
.chip:nth-child(6) { animation-delay: .25s; }
.chip:nth-child(7) { animation-delay: .3s; }
.marquee {
  overflow: hidden;
  background: #07111f;
  color: #d7e7f6;
  border-top: 1px solid rgba(57,195,255,.25);
  border-bottom: 1px solid rgba(227,155,18,.25);
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 12px 0;
  animation: ticker 28s linear infinite;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
}
.marquee-track span::before { content: "⚡ "; color: var(--amber); }
.fx-in { animation: rise .7s ease both; }
.header { transition: box-shadow .2s ease, background .2s ease; }
.header.is-scrolled { box-shadow: 0 10px 40px rgba(7,17,31,.12); }
.page-hero { position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(57,195,255,.45), transparent 68%);
  animation: float 8s ease-in-out infinite;
}
@keyframes shine { to { background-position: 220% 0; } }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .45; } }
@keyframes float {
  50% { transform: translateY(-18px) scale(1.05); }
}
@keyframes grid-drift { to { background-position: 48px 48px; } }
@keyframes sweep { to { transform: translateX(120%); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes pop {
  from { opacity: 0; transform: scale(.8); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero .wrap, .cards, .services, .stats .grid, .split, .contact-grid, .footer .grid, .people, .page-hero-grid, .photo-band {
    grid-template-columns: 1fr;
  }
  .hero-shot { height: 220px; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .header-tools { gap: 8px; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  form { grid-template-columns: 1fr; }
  .topbar .wrap { flex-direction: column; }
  .legal { flex-direction: column; }
  .fx-cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  #fx-canvas, .fx-cursor { display: none; }
}
