/*
 * TOGAMETRICS / GEOSPATIAL GROWTH EXPERIENCE
 * Art direction layer. Loaded after the production stylesheet on purpose.
 */

:root {
  --font-primary: 'Manrope', 'Inter', sans-serif;
  --font-heading: 'Unbounded', 'Montserrat', sans-serif;
  --color-bg-dark: #050609;
  --color-bg-card: rgba(13, 16, 22, 0.72);
  --color-bg-card-hover: rgba(20, 24, 32, 0.9);
  --color-primary: #c8ff3d;
  --color-primary-hover: #ddff82;
  --color-primary-glow: rgba(200, 255, 61, 0.22);
  --color-accent-blue: #5b7cff;
  --color-accent-red: #ff5a79;
  --color-cyan: #5ff5ff;
  --color-violet: #7b5cff;
  --color-text-main: #aeb4c0;
  --color-text-muted: #686f7c;
  --color-text-light: #f7f8f2;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-hover: rgba(200, 255, 61, 0.48);
  --shadow-lg: 0 32px 90px rgba(0, 0, 0, 0.48);
  --radius-xl: 34px;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

body[data-theme="light"] {
  --color-bg-dark: #edf0e9;
  --color-bg-card: rgba(255, 255, 255, 0.66);
  --color-bg-card-hover: rgba(255, 255, 255, 0.92);
  --color-text-light: #0d1015;
  --color-text-main: #454c58;
  --color-text-muted: #737b87;
  --color-border: rgba(13, 16, 21, 0.12);
  --color-border-hover: rgba(76, 105, 0, 0.42);
  --shadow-lg: 0 32px 90px rgba(55, 64, 37, 0.15);
}

html {
  background: var(--color-bg-dark);
  scroll-behavior: auto;
}

body {
  min-height: 100%;
  background:
    radial-gradient(circle at 78% 5%, rgba(123, 92, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 12% 26%, rgba(95, 245, 255, 0.07), transparent 30rem),
    var(--color-bg-dark);
  letter-spacing: -0.015em;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    repeating-radial-gradient(circle at 17% 23%, rgba(255, 255, 255, 0.075) 0 0.45px, transparent 0.7px 4px),
    repeating-radial-gradient(circle at 73% 61%, rgba(255, 255, 255, 0.045) 0 0.4px, transparent 0.65px 5px);
  background-size: 127px 113px, 149px 139px;
}

.scroll-wrapper {
  z-index: 1;
  background: transparent;
  overflow: clip;
}

.container {
  max-width: 1380px;
  padding-inline: clamp(20px, 4vw, 64px);
}

/* ---------- opening sequence ---------- */

.experience-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-content: center;
  gap: 22px;
  padding: 30px;
  color: #f8faf3;
  background:
    radial-gradient(circle at 50% 48%, rgba(200, 255, 61, 0.11), transparent 22rem),
    #050609;
  transition: opacity 0.8s var(--ease-expo), visibility 0.8s;
  animation: loaderFailsafe 0.8s 1.7s var(--ease-expo) forwards;
  pointer-events: none;
}

.experience-loader::before,
.experience-loader::after {
  content: '';
  position: absolute;
  left: 7vw;
  right: 7vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 255, 61, 0.5), transparent);
}

.experience-loader::before { top: 8vh; }
.experience-loader::after { bottom: 8vh; }

.experience-loader__brand {
  font: 700 clamp(26px, 5vw, 72px)/1 var(--font-heading);
  letter-spacing: -0.065em;
}

.experience-loader__brand span { color: var(--color-primary); }

.experience-loader__track {
  width: min(520px, 72vw);
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.experience-loader__track i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--color-primary);
  animation: experienceLoad 1.25s var(--ease-expo) forwards;
}

.experience-loader__meta {
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  letter-spacing: 0.24em;
}

body.experience-ready .experience-loader {
  opacity: 0;
  visibility: hidden;
}

