:root {
  --bg: #001121;
  --bg-2: #031a2e;
  --panel: rgba(5, 27, 48, 0.82);
  --panel-2: rgba(7, 35, 62, 0.74);
  --line: rgba(55, 159, 255, 0.26);
  --line-strong: rgba(60, 171, 255, 0.52);
  --text: #f3f8ff;
  --muted: #b7c8dc;
  --blue: #159cff;
  --blue-2: #4eb7ff;
  --orange: #ff970d;
  --orange-2: #ffb13c;
  --radius: 8px;
  --shadow-blue: 0 0 34px rgba(25, 150, 255, 0.3);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 72% 8%, rgba(0, 144, 255, 0.24), transparent 26rem),
    radial-gradient(circle at 4% 26%, rgba(0, 100, 210, 0.2), transparent 24rem),
    radial-gradient(ellipse at 78% 52%, rgba(255, 151, 13, 0.1), transparent 28rem),
    linear-gradient(180deg, #000b16 0%, var(--bg) 34%, #00101f 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(43, 154, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 154, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 22% 64%, rgba(0, 138, 255, 0.12), transparent 24rem),
    radial-gradient(circle at 84% 72%, rgba(255, 151, 13, 0.08), transparent 22rem);
  background-size: 72px 72px, 72px 72px, auto, auto;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 92%, transparent 100%);
}

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

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

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

.page-shell {
  width: min(100% - 44px, 1450px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 26px 0 18px;
  background: linear-gradient(180deg, rgba(0, 11, 22, 0.94), rgba(0, 11, 22, 0.74) 70%, transparent);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  display: block;
  width: auto;
  height: 54px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  background:
    linear-gradient(135deg, transparent 36%, rgba(255, 255, 255, 0.12) 37%),
    linear-gradient(135deg, #108dff, #0062d8);
  color: transparent;
  position: relative;
  box-shadow: 0 0 22px rgba(0, 145, 255, 0.32);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 9px 10px 9px 11px;
  border: 5px solid #00172a;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(45deg);
}

.brand-mark.large {
  width: 84px;
  height: 84px;
  border-radius: 18px;
}

.brand-mark.large::before {
  inset: 20px 22px;
  border-width: 9px;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: clamp(18px, 3vw, 48px);
  color: #f3f7ff;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a,
.phone {
  opacity: 0.92;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover,
.phone:hover {
  color: var(--blue-2);
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 700;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--blue);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.icon-phone {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2A19.8 19.8 0 0 1 3.1 5.18 2 2 0 0 1 5.11 3h3a2 2 0 0 1 2 1.72c.13.96.35 1.9.66 2.8a2 2 0 0 1-.45 2.11L9.05 10.9a16 16 0 0 0 4.05 4.05l1.27-1.27a2 2 0 0 1 2.11-.45c.9.31 1.84.53 2.8.66A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 25px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  border-color: rgba(255, 181, 65, 0.5);
  background: linear-gradient(180deg, #ffad24 0%, #ff8700 100%);
  box-shadow: 0 0 22px rgba(255, 138, 0, 0.36);
}

.btn-ghost {
  background: rgba(6, 26, 46, 0.78);
  border-color: var(--line);
}

.btn-lg {
  min-height: 68px;
  padding: 0 29px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
  min-height: 58px;
}

.play-dot {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 13px solid var(--orange-2);
  filter: drop-shadow(0 0 8px rgba(255, 151, 13, 0.7));
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}

.grid-bg {
  position: relative;
  isolation: isolate;
}

.grid-bg::before {
  content: "";
  position: absolute;
  inset: -20px 0 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(27, 145, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 145, 255, 0.13) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}

.grid-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 70% 40%, rgba(18, 153, 255, 0.27), transparent 22rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(560px, 0.95fr) minmax(420px, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 26px 48px;
  min-height: 560px;
  padding: 20px 0 12px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-left: clamp(22px, 3vw, 48px);
}

.eyebrow,
.tech-strip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(1, 18, 34, 0.74);
  color: #d9ebff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.eyebrow {
  padding: 12px 20px;
  margin-bottom: 24px;
  border: 0;
  background: transparent;
}

.eyebrow i,
.tech-strip span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
}

.eyebrow i {
  display: inline-block;
}

.hero h1 {
  max-width: 535px;
  margin: 0;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 span,
h2 span {
  color: var(--blue);
}

.hero p {
  max-width: 560px;
  margin: 22px 0 0;
  color: #d6e2ef;
  font-size: 17px;
}

.hero-cta {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  margin-top: 24px;
}

.ai-stage {
  position: relative;
}

.ai-stage-video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: auto;
  min-height: 100%;
  margin: 0;
  pointer-events: none;
}

.ai-stage-video video {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: 2px;
  mix-blend-mode: screen;
  opacity: 0.95;
  filter: saturate(1.08) contrast(1.02) brightness(1) drop-shadow(0 0 38px rgba(21, 156, 255, 0.16));
  -webkit-mask-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, #000 10%, #000 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.72) 8%, #000 18%, #000 82%, rgba(0, 0, 0, 0.72) 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, #000 10%, #000 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.72) 8%, #000 18%, #000 82%, rgba(0, 0, 0, 0.72) 92%, transparent 100%);
  mask-composite: intersect;
}

.ai-stage-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 8, 17, 0.94) 0%, rgba(0, 10, 20, 0.86) 18%, rgba(0, 13, 26, 0.58) 34%, rgba(0, 13, 26, 0.22) 52%, transparent 76%);
  pointer-events: none;
}

