:root {
  --bg: #f8fbff;
  --bg-soft: #ffffff;
  --text: #0b1a2d;
  --muted: #4a6179;
  --accent: #0d4a9b;
  --accent-2: #10b5b0;
  --line: rgba(13, 74, 155, 0.16);
  --line-strong: rgba(13, 74, 155, 0.24);
  --card-border: rgba(13, 74, 155, 0.14);
  --shadow-soft: 0 18px 45px rgba(7, 33, 72, 0.1);
  --shadow-glow: 0 0 0 1px rgba(16, 181, 176, 0.11), 0 26px 56px rgba(7, 33, 72, 0.12);
  --radius: 16px;
  --container: 1180px;
  --header-h: 112px;
  --font-base: "Inter", sans-serif;
  --font-heading: "Montserrat", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(900px 380px at 12% -14%, rgba(16, 181, 176, 0.08), transparent 60%),
    radial-gradient(980px 420px at 88% -16%, rgba(13, 74, 155, 0.1), transparent 58%),
    var(--bg);
  font: 400 16px/1.68 var(--font-base);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(32% 30% at 20% 22%, rgba(16, 181, 176, 0.07), transparent 72%),
    radial-gradient(30% 30% at 80% 18%, rgba(13, 74, 155, 0.08), transparent 72%),
    radial-gradient(28% 30% at 80% 82%, rgba(16, 181, 176, 0.05), transparent 72%);
  animation: bgShift 24s ease-in-out infinite alternate;
}

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

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

p {
  margin: 0 0 1.12rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  color: var(--text);
  font-family: var(--font-heading);
  letter-spacing: -0.022em;
}

h1 {
  font-size: clamp(2.3rem, 5.2vw, 4.15rem);
  line-height: 1.07;
}

h2 {
  font-size: clamp(1.9rem, 3.35vw, 2.95rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.32;
}

ul {
  margin: 0;
  padding-left: 1.08rem;
}

li {
  margin: 0.42rem 0;
  color: var(--muted);
}

main section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 500;
  padding: 0.62rem 1rem;
  border-radius: 8px;
  background: #fff;
  color: var(--accent);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  min-height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(248, 251, 255, 0.86);
  border-color: var(--line);
  box-shadow: 0 12px 28px rgba(7, 33, 72, 0.08);
  backdrop-filter: blur(9px);
}

.header-inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(220px, 27vw, 340px);
  max-height: 86px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.55rem;
}

.main-nav a,
.footer-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0;
}

