:root {
  --bg: #080b12;
  --bg-2: #111827;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --text: #101522;
  --text-soft: #5b6474;
  --text-inverted: #f7f9ff;
  --muted: #b8c1d1;
  --line: rgba(16, 21, 34, 0.12);
  --line-inverted: rgba(255, 255, 255, 0.16);
  --blue: #0b7cff;
  --cyan: #00c2ff;
  --green: #12c276;
  --coral: #ff6b3d;
  --violet: #8a5cff;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(8, 11, 18, 0.18);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: #f5f7fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--coral));
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 900;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(calc(100% - 28px), 1180px);
  min-height: 68px;
  padding: 10px 14px 10px 18px;
  color: var(--text-inverted);
  background: rgba(8, 11, 18, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 220ms ease, border-color 220ms ease, min-height 220ms ease;
}

.site-header.scrolled {
  min-height: 58px;
  background: rgba(8, 11, 18, 0.9);
  border-color: rgba(255, 255, 255, 0.22);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 222px;
  height: 44px;
  padding: 6px 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 6px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 124, 255, 0.16));
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 6px;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a.active,
.site-nav a.is-current {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.section {
  position: relative;
  padding: 104px 0;
}

.section-dark {
  color: var(--text-inverted);
  background: var(--bg);
}

.section-light {
  background: #f5f7fb;
}

.hero {
  position: relative;
  min-height: 88svh;
  padding: 108px 0 24px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 11, 18, 0), rgba(8, 11, 18, 0.78));
  z-index: -1;
}

.hero-canvas,
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-grid {
  opacity: 0.34;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.08));
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 42px;
}