.ai-stage-video::after {
  content: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 10, 20, 0.88), rgba(0, 13, 26, 0.5) 38%, rgba(0, 13, 26, 0.78)),
    linear-gradient(180deg, rgba(0, 10, 20, 0.82), rgba(0, 13, 26, 0.42) 38%, rgba(0, 10, 20, 0.9));
  pointer-events: none;
}

.core-node {
  position: absolute;
  left: 50%;
  top: 43%;
  z-index: 6;
  display: grid;
  width: 152px;
  height: 152px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid #55b7ff;
  border-radius: 14px;
  background: radial-gradient(circle at center, rgba(74, 183, 255, 0.32), rgba(3, 23, 42, 0.96) 62%);
  box-shadow: 0 0 18px #1ca3ff, inset 0 0 24px rgba(77, 184, 255, 0.55);
  text-align: center;
}

.core-node span {
  display: block;
  margin-top: 12px;
  font-size: 58px;
  line-height: 0.8;
  font-weight: 900;
}

.core-node b {
  display: block;
  margin-top: -18px;
  font-size: 34px;
  line-height: 1;
}

.float-card,
.panel,
.service-card,
.portfolio-grid article,
.team-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(5, 30, 54, 0.9), rgba(4, 20, 38, 0.88));
  box-shadow: inset 0 0 42px rgba(34, 135, 220, 0.08);
}