.main-nav a {
  color: #26425f;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.main-nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.24rem;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.main-nav a::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  color: var(--accent);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after,
.footer-nav a:hover::after,
.footer-nav a:focus-visible::after,
.footer-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.82rem 1.28rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: #f8fdff;
  border: 0;
  background: linear-gradient(108deg, #0d4a9b, #10b5b0);
  box-shadow: 0 12px 28px rgba(13, 74, 155, 0.26), 0 0 0 1px rgba(16, 181, 176, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow:
    0 16px 34px rgba(13, 74, 155, 0.3),
    0 0 0 1px rgba(16, 181, 176, 0.32),
    0 0 24px rgba(16, 181, 176, 0.24);
}

.btn-secondary {
  color: var(--accent);
  border-color: rgba(13, 74, 155, 0.32);
  background: rgba(255, 255, 255, 0.86);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(13, 74, 155, 0.48);
  box-shadow: 0 14px 28px rgba(7, 33, 72, 0.12);
}

.section {
  position: relative;
  padding: 7.4rem 0;
}

.section-divider {
  position: relative;
  --divider-run-duration: 9.8s;
  --divider-run-delay: 0s;
}

.section-divider::before,
.section-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(1140px, calc(100% - 2.6rem));
  pointer-events: none;
}

.section-divider::before {
  bottom: -3px;
  height: 6px;
  opacity: 0.52;
  border-radius: 999px;
  filter: blur(4px);
  background-image:
    linear-gradient(90deg, transparent, rgba(13, 74, 155, 0.22), rgba(16, 181, 176, 0.28), transparent),
    linear-gradient(90deg, rgba(115, 194, 255, 0), rgba(131, 212, 255, 0.92), rgba(100, 245, 224, 0.94), rgba(109, 187, 255, 0));
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 2px, 56px 4px;
  background-position: center center, -72px center;
  animation: dividerRunner var(--divider-run-duration) var(--divider-run-delay) cubic-bezier(0.35, 0.06, 0.2, 0.98) infinite paused;
}

.section-divider::after {
  bottom: 0;
  height: 1px;
  border-radius: 999px;
  background-image:
    linear-gradient(90deg, transparent, rgba(13, 74, 155, 0.3), rgba(16, 181, 176, 0.26), transparent),
    linear-gradient(90deg, rgba(123, 204, 255, 0), rgba(132, 216, 255, 0.94), rgba(100, 245, 224, 0.98), rgba(123, 204, 255, 0));
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 1px, 52px 1px;
  background-position: center center, -68px center;
  animation: dividerRunner var(--divider-run-duration) var(--divider-run-delay) cubic-bezier(0.35, 0.06, 0.2, 0.98) infinite paused;
}

.section-divider.is-divider-visible::before,
.section-divider.is-divider-visible::after {
  animation-play-state: running;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.95rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.095em;
  font-size: 0.78rem;
  font-weight: 700;
}

.section-head {
  max-width: 820px;
  margin: 0 0 2.6rem;
}

.hero {
  padding: 8.3rem 0 7.25rem;
  overflow: hidden;
}

.hero-gradient-layer {
  position: absolute;
  inset: -18% -12% -26% -12%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.58;
  filter: blur(30px);
  background:
    radial-gradient(40% 45% at 22% 30%, rgba(13, 74, 155, 0.19), transparent 72%),
    radial-gradient(38% 42% at 78% 22%, rgba(16, 181, 176, 0.2), transparent 74%),
    linear-gradient(120deg, rgba(13, 74, 155, 0.06), rgba(16, 181, 176, 0.1), rgba(13, 74, 155, 0.05));
  background-size: 140% 140%, 125% 125%, 165% 165%;
  background-position: 10% 50%, 78% 44%, 50% 50%;
  animation: heroGradientShift 20s ease-in-out infinite alternate;
  will-change: background-position, transform;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
}

.hero-bg::before {
  width: 400px;
  height: 400px;
  top: 20px;
  right: -90px;
  background: radial-gradient(circle, rgba(16, 181, 176, 0.2), rgba(16, 181, 176, 0.03) 62%, transparent 74%);
  animation: floatBlob 12s ease-in-out infinite alternate;
}

.hero-bg::after {
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(13, 74, 155, 0.2), rgba(13, 74, 155, 0.03) 60%, transparent 74%);
  animation: floatBlob 14s ease-in-out infinite alternate 1s;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: 2rem;
}

.hero-subtitle {
  margin-bottom: 1rem;
  color: #233f5d;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

.hero-text {
  max-width: 61ch;
}

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

.hero-metrics {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-metrics span {
  display: inline-flex;
  align-items: center;
  padding: 0.36rem 0.76rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 74, 155, 0.18);
  background: rgba(255, 255, 255, 0.8);
  color: #244361;
  font-size: 0.83rem;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  padding: 0.6rem;
  will-change: transform;
}

.glass-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(244, 250, 255, 0.65));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-main-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 680 / 460;
  isolation: isolate;
}

.hero-main-card::before {
  content: "";
  position: absolute;
  inset: -24%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.52;
  filter: blur(24px);
  background:
    radial-gradient(44% 42% at 16% 28%, rgba(13, 74, 155, 0.18), transparent 70%),
    radial-gradient(48% 45% at 84% 22%, rgba(16, 181, 176, 0.2), transparent 72%),
    radial-gradient(30% 28% at 66% 74%, rgba(13, 74, 155, 0.12), transparent 78%);
  animation: labAura 15s ease-in-out infinite alternate;
}

.hero-lab-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-grid-bg {
  fill: rgba(242, 249, 255, 0.76);
}