@keyframes experienceLoad { to { transform: scaleX(1); } }
@keyframes loaderFailsafe {
  99% { opacity: 0; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

/* ---------- ambient field / cursor / progress ---------- */

.geo-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.52;
  pointer-events: none;
}

.scroll-progress {
  position: fixed;
  z-index: 1000;
  top: 50%;
  right: 18px;
  width: 2px;
  height: 112px;
  overflow: hidden;
  border-radius: 2px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
  background: linear-gradient(var(--color-cyan), var(--color-primary));
  box-shadow: 0 0 14px var(--color-primary);
}

@media (hover: hover) and (pointer: fine) {
  body { cursor: default; }
  a, button, [role="button"] { cursor: pointer; }
  input, textarea { cursor: text; }
}

/* ---------- navigation as a floating control deck ---------- */

.header {
  top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.header__container {
  min-height: 70px;
  padding: 8px 10px 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: rgba(7, 9, 13, 0.66);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  pointer-events: auto;
  transition: width 0.55s var(--ease-expo), min-height 0.55s var(--ease-expo), background 0.35s;
}

body[data-theme="light"] .header__container {
  background: rgba(245, 247, 241, 0.72);
  border-color: rgba(10, 15, 20, 0.1);
}

.header--scrolled .header__container {
  min-height: 60px;
  background: rgba(6, 8, 11, 0.84);
}

.header__logo {
  gap: 10px;
  padding-right: 18px;
}

.header__logo::after {
  content: 'GROWTH SYSTEM';
  display: block;
  padding-left: 14px;
  border-left: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: 0.17em;
  max-width: 62px;
}

.header__logo-img {
  width: 31px;
  height: 31px;
  filter: none;
  transition: transform 0.45s var(--ease-expo);
}

.header__logo:hover .header__logo-img {
  transform: rotate(-5deg) scale(1.08);
  filter: none;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: -0.04em;
  color: #c8ff3d;
  background: none;
  -webkit-text-fill-color: #c8ff3d;
}

.footer__logo-img { filter: none !important; }

.header__desc { display: none; }

.header__menu {
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.header__link {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  color: #979da8;
  font-size: 12px;
  letter-spacing: -0.01em;
}

.header__link::after { display: none; }

.header__link:hover,
.header__link.is-active {
  color: var(--color-text-light);
  background: rgba(255, 255, 255, 0.08);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.035);
}

.btn,
.service-direct-link__arrow,
.cases-swiper-btn {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  transition: transform 0.45s var(--ease-expo), border-color 0.3s, background 0.3s, color 0.3s, box-shadow 0.45s var(--ease-expo);
}

.btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  transform: translateX(-110%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transition: transform 0.75s var(--ease-expo);
}

.btn:hover::before { transform: translateX(110%) skewX(-18deg); }
.btn > * { position: relative; z-index: 1; }

.btn--primary,
.btn--header {
  color: #0a0c0d;
  background: var(--color-primary);
  box-shadow: 0 12px 34px rgba(200, 255, 61, 0.13);
}

.btn--primary:hover,
.btn--header:hover {
  color: #050609;
  background: var(--color-primary-hover);
  box-shadow: 0 18px 48px rgba(200, 255, 61, 0.25);
}

/* ---------- first viewport ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 144px;
  padding-bottom: 96px;
  border: 0;
  background:
    radial-gradient(circle at 73% 48%, rgba(123, 92, 255, 0.19), transparent 27rem),
    radial-gradient(circle at 66% 55%, rgba(200, 255, 61, 0.08), transparent 24rem);
  isolation: isolate;
}

.hero::before {
  content: 'LOCAL / SEARCH / IMPACT /';
  position: absolute;
  z-index: -1;
  left: -2vw;
  bottom: -0.08em;
  color: rgba(255, 255, 255, 0.018);
  font: 800 clamp(70px, 12vw, 190px)/0.78 var(--font-heading);
  letter-spacing: -0.08em;
  white-space: nowrap;
}

.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, 0.045) 50%, transparent 50.1%),
    linear-gradient(0deg, transparent 49.9%, rgba(255, 255, 255, 0.03) 50%, transparent 50.1%);
  background-size: 180px 180px;
  mask-image: radial-gradient(circle at 72% 48%, black, transparent 54%);
}

.hero__perspective-grid {
  z-index: -2;
  opacity: 0.52;
  perspective: 560px;
  perspective-origin: 68% 34%;
}

.hero__perspective-grid::after {
  background: linear-gradient(to bottom, var(--color-bg-dark) 5%, transparent 45%, var(--color-bg-dark) 93%);
}

.hero__grid-plane {
  background-image:
    linear-gradient(to right, rgba(95, 245, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(200, 255, 61, 0.075) 1px, transparent 1px);
  background-size: 96px 96px;
  transform: rotateX(68deg) rotateZ(-7deg);
  animation-duration: 18s;
}

.hero__container {
  width: 100%;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  gap: clamp(36px, 5vw, 90px);
}

.hero__content { position: relative; z-index: 3; }

.hero__badge-row {
  gap: 10px;
  margin-bottom: 22px;
}

.hero__chip {
  min-height: 32px;
  padding: 7px 13px;
  border: 1px solid rgba(200, 255, 61, 0.22);
  color: var(--color-primary);
  background: rgba(200, 255, 61, 0.06);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.hero__chip::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.hero__chip--secondary {
  color: var(--color-cyan);
  border-color: rgba(95, 245, 255, 0.2);
  background: rgba(95, 245, 255, 0.045);
}

.hero__slider {
  margin-bottom: 34px;
  padding: 0 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* Swiper is loaded from a CDN. Keep the first message visible even when the
   library is unavailable (for example when index.html is opened as a file). */
.hero__slide { opacity: 1 !important; }
.hero__slider:not(.swiper-initialized) .hero__slide:not(:first-child) { display: none; }
.hero__slider.swiper-initialized .hero__slide { opacity: 0 !important; }
.hero__slider.swiper-initialized .hero__slide.swiper-slide-active { opacity: 1 !important; }

/* Critical hero content never depends on a third-party animation finishing. */
body.experience-ready .hero__slider,
body.experience-ready .hero__form,
body.experience-ready .hero__visual {
  opacity: 1 !important;
  visibility: visible !important;
}

.hero__title {
  max-width: 830px;
  min-height: 0;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.hero__title::first-letter { color: var(--color-primary); }

.motion-title-ready {
  perspective: 900px;
}

.motion-word {
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

.motion-word:first-child::first-letter {
  color: var(--color-primary);
  text-shadow: 0 0 34px rgba(200, 255, 61, 0.2);
}

.hero__slide.is-word-animating .motion-word {
  animation: heroWordRise 1.05s var(--ease-expo) both;
  animation-delay: calc(var(--word-index) * 72ms);
}

body.native-motion .hero__form {
  animation: formDockIn 1.15s 0.16s var(--ease-expo) both;
}

body.native-motion .hero__badge-row {
  animation: badgeSignalIn 0.9s var(--ease-expo) both;
}

@keyframes heroWordRise {
  0% {
    opacity: 0.16;
    transform: translate3d(0, 105%, -100px) rotateX(-72deg) rotateZ(2deg) scale(0.92);
  }
  48% { opacity: 0.78; }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) rotateZ(0) scale(1);
  }
}

@keyframes formDockIn {
  0% { transform: translate3d(0, 48px, -80px) rotateX(10deg); }
  100% { transform: translate3d(0, 0, 0) rotateX(0); }
}

@keyframes badgeSignalIn {
  0% { transform: translateX(-30px); }
  100% { transform: translateX(0); }
}

.hero__subtitle {
  max-width: 720px;
  min-height: 0;
  color: #9ea5b1;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.72;
}

.hero__slider-pagination {
  gap: 5px;
  margin-top: 25px;
}

.hero__slider-pagination .swiper-pagination-bullet {
  width: 34px;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
}

.hero__slider-pagination .swiper-pagination-bullet-active {
  width: 74px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
  box-shadow: 0 0 12px rgba(200, 255, 61, 0.34);
}

.hero__form {
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(10, 13, 18, 0.56);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
}

.hero__form-grid {
  grid-template-columns: 1fr 0.78fr auto;
  gap: 6px;
}

.hero__form .form__input {
  height: 54px;
  padding: 0 18px;
  border-color: transparent;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
}

.hero__form .form__input:focus {
  border-color: rgba(200, 255, 61, 0.32);
  background: rgba(255, 255, 255, 0.065);
}

.hero__form-btn { min-height: 54px; }

.hero__form-privacy {
  margin: 9px 10px 3px;
  font-size: 9px;
  opacity: 0.48;
}

/* ---------- the 3D growth globe ---------- */

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  perspective: 1100px;
}

.geo-stage {
  position: relative;
  width: min(42vw, 590px);
  aspect-ratio: 1 / 1.08;
  transform-style: preserve-3d;
  will-change: transform;
}

.geo-stage::after {
  content: '';
  position: absolute;
  z-index: 12;
  left: 8%;
  right: 8%;
  top: 8%;
  height: 22%;
  border-top: 1px solid rgba(95, 245, 255, 0.72);
  border-radius: 50%;
  opacity: 0;
  background: linear-gradient(to bottom, rgba(95, 245, 255, 0.16), transparent 76%);
  box-shadow: 0 -10px 36px rgba(95, 245, 255, 0.11);
  transform: translateY(-40%) rotateX(64deg) translateZ(140px);
  animation: stageScanner 3.6s 0.8s ease-in-out infinite;
  pointer-events: none;
}

.geo-stage::before {
  content: '';
  position: absolute;
  inset: 10% 5%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 46% 54% 58% 42% / 52% 39% 61% 48%;
  transform: translateZ(-60px) rotate(12deg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 60%);
}

.geo-stage__halo {
  position: absolute;
  left: 50%;
  top: 51%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%) translateZ(-80px);
  background:
    radial-gradient(circle, rgba(200, 255, 61, 0.13), rgba(123, 92, 255, 0.09) 42%, transparent 68%);
  filter: blur(18px);
  animation: haloPulse 5s ease-in-out infinite;
}

.geo-stage__axis {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 94%;
  height: 1px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, rgba(95, 245, 255, 0.28), transparent);
}

.geo-stage__axis--y { transform: translate(-50%, -50%) rotate(90deg); }

.geo-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 67%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) translateZ(54px);
  transform-style: preserve-3d;
}

body.native-motion .geo-orb {
  animation: orbMaterialize 1.5s 0.05s var(--ease-expo) both;
}

.geo-orb__shell {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(200, 255, 61, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 27%, rgba(255, 255, 255, 0.2), transparent 6%),
    radial-gradient(circle at 38% 35%, rgba(95, 245, 255, 0.16), transparent 23%),
    linear-gradient(145deg, rgba(23, 28, 35, 0.96), rgba(7, 9, 13, 0.74));
  box-shadow:
    inset -35px -32px 65px rgba(0, 0, 0, 0.64),
    inset 18px 18px 34px rgba(255, 255, 255, 0.04),
    0 0 0 14px rgba(255, 255, 255, 0.018),
    0 0 100px rgba(123, 92, 255, 0.16);
  transform-style: preserve-3d;
  animation: orbFloat 7s ease-in-out infinite;
}

.geo-orb__shell::before {
  content: '';
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(200, 255, 61, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 245, 255, 0.13) 1px, transparent 1px);
  background-size: 32px 32px;
  transform: rotate(-18deg) scale(1.1);
  mask-image: radial-gradient(circle, black 35%, transparent 72%);
  animation: orbGrid 16s linear infinite;
}