.float-card {
  position: absolute;
  padding: 16px;
  box-shadow: var(--shadow-blue), inset 0 0 42px rgba(34, 135, 220, 0.1);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.mini-badge {
  color: #28d7ff;
  font-size: 13px;
  font-weight: 900;
}

.dots::before {
  content: "...";
  color: #478bc8;
  letter-spacing: 4px;
}

.card-website {
  left: 3%;
  top: 0;
  width: 340px;
}

.website-preview {
  display: flex;
  min-height: 130px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(2, 19, 36, 0.96), rgba(5, 33, 58, 0.58)),
    radial-gradient(circle at 76% 47%, #426b9a 0 16%, transparent 17%),
    linear-gradient(135deg, #102c4d, #051524);
}

.website-preview b,
.website-preview small {
  display: block;
}

.website-preview small {
  margin: 4px 0 11px;
  color: var(--muted);
}

.website-preview button,
.chat-window button {
  min-height: 30px;
  border: 1px solid rgba(61, 164, 255, 0.28);
  border-radius: 5px;
  background: rgba(16, 73, 121, 0.8);
  color: white;
  cursor: pointer;
}

.card-crm {
  right: 4%;
  top: 0;
  width: 345px;
}

.card-crm p,
.card-agent p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
}

.card-crm strong {
  font-size: 20px;
}

.card-crm em {
  margin-left: 12px;
  color: #e4f8ff;
  font-size: 15px;
  font-style: normal;
}

.card-crm svg {
  width: 100%;
  height: 74px;
  margin-top: 8px;
  overflow: visible;
}

.card-crm polyline {
  fill: none;
  stroke: var(--orange);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-crm rect {
  fill: url("#bar");
  fill: var(--orange);
  opacity: 0.85;
}

.card-bot {
  left: 0;
  top: 270px;
  width: 250px;
}

.chat-window {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.chat-window p {
  margin: 0 0 9px;
  font-size: 13px;
}

.chat-window button {
  display: block;
  width: 100%;
  margin-top: 7px;
}

.card-agent {
  right: 5%;
  top: 265px;
  width: 275px;
}

.agent-row {
  display: grid;
  grid-template-columns: 1fr 82px;
  gap: 14px;
  align-items: center;
}

.card-agent strong {
  display: block;
  color: var(--orange);
  font-size: 20px;
}

.progress {
  display: block;
  height: 6px;
  margin-top: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.progress i {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
}

.bot-face {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at center, #66c7ff, #0b4e8b 58%, #082746);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.35), 0 0 20px rgba(55, 169, 255, 0.35);
}

.bot-face span {
  width: 54px;
  height: 36px;
  border-radius: 15px;
  background:
    radial-gradient(circle at 34% 48%, #fff 0 3px, transparent 4px),
    radial-gradient(circle at 66% 48%, #fff 0 3px, transparent 4px),
    #03213d;
}

.card-code {
  left: 8%;
  bottom: 78px;
  width: min(300px, 38%);
}

pre {
  margin: 0;
  color: #ffb54f;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.card-flow {
  right: 0;
  bottom: 78px;
  width: min(445px, 48%);
}

.flow-list {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flow-list span {
  display: grid;
  gap: 7px;
  min-width: 72px;
  justify-items: center;
  color: #dcecff;
  font-size: 12px;
}

.flow-list i {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid #197bcb;
  border-radius: 7px;
  background: rgba(5, 38, 69, 0.95);
}

.flow-list b {
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  position: relative;
}

.flow-list b::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(255, 255, 255, 0.8);
  border-right: 2px solid rgba(255, 255, 255, 0.8);
  transform: rotate(45deg);
}

.tech-strip {
  grid-column: 1 / -1;
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-top: -4px;
  padding: 16px 0 16px clamp(22px, 3vw, 48px);
  border: 0;
  background: transparent;
}

.tech-strip span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.tech-strip span::before {
  content: "";
  display: inline-block;
  background: var(--blue);
}

.tech-strip span:nth-child(3)::before,
.tech-strip span:nth-child(5)::before {
  background: var(--orange);
}

.section {
  margin-top: 46px;
  scroll-margin-top: 118px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: 0;
}

.section-title p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.services {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.24fr) 1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: stretch;
  padding: 34px 42px 38px;
}

.services::before,
.services::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.services::before {
  inset: -86px -9% -76px;
  background:
    radial-gradient(ellipse at 10% 48%, rgba(0, 126, 255, 0.18), transparent 34%),
    radial-gradient(ellipse at 92% 82%, rgba(0, 126, 255, 0.15), transparent 37%),
    linear-gradient(180deg, transparent 0%, rgba(0, 92, 178, 0.08) 70%, rgba(0, 74, 140, 0.16) 100%);
  filter: blur(14px);
}

.services::after {
  right: -8%;
  bottom: -34px;
  width: 52%;
  height: 210px;
  border: 1px solid rgba(31, 151, 255, 0.12);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 0 190px 0;
  opacity: 0.48;
}

.section-title.compact {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 26px;
  margin: 0;
}

.section-title.compact h2 {
  max-width: 310px;
  font-size: clamp(30px, 2.45vw, 36px);
}

.section-title.compact p,
.why-copy p {
  margin: 0;
  max-width: 250px;
  color: #aebfd4;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.55;
}

.section-title.compact::after,
.why-copy::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), #ffd174 50%, transparent);
  box-shadow: 0 0 12px rgba(255, 151, 13, 0.82);
}

.service-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 0;
  background:
    radial-gradient(ellipse at 48% 44%, rgba(23, 134, 241, 0.08), transparent 64%),
    linear-gradient(180deg, rgba(7, 31, 55, 0.2), rgba(2, 16, 31, 0.16));
  box-shadow: inset 0 0 42px rgba(26, 139, 255, 0.035);
}

.service-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 236px;
  align-content: center;
  justify-items: center;
  gap: 17px;
  padding: 26px 13px 28px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 0;
  width: 1px;
  height: 64%;
  background: linear-gradient(180deg, transparent, rgba(89, 174, 255, 0.1) 24%, rgba(89, 174, 255, 0.16) 50%, rgba(89, 174, 255, 0.09) 76%, transparent);
  filter: blur(0.55px);
  pointer-events: none;
}

.service-card:last-child::after {
  display: none;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 32px;
  width: clamp(70px, 5.3vw, 94px);
  height: clamp(70px, 5.3vw, 94px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 158, 255, 0.12), rgba(31, 158, 255, 0.04) 48%, transparent 72%);
  filter: blur(4px);
  opacity: 0.68;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 150px;
  color: #ecf6ff;
  font-size: clamp(14px, 0.95vw, 17px);
  font-weight: 760;
  line-height: 1.34;
  overflow-wrap: normal;
  hyphens: auto;
}

.service-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(72px, 5.2vw, 94px);
  height: clamp(72px, 5.2vw, 94px);
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(30, 153, 255, 0.38));
}

.icon-rocket::before { content: "↗"; }
.icon-site::before { content: "▣"; }
.icon-users::before { content: "∞"; }
.icon-plane::before { content: "⌁"; }
.icon-brain::before { content: "⚙"; }
.icon-robot::before { content: "☻"; }
.icon-bolt::before { content: "ϟ"; }