.hero-grid-pattern {
  opacity: 0.6;
}

.hero-radar {
  transform-origin: center;
  animation: radarDrift 8.2s ease-in-out infinite;
}

.radar-core {
  fill: url(#hero-radar-fill);
  opacity: 0.9;
}

.radar-ring {
  fill: none;
  stroke: rgba(59, 153, 214, 0.38);
  stroke-width: 1.2;
  transform-origin: center;
  animation: radarPulse 6.6s ease-out infinite;
}

.radar-ring.ring-2 {
  animation-delay: 2.2s;
}

.radar-ring.ring-3 {
  animation-delay: 4.4s;
}

.chart-line-main,
.chart-line-glow,
.chart-line-pulse {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 860;
  stroke-dashoffset: 860;
  animation:
    chartDraw 1.85s cubic-bezier(0.28, 0.72, 0.25, 1) 220ms forwards,
    chartPulse 5.8s ease-in-out 2.1s infinite;
}

.chart-line-main {
  --pulse-start: 0.95;
  --pulse-mid: 0.84;
  stroke: url(#hero-chart-grad);
  stroke-width: 2.7;
  opacity: var(--pulse-start);
}

.chart-line-glow {
  --pulse-start: 0.24;
  --pulse-mid: 0.14;
  stroke: url(#hero-chart-grad);
  stroke-width: 6;
  opacity: var(--pulse-start);
  filter: url(#hero-soft-glow);
}

.chart-line-pulse {
  --pulse-start: 0.16;
  --pulse-mid: 0.1;
  stroke: #8ce6de;
  stroke-width: 1.45;
  opacity: var(--pulse-start);
}

.chart-node {
  fill: #30c6c1;
  opacity: 0.86;
  filter: url(#hero-node-glow);
  transform-origin: center;
  animation: nodePulse 3.7s ease-in-out infinite;
}

.chart-node.node-2 {
  animation-delay: 0.7s;
}

.chart-node.node-3 {
  animation-delay: 1.3s;
}

.chart-node.node-4 {
  animation-delay: 2s;
}

.drift-line {
  --drift-duration: 11.5s;
  --drift-delay: 0s;
  --drift-rotate: -16deg;
  position: absolute;
  left: -24%;
  top: 22%;
  width: 58%;
  height: 2px;
  z-index: 2;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.28;
  filter: blur(0.5px);
  background: linear-gradient(90deg, rgba(45, 115, 200, 0), rgba(45, 115, 200, 0.6), rgba(34, 207, 196, 0.76), rgba(34, 207, 196, 0));
  transform: translate3d(-8%, 0, 0) rotate(var(--drift-rotate));
  animation: driftLine var(--drift-duration) linear var(--drift-delay) infinite;
}

.drift-1 {
  top: 24%;
  --drift-duration: 12.5s;
  --drift-delay: -2.4s;
}

.drift-2 {
  top: 48%;
  --drift-duration: 10.6s;
  --drift-delay: -6.8s;
  --drift-rotate: -14deg;
  opacity: 0.22;
}

.drift-3 {
  top: 70%;
  --drift-duration: 13.2s;
  --drift-delay: -4.2s;
  --drift-rotate: -18deg;
  opacity: 0.2;
}

.float-card {
  --px: 0px;
  --py: 0px;
  --lift: 8px;
  position: absolute;
  z-index: 4;
  padding: 0.76rem 0.9rem;
  min-width: 170px;
  border-radius: 14px;
  animation: floatCard var(--float-duration, 8.4s) ease-in-out infinite;
  will-change: transform;
}

.float-card strong {
  display: block;
  color: #102d4c;
  font-size: 1.28rem;
  font-family: var(--font-heading);
  line-height: 1.12;
}

.float-card span {
  display: block;
  color: #4f667f;
  font-size: 0.78rem;
}

.float-label {
  margin: 0 0 0.2rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.card-a {
  top: -2px;
  right: -10px;
  --float-duration: 8.1s;
  animation-delay: 0.2s;
}

.card-b {
  bottom: 122px;
  left: -16px;
  --float-duration: 9.2s;
  animation-delay: 1.2s;
}

.card-c {
  bottom: -2px;
  right: 38px;
  --float-duration: 7.6s;
  animation-delay: 2.1s;
}

.card-d {
  top: 158px;
  right: -34px;
  --float-duration: 9.8s;
  animation-delay: 0.9s;
}

.shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.s1 {
  width: 20px;
  height: 20px;
  background: rgba(13, 74, 155, 0.24);
  top: 44px;
  left: 34px;
  animation: floatDot 6.2s ease-in-out infinite;
}

.s2 {
  width: 12px;
  height: 12px;
  background: rgba(16, 181, 176, 0.36);
  top: 180px;
  right: 8px;
  animation: floatDot 5.3s ease-in-out infinite 0.8s;
}

.s3 {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(13, 74, 155, 0.4);
  bottom: 64px;
  left: 22px;
  animation: floatDot 5.8s ease-in-out infinite 1.4s;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
  gap: 1.35rem;
}

.about-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

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

.value-grid .glass-card {
  padding: 1.35rem;
}

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

.service-card {
  padding: 1.35rem;
  transition: transform 230ms ease, box-shadow 230ms ease, border-color 230ms ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(16, 181, 176, 0.34);
  box-shadow:
    0 0 0 1px rgba(16, 181, 176, 0.14),
    0 28px 54px rgba(7, 33, 72, 0.16),
    0 0 24px rgba(16, 181, 176, 0.16);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(13, 74, 155, 0.16), rgba(16, 181, 176, 0.22));
  box-shadow: 0 0 0 1px rgba(13, 74, 155, 0.16);
  transition: transform 230ms ease;
}

.service-icon svg {
  fill: var(--accent);
}

.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.04);
}

.cases-grid {
  margin-top: 0.35rem;
}

.case-card {
  padding: 1.35rem;
  transition: transform 230ms ease, box-shadow 230ms ease, border-color 230ms ease;
}

.case-card:hover,
.case-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(16, 181, 176, 0.34);
  box-shadow:
    0 0 0 1px rgba(16, 181, 176, 0.14),
    0 28px 54px rgba(7, 33, 72, 0.16),
    0 0 24px rgba(16, 181, 176, 0.16);
}

.case-card p {
  margin: 0;
}

.focus {
  padding-top: 6.4rem;
  padding-bottom: 6.4rem;
}

.focus-card {
  padding: 2rem;
  border-left: 3px solid rgba(16, 181, 176, 0.72);
}

.focus-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 1.55rem;
  align-items: stretch;
}

.focus-copy {
  max-width: 70ch;
}

.focus-directions-title {
  margin: 1.2rem 0 0.55rem;
  color: #1f4264;
  font-weight: 600;
}

.focus-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.focus-list li {
  margin: 0.28rem 0;
}

.focus-visual {
  position: relative;
  margin: 0;
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(116, 161, 204, 0.44);
  background:
    radial-gradient(180px 140px at 12% 20%, rgba(53, 124, 188, 0.26), transparent 70%),
    radial-gradient(220px 160px at 88% 24%, rgba(43, 145, 150, 0.2), transparent 72%),
    linear-gradient(165deg, #081b2f 0%, #102742 56%, #132f4d 100%);
  box-shadow:
    inset 0 0 0 1px rgba(190, 225, 255, 0.08),
    0 20px 36px rgba(4, 18, 35, 0.28);
  isolation: isolate;
}

.focus-visual::before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(35% 45% at 24% 28%, rgba(82, 143, 201, 0.24), transparent 72%),
    radial-gradient(38% 42% at 74% 74%, rgba(44, 154, 160, 0.22), transparent 74%);
  filter: blur(24px);
  opacity: 0.55;
  animation: focusAura 14.5s ease-in-out infinite alternate;
}

.focus-visual-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.focus-grid-base {
  fill: rgba(7, 22, 39, 0.84);
}

.focus-grid-overlay {
  opacity: 0.74;
  animation: focusGridShift 22s linear infinite;
}

.focus-link {
  fill: none;
  stroke: url(#focus-line-gradient);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 178 11;
  opacity: 0.78;
  animation: focusLinkFlow 11.8s linear infinite;
}

.focus-link.link-b {
  animation-delay: -3.8s;
  opacity: 0.66;
}

.focus-link.link-c {
  animation-delay: -7.1s;
  opacity: 0.62;
}

.focus-node {
  fill: #79c1e6;
  stroke: rgba(170, 226, 255, 0.8);
  stroke-width: 1.4;
  opacity: 0.88;
  animation: focusNodePulse 4.8s ease-in-out infinite;
}

.focus-node.node-b {
  animation-delay: 0.8s;
}

.focus-node.node-c {
  animation-delay: 1.6s;
}

.focus-node.node-d {
  animation-delay: 2.3s;
}

.focus-node.node-e {
  animation-delay: 2.9s;
}

.focus-node.node-f {
  animation-delay: 3.6s;
}

.focus-beam {
  position: absolute;
  left: -22%;
  z-index: 2;
  width: 62%;
  height: 1px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, rgba(124, 198, 255, 0), rgba(124, 198, 255, 0.58), rgba(88, 225, 216, 0.72), rgba(88, 225, 216, 0));
  animation: focusBeam 10.5s linear infinite;
}

.beam-a {
  top: 30%;
}

.beam-b {
  top: 62%;
  animation-delay: -5.2s;
  opacity: 0.32;
}

.focus-card a,
.approach-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

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

.approach-note {
  max-width: 820px;
  margin: -1.3rem 0 2.2rem;
}

.collaboration-card {
  max-width: 940px;
  padding: 1.5rem 1.65rem;
}

.collaboration-card p:last-child {
  margin-bottom: 0;
}

.step-card {
  padding: 1.36rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(13, 74, 155, 0.14), rgba(16, 181, 176, 0.2));
  box-shadow: 0 0 0 1px rgba(13, 74, 155, 0.16);
}