.hero-copy {
  padding-top: 30px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.inverted .eyebrow,
.section-dark .eyebrow {
  color: #75d7ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 3.9rem;
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: 3rem;
  line-height: 1.05;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #0061d6 54%, var(--green));
  box-shadow: 0 18px 40px rgba(11, 124, 255, 0.28);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-console {
  position: relative;
  min-height: 458px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  transform-style: preserve-3d;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.console-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}

.console-top span:nth-child(2) {
  background: #ffd166;
}

.console-top span:nth-child(3) {
  background: var(--green);
}

.console-top strong {
  margin-left: auto;
  font-weight: 700;
}

.console-screen {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.code-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px 14px;
  min-height: 74px;
  padding: 14px 16px;
  background: rgba(8, 11, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.code-row b {
  grid-row: span 2;
  color: #72d8ff;
}

.code-row span {
  font-size: 1.05rem;
  font-weight: 850;
}

.code-row em {
  color: var(--muted);
  font-style: normal;
}

.code-row.active {
  border-color: rgba(18, 194, 118, 0.55);
  box-shadow: inset 0 0 0 1px rgba(18, 194, 118, 0.12);
}

.signal-board {
  position: absolute;
  inset: auto 18px 18px;
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  grid-template-rows: repeat(8, 1fr);
  height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: calc(100% / 14) calc(100% / 8);
  border-radius: 8px;
}

.signal-board i {
  grid-column: var(--x);
  grid-row: var(--y);
  width: 100%;
  height: 100%;
  background: var(--blue);
  box-shadow: 0 0 22px rgba(0, 194, 255, 0.75);
  animation: signalPulse 2.8s ease-in-out infinite;
}

.signal-board i:nth-child(2n) {
  background: var(--green);
  animation-delay: 420ms;
}

.signal-board i:nth-child(3n) {
  background: var(--coral);
  animation-delay: 960ms;
}

@keyframes signalPulse {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.55);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-tech-stack {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 16px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(8, 11, 18, 0.54);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.tech-stack-label {
  padding-inline: 18px;
  color: #75d7ff;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tech-marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.tech-logo-track {
  display: flex;
  width: max-content;
  animation: marquee 58s linear infinite;
  will-change: transform;
}

.tech-logo-set {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  padding-right: 10px;
}

.tech-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 168px;
  min-height: 58px;
  padding: 9px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.tech-logo img {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.tech-logo em {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tech-strip {
  padding: 24px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  will-change: transform;
}

.marquee-set {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  padding-right: 12px;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  color: #263143;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(8, 11, 18, 0.05);
}

@keyframes marquee {
  to {
    transform: translateX(-33.3333%);
  }
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow) {
  color: var(--text-soft);
  font-size: 1.08rem;
}

.section-heading.inverted p:not(.eyebrow),
.section-dark .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.quality-section {
  padding-top: 86px;
  border-bottom: 1px solid var(--line);
}

.quality-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: start;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quality-card {
  min-height: 244px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(8, 11, 18, 0.06);
}

.quality-card strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 7px 10px;
  color: var(--blue);
  background: #eef6ff;
  border: 1px solid rgba(11, 124, 255, 0.16);
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 900;
}

.quality-card h3 {
  margin-bottom: 12px;
}

.quality-card p {
  color: var(--text-soft);
}

.quality-card-accent {
  color: var(--text-inverted);
  background:
    linear-gradient(135deg, rgba(18, 194, 118, 0.3), rgba(11, 124, 255, 0.28)),
    #101522;
  border-color: rgba(255, 255, 255, 0.12);
}

.quality-card-accent strong {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.quality-card-accent p {
  color: var(--muted);
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 326px;
  padding: 26px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(8, 11, 18, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.service-card:hover,
.service-card.open {
  border-color: rgba(11, 124, 255, 0.28);
  box-shadow: 0 26px 70px rgba(8, 11, 18, 0.12);
}

.service-card:hover::before,
.service-card.open::before {
  transform: scaleX(1);
}

.service-card-accent {
  color: var(--text-inverted);
  background:
    linear-gradient(135deg, rgba(11, 124, 255, 0.42), rgba(18, 194, 118, 0.16)),
    #101522;
  border-color: rgba(255, 255, 255, 0.12);
}

.service-card-wide {
  grid-column: 2 / span 2;
  min-height: 286px;
}

.service-index {
  color: var(--blue);
  font-weight: 900;
}

.service-card p {
  color: var(--text-soft);
}

.service-card.service-card-accent,
.service-card.service-card-accent h3,
.service-card.service-card-accent .service-index,
.service-card.service-card-accent .text-button {
  color: var(--white);
}

.service-card.service-card-accent p,
.service-card.service-card-accent li {
  color: rgba(255, 255, 255, 0.84);
}

.service-card ul {
  display: grid;
  gap: 8px;
  max-height: 0;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  transition: max-height 240ms ease, padding-top 240ms ease;
}

.service-card.open ul,
.service-card:hover ul {
  max-height: 140px;
  padding-top: 16px;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 2px;
  background: var(--green);
}

.text-button {
  width: fit-content;
  margin-top: auto;
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  font-weight: 850;
}

.portfolio-lab {
  overflow: hidden;
}

.portfolio-lab::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.7;
}

.portfolio-controls {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.chip {
  min-height: 42px;
  padding: 9px 14px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.chip.active,
.chip:hover {
  color: var(--white);
  background: rgba(11, 124, 255, 0.24);
  border-color: rgba(117, 215, 255, 0.5);
}

.project-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.project-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  transition: transform 200ms ease, opacity 200ms ease, border-color 200ms ease;
}

.project-card.hidden {
  display: none;
}

.project-card:hover {
  border-color: rgba(117, 215, 255, 0.55);
}

.project-visual {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #101522;
}

.project-visual.has-image {
  background: #070b12;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.project-visual.has-image::before {
  z-index: 1;
  inset: 0;
  border: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 15, 0.05), rgba(4, 8, 15, 0.68)),
    linear-gradient(90deg, rgba(4, 8, 15, 0.42), transparent 52%);
  border-radius: 0;
}

.project-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.01);
  transition: transform 240ms ease, filter 240ms ease;
}

.project-card:hover .project-thumb {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.project-cover-logo {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  display: block;
  width: auto;
  max-width: min(72%, 240px);
  max-height: 88px;
  padding: 10px 12px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(4, 8, 15, 0.24);
  object-fit: contain;
  object-position: left center;
}

.project-visual span {
  position: absolute;
  display: block;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  animation: panelMove 5s ease-in-out infinite;
}

.project-visual span:nth-child(1) {
  top: 44px;
  left: 36px;
  width: 42%;
  height: 20px;
}

.project-visual span:nth-child(2) {
  top: 82px;
  left: 36px;
  width: 66%;
  height: 72px;
  animation-delay: 300ms;
}

.project-visual span:nth-child(3) {
  right: 32px;
  bottom: 26px;
  width: 34%;
  height: 26px;
  animation-delay: 700ms;
}

.visual-a {
  background: linear-gradient(135deg, #101522, #12366d);
}

.visual-b {
  background: linear-gradient(135deg, #15111f, #8a3f2b);
}

.visual-c {
  background: linear-gradient(135deg, #0d1a16, #136b4a);
}

.visual-d {
  background: linear-gradient(135deg, #111322, #4c3da7);
}

@keyframes panelMove {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.72;
  }
  50% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.project-body {
  padding: 20px;
}

.project-body p {
  margin-bottom: 8px;
  color: #75d7ff;
  font-weight: 800;
}

.project-body h3 {
  color: var(--white);
}

.project-body span {
  color: var(--muted);
}

.project-open {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 64px;
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 120px;
}

.process-steps {
  display: grid;
  gap: 12px;
}

.process-step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 4px 18px;
  width: 100%;
  min-height: 116px;
  padding: 22px;
  color: var(--text);
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(8, 11, 18, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.process-step:hover,
.process-step.active {
  transform: translateX(6px);
  border-color: rgba(11, 124, 255, 0.3);
  background: #eef6ff;
}

.process-step span {
  grid-row: span 2;
  color: var(--blue);
  font-weight: 900;
}

.process-step strong {
  font-size: 1.18rem;
}

.process-step em {
  color: var(--text-soft);
  font-style: normal;
}

.estimate-section {
  overflow: hidden;
}

.estimate-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 78px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 78px);
}

.estimate-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.estimate-panel,
.contact-form,
.quote-form {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.field,
.contact-form label,
.quote-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.field + .field,
.toggle-grid,
.estimate-result {
  margin-top: 20px;
}

select,
input,
textarea {
  width: 100%;
  color: var(--text);
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 6px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

select,
input {
  min-height: 48px;
  padding: 10px 12px;
}

textarea {
  resize: vertical;
  min-height: 144px;
  padding: 12px;
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(11, 124, 255, 0.16);
}

input[type="range"] {
  padding: 0;
  accent-color: var(--green);
  background: transparent;
  box-shadow: none;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.86rem;
}

.toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.toggle-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--text-inverted);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.toggle-grid input,
.consent input,
.checkbox-grid input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.estimate-result {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  background: rgba(8, 11, 18, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.estimate-result span {
  color: var(--muted);
}

.estimate-result strong {
  font-size: 2.15rem;
  line-height: 1;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
}

.about-logo {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(11, 124, 255, 0.1), rgba(18, 194, 118, 0.08)),
    var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-logo img {
  width: min(100%, 680px);
}

.about-copy p:not(.eyebrow) {
  color: var(--text-soft);
  font-size: 1.08rem;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.feature-row span {
  padding: 9px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.contact-section {
  color: var(--text-inverted);
  background:
    linear-gradient(135deg, rgba(11, 124, 255, 0.18), rgba(255, 107, 61, 0.12)),
    #080b12;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
}

.contact-mail {
  display: inline-flex;
  margin-top: 18px;
  color: #75d7ff;
  font-size: 1.25rem;
  font-weight: 850;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-form label + label,
.form-grid + .form-grid,
.form-grid + label,
.contact-form label + .consent,
.quote-form label + .consent,
.quote-form fieldset + .form-grid,
.quote-form .form-grid + fieldset,
.quote-form fieldset + fieldset,
.quote-form .form-grid + label {
  margin-top: 16px;
}

.consent {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-weight: 500;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #75d7ff;
}

.site-footer {
  padding: 34px 0;
  color: var(--text-inverted);
  background: #05070c;
}

.footer-layout {
  display: grid;
  grid-template-columns: 250px 1fr auto;
  gap: 20px;
  align-items: center;
}

.footer-layout img {
  width: 226px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 6px;
}

.footer-layout strong,
.footer-layout span {
  display: block;
}

.footer-layout span {
  color: var(--muted);
}

.footer-layout a {
  color: #75d7ff;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.project-modal {
  width: min(560px, calc(100% - 28px));
  padding: 30px;
  color: var(--text-inverted);
  background: #0b101a;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.project-modal::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  font-size: 1.5rem;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.modal-tags span {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.page-main {
  min-height: 72vh;
}

.page-hero {
  position: relative;
  min-height: 520px;
  padding: 138px 0 88px;
  overflow: hidden;
  isolation: isolate;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: 4rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.breadcrumbs a {
  color: #75d7ff;
  font-weight: 800;
}

.breadcrumbs strong {
  color: var(--white);
  font-weight: 800;
}

.section-actions {
  margin-top: 30px;
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-row {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(8, 11, 18, 0.06);
}

.service-row > span {
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 900;
}

.service-row h2 {
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.service-row p {
  color: var(--text-soft);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row em {
  padding: 8px 10px;
  color: #203048;
  background: #eef6ff;
  border: 1px solid rgba(11, 124, 255, 0.16);
  border-radius: 6px;
  font-style: normal;
  font-weight: 800;
}

.content-grid,
.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.case-showcase-section {
  padding-bottom: 0;
}

.case-showcase {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: #07101d;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 26px 80px rgba(8, 11, 18, 0.14);
}

.case-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 16, 29, 0), rgba(7, 16, 29, 0.48)),
    linear-gradient(90deg, rgba(7, 16, 29, 0.52), transparent 54%);
}

.case-showcase-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
}

.case-showcase-logo {
  position: absolute;
  z-index: 1;
  left: 28px;
  bottom: 28px;
  display: block;
  width: auto;
  max-width: min(420px, calc(100% - 56px));
  max-height: 154px;
  padding: 14px 18px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(4, 8, 15, 0.28);
  object-fit: contain;
  object-position: left center;
}

.rich-content {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(8, 11, 18, 0.06);
}

.rich-content h2 {
  margin-top: 26px;
  font-size: 2rem;
}

.rich-content h2:first-child {
  margin-top: 0;
}

.rich-content h3 {
  margin-top: 24px;
}

.rich-content p,
.rich-content li {
  color: var(--text-soft);
}

.rich-content ul,
.quote-intro ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tech-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(0, 113, 255, 0.22);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 113, 255, 0.1), rgba(11, 176, 156, 0.08));
  color: var(--text);
  font-weight: 800;
  line-height: 1.2;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.case-shot {
  overflow: hidden;
  margin: 0;
  background: #f5f8fc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.case-shot img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
}

.case-shot figcaption {
  padding: 12px 14px;
  color: var(--text);
  font-weight: 850;
}

.side-panel {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
  padding: 26px;
  background: #101522;
  color: var(--text-inverted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(8, 11, 18, 0.18);
}

.side-panel p {
  color: var(--muted);
}

.side-panel a:not(.button) {
  color: #75d7ff;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.article-card {
  display: grid;
  gap: 12px;
  min-height: 260px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(8, 11, 18, 0.06);
}

.article-card img {
  width: calc(100% + 52px);
  max-width: none;
  height: 176px;
  margin: -26px -26px 8px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.article-card p {
  margin: 0;
  color: var(--blue);
  font-weight: 900;
}

.article-card h2,
.article-card h3 {
  margin: 0;
}

.article-card span {
  color: var(--text-soft);
}

.post-image {
  margin: -34px -34px 30px;
}

.post-image img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.quote-section {
  overflow: hidden;
}

.quote-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 78px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 78px);
}

.quote-layout,
.quote-page-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  align-items: start;
}

.quote-page-layout {
  grid-template-columns: 0.68fr 1.32fr;
}

.quote-form {
  background: rgba(255, 255, 255, 0.1);
}

.quote-form fieldset {
  margin: 18px 0 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.quote-form legend {
  padding: 0 8px;
  color: var(--white);
  font-weight: 900;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--text-inverted);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.checkbox-grid .option-wide {
  grid-column: 1 / -1;
  min-height: 58px;
  background:
    linear-gradient(135deg, rgba(11, 124, 255, 0.24), rgba(18, 194, 118, 0.16)),
    rgba(255, 255, 255, 0.08);
  border-color: rgba(117, 215, 255, 0.42);
  font-weight: 900;
}

.quote-intro {
  color: var(--text-inverted);
}

.quote-intro li {
  color: var(--muted);
}

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

.admin-page .site-header {
  position: absolute;
}

.admin-hero {
  min-height: 430px;
}

.admin-shell {
  display: grid;
  gap: 22px;
}

.admin-card,
.admin-toolbar,
.admin-success,
.admin-alert {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(8, 11, 18, 0.06);
}

.admin-card {
  display: grid;
  gap: 16px;
}

.admin-card-wide {
  grid-column: 1 / -1;
}

.admin-card h2 {
  margin-bottom: 0;
  font-size: 1.8rem;
}

.admin-card p {
  color: var(--text-soft);
}

.admin-card label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 800;
}

.admin-card .admin-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-card .admin-inline input {
  width: 18px;
  min-height: 18px;
}

.admin-card textarea,
.admin-card input {
  border-color: var(--line);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-toolbar span {
  display: block;
  color: var(--text-soft);
}

.admin-grid {
  display: grid;
  gap: 22px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(8, 11, 18, 0.05);
}

.admin-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  color: var(--text-soft);
  border-radius: 6px;
  font-weight: 850;
}

.admin-tabs a:hover,
.admin-tabs a.active {
  color: var(--white);
  background: var(--blue);
}

.admin-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.admin-stat {
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(8, 11, 18, 0.06);
}

.admin-stat strong {
  color: var(--blue);
  font-size: 2.6rem;
  line-height: 1;
}

.admin-stat span {
  color: var(--text-soft);
  font-weight: 850;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-split {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.admin-split > .admin-delete {
  grid-column: 2;
}

.admin-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-list-head h2 {
  margin: 0;
}

.admin-list {
  display: grid;
  gap: 8px;
}

.admin-list-row {
  display: grid;
  gap: 4px;
  padding: 12px;
  color: var(--text);
  background: #f5f7fb;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.admin-list-row:hover,
.admin-list-row.active {
  color: var(--white);
  background: #101522;
  border-color: rgba(11, 124, 255, 0.26);
}

.admin-list-row span {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.admin-list-row:hover span,
.admin-list-row.active span {
  color: var(--muted);
}

.admin-editor {
  display: grid;
  gap: 8px;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.editor-toolbar button {
  min-height: 32px;
  padding: 6px 9px;
  color: var(--text);
  background: #eef6ff;
  border: 1px solid rgba(11, 124, 255, 0.16);
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 850;
}

.admin-card small {
  color: var(--text-soft);
  font-weight: 500;
}

.admin-form-actions {
  display: flex;
  gap: 10px;
}

.admin-delete {
  justify-self: start;
}

.admin-delete button {
  min-height: 42px;
  padding: 9px 12px;
  color: #8b1b12;
  background: #fff0ec;
  border: 1px solid rgba(255, 107, 61, 0.28);
  border-radius: 6px;
  font-weight: 900;
}

.admin-success {
  color: #0e6f45;
  background: #e8fbf2;
  border-color: rgba(18, 194, 118, 0.22);
}

.admin-alert {
  color: #8b1b12;
  background: #fff0ec;
  border-color: rgba(255, 107, 61, 0.28);
}

.admin-toolbar .button-ghost {
  color: var(--text);
  border-color: var(--line);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.js [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

.js .rich-content[data-reveal] {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1080px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-content,
  .estimate-layout,
  .about-layout,
  .contact-layout,
  .quote-layout,
  .quote-page-layout,
  .content-grid,
  .case-layout,
  .quality-layout {
    grid-template-columns: 1fr;
  }

  .hero-console {
    min-height: 430px;
  }

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

  .service-card-wide {
    grid-column: span 2;
  }

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

  .project-grid-wide,
  .article-grid,
  .article-grid-wide,
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-showcase,
  .case-showcase-image {
    min-height: 420px;
    height: 420px;
  }

  .service-row {
    grid-template-columns: 54px 1fr;
  }

  .service-row .button {
    grid-column: 2;
    width: fit-content;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

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

  .brand {
    width: 184px;
  }

  .site-nav {
    position: fixed;
    top: 88px;
    left: 14px;
    right: 14px;
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    gap: 6px;
    padding: 12px;
    background: rgba(8, 11, 18, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
  }

  .menu-toggle {
    display: block;
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero-content {
    gap: 30px;
  }

  .hero-copy {
    padding-top: 0;
  }

  h1 {
    font-size: 2.65rem;
    line-height: 1.03;
  }

  h2 {
    font-size: 2.1rem;
  }

  .page-hero {
    min-height: auto;
    padding: 114px 0 70px;
  }

  .page-hero h1 {
    font-size: 2.65rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .process-layout {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

  .footer-layout {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

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

  .service-row .button {
    grid-column: auto;
    width: 100%;
  }

  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-dashboard,
  .admin-split {
    grid-template-columns: 1fr;
  }

  .admin-split > .admin-delete {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .service-grid,
  .project-grid,
  .form-grid,
  .toggle-grid,
  .checkbox-grid,
  .project-grid-wide,
  .article-grid,
  .article-grid-wide,
  .quality-grid,
  .case-gallery {
    grid-template-columns: 1fr;
  }

  .case-showcase,
  .case-showcase-image {
    min-height: 300px;
    height: 300px;
  }

  .case-showcase-logo {
    left: 16px;
    right: auto;
    bottom: 16px;
    width: auto;
    max-width: calc(100% - 32px);
    max-height: 108px;
    padding: 10px 12px;
  }

  .case-shot img {
    height: 220px;
  }

  .service-card-wide,
  .checkbox-grid .option-wide {
    grid-column: auto;
  }

  .hero-console {
    min-height: 470px;
    padding: 14px;
  }

  .code-row {
    grid-template-columns: 36px 1fr;
    min-height: 76px;
    padding: 14px;
  }

  .signal-board {
    left: 14px;
    right: 14px;
  }

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

  .button {
    width: 100%;
  }

  .hero-tech-stack {
    padding: 14px 0;
  }

  .tech-logo {
    min-width: 152px;
    min-height: 54px;
  }

  .estimate-result {
    align-items: start;
    flex-direction: column;
  }

  .estimate-result strong {
    font-size: 1.9rem;
  }

  .rich-content,
  .side-panel,
  .quote-form,
  .contact-form,
  .admin-card,
  .admin-toolbar {
    padding: 20px;
  }

  .admin-tabs a,
  .admin-actions .button {
    width: 100%;
  }

  .admin-stat {
    min-height: 104px;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2.22rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .page-hero h1 {
    font-size: 2.18rem;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    padding-left: 12px;
  }

  .brand {
    width: 156px;
  }

  .project-card {
    min-height: 398px;
  }
}