.why {
  display: block;
  position: relative;
  overflow: hidden;
  margin-top: 6px;
  padding: 50px 42px 40px;
  border: 1px solid rgba(55, 145, 231, 0.24);
  border-bottom: 0;
  border-radius: 64px 64px 0 0;
  background:
    radial-gradient(ellipse at 8% 24%, rgba(0, 119, 255, 0.2), transparent 32%),
    radial-gradient(ellipse at 92% 70%, rgba(0, 119, 255, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(2, 20, 38, 0.86), rgba(0, 12, 25, 0.72));
  box-shadow: inset 0 1px 0 rgba(106, 190, 255, 0.13);
}

.why::before {
  content: "";
  position: absolute;
  inset: -18% -8% -6%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 64%, rgba(18, 142, 255, 0.2), transparent 58%),
    linear-gradient(90deg, transparent, rgba(0, 132, 255, 0.08) 20%, rgba(0, 132, 255, 0.13) 50%, rgba(0, 132, 255, 0.08) 80%, transparent);
  filter: blur(12px);
}

.why-list {
  display: grid;
  grid-template-columns: minmax(285px, 0.29fr) 1fr;
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}

.why-copy {
  display: grid;
  gap: 28px;
}

.why-copy h2 {
  max-width: 430px;
}

.why-list ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #dcecff;
}

.why-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 116px;
  padding: 16px 24px;
  border-left: 1px solid rgba(82, 164, 255, 0.16);
  color: #d8eaff;
  font-size: clamp(14px, 0.9vw, 16px);
  font-weight: 700;
  line-height: 1.25;
}

.why-list li span {
  min-width: 0;
  overflow-wrap: break-word;
}

.why-list li:nth-child(4n + 1) {
  border-left: 0;
}

.why-list li:nth-child(n + 5) {
  border-top: 1px solid rgba(82, 164, 255, 0.16);
}

.why-icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 0 13px rgba(30, 153, 255, 0.48));
}

.stats-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  margin-top: 36px;
  border: 1px solid rgba(70, 176, 255, 0.46);
  border-radius: 10px;
  background:
    radial-gradient(circle at 9% 12%, rgba(30, 159, 255, 0.18), transparent 16rem),
    radial-gradient(circle at 91% 86%, rgba(0, 119, 255, 0.22), transparent 18rem),
    linear-gradient(145deg, rgba(5, 35, 64, 0.76), rgba(2, 17, 33, 0.88));
  box-shadow:
    inset 0 0 78px rgba(36, 149, 255, 0.11),
    0 0 34px rgba(0, 119, 255, 0.13),
    0 0 0 1px rgba(33, 153, 255, 0.12);
  backdrop-filter: blur(12px);
}

.stats-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(65, 171, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 171, 255, 0.16) 1px, transparent 1px),
    radial-gradient(circle at 22% 83%, rgba(35, 169, 255, 0.55) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 16%, rgba(35, 169, 255, 0.45) 0 1px, transparent 2px);
  background-size: 64px 64px, 64px 64px, 18px 18px, 22px 22px;
}

.stats-panel::after {
  content: "";
  position: absolute;
  inset: auto -8% -48% -8%;
  height: 92%;
  background:
    radial-gradient(ellipse at 18% 55%, rgba(22, 161, 255, 0.42), transparent 40%),
    radial-gradient(ellipse at 82% 55%, rgba(22, 161, 255, 0.36), transparent 42%);
  filter: blur(22px);
  opacity: 0.58;
  pointer-events: none;
}

.stats-panel div {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 150px;
  place-items: center;
  align-content: center;
  gap: 15px;
  padding: 24px 18px 26px;
  text-align: center;
  border-right: 1px solid rgba(119, 194, 255, 0.14);
}

.stats-panel div:last-child {
  border-right: 0;
}

.stats-panel strong {
  display: block;
  color: var(--blue-2);
  font-size: clamp(54px, 5.4vw, 84px);
  line-height: 0.95;
  font-weight: 900;
  text-shadow: 0 0 22px rgba(30, 153, 255, 0.76), 0 0 44px rgba(30, 153, 255, 0.28);
}

.stats-panel span {
  max-width: 230px;
  color: #d6e9ff;
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 650;
  line-height: 1.35;
}