.step-icon svg {
  fill: var(--accent);
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.formats-grid .glass-card {
  min-height: 128px;
  display: flex;
  align-items: center;
  padding: 1.25rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.formats-grid .glass-card:hover {
  transform: translateY(-4px);
}

.formats-grid h3 {
  margin: 0;
}

.badge-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.76rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.54rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 74, 155, 0.2);
  color: #214465;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 255, 0.86));
  box-shadow: 0 10px 22px rgba(7, 33, 72, 0.08);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.2rem;
  align-items: start;
}

.contact-links p {
  margin: 0.3rem 0;
}

.contact-icons {
  margin: 0.6rem 0 0;
}

.contact-icon {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(13, 74, 155, 0.3);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.9);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.contact-icon:hover,
.contact-icon:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(16, 181, 176, 0.62);
  box-shadow: 0 10px 22px rgba(7, 33, 72, 0.14);
}

.contact-form {
  padding: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.34rem;
  color: #214465;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem 0.86rem;
  border: 1px solid rgba(13, 74, 155, 0.22);
  border-radius: 12px;
  outline: none;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(16, 181, 176, 0.68);
  box-shadow: 0 0 0 3px rgba(16, 181, 176, 0.16);
}

.contact-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.1rem 0 1rem;
  color: #37516b;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.5;
}

