:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-soft: #f0f4ff;
  --text: #16181d;
  --muted: #667085;
  --line: #e6eaf2;
  --accent: #2f6df6;
  --accent-dark: #1d4ed8;
  --dark: #111827;
  --footer-bg: #eef4fb;
  --footer-surface: #ffffff;
  --footer-line: #d7e3f4;
  --shadow: 0 18px 60px rgba(17, 24, 39, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1160px;
}

@font-face {
  font-family: "Martian Grotesk Wd";
  src: url("fonts/MartianGrotesk-WdBd.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

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

html {
  scroll-behavior: auto;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(47, 109, 246, 0.08), transparent 26%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%);
  color: var(--text);
  letter-spacing: -0.01em;
}

body.cursor-enabled,
body.cursor-enabled * {
  cursor: none !important;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.cursor-ring,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}

.cursor-ring {
  z-index: 120;
  width: 40px;
  height: 40px;
  margin-left: -20px;
  margin-top: -20px;
  border-radius: 999px;
  border: 1.5px solid rgba(47, 109, 246, 0.28);
  background: rgba(47, 109, 246, 0.04);
  backdrop-filter: blur(4px);
  transition: opacity 0.2s ease, transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.cursor-dot {
  z-index: 121;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  margin-top: -5px;
  border-radius: 999px;
  background: rgba(47, 109, 246, 1);
  box-shadow: 0 0 0 7px rgba(47, 109, 246, 0.08);
  transition: opacity 0.2s ease, background 0.18s ease;
}

.cursor-ring.is-hover {
  transform: scale(1.72);
  border-color: rgba(47, 109, 246, 0.48);
  background: rgba(47, 109, 246, 0.08);
}

.cursor-dot.is-hover {
  transform: scale(0.88);
}

.scrollbar-x {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 70;
  width: min(520px, calc(100vw - 32px));
  pointer-events: none;
}

.scrollbar-x__track {
  position: relative;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(47, 109, 246, 0.12);
  overflow: hidden;
  pointer-events: auto;
}

.scrollbar-x__thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent) 0%, #7aa2ff 100%);
  box-shadow: 0 4px 16px rgba(47, 109, 246, 0.28);
  cursor: pointer;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 32px;
  z-index: 65;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease, background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
  border: 1px solid transparent;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top.on-footer {
  background: var(--accent);
  color: #fff;
  border-color: rgba(47, 109, 246, 0.18);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 252, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 234, 242, 0.7);
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #7aa2ff 100%);
  color: white;
  box-shadow: 0 10px 24px rgba(47, 109, 246, 0.25);
}

.brand-text {
  font-size: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
}

.nav a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #7aa2ff);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.desktop-cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(247, 248, 252, 0.98);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-inner {
  display: grid;
  gap: 14px;
  padding: 16px 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-accent {
  background: var(--accent);
  color: white;
  box-shadow: 0 14px 30px rgba(47, 109, 246, 0.24);
}

.btn-accent:hover {
  background: var(--accent-dark);
}

.btn-dark {
  background: var(--dark);
  color: white;
}

.btn-light {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.btn-full {
  width: 100%;
}

.hero {
  position: relative;
  padding: 76px 0 40px;
  overflow: clip;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background:
    radial-gradient(circle at 20% 30%, rgba(47, 109, 246, 0.08), transparent 20%),
    radial-gradient(circle at 80% 20%, rgba(122, 162, 255, 0.12), transparent 18%),
    radial-gradient(circle at 70% 80%, rgba(47, 109, 246, 0.08), transparent 22%);
  pointer-events: none;
  animation: heroBreath 10s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-self: flex-start;
  width: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(47, 109, 246, 0.1);
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

h1,
h2,
h3,
.brand-text,
.service-meta,
.footer-copy,
.footer-brand {
  font-family: "Martian Grotesk Wd", "Inter", system-ui, sans-serif;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  max-width: 20ch;
  text-wrap: balance;
}

.hero-text,
.section-head p,
.problem-card p,
.timeline-item p,
.portfolio-body p,
.faq-answer p,
.contact-copy p,
.form-note,
.trust-inner p,
.team-role {
  color: var(--muted);
  line-height: 1.82;
}

.hero-text {
  font-size: 1.08rem;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 32px 0 56px;
}

.hero-points,
.contact-points,
.team-points,
.case-tags {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-points {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  gap: 22px;
  max-width: 340px;
}

.hero-points li,
.contact-points li,
.team-points li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  line-height: 1.7;
}

.hero-points li::before,
.contact-points li::before,
.team-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.44em;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(47, 109, 246, 0.12);
}

.hero-card {
  position: relative;
}

.hero-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(47, 109, 246, 0.12);
  animation: orbitSpin 12s linear infinite;
}