/* Legacy selectors kept below are intentionally overridden above. */
/*
 .why {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
  padding-top: 34px;
  border-top: 1px solid rgba(77, 164, 255, 0.18);
}

.why-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  gap: 18px 32px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: #dcecff;
}

.why-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  color: #d8eaff;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
}

.why-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(30, 153, 255, 0.38));
}

.stats-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(70, 176, 255, 0.34);
  border-radius: 10px;
  background:
    radial-gradient(circle at 15% 18%, rgba(30, 159, 255, 0.3), transparent 16rem),
    radial-gradient(circle at 88% 80%, rgba(0, 119, 255, 0.25), transparent 18rem),
    linear-gradient(145deg, rgba(6, 43, 75, 0.88), rgba(2, 17, 33, 0.94));
  box-shadow: inset 0 0 68px rgba(36, 149, 255, 0.12), 0 0 34px rgba(0, 119, 255, 0.12);
  backdrop-filter: blur(12px);
}

.stats-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(65, 171, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 171, 255, 0.16) 1px, transparent 1px),
    radial-gradient(circle at 22% 83%, rgba(35, 169, 255, 0.55) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 16%, rgba(35, 169, 255, 0.45) 0 1px, transparent 2px);
  background-size: 64px 64px, 64px 64px, 18px 18px, 22px 22px;
}

.stats-panel::after {
  content: "";
  position: absolute;
  inset: auto -8% -38% -8%;
  height: 64%;
  background:
    radial-gradient(ellipse at 18% 55%, rgba(22, 161, 255, 0.42), transparent 40%),
    radial-gradient(ellipse at 82% 55%, rgba(22, 161, 255, 0.36), transparent 42%);
  filter: blur(22px);
  opacity: 0.75;
  pointer-events: none;
}

.stats-panel div {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 154px;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 22px;
  text-align: center;
  border-right: 1px solid rgba(91, 181, 255, 0.14);
  border-bottom: 1px solid rgba(91, 181, 255, 0.14);
}

.stats-panel div:nth-child(3),
.stats-panel div:last-child {
  border-right: 0;
}

.stats-panel div:nth-child(4) {
  grid-column: 1 / 3;
}

.stats-panel strong {
  display: block;
  color: var(--blue-2);
  font-size: clamp(50px, 5.2vw, 76px);
  line-height: 0.95;
  font-weight: 900;
  text-shadow: 0 0 26px rgba(30, 153, 255, 0.62);
}

.stats-panel span {
  max-width: 250px;
  color: #d6e9ff;
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 650;
  line-height: 1.35;
}
*/

.panel {
  padding: 28px;
}

.about {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) 1.35fr;
  gap: 54px;
  align-items: center;
}

.lab-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  background: radial-gradient(circle at center, rgba(0, 140, 255, 0.16), transparent 18rem);
}

.lab-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image:
    linear-gradient(to right, #000 0%, #000 78%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, #000 0%, #000 78%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-composite: intersect;
}

.glass-box {
  position: relative;
  display: grid;
  width: 260px;
  height: 215px;
  place-items: center;
  border: 1px solid rgba(83, 184, 255, 0.75);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(13, 61, 98, 0.62), rgba(0, 17, 31, 0.7));
  box-shadow: 0 0 44px rgba(0, 132, 255, 0.36), inset 0 0 34px rgba(38, 162, 255, 0.18);
  transform: rotateX(58deg) rotateZ(-18deg);
}

.glass-box .brand-mark {
  transform: rotateZ(18deg) rotateX(-58deg);
}

.glass-box i {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 151, 13, 0.55);
  border-radius: 8px;
}

.about-copy p,
.panel-head p,
.form-panel p,
.site-footer p {
  color: var(--muted);
}

.about-copy p {
  margin: 22px 0 0;
  max-width: 790px;
}

.portfolio,
.team {
  position: relative;
  isolation: isolate;
}

.portfolio::before,
.team::before {
  content: "";
  position: absolute;
  inset: -36px -5%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 22%, rgba(0, 148, 255, 0.18), transparent 30%),
    radial-gradient(ellipse at 86% 72%, rgba(255, 151, 13, 0.09), transparent 26%),
    linear-gradient(115deg, transparent 0 42%, rgba(42, 164, 255, 0.08) 43%, transparent 48% 100%);
  filter: blur(10px);
}

.portfolio::after {
  content: "const launch = await PeoLux.deploy({ ai: true, crm: true });";
  position: absolute;
  right: 4%;
  top: 12px;
  z-index: -1;
  max-width: 520px;
  color: rgba(84, 185, 255, 0.14);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(13px, 1.2vw, 18px);
  white-space: nowrap;
}

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

.portfolio-grid article {
  position: relative;
  overflow: hidden;
  border-color: rgba(66, 169, 255, 0.22);
  background:
    linear-gradient(145deg, rgba(9, 40, 70, 0.84), rgba(2, 17, 33, 0.9)),
    radial-gradient(circle at 22% 0%, rgba(30, 153, 255, 0.18), transparent 14rem);
  box-shadow: inset 0 0 48px rgba(34, 135, 220, 0.1), 0 20px 60px rgba(0, 8, 18, 0.28);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.portfolio-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(71, 180, 255, 0.12), transparent),
    linear-gradient(rgba(87, 177, 255, 0.055) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px;
  opacity: 0.65;
}

.portfolio-grid article:hover,
.team-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(95, 190, 255, 0.42);
  box-shadow: inset 0 0 52px rgba(34, 135, 220, 0.14), 0 26px 72px rgba(0, 28, 56, 0.34);
}

.portfolio-grid img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid rgba(73, 170, 255, 0.16);
  background: rgba(7, 29, 50, 0.8);
}