.contact-form .consent input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0.2rem 0 0;
  padding: 0;
  flex: 0 0 auto;
  border-radius: 4px;
}

.contact-form .consent span {
  color: #3c5874;
}

.contact-form .consent a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.form-status {
  margin: 0.85rem 0 0;
  color: #135869;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-footer {
  margin-top: 0.8rem;
  padding: 3rem 0 1.6rem;
  color: rgba(234, 244, 255, 0.92);
  background: linear-gradient(180deg, #081a2e 0%, #091f36 100%);
  border-top: 1px solid rgba(122, 191, 255, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 1.3rem;
  align-items: start;
}

.footer-brand {
  margin: 0 0 0.55rem;
  color: #f0f8ff;
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
}

.footer-text,
.footer-contacts p {
  margin: 0;
  color: rgba(214, 229, 245, 0.88);
  font-size: 0.95rem;
}

.footer-nav {
  display: grid;
  gap: 0.5rem;
}

.footer-nav a {
  width: max-content;
  color: rgba(225, 238, 252, 0.95);
  font-weight: 500;
}

.footer-nav a::after {
  background: linear-gradient(90deg, rgba(136, 188, 255, 0.95), rgba(89, 240, 218, 0.95));
}

.footer-contacts {
  display: grid;
  gap: 0.42rem;
}

.footer-contacts .contact-icons {
  margin-top: 0.2rem;
}

.footer-contacts .contact-icon {
  color: rgba(230, 242, 255, 0.96);
  border-color: rgba(148, 196, 255, 0.44);
  background: rgba(255, 255, 255, 0.04);
}

.footer-contacts .contact-icon:hover,
.footer-contacts .contact-icon:focus-visible {
  border-color: rgba(112, 236, 217, 0.9);
  box-shadow: 0 0 0 1px rgba(112, 236, 217, 0.2), 0 10px 24px rgba(0, 0, 0, 0.28);
}

.footer-contacts strong {
  color: #f2f8ff;
}

.footer-bottom {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(140, 190, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1rem;
}

.copyright {
  margin: 0;
  color: rgba(190, 214, 238, 0.86);
  font-size: 0.88rem;
}

.footer-privacy-link {
  color: rgba(214, 231, 250, 0.94);
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  transition: color 180ms ease;
}

.footer-privacy-link:hover,
.footer-privacy-link:focus-visible {
  color: rgba(120, 243, 221, 0.95);
}

.site-credit {
  margin: 12px 0 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

.site-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.scroll-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(13, 74, 155, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 28px rgba(7, 33, 72, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.95);
  transition: opacity 220ms ease, transform 220ms ease, box-shadow 220ms ease;
  z-index: 250;
  cursor: pointer;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top:hover,
.scroll-top:focus-visible {
  box-shadow: 0 18px 30px rgba(7, 33, 72, 0.2), 0 0 18px rgba(16, 181, 176, 0.2);
}

.scroll-top span {
  font-size: 1.2rem;
  line-height: 1;
}

.reveal {
  --stagger: 0ms;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 540ms ease calc(var(--reveal-delay, 0ms) + var(--stagger)),
    transform 540ms ease calc(var(--reveal-delay, 0ms) + var(--stagger));
}

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

.load-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease var(--d, 0ms), transform 620ms ease var(--d, 0ms);
}

body.is-loaded .load-in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bgShift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(2%, -2%, 0) scale(1.05);
  }
}

@keyframes heroGradientShift {
  0% {
    background-position: 8% 52%, 80% 42%, 46% 52%;
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    background-position: 18% 44%, 72% 54%, 55% 46%;
    transform: translate3d(0, -1.5%, 0) scale(1.02);
  }
}

@keyframes floatBlob {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-14px, 10px, 0) scale(1.04);
  }
}