.geo-orb__shell::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.1) 43%, transparent 55%);
  animation: globeShine 6s ease-in-out infinite;
}

.geo-orb__meridian,
.geo-orb__equator {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 94%;
  height: 44%;
  border: 1px solid rgba(95, 245, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.geo-orb__meridian--one { transform: translate(-50%, -50%) rotate(62deg); }
.geo-orb__meridian--two { transform: translate(-50%, -50%) rotate(-62deg); }
.geo-orb__equator { height: 21%; border-color: rgba(200, 255, 61, 0.24); }

.geo-orb__route {
  position: absolute;
  width: 48%;
  height: 34%;
  border-top: 2px solid var(--color-primary);
  border-radius: 50%;
  filter: drop-shadow(0 0 7px rgba(200, 255, 61, 0.65));
}

.geo-orb__route--one { left: 23%; top: 27%; transform: rotate(25deg); }
.geo-orb__route--two { right: 5%; bottom: 23%; transform: rotate(148deg); border-color: var(--color-cyan); }

.geo-orb__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28%;
  aspect-ratio: 1;
  border: 1px solid rgba(200, 255, 61, 0.48);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(200, 255, 61, 0.065);
  box-shadow: 0 0 46px rgba(200, 255, 61, 0.17), inset 0 0 20px rgba(200, 255, 61, 0.12);
}

.geo-orb__core::before,
.geo-orb__core::after,
.geo-orb__core i {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(200, 255, 61, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: corePing 2.8s ease-out infinite;
}

.geo-orb__core::before { width: 38%; height: 38%; }
.geo-orb__core::after { width: 68%; height: 68%; animation-delay: 0.7s; }
.geo-orb__core i { width: 110%; height: 110%; animation-delay: 1.4s; }

.geo-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 125%;
  height: 48%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.geo-orbit i {
  position: absolute;
  left: 8%;
  top: 20%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 16px 3px rgba(200, 255, 61, 0.65);
}

.geo-orbit--one { transform: translate(-50%, -50%) rotate(-22deg); animation: orbitOne 13s linear infinite; }
.geo-orbit--two { transform: translate(-50%, -50%) rotate(61deg) scale(0.84); animation: orbitTwo 18s linear infinite reverse; }
.geo-orbit--two i { background: var(--color-cyan); box-shadow: 0 0 16px 3px rgba(95, 245, 255, 0.55); }
.geo-orbit--three { transform: translate(-50%, -50%) rotate(128deg) scale(0.72); animation: orbitThree 10s linear infinite; }
.geo-orbit--three i { background: var(--color-violet); box-shadow: 0 0 16px 3px rgba(123, 92, 255, 0.55); }

.geo-pin {
  position: absolute;
  z-index: 6;
  display: grid;
  min-width: 66px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  background: rgba(8, 11, 15, 0.78);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.geo-pin > i {
  position: absolute;
  left: -4px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 12px var(--color-primary);
}

.geo-pin b { font: 700 12px/1 var(--font-heading); }
.geo-pin small { margin-top: 4px; color: #757d89; font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.geo-pin--one { left: 4%; top: 25%; transform: translateZ(78px); }
.geo-pin--two { right: -5%; top: 42%; transform: translateZ(96px); }
.geo-pin--three { left: 16%; bottom: 11%; transform: translateZ(88px); }

.geo-data-card {
  position: absolute;
  z-index: 8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, rgba(20, 24, 31, 0.84), rgba(8, 10, 14, 0.69));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
}

.geo-data-card--visibility {
  right: 0;
  top: 7%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 18px;
  width: 156px;
  padding: 16px;
  transform: translateZ(120px) rotateY(-8deg) rotateZ(3deg);
  animation: dataFloatOne 5.4s ease-in-out infinite;
}

.geo-data-card__label { grid-column: 1 / -1; color: #737b87; font-size: 8px; letter-spacing: 0.18em; }
.geo-data-card strong { font: 700 31px/1 var(--font-heading); letter-spacing: -0.06em; }
.geo-data-card sup { color: var(--color-primary); font-size: 13px; }
.geo-data-card__trend { align-self: end; color: var(--color-primary); font-size: 10px; }

.geo-data-card--pulse {
  left: -4%;
  bottom: 4%;
  width: 176px;
  padding: 14px;
  transform: translateZ(100px) rotateY(8deg) rotateZ(-3deg);
  animation: dataFloatTwo 6.2s ease-in-out infinite;
}

.geo-data-card__live { display: flex; align-items: center; gap: 6px; color: #858d98; font-size: 8px; letter-spacing: 0.16em; }
.geo-data-card__live i { width: 5px; height: 5px; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 10px var(--color-primary); animation: livePulse 1.4s infinite; }
.geo-data-card__bars { display: flex; align-items: end; gap: 4px; height: 42px; padding: 8px 0 7px; }
.geo-data-card__bars i { flex: 1; height: var(--bar, 40%); border-radius: 2px 2px 0 0; background: linear-gradient(var(--color-cyan), rgba(95, 245, 255, 0.12)); animation: barPulse 2s ease-in-out infinite alternate; }
.geo-data-card__bars i:nth-child(1) { --bar: 32%; }
.geo-data-card__bars i:nth-child(2) { --bar: 68%; animation-delay: -.4s; }
.geo-data-card__bars i:nth-child(3) { --bar: 44%; animation-delay: -.7s; }
.geo-data-card__bars i:nth-child(4) { --bar: 86%; animation-delay: -.9s; }
.geo-data-card__bars i:nth-child(5) { --bar: 58%; animation-delay: -1.1s; }
.geo-data-card__bars i:nth-child(6) { --bar: 100%; animation-delay: -1.4s; background: linear-gradient(var(--color-primary), rgba(200, 255, 61, 0.14)); }
.geo-data-card--pulse > span:last-child { color: #858d98; font-size: 8px; letter-spacing: 0.05em; }

.geo-stage__caption {
  position: absolute;
  left: 50%;
  bottom: -1%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 68%;
  color: #626a76;
  font: 600 8px/1 var(--font-primary);
  letter-spacing: 0.14em;
  transform: translateX(-50%) translateZ(30px);
}

.geo-stage__caption b { color: var(--color-primary); font-weight: 700; }

@keyframes haloPulse { 50% { transform: translate(-50%, -50%) translateZ(-80px) scale(1.13); opacity: 0.65; } }
@keyframes orbMaterialize {
  0% {
    opacity: 0.24;
    transform: translate(-50%, -50%) translateZ(-180px) rotateY(-62deg) rotateZ(-12deg) scale(0.46);
  }
  65% { opacity: 1; }
  100% { opacity: 1; transform: translate(-50%, -50%) translateZ(54px) rotateY(0) rotateZ(0) scale(1); }
}
@keyframes stageScanner {
  0% { opacity: 0; transform: translateY(-60%) rotateX(64deg) translateZ(140px); }
  18% { opacity: 0.72; }
  72% { opacity: 0.36; }
  100% { opacity: 0; transform: translateY(330%) rotateX(64deg) translateZ(140px); }
}
@keyframes orbFloat { 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes orbGrid { to { transform: rotate(342deg) scale(1.1); } }
@keyframes globeShine { 0%, 100% { transform: translateX(-60%); } 50% { transform: translateX(70%); } }
@keyframes corePing { 0% { opacity: 0.8; transform: translate(-50%, -50%) scale(0.3); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.25); } }
@keyframes orbitOne { to { transform: translate(-50%, -50%) rotate(338deg); } }
@keyframes orbitTwo { to { transform: translate(-50%, -50%) rotate(421deg) scale(0.84); } }
@keyframes orbitThree { to { transform: translate(-50%, -50%) rotate(488deg) scale(0.72); } }
@keyframes dataFloatOne { 50% { transform: translateZ(132px) rotateY(-4deg) rotateZ(1deg) translateY(-12px); } }
@keyframes dataFloatTwo { 50% { transform: translateZ(115px) rotateY(5deg) rotateZ(-1deg) translateY(10px); } }
@keyframes livePulse { 50% { opacity: 0.3; } }
@keyframes barPulse { to { height: calc(var(--bar) * 0.66); opacity: 0.62; } }

/* ---------- 3D chapters ---------- */

main > section:not(.hero) {
  padding-block: clamp(92px, 10vw, 160px);
  border: 0;
  transform-style: preserve-3d;
  perspective: 1200px;
  isolation: isolate;
}

main > section:not(.hero)::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 24px clamp(8px, 2vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: clamp(24px, 4vw, 54px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.005));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025), 0 50px 120px rgba(0, 0, 0, 0.16);
  pointer-events: none;
}

main > section:not(.hero)::after {
  content: attr(data-chapter);
  position: absolute;
  z-index: -1;
  right: 5vw;
  top: 60px;
  color: rgba(255, 255, 255, 0.025);
  font: 700 clamp(62px, 9vw, 145px)/1 var(--font-heading);
  letter-spacing: -0.08em;
  transform: translate3d(0, var(--chapter-shift, 0px), 0) rotate(-2deg);
  transition: transform 0.12s linear;
  pointer-events: none;
}

/* Native 3D chapter transitions. They are installed only after the local
   observer is ready, so content remains visible if scripts are unavailable. */
body.native-scroll-motion .motion-reveal {
  opacity: 0.16;
  transform: translate3d(0, 110px, -120px) rotateX(13deg) scale(0.94);
  transform-origin: 50% 0%;
  backface-visibility: hidden;
  transition:
    opacity 0.95s var(--ease-expo) var(--reveal-delay, 0ms),
    transform 1.15s var(--ease-expo) var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}

body.native-scroll-motion .service-direct-link.motion-reveal,
body.native-scroll-motion .service-accordion.motion-reveal {
  transform: translate3d(-82px, 74px, -90px) rotateY(9deg) scale(0.96);
  transform-origin: 0 50%;
}

body.native-scroll-motion .motion-reveal.is-visible,
body.native-scroll-motion .service-direct-link.motion-reveal.is-visible,
body.native-scroll-motion .service-accordion.motion-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0) rotateY(0) scale(1);
}

body.native-scroll-motion .motion-reveal.motion-settled {
  will-change: auto;
}

body.native-scroll-motion .pain-card.motion-reveal:nth-child(even),
body.native-scroll-motion .webdev-card.motion-reveal:nth-child(even) {
  transform: translate3d(64px, 110px, -120px) rotateX(12deg) rotateY(-7deg) scale(0.94);
}

body.native-scroll-motion .pain-card.motion-reveal:nth-child(even).is-visible,
body.native-scroll-motion .webdev-card.motion-reveal:nth-child(even).is-visible {
  transform: translate3d(0, 0, 0) rotateX(0) rotateY(0) scale(1);
}

.section-title,
.process-cta__title,
.consult-cta__title {
  max-width: 990px;
  margin-bottom: clamp(38px, 5vw, 72px);
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.section-title::before {
  content: attr(data-kicker);
  display: block;
  margin-bottom: 18px;
  color: var(--color-primary);
  font: 700 10px/1 var(--font-primary);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-title::after {
  content: '';
  display: inline-block;
  width: 0.22em;
  height: 0.22em;
  margin-left: 0.12em;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 22px rgba(200, 255, 61, 0.65);
  vertical-align: 0.14em;
}

.pains::before { background: radial-gradient(circle at 86% 30%, rgba(255, 90, 121, 0.08), transparent 30rem), rgba(255, 255, 255, 0.008) !important; }
.services-sec::before { background: radial-gradient(circle at 10% 30%, rgba(123, 92, 255, 0.13), transparent 32rem), rgba(255, 255, 255, 0.008) !important; }
.webdev-sec::before { background: radial-gradient(circle at 76% 66%, rgba(95, 245, 255, 0.08), transparent 32rem), rgba(255, 255, 255, 0.008) !important; }
.cases-sec::before { background: radial-gradient(circle at 12% 70%, rgba(200, 255, 61, 0.08), transparent 36rem), rgba(255, 255, 255, 0.008) !important; }

/* ---------- pain matrix ---------- */

.pains__grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.pain-card {
  --mx: 50%;
  --my: 50%;
  grid-column: span 5;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 30px;
  background: rgba(11, 14, 19, 0.58);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease-expo), border-color 0.35s, background 0.35s, box-shadow 0.55s;
}

.pain-card:nth-child(2),
.pain-card:nth-child(3) { grid-column: span 7; }

.pain-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(200, 255, 61, 0.12), transparent 48%);
  transition: opacity 0.35s;
}

.pain-card::after {
  content: '';
  position: absolute;
  right: -8%;
  bottom: -30%;
  width: 52%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.015), 0 0 0 54px rgba(255, 255, 255, 0.01);
}