.case-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(78, 183, 255, 0.24);
  border-radius: 999px;
  background: rgba(5, 28, 50, 0.68);
  color: #aedaff;
  font-size: 12px;
  font-weight: 750;
}

.portfolio-grid h3,
.team-grid h3,
.review-card h3 {
  margin: 0;
  font-size: 19px;
}

.portfolio-grid h3 {
  font-size: clamp(19px, 1.35vw, 24px);
  line-height: 1.18;
}

.portfolio-grid p,
.team-grid p,
.review-card p,
.review-card span {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.portfolio-grid p {
  font-size: 15px;
  line-height: 1.52;
}

.team .section-title {
  align-items: start;
}

.team .section-title p {
  margin-top: 6px;
}

.team::after {
  content: "model.route('/team').with(human, design, ai);";
  position: absolute;
  left: 3%;
  bottom: -6px;
  z-index: -1;
  color: rgba(84, 185, 255, 0.12);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(12px, 1vw, 16px);
}

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

.team-grid article {
  position: relative;
  display: grid;
  overflow: hidden;
  gap: 9px;
  padding: 14px 14px 18px;
  text-align: left;
  border-color: rgba(86, 181, 255, 0.1);
  background:
    radial-gradient(circle at 50% 15%, rgba(0, 144, 255, 0.16), transparent 9rem),
    linear-gradient(160deg, rgba(7, 35, 62, 0.72), rgba(2, 18, 34, 0.84));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 0 34px rgba(34, 135, 220, 0.055),
    0 18px 44px rgba(0, 0, 0, 0.12);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.team-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(78, 183, 255, 0.075), transparent 32%),
    linear-gradient(rgba(80, 178, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 178, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
  opacity: 0.58;
}

.team-photo {
  position: relative;
  z-index: 1;
  display: grid;
  height: 245px;
  place-items: end center;
  overflow: hidden;
  border: 0;
  border-radius: 7px;
  background:
    radial-gradient(circle at 50% 24%, rgba(132, 203, 255, 0.2), transparent 8rem),
    linear-gradient(180deg, rgba(14, 55, 86, 0.36), rgba(0, 13, 25, 0.64));
  box-shadow:
    inset 0 0 0 1px rgba(122, 199, 255, 0.055),
    inset 0 -44px 72px rgba(1, 14, 27, 0.38);
}

.team-photo::after {
  content: "";
  position: absolute;
  inset: auto 12% 0;
  height: 40%;
  border-radius: 50%;
  background: rgba(0, 145, 255, 0.18);
  filter: blur(20px);
}

.team-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: saturate(0.94) contrast(1.02) drop-shadow(0 18px 22px rgba(0, 0, 0, 0.34));
}

.team-grid h3,
.team-grid p,
.team-grid blockquote {
  position: relative;
  z-index: 1;
}

.team-grid h3 {
  margin-top: 5px;
}

.team-grid p {
  color: #8fd0ff;
  font-weight: 750;
}

.team-grid blockquote {
  margin: 2px 0 0;
  color: #d7e9fb;
  font-size: 13px;
  line-height: 1.42;
}

.contact-reviews {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 16px;
  align-items: stretch;
}

.review-card {
  position: relative;
  margin-top: 28px;
  padding: 0;
  border: 1px solid rgba(56, 156, 255, 0.24);
  border-radius: 13px;
  background:
    radial-gradient(circle at 24% 12%, rgba(0, 147, 255, 0.12), transparent 48%),
    rgba(6, 26, 46, 0.58);
  box-shadow: inset 0 0 40px rgba(0, 127, 255, 0.055);
}

.review-slides {
  min-height: 242px;
}

.review-slide {
  display: none;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 242px;
  padding: 28px 42px;
}

.review-slide.is-active {
  display: grid;
}

.review-slide img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: #0d2b49;
  align-self: center;
  justify-self: center;
  box-shadow:
    0 0 0 1px rgba(35, 153, 255, 0.5),
    0 0 0 8px rgba(14, 63, 102, 0.25),
    0 14px 34px rgba(0, 0, 0, 0.28);
}

.review-content {
  min-width: 0;
}

.review-card p {
  margin-top: 14px;
}

.review-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(82, 169, 255, 0.28);
  border-radius: 50%;
  background: rgba(7, 31, 54, 0.86);
  color: #d9ecff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  transform: translateY(-50%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, transform 0.18s ease;
  z-index: 2;
}

.review-arrow:hover {
  border-color: rgba(255, 151, 13, 0.72);
  background: rgba(13, 43, 72, 0.94);
  color: #fff;
  transform: translateY(-50%) scale(1.04);
}

.review-arrow-prev {
  left: -16px;
}

.review-arrow-next {
  right: -16px;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}

.review-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(87, 148, 202, 0.74);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.review-dots button.is-active,
.review-dots button:hover {
  background: var(--orange);
  box-shadow: 0 0 14px rgba(255, 151, 13, 0.5);
  transform: scale(1.08);
}

