:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --blue: #1565d8;
  --cyan: #18b6e8;
  --amber: #f5a524;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .9em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.6em; border-radius: 999px; border: 2px solid var(--blue);
  background: var(--blue); color: #fff; font: inherit; font-weight: 700; font-size: .95rem;
  cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(21, 101, 216, .3); }
.btn-sm { padding: .55em 1.2em; font-size: .88rem; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; box-shadow: none; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(15,23,42,.06); }
.brand-logo { height: 54px; width: auto; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-size: .95rem; letter-spacing: .06em; }
.brand-text strong { font-weight: 800; }
.brand-text span { font-weight: 500; font-size: .78rem; letter-spacing: .32em; opacity: .8; }
.scrolled .brand { color: var(--navy); }
.menu { display: flex; align-items: center; gap: 32px; }
.menu a:not(.btn) { color: var(--text); font-weight: 600; font-size: .93rem; transition: color .2s; }
.menu a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--navy); transition: .3s; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 10%, #1b4a8a 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #081528 100%);
  color: rgba(255,255,255,.82); padding: 160px 0 110px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--cyan); }
.lead { font-size: 1.15rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.network { width: 100%; max-width: 420px; margin-left: auto; }
.network .links line { stroke: rgba(24,182,232,.35); stroke-width: 1.5; stroke-dasharray: 4 6; animation: dash 14s linear infinite; }
.network .nodes circle { fill: #0f2c52; stroke: var(--cyan); stroke-width: 2; }
.network .nodes .core { fill: var(--blue); stroke: #fff; }
.network .pulse { fill: none; stroke: var(--cyan); stroke-width: 2; transform-origin: 200px 170px; animation: pulse 2.8s ease-out infinite; }
@keyframes dash { to { stroke-dashoffset: -200; } }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }

/* Trust strip */
.trust { border-bottom: 1px solid var(--line); padding: 34px 0; }
.trust .container { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.trust-label { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trust-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; flex: 1; justify-content: space-between; }
.trust-list li { font-weight: 800; letter-spacing: .08em; color: #94a3b8; font-size: .98rem; }

/* Sections */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head p:last-child { font-size: 1.08rem; color: var(--muted); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(21,101,216,.12), rgba(24,182,232,.12));
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card:nth-child(3) .card-icon { background: rgba(245,165,36,.14); }
.card:nth-child(3) .card-icon svg { stroke: #d48806; }
.card > p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--line); padding-top: 18px; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: .94rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg) translateY(-3px);
}

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.values li { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.values h3 { display: flex; align-items: center; gap: 10px; }
.values h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.values p { margin: 0; font-size: .94rem; color: var(--muted); }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.client {
  display: flex; flex-direction: column; gap: 16px; padding: 26px 22px;
  border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
}
.client:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.client-logo {
  height: 96px; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--line);
}
.client-logo img { max-height: 76px; max-width: 80%; object-fit: contain; }
.client-mark {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 800; letter-spacing: .04em;
}
.client h3 { margin-bottom: .2em; font-size: 1.02rem; }
.client p { margin: 0; font-size: .86rem; color: var(--muted); }

/* Steps */
.section-dark { background: var(--navy); color: rgba(255,255,255,.75); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--cyan); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 0 28px 0 0; position: relative; }
.steps li span {
  display: inline-block; font-size: .85rem; font-weight: 800; color: var(--cyan);
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px solid var(--cyan); letter-spacing: .1em;
}
.steps li::after { content: ""; position: absolute; top: 12px; left: 46px; right: 16px; height: 1px; background: rgba(255,255,255,.15); }
.steps li:last-child::after { display: none; }
.steps p { font-size: .95rem; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--blue), #0e4fb0 60%, var(--navy-2)); color: rgba(255,255,255,.85); padding: 80px 0; }
.cta-inner { text-align: center; }
.cta-inner h2 { color: #fff; }
.cta-inner p { font-size: 1.1rem; margin-bottom: 28px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-weight: 600; color: var(--ink); }
.contact-list svg {
  width: 42px; height: 42px; padding: 10px; border-radius: 10px; background: var(--bg-alt);
  fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none;
}
.contact-list a { color: var(--ink); }
.phones { display: flex; flex-direction: column; }
.contact-list a:hover { color: var(--blue); }
.form { background: var(--bg-alt); border-radius: 18px; padding: 36px; display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--ink); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 500; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,101,216,.12); }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }
.form-note { margin: 0; font-size: .9rem; color: var(--muted); min-height: 1.4em; }
.form-note.error { color: #c0392b; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* Footer */
.site-footer { background: #081528; color: rgba(255,255,255,.6); padding: 56px 0 0; font-size: .93rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; }
.brand-footer { margin-bottom: 14px; color: #fff; }
.brand-footer img { height: 56px; width: auto; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.75); font-weight: 600; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 24px; }
.footer-bottom p { margin: 0; font-size: .85rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .network .links line, .network .pulse { animation: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .clients { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .menu {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 24px 24px; box-shadow: 0 12px 24px rgba(15,23,42,.08);
    transform: translateY(-120%); opacity: 0; pointer-events: none; transition: .3s;
  }
  .menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .menu a:not(.btn) { color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 130px 0 80px; }
  .hero-inner, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .trust-list { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .brand-logo { height: 38px; }
  .values, .field-row { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .form { padding: 24px; }
  .form .btn { justify-self: stretch; }
  .trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
}
