﻿:root {
  --bg: #eef5ff;
  --bg-soft: #f8fbff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --line: rgba(8, 37, 73, 0.13);
  --text: #05213d;
  --text-soft: #3e5d7a;
  --accent: #00a6ff;
  --accent-strong: #0a72d8;
  --accent-alt: #15d4ad;
  --ink: #04142a;
  --shadow-lg: 0 30px 70px rgba(10, 49, 92, 0.18);
  --shadow-md: 0 18px 36px rgba(11, 55, 102, 0.16);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 700px at 95% -10%, rgba(0, 166, 255, 0.16), transparent 65%),
    radial-gradient(900px 650px at -10% 25%, rgba(21, 212, 173, 0.14), transparent 62%),
    linear-gradient(160deg, #edf5ff 0%, #e7f1ff 43%, #f4f9ff 100%);
  overflow-x: hidden;
}

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

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

#techCanvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.36) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px;
  mask-image: radial-gradient(circle at 50% 35%, black 30%, transparent 90%);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 120;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 166, 255, 0.2), rgba(0, 166, 255, 0.02) 58%, transparent 72%);
  transition: opacity 280ms ease;
  mix-blend-mode: multiply;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4rem, 7vw, 6.6rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 251, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(7, 39, 77, 0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  justify-content: space-between;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  max-width: min(62vw, 200px);
  padding: 0.34rem 0.5rem;
}

.brand-logo {
  width: clamp(190px, 24vw, 340px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(17, 74, 131, 0.12));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #21486e;
}

.site-nav a {
  position: relative;
  padding: 0.35rem 0;
  transition: color 220ms ease;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1rem;
  height: 2px;
  scale: 0 1;
  transform-origin: center;
  background: linear-gradient(90deg, var(--accent-alt), var(--accent));
  transition: scale 220ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #072d57;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  scale: 1 1;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.24rem;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: #0b3768;
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  padding-top: clamp(4.4rem, 7.5vw, 6.2rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(1.2rem, 2.8vw, 2.5rem);
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 78, 143, 0.2);
  background: rgba(255, 255, 255, 0.74);
  color: #1a4a78;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  max-width: 100%;
}

.status-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: var(--accent-alt);
  box-shadow: 0 0 0 0 rgba(21, 212, 173, 0.55);
  animation: pulseDot 1.8s ease-out infinite;
}