.form-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.08fr;
  gap: 30px;
  overflow: hidden;
  align-items: start;
}

.form-intro {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-visual {
  position: relative;
  z-index: 0;
  width: min(300px, 88%);
  margin: 12px auto 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-visual::before,
.contact-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.contact-visual::before {
  display: none;
}

.contact-visual::after {
  inset: 18% 18% auto;
  height: 48%;
  border-radius: 50%;
  background: rgba(0, 145, 255, 0.2);
  filter: blur(42px);
}

.contact-visual img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: contain;
  object-position: center;
  opacity: 0.9;
  filter: saturate(1.08) contrast(1.08) drop-shadow(0 0 24px rgba(0, 135, 255, 0.18));
  transform: scale(1.08);
}

form {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  align-content: start;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(70, 143, 207, 0.24);
  border-radius: 7px;
  background: rgba(7, 31, 54, 0.92);
  color: var(--text);
  padding: 0 15px;
  outline: none;
}

textarea {
  min-height: 64px;
  padding-top: 13px;
  resize: vertical;
}

.method-label {
  margin-top: 4px;
  color: #b8c9dd;
  font-size: 13px;
}

input::placeholder,
textarea::placeholder {
  color: #8da5bd;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.contact-methods button {
  display: grid;
  min-width: 0;
  min-height: 52px;
  place-items: center;
  border: 1px solid rgba(61, 164, 255, 0.24);
  border-radius: 7px;
  background: rgba(10, 39, 68, 0.88);
  color: #c9ddf2;
  cursor: pointer;
  font-size: 11px;
  gap: 5px;
  line-height: 1.1;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.contact-methods button:hover {
  border-color: rgba(61, 164, 255, 0.5);
  background: rgba(13, 50, 86, 0.94);
  transform: translateY(-1px);
}

.contact-methods img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 8px rgba(34, 163, 255, 0.42));
}

.contact-methods button:nth-child(3) img {
  color: #25d366;
  filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.36));
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: #b7c8dc;
  font-size: 12px;
}

.consent input {
  min-height: 18px;
  padding: 0;
  accent-color: var(--blue);
}

.consent a {
  color: var(--blue-2);
  text-decoration: underline;
}

.form-note {
  color: #7d92a9;
  font-size: 11px;
  line-height: 1.35;
}

.site-footer {
  display: grid;
  gap: 26px;
  margin: 24px 0 24px;
  padding: 20px 26px 18px;
}

.footer-main {
  display: grid;
  grid-template-columns: 0.72fr 0.58fr 1.45fr;
  gap: 44px;
  align-items: stretch;
}

.site-footer .brand-logo {
  height: 48px;
}

.footer-brand {
  padding-right: 38px;
  border-right: 1px solid rgba(77, 164, 255, 0.18);
}

.site-footer address {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-style: normal;
}

.site-footer address h2 {
  font-size: 22px;
}

.site-footer address a:hover {
  color: var(--blue-2);
}

.footer-contact-link {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 8px rgba(255, 151, 13, 0.45));
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(7, 31, 54, 0.92);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.socials a:hover {
  border-color: rgba(61, 164, 255, 0.55);
  background: rgba(11, 43, 74, 0.96);
  box-shadow: 0 0 22px rgba(0, 145, 255, 0.22);
  transform: translateY(-2px);
}

.socials img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 8px rgba(34, 163, 255, 0.35));
}

.map-card {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  border: 1px solid rgba(70, 143, 207, 0.24);
  border-radius: 10px;
  background: #081b30;
}

.map-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.78) hue-rotate(174deg) brightness(0.72) contrast(1.2);
}

.map-label {
  position: absolute;
  right: 8%;
  top: 30%;
  width: 250px;
  padding: 18px;
  border: 1px solid rgba(86, 155, 218, 0.3);
  border-radius: 8px;
  background: rgba(5, 25, 45, 0.92);
  pointer-events: none;
}

.map-label small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(77, 164, 255, 0.16);
  color: #7791aa;
  font-size: 13px;
}

.footer-bottom a {
  text-decoration: underline;
}

@media (max-width: 1320px) {
  .section-title.compact h2 {
    max-width: 292px;
    font-size: 34px;
  }

  .services {
    grid-template-columns: minmax(292px, 0.28fr) 1fr;
    gap: 20px;
    padding: 28px 42px 34px;
  }

  .service-card {
    min-height: 194px;
    gap: 10px;
    padding: 18px 9px 20px;
  }

  .service-card::before {
    top: 22px;
    width: 70px;
    height: 70px;
  }

  .service-icon {
    width: 72px;
    height: 72px;
  }

  .service-card h3 {
    max-width: 118px;
    font-size: 13px;
    line-height: 1.26;
  }

  .why {
    padding: 42px 42px 38px;
  }

  .why-list {
    grid-template-columns: minmax(270px, 0.25fr) 1fr;
    gap: 34px;
  }

  .why-list li {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    min-height: 100px;
    padding: 14px 18px;
    font-size: 13px;
  }

  .why-icon {
    width: 58px;
    height: 58px;
  }

  .stats-panel div {
    min-height: 136px;
  }
}