@keyframes floatCard {
  0% {
    transform: translate3d(var(--px), var(--py), 0);
  }
  50% {
    transform: translate3d(var(--px), calc(var(--py) - var(--lift)), 0);
  }
  100% {
    transform: translate3d(var(--px), var(--py), 0);
  }
}

@keyframes floatDot {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes labAura {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-2%, 2%, 0) scale(1.04);
  }
}

@keyframes radarDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(3px, -2px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes radarPulse {
  0% {
    transform: scale(0.82);
    opacity: 0;
  }
  22% {
    opacity: 0.32;
  }
  72% {
    opacity: 0.08;
  }
  100% {
    transform: scale(1.72);
    opacity: 0;
  }
}

@keyframes chartDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes chartPulse {
  0%,
  100% {
    opacity: var(--pulse-start, 1);
  }
  50% {
    opacity: var(--pulse-mid, 0.82);
  }
}

@keyframes nodePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.24);
    opacity: 1;
  }
}

@keyframes driftLine {
  0% {
    transform: translate3d(-8%, 0, 0) rotate(var(--drift-rotate));
    opacity: 0;
  }
  18% {
    opacity: 0.3;
  }
  82% {
    opacity: 0.24;
  }
  100% {
    transform: translate3d(196%, 0, 0) rotate(var(--drift-rotate));
    opacity: 0;
  }
}