.pain-card:hover {
  border-color: rgba(200, 255, 61, 0.31);
  background: rgba(15, 19, 25, 0.8);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.32);
}

.pain-card:hover::before { opacity: 1; }

.pain-card__num {
  position: relative;
  z-index: 1;
  margin-bottom: auto;
  color: var(--color-primary);
  font: 600 12px/1 var(--font-heading);
  letter-spacing: 0.08em;
}

.pain-card__num::after {
  content: '';
  display: inline-block;
  width: 38px;
  height: 1px;
  margin: 0 0 3px 10px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
}

.pain-card__title {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 56px 0 14px;
  font-size: clamp(23px, 2.5vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.pain-card__text {
  position: relative;
  z-index: 1;
  max-width: 620px;
  font-size: 14px;
  line-height: 1.72;
}

/* ---------- giant service rows ---------- */

.services-list {
  border-top: 1px solid var(--color-border);
}

.service-direct-link,
.service-accordion {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  transition: background 0.45s var(--ease-expo), border-color 0.35s;
}

.service-direct-link::before,
.service-accordion::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: right;
  background: linear-gradient(90deg, rgba(200, 255, 61, 0.09), rgba(123, 92, 255, 0.055), transparent 82%);
  transition: transform 0.65s var(--ease-expo);
}

.service-direct-link:hover::before,
.service-accordion:hover::before,
.service-accordion.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

.service-direct-link__header,
.service-accordion__header {
  position: relative;
  z-index: 1;
  min-height: 154px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto 54px;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  padding: 26px clamp(4px, 1vw, 16px);
}

.service-direct-link__num,
.service-accordion__num {
  color: var(--color-text-muted);
  font: 600 10px/1 var(--font-heading);
}

.service-direct-link__title,
.service-accordion__title {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 43px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  transition: color 0.35s, transform 0.55s var(--ease-expo);
}

.service-direct-link:hover .service-direct-link__title,
.service-accordion:hover .service-accordion__title {
  color: var(--color-primary);
  transform: translateX(10px);
}

.service-direct-link__desc,
.service-accordion__desc {
  max-width: 730px;
  color: #777f8c;
  font-size: 13px;
  line-height: 1.65;
}

.service-direct-link__price,
.service-accordion__price {
  white-space: nowrap;
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 700;
}

.service-direct-link__arrow,
.service-accordion__chevron {
  width: 48px;
  height: 48px;
  display: grid;
  place-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-light);
  background: rgba(255, 255, 255, 0.025);
}

.service-direct-link:hover .service-direct-link__arrow,
.service-accordion:hover .service-accordion__chevron,
.service-accordion.active .service-accordion__chevron {
  color: #050609;
  border-color: var(--color-primary);
  background: var(--color-primary);
  box-shadow: 0 0 38px rgba(200, 255, 61, 0.19);
}