.hero h1 {
  margin: 1rem 0 0;
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.accent-word {
  display: inline-block;
  color: #035fb5;
  text-shadow: 0 8px 22px rgba(0, 139, 231, 0.26);
  min-width: 4.9ch;
  animation: wordBreath 2.6s ease-in-out infinite;
}

.accent-word.is-changing {
  opacity: 0.2;
  transform: translateY(8px) scale(0.94);
}

.hero-text {
  margin: 1.05rem 0 0;
  max-width: 58ch;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  --mx: 0px;
  --my: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.82rem 1.28rem;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
  transform: translate3d(var(--mx), var(--my), 0);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(115deg, var(--accent-strong), var(--accent));
  box-shadow: 0 14px 30px rgba(3, 110, 201, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 20px 34px rgba(3, 110, 201, 0.42);
}

.btn-outline {
  border-color: rgba(10, 82, 145, 0.28);
  color: #0d3e6f;
  background: rgba(255, 255, 255, 0.88);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: #ffffff;
}

.hero-kpis {
  margin-top: 2.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.kpi-card {
  position: relative;
  border: 1px solid rgba(7, 69, 128, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  padding: 0.9rem 0.8rem;
  overflow: hidden;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  animation: cardSweep 3.3s linear infinite;
}

.kpi-card strong {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1;
}

.kpi-card span {
  margin-top: 0.3rem;
  display: block;
  color: #456684;
  font-size: 0.79rem;
  font-weight: 700;
}

.ops-panel {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(101, 175, 240, 0.3);
  background:
    radial-gradient(100% 100% at 100% 0%, rgba(43, 178, 255, 0.3), transparent 62%),
    linear-gradient(160deg, #07274a 0%, #03152c 100%);
  color: #e6f3ff;
  box-shadow: var(--shadow-lg);
  padding: clamp(1rem, 2vw, 1.4rem);
  overflow: hidden;
}

.ops-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(165, 215, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(165, 215, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.panel-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.panel-head p {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-size: 1.02rem;
}

.badge-online {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: #032620;
  background: #31f0c7;
}

.panel-grid {
  position: relative;
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.panel-grid article {
  border: 1px solid rgba(117, 181, 235, 0.3);
  background: rgba(6, 35, 66, 0.64);
  border-radius: 12px;
  padding: 0.72rem;
}

.panel-grid h3 {
  margin: 0;
  font-size: 0.96rem;
}

.panel-grid p {
  margin: 0.35rem 0 0;
  color: #b8d9f5;
  font-size: 0.81rem;
}

.signal-bars {
  position: relative;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.28rem;
  align-items: end;
  height: 68px;
}

.signal-bars span {
  background: linear-gradient(180deg, #47d4ff, #1ea3e8);
  border-radius: 8px 8px 4px 4px;
  opacity: 0.8;
  animation: eqPulse 1.2s ease-in-out infinite;
}

.signal-bars span:nth-child(1) {
  animation-delay: 40ms;
}

.signal-bars span:nth-child(2) {
  animation-delay: 140ms;
}

.signal-bars span:nth-child(3) {
  animation-delay: 260ms;
}

.signal-bars span:nth-child(4) {
  animation-delay: 100ms;
}

.signal-bars span:nth-child(5) {
  animation-delay: 220ms;
}

.signal-bars span:nth-child(6) {
  animation-delay: 360ms;
}

.signal-bars span:nth-child(7) {
  animation-delay: 170ms;
}

.signal-bars span:nth-child(8) {
  animation-delay: 80ms;
}

.signal-bars span:nth-child(9) {
  animation-delay: 310ms;
}

.signal-bars span:nth-child(10) {
  animation-delay: 250ms;
}

.status-list {
  position: relative;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.status-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #cfe8ff;
  font-size: 0.83rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.status-list li span {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 999px;
  background: #2af1c7;
  box-shadow: 0 0 0 0 rgba(42, 241, 199, 0.4);
  animation: pulseDot 2.2s ease-out infinite;
}

.ticker-wrap {
  border-block: 1px solid rgba(7, 51, 98, 0.17);
  background: linear-gradient(90deg, #032a4f, #053c73, #032a4f);
  color: #d9f0ff;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  padding: 0.85rem 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: tickerMove 26s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
}

.ticker-track span::after {
  content: '*';
  opacity: 0.7;
}

.section-head {
  max-width: 72ch;
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #0f5da8;
}

.section-head h2 {
  margin: 0.65rem 0 0;
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.07;
}

.section-head p {
  margin: 0.72rem 0 0;
  color: var(--text-soft);
}

.service-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.92rem;
}

.service-card {
  --rx: 0deg;
  --ry: 0deg;
  border: 1px solid rgba(10, 69, 128, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 255, 0.88));
  padding: 1.1rem;
  box-shadow: var(--shadow-md);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.service-card:hover {
  border-color: rgba(10, 117, 212, 0.36);
  box-shadow: 0 24px 36px rgba(5, 69, 134, 0.22);
}

.service-card h3 {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0.65rem 0 0;
  color: #426584;
  font-size: 0.93rem;
}

.projects {
  background: linear-gradient(180deg, rgba(229, 240, 255, 0.2), rgba(239, 247, 255, 0.8));
}

.project-grid {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.project-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(9, 71, 130, 0.14);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateZ(0);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 44px rgba(6, 70, 134, 0.22);
}

.project-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.project-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.32));
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.project-card:hover .project-media img {
  transform: scale(1.05);
}

.project-body {
  padding: 0.95rem;
  display: grid;
  gap: 0.5rem;
}

.project-body h3 {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-size: 1.04rem;
}

.project-body p {
  margin: 0;
  color: #456685;
  font-size: 0.9rem;
}

.project-body a {
  width: fit-content;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: #0a69c6;
  border-bottom: 1px solid rgba(10, 105, 198, 0.35);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(1rem, 2.8vw, 2rem);
  align-items: start;
}

.timeline {
  --progress: 0%;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0.38rem 0 0.38rem 1.7rem;
  position: relative;
  display: grid;
  gap: 0.82rem;
}

.process .section-head {
  position: sticky;
  top: 102px;
  padding-right: 0.6rem;
}

.timeline::before,
.timeline::after {
  content: '';
  position: absolute;
  left: 0.54rem;
  top: 0.74rem;
  width: 3px;
  border-radius: 999px;
}

.timeline::before {
  height: calc(100% - 1.48rem);
  background: rgba(5, 69, 126, 0.14);
}

.timeline::after {
  height: var(--progress);
  background: linear-gradient(180deg, var(--accent-alt), var(--accent-strong));
  transition: height 320ms ease;
}

.timeline-step {
  counter-increment: step;
  position: relative;
  overflow: hidden;
  padding: 1rem 1rem 0.96rem 1.02rem;
  border-radius: 18px;
  border: 1px solid rgba(7, 67, 123, 0.14);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(244, 250, 255, 0.9));
  box-shadow: 0 14px 26px rgba(6, 60, 113, 0.1);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: 1.34rem;
  left: -1.48rem;
  width: 0.84rem;
  height: 0.84rem;
  border-radius: 999px;
  border: 2px solid rgba(10, 108, 196, 0.3);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.56);
  transition: background 220ms ease, border-color 220ms ease;
}

.timeline-step::after {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0.72rem;
  right: 0.8rem;
  padding: 0.2rem 0.46rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 108, 201, 0.24);
  background: rgba(219, 240, 255, 0.7);
  color: #08549e;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.timeline-step h3 {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-size: 1.04rem;
  padding-right: 3.2rem;
}

.timeline-step p {
  margin: 0.48rem 0 0;
  color: #476987;
  font-size: 0.9rem;
}

.timeline-step.is-current,
.timeline-step:hover {
  transform: translate(6px, -1px);
  border-color: rgba(5, 103, 193, 0.4);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(235, 245, 255, 0.88));
  box-shadow: 0 20px 30px rgba(6, 74, 139, 0.16);
}

.timeline-step.is-current::before,
.timeline-step:hover::before {
  border-color: rgba(6, 108, 201, 0.7);
  background: #4be5c2;
}

.contact-shell {
  border: 1px solid rgba(9, 75, 138, 0.17);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(0, 166, 255, 0.18), transparent 55%),
    radial-gradient(80% 100% at 100% 0%, rgba(21, 212, 173, 0.16), transparent 48%),
    rgba(255, 255, 255, 0.9);
  padding: clamp(1rem, 2.7vw, 1.7rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.2rem;
}

.contact-copy h2 {
  margin: 0.72rem 0 0;
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 1.08;
}

.contact-copy p {
  margin: 0.75rem 0 0;
  color: #426786;
}

.contact-pills {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.contact-pills a {
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(8, 78, 142, 0.18);
  font-size: 0.82rem;
  font-weight: 700;
  color: #084d8f;
  background: rgba(255, 255, 255, 0.85);
  overflow-wrap: anywhere;
}

.lead-form {
  display: grid;
  gap: 0.48rem;
}

.lead-form label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f477d;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border-radius: 11px;
  border: 1px solid rgba(7, 72, 132, 0.18);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font: inherit;
  padding: 0.72rem 0.82rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: rgba(6, 109, 201, 0.55);
  box-shadow: 0 0 0 3px rgba(6, 109, 201, 0.12);
}

.lead-form textarea {
  resize: vertical;
  min-height: 124px;
}

.form-feedback {
  margin: 0.2rem 0 0;
  min-height: 1.2rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.form-feedback.is-error {
  color: #cf3548;
}

.form-feedback.is-success {
  color: #0d9a6f;
}

.site-footer {
  border-top: 1px solid rgba(5, 58, 111, 0.12);
  background: rgba(240, 248, 255, 0.8);
}

.footer-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #3b6082;
  font-size: 0.87rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-links a {
  font-weight: 700;
  color: #1f5488;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.985);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes cardSweep {
  0% {
    left: -70%;
  }

  100% {
    left: 130%;
  }
}

@keyframes wordBreath {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(21, 212, 173, 0.45);
  }

  80% {
    box-shadow: 0 0 0 11px rgba(21, 212, 173, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(21, 212, 173, 0);
  }
}

@keyframes eqPulse {
  0%,
  100% {
    height: 18%;
  }

  30% {
    height: 95%;
  }

  60% {
    height: 48%;
  }
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 19ch;
  }

  .ops-panel {
    max-width: 640px;
    width: 100%;
  }

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

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

  .process-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .process .section-head {
    position: static;
    padding-right: 0;
  }
}

@media (max-width: 780px) {
  .header-inner {
    min-height: 72px;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    padding: 0.9rem;
    border: 1px solid rgba(5, 65, 120, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 26px rgba(5, 61, 114, 0.18);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    padding: 0.52rem 0.15rem;
    font-size: 0.96rem;
  }

  .hero {
    padding-top: 2.7rem;
  }

  .hero-grid {
    gap: 1rem;
  }

  .ops-panel {
    margin-top: 0.2rem;
  }

  .hero-kpis {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(1160px, calc(100% - 1rem));
  }

  .section {
    padding-block: 2.9rem;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    max-width: calc(100% - 54px);
    padding: 0.22rem 0.34rem;
  }

  .brand-logo {
    width: min(66vw, 230px);
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .site-nav {
    left: 0.5rem;
    right: 0.5rem;
    padding: 0.75rem;
  }

  .hero {
    padding-top: 2.1rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 10vw, 2.4rem);
    line-height: 1.06;
    max-width: 12ch;
  }

  .accent-word {
    min-width: 3.9ch;
  }

  .hero-label {
    font-size: 0.64rem;
    letter-spacing: 0.02em;
    padding: 0.4rem 0.55rem;
  }

  .hero-actions {
    margin-top: 1.2rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .btn {
    width: 100%;
    padding: 0.76rem 1rem;
    font-size: 0.88rem;
  }

  .hero-kpis {
    margin-top: 1.3rem;
    gap: 0.6rem;
  }

  .kpi-card {
    padding: 0.8rem 0.72rem;
  }

  .ops-panel {
    padding: 0.85rem;
    border-radius: 20px;
  }

  .panel-head p {
    font-size: 0.92rem;
  }

  .panel-grid article {
    padding: 0.62rem;
  }

  .signal-bars {
    height: 56px;
  }

  .status-list {
    gap: 0.45rem;
  }

  .status-list li {
    font-size: 0.8rem;
  }

  .ticker-track {
    font-size: 0.69rem;
    letter-spacing: 0.08em;
    gap: 1rem;
    padding: 0.72rem 0;
  }

  .ticker-track span {
    gap: 1rem;
  }

  .section-head h2 {
    font-size: clamp(1.35rem, 7.8vw, 1.95rem);
  }

  .section-head p {
    font-size: 0.95rem;
  }

  .service-card {
    padding: 0.95rem;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.88rem;
  }

  .project-body {
    padding: 0.82rem;
  }

  .project-body h3 {
    font-size: 0.98rem;
  }

  .project-body p {
    font-size: 0.86rem;
  }

  .project-body a {
    font-size: 0.8rem;
  }

  .timeline {
    padding-left: 1rem;
    gap: 0.75rem;
  }

  .timeline::before,
  .timeline::after {
    left: 0.08rem;
  }

  .timeline-step {
    padding: 0.78rem;
  }

  .timeline-step::before {
    left: -1.08rem;
    width: 0.7rem;
    height: 0.7rem;
  }

  .timeline-step h3 {
    font-size: 0.95rem;
  }

  .timeline-step p {
    font-size: 0.85rem;
  }

  .contact-shell {
    padding: 0.9rem;
    border-radius: 20px;
    gap: 0.9rem;
  }

  .contact-copy h2 {
    font-size: clamp(1.3rem, 7.5vw, 1.85rem);
  }

  .contact-copy p {
    font-size: 0.92rem;
  }

  .contact-pills {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .contact-pills a {
    width: 100%;
    text-align: center;
    border-radius: 11px;
    font-size: 0.78rem;
    padding: 0.48rem 0.56rem;
  }

  .lead-form label {
    font-size: 0.82rem;
  }

  .lead-form input,
  .lead-form textarea {
    padding: 0.68rem 0.72rem;
    font-size: 0.95rem;
  }

  #techCanvas {
    opacity: 0.35;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    padding: 0.8rem 0;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(1160px, calc(100% - 0.8rem));
  }

  .brand {
    padding: 0.18rem 0.28rem;
    border-radius: 12px;
  }

  .brand-logo {
    width: min(64vw, 200px);
  }

  .hero-label {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.35rem 0.45rem;
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(1.58rem, 10.5vw, 2rem);
    max-width: 10ch;
  }

  .hero-text {
    font-size: 0.93rem;
  }

  .badge-online {
    font-size: 0.66rem;
    padding: 0.28rem 0.45rem;
  }

  .signal-bars {
    height: 48px;
  }

  .status-list li {
    font-size: 0.77rem;
  }

  .ticker-track {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
    gap: 0.8rem;
  }

  .section-head h2 {
    font-size: clamp(1.25rem, 8vw, 1.62rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .cursor-glow {
    display: none;
  }
}