.hero-orbit-one {
  width: 360px;
  height: 360px;
  right: -44px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-orbit-two {
  width: 250px;
  height: 250px;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  animation-direction: reverse;
  animation-duration: 9s;
}

.mockup-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(230, 234, 242, 0.8);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-float {
  animation: heroFloat 4.8s ease-in-out infinite;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.68;
  pointer-events: none;
  animation: glowShift 5.6s ease-in-out infinite;
}

.hero-glow-one {
  width: 144px;
  height: 144px;
  right: -24px;
  top: 12%;
  background: rgba(47, 109, 246, 0.2);
}

.hero-glow-two {
  width: 112px;
  height: 112px;
  left: -20px;
  bottom: 12%;
  background: rgba(122, 162, 255, 0.2);
  animation-delay: -2s;
}

.hero-scan {
  position: absolute;
  inset: -40% auto auto -20%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.0) 32%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.0) 68%, transparent 100%);
  transform: rotate(14deg);
  animation: heroScan 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-14px) scale(1.01);
  }
}

@keyframes heroScan {
  0% {
    transform: translate3d(-120%, 0, 0) rotate(14deg);
    opacity: 0;
  }

  20% {
    opacity: 0.55;
  }

  50% {
    transform: translate3d(120%, 0, 0) rotate(14deg);
    opacity: 0.7;
  }

  100% {
    transform: translate3d(180%, 0, 0) rotate(14deg);
    opacity: 0;
  }
}

@keyframes glowShift {

  0%,
  100% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.16) translate3d(0, -10px, 0);
    opacity: 0.88;
  }
}

@keyframes orbitSpin {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

@keyframes heroBreath {

  0%,
  100% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.22;
  }

  50% {
    transform: scale(1.04) translate3d(0, -8px, 0);
    opacity: 0.34;
  }
}

.mockup-top {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.mockup-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d5deee;
}

.mockup-body {
  padding: 28px;
}

.mockup-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.mockup-title {
  font-family: "Martian Grotesk Wd", "Inter", system-ui, sans-serif;
  font-size: 1.52rem;
  line-height: 1.26;
  font-weight: 700;
  max-width: 17ch;
  margin-bottom: 18px;
}

.mockup-lines {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.mockup-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #e8edf8;
}

.w-90 {
  width: 90%;
}

.w-84 {
  width: 84%;
}

.w-78 {
  width: 78%;
}

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

.mockup-grid div {
  height: 96px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f1f5fd 0%, #dde7fb 100%);
  animation: tilePulse 4s ease-in-out infinite;
}

.mockup-grid div:nth-child(2) {
  animation-delay: -0.8s;
}

.mockup-grid div:nth-child(3) {
  animation-delay: -1.6s;
}

@keyframes tilePulse {

  0%,
  100% {
    transform: translateY(0);
    filter: brightness(1);
  }

  50% {
    transform: translateY(-6px);
    filter: brightness(1.05);
  }
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mockup-stats div {
  padding: 16px;
  border-radius: 18px;
  background: #f8faff;
  border: 1px solid var(--line);
}

.mockup-stats strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.mockup-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 94px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(240, 244, 255, 0.52) 0%, rgba(255, 255, 255, 0) 100%);
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head h2,
.contact-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-services {
  position: relative;
  overflow: clip;
}

.parallax-shape {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  filter: blur(8px);
}

.parallax-shape-a {
  width: 240px;
  height: 240px;
  left: -60px;
  top: 90px;
  background: radial-gradient(circle, rgba(47, 109, 246, 0.12) 0%, rgba(47, 109, 246, 0.03) 62%, transparent 72%);
}

.parallax-shape-b {
  width: 180px;
  height: 180px;
  right: 40px;
  bottom: 40px;
  background: radial-gradient(circle, rgba(122, 162, 255, 0.14) 0%, rgba(122, 162, 255, 0.03) 66%, transparent 76%);
}

.section-services>.container {
  position: relative;
  z-index: 1;
}