.service-accordion__content { position: relative; z-index: 2; }
.service-accordion__inner { padding: 0 0 28px 70px; }

.sub-services-grid { gap: 10px; }

.sub-service-card {
  border-color: var(--color-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.sub-service-card:hover {
  border-color: rgba(200, 255, 61, 0.28);
  background: rgba(255, 255, 255, 0.045);
}

/* ---------- asymmetric web bento ---------- */

.webdev-grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.webdev-card {
  --mx: 50%;
  --my: 50%;
  grid-column: span 5;
  min-height: 350px;
  padding: clamp(26px, 3vw, 42px);
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 30px;
  background: rgba(10, 13, 18, 0.6);
  transform-style: preserve-3d;
}

.webdev-card:nth-child(2),
.webdev-card:nth-child(3) { grid-column: span 7; }

.webdev-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(440px circle at var(--mx) var(--my), rgba(95, 245, 255, 0.1), transparent 46%);
  transition: opacity 0.35s;
}

.webdev-card:hover {
  border-color: rgba(95, 245, 255, 0.3);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.webdev-card:hover::before { opacity: 1; }
.webdev-card > * { position: relative; z-index: 1; }

.webdev-card__num {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(95, 245, 255, 0.24);
  border-radius: 50%;
  color: var(--color-cyan);
  font-size: 10px;
}

.webdev-card__title {
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.webdev-card__text { max-width: 680px; margin-top: auto; font-size: 14px; line-height: 1.72; }

.webdev-card__tags span {
  border-color: rgba(95, 245, 255, 0.14);
  border-radius: 999px;
  color: #8f99a7;
  background: rgba(95, 245, 255, 0.025);
}

/* ---------- audit mission ---------- */

.process-cta__wrapper {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 38px;
  background:
    radial-gradient(circle at 82% 12%, rgba(123, 92, 255, 0.18), transparent 25rem),
    linear-gradient(145deg, rgba(17, 21, 28, 0.94), rgba(8, 10, 14, 0.86));
  box-shadow: 0 50px 130px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.05);
}

.process-cta__wrapper::before {
  content: '';
  position: absolute;
  right: -180px;
  top: -180px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(200, 255, 61, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(255, 255, 255, 0.014), 0 0 0 88px rgba(255, 255, 255, 0.009);
}

.process-cta__info {
  min-width: 0;
  overflow: hidden;
  padding: clamp(36px, 5vw, 72px);
}

.process-cta__form-block {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: clamp(32px, 4vw, 56px);
}

.process-cta__title {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(34px, 3.6vw, 54px);
}

.step-item {
  position: relative;
  padding: 0 0 30px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.step-item:last-child { border-color: transparent; }

.step-item__num {
  position: absolute;
  left: -16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(200, 255, 61, 0.32);
  border-radius: 50%;
  color: var(--color-primary);
  background: #0b0e12;
  font-size: 8px;
  box-shadow: 0 0 24px rgba(200, 255, 61, 0.09);
}

.process-cta__form-block {
  position: relative;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.process-cta__form-title {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.process-cta__form-block .form,
.process-cta__form-block .form__group,
.process-cta__form-block .form__input,
.process-cta__form-block .form__btn { min-width: 0; width: 100%; }

/* ---------- cases as a cinematic viewport ---------- */

.cases-slider-shell { gap: 14px; align-items: center; }

.cases-main-slider {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  background: rgba(10, 13, 18, 0.7);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.27);
}

.case-card-layout { min-height: 540px; background: transparent; }

.case-card-layout__left {
  padding: clamp(30px, 4vw, 62px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent),
    transparent;
}

.case-card-layout__title {
  font-size: clamp(26px, 3vw, 43px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.case-card-layout__right { overflow: hidden; }

.case-card-layout__right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 14, 0.32), transparent 36%), linear-gradient(0deg, rgba(8, 10, 14, 0.34), transparent 40%);
  pointer-events: none;
}

.case-card-layout__img {
  filter: saturate(0.72) contrast(1.08);
  transition: transform 1.2s var(--ease-expo), filter 0.6s;
}

.swiper-slide-active .case-card-layout__img { transform: scale(1.04); filter: saturate(1) contrast(1.06); }

.case-stat {
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.case-stat__num {
  color: var(--color-primary);
  font-family: var(--font-heading);
  letter-spacing: -0.06em;
}

.cases-swiper-btn {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-color: var(--color-border);
  color: var(--color-text-light);
  background: rgba(255, 255, 255, 0.03);
}

.cases-swiper-btn:hover {
  border-color: var(--color-primary);
  color: #050609;
  background: var(--color-primary);
  transform: scale(1.08) rotate(-8deg);
}

.cases-swiper-pagination .swiper-pagination-bullet-active { background: var(--color-primary); }

/* ---------- FAQ / final conversion ---------- */

.accordion { border-top: 1px solid var(--color-border); }

.accordion__item {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
}

.accordion__header {
  min-height: 98px;
  padding: 24px 8px;
  font-size: clamp(17px, 2vw, 25px);
  letter-spacing: -0.035em;
}

.accordion__header:hover { color: var(--color-primary); }

.accordion__icon {
  width: 42px;
  height: 42px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
}

.accordion__item.active .accordion__icon { color: #050609; border-color: var(--color-primary); background: var(--color-primary); }
.accordion__content p { max-width: 900px; padding: 0 8px 32px; font-size: 15px; line-height: 1.8; }

.consult-cta__box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200, 255, 61, 0.22);
  border-radius: 38px;
  background:
    radial-gradient(circle at 10% 80%, rgba(95, 245, 255, 0.13), transparent 25rem),
    radial-gradient(circle at 90% 8%, rgba(200, 255, 61, 0.17), transparent 28rem),
    #0b0e12;
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.05);
}

.consult-cta__box::before {
  content: 'LET\'S GROW';
  position: absolute;
  right: -0.06em;
  bottom: -0.18em;
  color: rgba(255, 255, 255, 0.025);
  font: 800 clamp(70px, 11vw, 170px)/1 var(--font-heading);
  letter-spacing: -0.1em;
  white-space: nowrap;
}

.consult-cta__content,
.consult-cta__form { position: relative; z-index: 1; padding: clamp(30px, 5vw, 72px); }
.consult-cta__title { font-size: clamp(34px, 4vw, 58px); }

.social-link {
  border-radius: 999px;
  color: #050609;
  border-color: var(--color-primary);
  background: var(--color-primary);
}

/* ---------- common glass forms ---------- */

.form__input {
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  color: var(--color-text-light);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.35s var(--ease-expo);
}

.form__input:focus {
  border-color: rgba(200, 255, 61, 0.42);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.06);
  transform: translateY(-2px);
}

.modal {
  max-width: 520px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  color: var(--color-text-light);
  background: rgba(10, 13, 18, 0.96);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(12px);
}

/* ---------- footer ---------- */

.footer {
  padding-top: 80px;
  background: transparent;
}

.footer__top {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}

.footer__logo-img { width: 60px; height: 60px; }
.footer__middle { padding-block: 52px; }
.footer__col-title { color: var(--color-primary); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; }
.footer__links a:hover { color: var(--color-primary); }

/* ---------- purpose-built light theme ---------- */

body[data-theme="light"] {
  background:
    radial-gradient(circle at 78% 7%, rgba(123, 92, 255, 0.13), transparent 29rem),
    radial-gradient(circle at 10% 31%, rgba(123, 164, 0, 0.09), transparent 32rem),
    #edf1e8;
}

body[data-theme="light"]::before {
  opacity: 0.13;
  background-image:
    repeating-radial-gradient(circle at 17% 23%, rgba(11, 18, 24, 0.16) 0 0.45px, transparent 0.7px 4px),
    repeating-radial-gradient(circle at 73% 61%, rgba(11, 18, 24, 0.1) 0 0.4px, transparent 0.65px 5px);
}

body[data-theme="light"] .header__container,
body[data-theme="light"] .header--scrolled .header__container {
  border-color: rgba(11, 18, 24, 0.12);
  background: rgba(247, 249, 243, 0.88);
  box-shadow: 0 18px 60px rgba(55, 64, 37, 0.12), inset 0 1px rgba(255, 255, 255, 0.8);
}

body[data-theme="light"] .header__menu {
  border-color: rgba(11, 18, 24, 0.08);
  background: rgba(11, 18, 24, 0.035);
}

body[data-theme="light"] .header__link { color: #5e6670; }
body[data-theme="light"] .header__link:hover,
body[data-theme="light"] .header__link.is-active {
  color: #0d1116;
  background: rgba(11, 18, 24, 0.08);
}

body[data-theme="light"] .theme-toggle {
  color: #161b21;
  border-color: rgba(11, 18, 24, 0.12);
  background: rgba(11, 18, 24, 0.045);
}

body[data-theme="light"] .header__logo-text {
  color: #c8ff3d;
  background: none;
  -webkit-text-fill-color: #c8ff3d;
}

body[data-theme="light"] .header__logo-img {
  filter: none;
}

body[data-theme="light"] .hero {
  background:
    radial-gradient(circle at 74% 46%, rgba(123, 92, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 66% 52%, rgba(168, 214, 31, 0.14), transparent 25rem);
}

body[data-theme="light"] .hero::before { color: rgba(13, 17, 22, 0.025); }
body[data-theme="light"] .hero::after {
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(13, 17, 22, 0.055) 50%, transparent 50.1%),
    linear-gradient(0deg, transparent 49.9%, rgba(13, 17, 22, 0.04) 50%, transparent 50.1%);
  background-size: 180px 180px;
}

body[data-theme="light"] .hero__chip {
  color: #4d6900;
  border-color: rgba(88, 119, 0, 0.25);
  background: rgba(200, 255, 61, 0.2);
}

body[data-theme="light"] .hero__chip--secondary {
  color: #006b73;
  border-color: rgba(0, 107, 115, 0.2);
  background: rgba(95, 245, 255, 0.13);
}

body[data-theme="light"] .hero__subtitle,
body[data-theme="light"] .service-direct-link__desc,
body[data-theme="light"] .service-accordion__desc,
body[data-theme="light"] .pain-card__text,
body[data-theme="light"] .webdev-card__text {
  color: #4d5560;
}

body[data-theme="light"] .hero__form {
  border-color: rgba(13, 17, 22, 0.12);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 70px rgba(55, 64, 37, 0.13), inset 0 1px rgba(255, 255, 255, 0.9);
}

body[data-theme="light"] .hero__form .form__input,
body[data-theme="light"] .form__input {
  color: #11161c;
  border-color: rgba(13, 17, 22, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

body[data-theme="light"] .hero__form .form__input::placeholder,
body[data-theme="light"] .form__input::placeholder { color: #707985; }

body[data-theme="light"] .hero__form .form__input:focus,
body[data-theme="light"] .form__input:focus {
  border-color: rgba(83, 116, 0, 0.45);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(126, 170, 0, 0.09);
}

body[data-theme="light"] .geo-stage::before {
  border-color: rgba(13, 17, 22, 0.11);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.28), transparent 62%);
}

body[data-theme="light"] main > section:not(.hero)::before {
  border-color: rgba(13, 17, 22, 0.09);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.75), 0 44px 100px rgba(55, 64, 37, 0.08);
}

body[data-theme="light"] main > section:not(.hero)::after { color: rgba(13, 17, 22, 0.035); }
body[data-theme="light"] .pains::before {
  background: radial-gradient(circle at 86% 30%, rgba(255, 90, 121, 0.1), transparent 30rem), rgba(255, 255, 255, 0.28) !important;
}
body[data-theme="light"] .services-sec::before {
  background: radial-gradient(circle at 10% 30%, rgba(123, 92, 255, 0.12), transparent 32rem), rgba(255, 255, 255, 0.28) !important;
}
body[data-theme="light"] .webdev-sec::before {
  background: radial-gradient(circle at 76% 66%, rgba(0, 159, 171, 0.1), transparent 32rem), rgba(255, 255, 255, 0.28) !important;
}
body[data-theme="light"] .cases-sec::before {
  background: radial-gradient(circle at 12% 70%, rgba(126, 170, 0, 0.1), transparent 36rem), rgba(255, 255, 255, 0.28) !important;
}

body[data-theme="light"] .pain-card,
body[data-theme="light"] .webdev-card {
  border-color: rgba(13, 17, 22, 0.1);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.85);
}

body[data-theme="light"] .pain-card:hover,
body[data-theme="light"] .webdev-card:hover {
  border-color: rgba(94, 126, 0, 0.3);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 75px rgba(55, 64, 37, 0.13);
}

body[data-theme="light"] .pain-card::after { border-color: rgba(13, 17, 22, 0.07); }
body[data-theme="light"] .services-list,
body[data-theme="light"] .service-direct-link,
body[data-theme="light"] .service-accordion,
body[data-theme="light"] .accordion,
body[data-theme="light"] .accordion__item { border-color: rgba(13, 17, 22, 0.12); }

body[data-theme="light"] .service-direct-link::before,
body[data-theme="light"] .service-accordion::before {
  background: linear-gradient(90deg, rgba(171, 220, 28, 0.18), rgba(123, 92, 255, 0.08), transparent 82%);
}

body[data-theme="light"] .service-direct-link__arrow,
body[data-theme="light"] .service-accordion__chevron,
body[data-theme="light"] .accordion__icon,
body[data-theme="light"] .cases-swiper-btn {
  border-color: rgba(13, 17, 22, 0.13);
  color: #14191f;
  background: rgba(13, 17, 22, 0.035);
}

body[data-theme="light"] .sub-service-card {
  border-color: rgba(13, 17, 22, 0.1);
  background: rgba(255, 255, 255, 0.58);
}

body[data-theme="light"] .sub-service-card:hover { background: #fff; }

body[data-theme="light"] .process-cta__wrapper,
body[data-theme="light"] .consult-cta__box {
  border-color: rgba(200, 255, 61, 0.25);
  color: #f7f8f2;
  background:
    radial-gradient(circle at 82% 12%, rgba(123, 92, 255, 0.2), transparent 25rem),
    linear-gradient(145deg, #171b22, #080a0e);
}

body[data-theme="light"] .process-cta__title,
body[data-theme="light"] .process-cta__form-title,
body[data-theme="light"] .step-item__title,
body[data-theme="light"] .consult-cta__title { color: #f7f8f2; }

body[data-theme="light"] .process-cta__wrapper p,
body[data-theme="light"] .consult-cta__box p { color: #aeb4c0; }

body[data-theme="light"] .process-cta__form-block .form__input,
body[data-theme="light"] .consult-cta__form .form__input {
  color: #f7f8f2;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

body[data-theme="light"] .process-cta__form-block .form__input::placeholder,
body[data-theme="light"] .consult-cta__form .form__input::placeholder { color: #7d8591; }

body[data-theme="light"] .cases-main-slider {
  border-color: rgba(13, 17, 22, 0.1);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 38px 90px rgba(55, 64, 37, 0.12);
}

body[data-theme="light"] .case-card-layout__left { background: linear-gradient(145deg, rgba(13, 17, 22, 0.025), transparent); }
body[data-theme="light"] .case-section-box,
body[data-theme="light"] .case-tag-chip {
  border-color: rgba(13, 17, 22, 0.1);
  background: rgba(13, 17, 22, 0.035);
}

body[data-theme="light"] .case-stat { border-color: rgba(13, 17, 22, 0.12); }
body[data-theme="light"] .accordion__header:hover { color: #587600; }

body[data-theme="light"] .footer__top,
body[data-theme="light"] .footer__bottom { border-color: rgba(13, 17, 22, 0.11); }

body[data-theme="light"] .modal {
  color: #f7f8f2;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(10, 13, 18, 0.97);
}

body[data-theme="light"] .modal h3 { color: #f7f8f2; }
body[data-theme="light"] .modal p { color: #aeb4c0; }

@media (max-width: 992px) {
  .header__container,
  .hero__form,
  .geo-data-card,
  .process-cta__form-block,
  .modal {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ---------- adaptive choreography ---------- */

@media (max-width: 1180px) {
  .header__logo::after { display: none; }
  .header__link { padding-inline: 10px; }
  .hero__container { grid-template-columns: minmax(0, 1fr) minmax(330px, 0.75fr); }
  .geo-stage { width: min(46vw, 520px); }
}

@media (max-width: 992px) {
  .header__nav { display: none; }
  .header__container { margin-inline: 14px; }
  .hero { min-height: auto; padding-top: 130px; }
  .hero__container { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 480px; margin-bottom: -90px; }
  .geo-stage { width: min(72vw, 560px); }
  .hero__title { font-size: clamp(44px, 8vw, 72px); }
  .service-direct-link__header,
  .service-accordion__header { grid-template-columns: 38px minmax(0, 1fr) auto 48px; }
  .process-cta__wrapper { grid-template-columns: 1fr; }
  .process-cta__form-block {
    border-left: 0;
    border-top: 1px solid var(--color-border);
  }
  .case-card-layout { min-height: 0; }
}

@media (max-width: 768px) {
  .scroll-progress { display: none; }
  main > section:not(.hero) { padding-block: 86px; }
  main > section:not(.hero)::before { inset-inline: 8px; border-radius: 26px; }
  .pains__grid,
  .webdev-grid { grid-template-columns: 1fr; }
  .pain-card,
  .pain-card:nth-child(n),
  .webdev-card,
  .webdev-card:nth-child(n) { grid-column: 1; min-height: 300px; }
  .service-direct-link__header,
  .service-accordion__header {
    grid-template-columns: 32px minmax(0, 1fr) 42px;
    min-height: 132px;
    gap: 12px;
  }
  .service-direct-link__price,
  .service-accordion__price { grid-column: 2; grid-row: 2; justify-self: start; }
  .service-direct-link__arrow,
  .service-accordion__chevron { grid-column: 3; grid-row: 1 / span 2; width: 42px; height: 42px; }
  .service-direct-link__desc,
  .service-accordion__desc { display: none; }
  .service-accordion__inner { padding-left: 0; }
  .sub-services-grid { grid-template-columns: 1fr; }
  .case-card-layout { grid-template-columns: 1fr; }
  .case-card-layout__right { min-height: 310px; order: -1; }
  .consult-cta__box { grid-template-columns: 1fr; }
  .consult-cta__form { border-top: 1px solid var(--color-border); }
}

@media (max-width: 576px) {
  .header { top: 10px; }
  .header__container { min-height: 58px; border-radius: 18px; }
  .header__logo-text { font-size: 12px; }
  .header__contacts { margin-left: auto; }
  .header__contacts .theme-toggle { display: grid; }
  .hero { padding-top: 104px; padding-bottom: 70px; }
  .hero__container { gap: 16px; }
  .hero__visual { display: flex; min-height: 350px; margin: -36px 0 -48px; opacity: 0.9; }
  .geo-stage { width: 96vw; max-width: 420px; transform: scale(0.86); }
  .geo-data-card--visibility { right: 4%; }
  .geo-data-card--pulse { left: 3%; }
  .geo-stage__caption { bottom: 4%; }
  .hero__content { z-index: 5; }
  .hero__title { font-size: clamp(34px, 11vw, 48px); }
  .hero__subtitle { font-size: 13px; }
  .hero__form { padding: 7px; border-radius: 18px; }
  .hero__form-grid { grid-template-columns: 1fr; }
  .hero__form .form__input { height: 48px; }
  .hero__form-btn { min-height: 49px; }
  .section-title,
  .process-cta__title,
  .consult-cta__title { font-size: 31px; }
  .pain-card,
  .webdev-card { min-height: 280px; padding: 24px; border-radius: 22px; }
  .pain-card__title { margin-top: 44px; font-size: 24px; }
  .service-direct-link__title,
  .service-accordion__title { font-size: 20px; }
  .process-cta__wrapper,
  .cases-main-slider,
  .consult-cta__box { border-radius: 24px; }
  .case-card-layout__right { min-height: 240px; }
  .case-card-layout__stats-row { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .case-stat__num { font-size: 20px; }
  .case-stat__label { font-size: 8px; }
  .cases-slider-shell > .cases-swiper-btn { width: 46px; height: 46px; }
  .accordion__header { min-height: 86px; font-size: 16px; }
  .consult-cta__content,
  .consult-cta__form { padding: 26px; }
}

/* ==========================================================================
   FINAL POLISH PASS — micro-detailing, consistency, premium finish
   ========================================================================== */

/* Branded selection & keyboard focus */
::selection {
  background: rgba(200, 255, 61, 0.9);
  color: #050609;
}

:focus-visible {
  outline: 2px solid rgba(200, 255, 61, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Unbounded is a wide display face — ultra-tight tracking makes glyphs collide.
   Loosen it just enough for the letters to breathe. */
.hero__title { letter-spacing: -0.045em; }

.section-title,
.process-cta__title,
.consult-cta__title { letter-spacing: -0.04em; }

.service-direct-link__title,
.service-accordion__title { letter-spacing: -0.035em; }

.case-card-layout__title {
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.pain-card__title,
.webdev-card__title { letter-spacing: -0.03em; }

/* Theme toggle icons follow the lime palette instead of legacy yellow */
.theme-icon--moon { color: var(--color-primary); }
.theme-icon--sun { color: #ffb238; }

/* Legible micro-copy under the hero form */
.hero__form-privacy {
  font-size: 11px;
  opacity: 0.62;
}

/* Step numbers in the audit protocol were too small to read */
.step-item__num { font-size: 10px; }

/* ---------- case study chips (were completely unstyled in dark theme) ---------- */

.case-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid rgba(200, 255, 61, 0.2);
  border-radius: 999px;
  color: var(--color-primary);
  background: rgba(200, 255, 61, 0.055);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-tag-chip::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.case-tag-chip:nth-child(2n) {
  color: var(--color-cyan);
  border-color: rgba(95, 245, 255, 0.2);
  background: rgba(95, 245, 255, 0.045);
}

/* Case "task / what we did" boxes get a signal edge */
.case-section-box {
  padding: 13px 14px 13px 18px;
  border-left: 2px solid rgba(200, 255, 61, 0.38);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(200, 255, 61, 0.045), transparent 64%);
}

.case-box-label { margin-bottom: 6px; }

/* ---------- service price pills ---------- */

.service-direct-link__price,
.service-accordion__price {
  padding: 9px 16px;
  border: 1px solid rgba(200, 255, 61, 0.22);
  border-radius: 999px;
  color: var(--color-primary);
  background: rgba(200, 255, 61, 0.06);
  font: 700 13px/1 var(--font-primary);
  letter-spacing: 0.02em;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.service-direct-link:hover .service-direct-link__price,
.service-accordion:hover .service-accordion__price {
  border-color: rgba(200, 255, 61, 0.45);
  background: rgba(200, 255, 61, 0.1);
  box-shadow: 0 0 26px rgba(200, 255, 61, 0.1);
}

/* ---------- service badges follow the lime/cyan palette ---------- */

.service-direct-link__badge {
  border: 1px solid rgba(200, 255, 61, 0.25);
  background: rgba(200, 255, 61, 0.09);
  color: var(--color-primary);
}

.service-direct-link__badge--blue {
  border-color: rgba(95, 245, 255, 0.25);
  background: rgba(95, 245, 255, 0.08);
  color: var(--color-cyan);
}

body[data-theme="light"] .service-direct-link__badge {
  border-color: rgba(88, 119, 0, 0.3);
  background: rgba(200, 255, 61, 0.22);
  color: #4d6900;
}

body[data-theme="light"] .service-direct-link__badge--blue {
  border-color: rgba(0, 107, 115, 0.25);
  background: rgba(95, 245, 255, 0.16);
  color: #006b73;
}

/* ---------- cases pagination matches the hero progress bars ---------- */

.cases-swiper-pagination { gap: 6px; }

.cases-swiper-pagination .swiper-pagination-bullet {
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transform: none;
}

.cases-swiper-pagination .swiper-pagination-bullet-active {
  width: 58px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
  box-shadow: 0 0 12px rgba(200, 255, 61, 0.3);
  transform: none;
}

/* ---------- secondary button as glass with lime fill on hover ---------- */

.btn--secondary {
  color: var(--color-text-light);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.btn--secondary:hover {
  color: #050609;
  border-color: var(--color-primary);
  background: var(--color-primary);
  box-shadow: 0 16px 44px rgba(200, 255, 61, 0.2);
}

/* ---------- footer finish ---------- */

.footer { position: relative; }

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(920px, 86%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(200, 255, 61, 0.5), rgba(95, 245, 255, 0.4), transparent);
}

.footer__links a {
  position: relative;
  transition: color 0.3s, padding-left 0.35s var(--ease-expo);
}

.footer__links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width 0.35s var(--ease-expo);
}

.footer__links a:hover { padding-left: 12px; }
.footer__links a:hover::before { width: 8px; }

/* ---------- light theme counterparts for the polish pass ---------- */

body[data-theme="light"] .case-tag-chip {
  color: #4d6900;
  border-color: rgba(88, 119, 0, 0.28);
  background: rgba(200, 255, 61, 0.18);
}

body[data-theme="light"] .case-tag-chip:nth-child(2n) {
  color: #006b73;
  border-color: rgba(0, 107, 115, 0.22);
  background: rgba(95, 245, 255, 0.14);
}

body[data-theme="light"] .case-section-box {
  border-color: transparent;
  border-left-color: rgba(94, 126, 0, 0.45);
  background: linear-gradient(90deg, rgba(126, 170, 0, 0.07), transparent 64%);
}

body[data-theme="light"] .service-direct-link__price,
body[data-theme="light"] .service-accordion__price {
  color: #4d6900;
  border-color: rgba(88, 119, 0, 0.28);
  background: rgba(200, 255, 61, 0.16);
}

body[data-theme="light"] .cases-swiper-pagination .swiper-pagination-bullet {
  background: rgba(13, 17, 22, 0.16);
}

body[data-theme="light"] .cases-swiper-pagination .swiper-pagination-bullet-active {
  background: linear-gradient(90deg, #86b800, #00a5b3);
  box-shadow: none;
}

body[data-theme="light"] .footer::before {
  background: linear-gradient(90deg, transparent, rgba(94, 126, 0, 0.4), rgba(0, 107, 115, 0.35), transparent);
}

body[data-theme="light"] .theme-icon--sun { color: #e08900; }

@media (max-width: 768px) {
  .service-direct-link__price,
  .service-accordion__price {
    padding: 7px 13px;
    font-size: 12px;
  }
  .case-section-box { padding: 11px 10px 11px 14px; }
}

/* ---------- service rows as rounded cards: no stray separator lines ---------- */

.services-list {
  border-top: 0;
  gap: 14px;
}

.service-direct-link,
.service-accordion {
  border: 1px solid var(--color-border);
  border-radius: 28px;
  transition:
    background 0.45s var(--ease-expo),
    border-color 0.35s,
    box-shadow 0.45s var(--ease-expo);
}

.service-direct-link::before,
.service-accordion::before { border-radius: 27px; }

.service-direct-link:hover,
.service-accordion:hover {
  border-color: rgba(200, 255, 61, 0.28);
}

.service-accordion.active {
  border-color: rgba(200, 255, 61, 0.22);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.service-direct-link__header,
.service-accordion__header {
  padding-inline: clamp(14px, 2vw, 28px);
}

/* Symmetric insets for the sub-services grid inside the opened card */
.service-accordion__inner {
  padding: 4px clamp(16px, 2vw, 28px) 34px;
}

body[data-theme="light"] .service-direct-link:hover,
body[data-theme="light"] .service-accordion:hover {
  border-color: rgba(94, 126, 0, 0.3);
}

body[data-theme="light"] .service-accordion.active {
  border-color: rgba(94, 126, 0, 0.28);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 30px 70px rgba(55, 64, 37, 0.12);
}

/* ---------- consultation contacts: telegram + email side by side ---------- */

.consult-cta__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link--ghost {
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.social-link--ghost:hover {
  color: #050609;
  border-color: var(--color-primary);
  background: var(--color-primary);
}

/* ---------- decorative watermarks: fully inside their blocks, not cropped ---------- */

.hero::before { display: none; }

/* Chapter numbers: keep the parallax, drop the crooked rotation */
main > section:not(.hero)::after {
  transform: translate3d(0, var(--chapter-shift, 0px), 0);
}

.consult-cta__box::before {
  right: 28px;
  bottom: 20px;
  font-size: clamp(44px, 7vw, 110px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.032);
}

/* ---------- client reviews ---------- */

.reviews-sec::before {
  background: radial-gradient(circle at 80% 20%, rgba(123, 92, 255, 0.1), transparent 30rem), rgba(255, 255, 255, 0.008) !important;
}

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

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(26px, 3vw, 40px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 30px;
  background: rgba(11, 14, 19, 0.58);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 0.55s var(--ease-expo), border-color 0.35s, background 0.35s, box-shadow 0.55s;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  right: 24px;
  color: rgba(200, 255, 61, 0.13);
  font: 800 96px/1 var(--font-heading);
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 255, 61, 0.3);
  background: rgba(15, 19, 25, 0.8);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.review-card__stars {
  color: var(--color-primary);
  font-size: 14px;
  letter-spacing: 4px;
  text-shadow: 0 0 14px rgba(200, 255, 61, 0.35);
}

.review-card__text {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-main);
}

.review-card__author {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.review-card__name {
  color: var(--color-text-light);
  font-weight: 700;
  font-size: 14px;
}

.review-card__role {
  color: var(--color-text-muted);
  font-size: 12px;
}

body[data-theme="light"] .review-card {
  border-color: rgba(13, 17, 22, 0.1);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.85);
}

body[data-theme="light"] .review-card:hover {
  border-color: rgba(94, 126, 0, 0.3);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 75px rgba(55, 64, 37, 0.13);
}

body[data-theme="light"] .review-card__text { color: #4d5560; }
body[data-theme="light"] .review-card::before { color: rgba(94, 126, 0, 0.15); }

@media (max-width: 992px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card { border-radius: 24px; }
}


@media (max-width: 768px) {
  .service-direct-link,
  .service-accordion,
  .service-direct-link::before,
  .service-accordion::before { border-radius: 22px; }
  .service-direct-link__header,
  .service-accordion__header { padding-inline: 14px; }
  .service-accordion__inner { padding: 0 12px 24px; }
}