@keyframes focusAura {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(2%, -2%, 0) scale(1.04);
  }
}

@keyframes focusGridShift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-10px, -8px, 0);
  }
}

@keyframes focusLinkFlow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -378;
  }
}

@keyframes focusNodePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.22);
    opacity: 1;
  }
}

@keyframes focusBeam {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  18% {
    opacity: 0.34;
  }
  82% {
    opacity: 0.26;
  }
  100% {
    transform: translate3d(188%, 0, 0);
    opacity: 0;
  }
}

@keyframes dividerRunner {
  from {
    background-position: center center, -76px center;
  }
  to {
    background-position: center center, calc(100% + 76px) center;
  }
}

@media (max-width: 1240px) {
  .header-cta {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-layout,
  .focus-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .focus-visual {
    max-width: 520px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, max-content));
    column-gap: 1rem;
  }
}

@media (max-width: 1024px) {
  .hero-visual,
  .focus-visual {
    display: none;
  }

  body::before,
  .hero-gradient-layer,
  .hero-bg::before,
  .hero-bg::after,
  .hero-main-card::before,
  .hero-radar,
  .radar-ring,
  .chart-line-main,
  .chart-line-glow,
  .chart-line-pulse,
  .chart-node,
  .drift-line,
  .float-card,
  .shape,
  .focus-visual::before,
  .focus-grid-overlay,
  .focus-link,
  .focus-node,
  .focus-beam,
  .section-divider::before,
  .section-divider::after {
    animation: none !important;
  }

  .chart-line-main,
  .chart-line-glow,
  .chart-line-pulse,
  .focus-link {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 940px) {
  :root {
    --header-h: 90px;
  }

  .site-header {
    background: rgba(248, 251, 255, 0.88);
    border-bottom-color: var(--line);
  }

  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .brand img {
    width: clamp(185px, 44vw, 270px);
    max-height: 72px;
  }

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

  .main-nav {
    position: absolute;
    left: 1.3rem;
    right: 1.3rem;
    top: calc(100% + 0.5rem);
    padding: 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 34px rgba(7, 33, 72, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 190ms ease, transform 190ms ease;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.72rem;
  }

  .header-inner.menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    padding-top: 7rem;
  }

  .hero-visual {
    min-height: 500px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 5.8rem 0;
  }

  .container {
    width: min(var(--container), calc(100% - 1.45rem));
  }

  .services-grid,
  .approach-grid,
  .formats-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 440px;
  }

  .hero-main-card {
    aspect-ratio: 1.36;
  }

  .focus-card {
    padding: 1.3rem;
  }

  .focus-visual {
    min-height: 248px;
  }

  .float-card {
    min-width: 154px;
    padding: 0.7rem 0.76rem;
  }

  .card-a {
    top: -8px;
    right: -2px;
  }

  .card-b {
    left: -6px;
    bottom: 114px;
  }

  .card-c {
    right: 12px;
    bottom: -8px;
  }

  .card-d {
    top: 136px;
    right: 2px;
  }
}

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

  .load-in,
  .reveal {
    opacity: 1;
    transform: none;
  }

  .section-divider::before,
  .section-divider::after,
  .hero-gradient-layer,
  .float-card,
  .shape,
  .hero-main-card::before,
  .hero-radar,
  .radar-ring,
  .chart-line-main,
  .chart-line-glow,
  .chart-line-pulse,
  .chart-node,
  .drift-line,
  .focus-visual::before,
  .focus-grid-overlay,
  .focus-link,
  .focus-node,
  .focus-beam {
    animation: none !important;
  }

  .chart-line-main,
  .chart-line-glow,
  .chart-line-pulse,
  .focus-link {
    stroke-dashoffset: 0 !important;
  }
}