.problem-title {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.cards-grid,
.portfolio-grid {
  display: grid;
  gap: 20px;
}

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

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

.service-card,
.portfolio-card,
.problem-card,
.solution-card,
.timeline-item,
.contact-form,
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.04);
}

.service-card,
.timeline-item,
.problem-card,
.solution-card {
  padding: 26px;
}

.service-card {
  position: relative;
  padding-bottom: 108px;
  overflow: hidden;
}

.service-icon {
  width: 74px;
  height: 74px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(233, 242, 255, 0.96)),
    linear-gradient(135deg, #ffffff 0%, #edf3ff 100%);
  border: 1px solid rgba(47, 109, 246, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -8px 18px rgba(47, 109, 246, 0.06),
    0 12px 22px rgba(47, 109, 246, 0.08);
}

.service-icon svg {
  width: 48px;
  height: 48px;
  shape-rendering: geometricPrecision;
}

.service-card h3,
.timeline-item h3,
.portfolio-body h3,
.team-card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.service-meta {
  position: absolute;
  right: 24px;
  bottom: 20px;
  margin: 0;
  color: rgba(29, 78, 216, 0.95);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.038em;
  text-align: right;
}

.problem-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.problem-card,
.solution-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.problem-card .eyebrow,
.solution-card .eyebrow {
  margin-bottom: 16px;
}

.solution-card {
  position: relative;
  overflow: hidden;
  padding-bottom: 22px;
}

.solution-card::before {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47, 109, 246, 0.14) 0%, rgba(47, 109, 246, 0.03) 62%, transparent 74%);
  pointer-events: none;
}

.solution-card::after {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 84px;
  height: 84px;
  border-radius: 20px;
  border: 1px solid rgba(47, 109, 246, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(240, 244, 255, 0.2));
  pointer-events: none;
}

.solution-title {
  margin: 0 0 24px;
  font-size: 1.26rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.approach-list {
  display: grid;
  gap: 18px;
  margin-top: 0;
}

.approach-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
}

.approach-item span {
  color: rgba(29, 78, 216, 0.28);
  font-family: "Martian Grotesk Wd", "Inter", system-ui, sans-serif;
  font-size: 1.38rem;
  line-height: 1;
}

.approach-item p {
  margin: 0;
  color: var(--text);
  line-height: 1.68;
  font-weight: 600;
}

.process-flow {
  position: relative;
}

.process-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 24px;
  height: 2px;
  background: rgba(47, 109, 246, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.process-line-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #7aa2ff);
  border-radius: inherit;
  transition: width 0.18s linear;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline-five {
  grid-template-columns: repeat(5, 1fr);
}

.timeline-item {
  min-height: 232px;
  padding-top: 42px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.process-step.active {
  transform: translateY(-6px);
  border-color: rgba(47, 109, 246, 0.24);
  box-shadow: 0 16px 36px rgba(47, 109, 246, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.timeline-number {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.case-card {
  overflow: hidden;
}

.case-slider {
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(47, 109, 246, 0.08), rgba(47, 109, 246, 0.02));
}

.case-slides {
  position: relative;
  min-height: 230px;
}

.case-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(240, 244, 255, 0.92)),
    linear-gradient(135deg, #f5f8ff 0%, #ffffff 100%);
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  border-radius: 24px;
  font-weight: 700;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.case-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.case-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.case-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(47, 109, 246, 0.22);
  cursor: pointer;
}

.case-dot.active {
  background: var(--accent);
}

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

.case-tags span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(47, 109, 246, 0.08);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 600;
}

.portfolio-body {
  padding: 24px;
}

.team-slider {
  position: relative;
}

.team-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 18px;
}

.team-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.team-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.team-track::-webkit-scrollbar {
  display: none;
}

.team-card {
  scroll-snap-align: start;
  padding: 24px;
}

.team-avatar {
  overflow: hidden;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(47, 109, 246, 0.18), rgba(47, 109, 246, 0.05)),
    linear-gradient(135deg, #ffffff 0%, #edf3ff 100%);
  border: 1px solid rgba(47, 109, 246, 0.14);
  box-shadow: 0 10px 18px rgba(47, 109, 246, 0.08);
  margin-bottom: 16px;
}

.team-role {
  margin-bottom: 16px;
  font-size: 0.96rem;
}

.team-points {
  display: grid;
  gap: 12px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 22px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-dark);
  transform: translate(-50%, -50%);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.45);
}