@media (max-width: 1180px) {
  .page-shell {
    width: min(100% - 32px, 1000px);
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions {
    display: flex;
  }

  .site-header.is-open .main-nav {
    justify-self: stretch;
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(2, 17, 32, 0.96);
  }

  .site-header.is-open .header-actions {
    justify-content: center;
  }

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

  .portfolio-grid article {
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) 1fr;
  }

  .portfolio-grid img {
    height: 100%;
    min-height: 300px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero h1,
  .hero p {
    max-width: 780px;
  }

  .ai-stage {
    inset: 145px -8px 118px 12%;
  }

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

  .service-card:nth-child(4n + 1) {
    border-left: 0;
  }

  .service-card:nth-child(4n)::after {
    display: none;
  }

  .services,
  .why,
  .about,
  .contact-reviews,
  .form-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

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

  .why-list li:nth-child(4n + 1) {
    border-left: 1px solid rgba(82, 164, 255, 0.16);
  }

  .why-list li:nth-child(2n + 1) {
    border-left: 0;
  }

  .why-list li:nth-child(n + 3) {
    border-top: 1px solid rgba(82, 164, 255, 0.16);
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 620px);
  }

  .site-header {
    padding-top: 16px;
  }

  .brand {
    max-width: 160px;
  }

  .brand-logo {
    height: 42px;
  }

  .hero {
    gap: 30px;
    padding-top: 24px;
  }

  .eyebrow {
    flex-wrap: wrap;
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    margin-top: 24px;
    font-size: 16px;
  }

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

  .btn-lg {
    width: 100%;
  }

  .ai-stage {
    position: absolute;
    inset: auto;
    z-index: 1;
    width: auto;
    height: auto;
    margin: 0;
  }

  .ai-stage-video {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .ai-stage-video video {
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    opacity: 0.92;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.76) 6%, #000 18%, #000 82%, rgba(0, 0, 0, 0.76) 94%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.78) 7%, #000 18%, #000 82%, rgba(0, 0, 0, 0.78) 93%, transparent 100%);
    mask-image:
      linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.76) 6%, #000 18%, #000 82%, rgba(0, 0, 0, 0.76) 94%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.78) 7%, #000 18%, #000 82%, rgba(0, 0, 0, 0.78) 93%, transparent 100%);
  }

  .flow-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-list b {
    display: none;
  }

  .tech-strip {
    margin-top: 12px;
  }

  .section {
    margin-top: 54px;
  }

  .section-title {
    display: block;
  }

  .section-title p {
    margin-top: 12px;
  }

  .service-grid,
  .portfolio-grid,
  .team-grid,
  .stats-panel {
    grid-template-columns: 1fr;
  }

  .portfolio-grid article {
    display: block;
  }

  .portfolio-grid img {
    min-height: 0;
    height: auto;
  }

  .portfolio::after,
  .team::after {
    display: none;
  }

  .team-photo {
    height: 300px;
  }

  .service-card,
  .service-card:nth-child(4n + 1) {
    border-left: 0;
  }

  .service-card::after {
    display: none;
  }

  .service-card:nth-child(n + 2) {
    border-top: 1px solid rgba(74, 164, 255, 0.12);
  }

  .why-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .why-list ul {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .why-list li,
  .why-list li:nth-child(4n + 1),
  .why-list li:nth-child(2n + 1) {
    border-left: 0;
  }

  .why-list li:nth-child(n + 2) {
    border-top: 1px solid rgba(82, 164, 255, 0.16);
  }

  .stats-panel div,
  .stats-panel div:nth-child(4) {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(91, 181, 255, 0.14);
  }

  .stats-panel div:last-child {
    border-bottom: 0;
  }

  .panel {
    padding: 20px;
  }

  .lab-visual {
    min-height: 260px;
  }

  .glass-box {
    width: 210px;
    height: 170px;
  }

  .contact-methods {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card {
    margin-top: 20px;
  }

  .review-slide {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    padding: 24px 26px;
    text-align: center;
  }

  .review-slide img {
    width: 84px;
    height: 84px;
  }

  .review-arrow-prev {
    left: -10px;
  }

  .review-arrow-next {
    right: -10px;
  }

  .team-grid img {
    height: 340px;
  }

  .map-label {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 18px;
    width: auto;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 37px;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    gap: 14px;
  }

  .site-header.is-open .main-nav {
    align-items: center;
  }

  .btn {
    padding-inline: 16px;
  }

  .team-grid img {
    height: 280px;
  }
}