.faq-answer {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 0.34s ease, opacity 0.26s ease;
}

.faq-item.is-open .faq-answer {
  opacity: 1;
}

.faq-answer-inner {
  padding-bottom: 22px;
}

.faq-answer p {
  margin: 0;
}

.contact-form {
  padding: 26px;
  animation: formGlow 4.8s ease-in-out infinite;
}

@keyframes formGlow {

  0%,
  100% {
    box-shadow:
      0 10px 30px rgba(17, 24, 39, 0.04),
      0 0 0 0 rgba(47, 109, 246, 0.00),
      0 0 0 0 rgba(47, 109, 246, 0.00);
  }

  50% {
    box-shadow:
      0 18px 40px rgba(17, 24, 39, 0.06),
      0 0 40px 8px rgba(47, 109, 246, 0.10),
      0 0 80px 16px rgba(47, 109, 246, 0.05);
  }
}

.contact-form label {
  display: block;
  margin-bottom: 18px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  resize: vertical;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fbfcff;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(47, 109, 246, 0.45);
  box-shadow: 0 0 0 4px rgba(47, 109, 246, 0.08);
}


.contact-points {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.contact-points li {
  line-height: 1.78;
}

.problem-card,
.solution-card {
  align-self: stretch;
}

.form-note,
.form-status {
  font-size: 0.92rem;
}

.form-status {
  margin: 14px 0 0;
  min-height: 22px;
}

.form-status.success {
  color: #0f9f65;
}

.form-status.error {
  color: #d14343;
}


.site-footer {
  position: relative;
  overflow: hidden;
  padding: 38px 0 72px;
  background: linear-gradient(180deg, #101828 0%, #0f1726 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(40px);
  opacity: 0.8;
}

.footer-glow-left {
  width: 280px;
  height: 280px;
  left: -80px;
  top: -50px;
  background: radial-gradient(circle, rgba(47, 109, 246, 0.22) 0%, rgba(47, 109, 246, 0.06) 54%, transparent 72%);
}

.footer-glow-right {
  width: 240px;
  height: 240px;
  right: -70px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(122, 162, 255, 0.18) 0%, rgba(122, 162, 255, 0.05) 56%, transparent 74%);
}

.footer-frame {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 30px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 0.8fr 0.8fr;
  gap: 80px;
  align-items: start;
}

.footer-brand-col {
  display: grid;
  gap: 18px;
}

.footer-brand {
  font-size: 1.28rem;
  color: #ffffff;
}

.footer-description {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.76;
}

.footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-pills span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.footer-links-col {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-title {
  margin-bottom: 4px;
  font-family: "Martian Grotesk Wd", "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.footer-links-col a,
.footer-links-col span {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.footer-divider-line {
  height: 1px;
  margin: 24px 0 18px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.footer-signature {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.74);
}

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

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .footer-frame {
    padding: 22px;
    border-radius: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 1180px) {
  .cards-grid-services {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 1080px) {

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

  .team-track {
    grid-auto-columns: calc((100% - 20px) / 2);
  }

  .process-line {
    display: none;
  }
}

@media (max-width: 860px) {

  .desktop-nav,
  .desktop-cta {
    display: none;
  }

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

  .site-header {
    background: rgba(247, 248, 252, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-grid,
  .problem-grid,
  .contact-grid,
  .portfolio-grid,
  .cards-grid-services,
  .timeline-five {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .case-slides {
    min-height: 230px;
  }

  .team-track {
    grid-auto-columns: 100%;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .scrollbar-x {
    width: calc(100vw - 24px);
    bottom: 10px;
  }

  .back-to-top {
    right: 14px;
    bottom: 22px;
  }

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

  .brand-text {
    font-size: 0.95rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 100%;
  }

  .mockup-body,
  .service-card,
  .timeline-item,
  .problem-card,
  .solution-card,
  .contact-form,
  .portfolio-body,
  .team-card,
  .footer-shell {
    padding: 20px;
  }

  .service-card {
    padding-bottom: 60px;
  }

  .service-meta {
    right: 20px;
    bottom: 18px;
  }

  .case-slides {
    max-width: 355px;
    min-height: 230px;
  }

  .hero-orbit {
    display: none;
  }

  .footer-badges {
    gap: 10px 10px;
  }
}

@media (hover: none),
(pointer: coarse) {

  body.cursor-enabled,
  body.cursor-enabled * {
    cursor: auto !important;
  }

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}