:root {
  --bg: #050810;
  --bg-elevated: #0a1020;
  --surface: rgba(12, 22, 42, 0.55);
  --surface-strong: rgba(14, 28, 52, 0.85);
  --border: rgba(120, 200, 255, 0.14);
  --border-strong: rgba(0, 229, 255, 0.35);
  --text: #e8f4ff;
  --text-muted: #8aa3bd;
  --cyan: #00e5ff;
  --teal: #00ffc8;
  --blue: #3b82f6;
  --amber: #ffc14d;
  --danger: #ff6b8a;
  --font-display: "Orbitron", sans-serif;
  --font-body: "Manrope", sans-serif;
  --radius: 18px;
  --container: 1120px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --glow: 0 0 40px rgba(0, 229, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--teal);
}

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

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

/* ===== Space background ===== */
.space-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(20, 60, 120, 0.45), transparent),
    radial-gradient(ellipse 60% 40% at 90% 60%, rgba(0, 80, 100, 0.2), transparent),
    linear-gradient(180deg, #050810 0%, #070d18 50%, #050810 100%);
}

#stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: nebulaDrift 28s ease-in-out infinite alternate;
  translate: calc(var(--parallax-x, 0px) * var(--depth, 1)) calc(var(--parallax-y, 0px) * var(--depth, 1));
  will-change: translate;
}

.nebula--1 {
  width: 55vw;
  height: 55vw;
  top: -10%;
  left: -15%;
  background: radial-gradient(circle, rgba(0, 180, 220, 0.35), transparent 70%);
  --depth: 0.45;
}

.nebula--2 {
  width: 40vw;
  height: 40vw;
  top: 35%;
  right: -10%;
  background: radial-gradient(circle, rgba(30, 90, 200, 0.3), transparent 70%);
  animation-delay: -8s;
  --depth: 0.75;
}

.nebula--3 {
  width: 45vw;
  height: 45vw;
  bottom: -5%;
  left: 25%;
  background: radial-gradient(circle, rgba(0, 200, 160, 0.18), transparent 70%);
  animation-delay: -16s;
  --depth: 1.1;
}

@keyframes nebulaDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(4%, 6%) scale(1.08); }
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(5, 8, 16, 0.78);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 0.75rem;
}

.header__inner .header__phone {
  margin-left: auto;
  margin-right: 40px;
}

.header__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.header__2gis {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem 0.35rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(41, 178, 74, 0.4);
  background: linear-gradient(135deg, rgba(41, 178, 74, 0.16), rgba(41, 178, 74, 0.05));
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.25s;
}

.header__2gis:hover {
  color: var(--text);
  border-color: #29b24a;
  background: linear-gradient(135deg, rgba(41, 178, 74, 0.28), rgba(41, 178, 74, 0.1));
  box-shadow: 0 0 18px rgba(41, 178, 74, 0.25);
  transform: translateY(-1px);
}

.header__2gis img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
}

.header__2gis-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 0.1rem;
}

.header__2gis-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.header__2gis-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.header__2gis-rating svg {
  width: 11px;
  height: 11px;
  color: var(--amber);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.header__cta:hover {
  color: var(--teal);
  background: rgba(0, 229, 255, 0.16);
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.2);
  transform: translateY(-1px);
}

.header__cta.magnetic:hover {
  --lift: -1px;
  transform: translate3d(var(--mag-x), calc(var(--mag-y) + var(--lift)), 0);
}

.header__calc {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem 0.35rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(0, 255, 200, 0.05));
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.25s;
}

.header__calc:hover {
  color: var(--text);
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.22), rgba(0, 255, 200, 0.1));
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.28);
  transform: translateY(-1px);
}

.header__calc-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.12);
  flex-shrink: 0;
}

.header__calc-icon svg {
  width: 16px;
  height: 16px;
}

.header__calc-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 0.1rem;
}

.header__calc-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.header__calc-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  flex-shrink: 0;
}

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

.logo__mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--cyan) 40%, var(--teal));
  box-shadow: 0 0 16px var(--cyan), 0 0 32px rgba(0, 229, 255, 0.4);
  animation: pulseDot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(0, 229, 255, 0.35); }
  50% { box-shadow: 0 0 20px var(--teal), 0 0 40px rgba(0, 255, 200, 0.45); }
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.12;
  background-image: linear-gradient(
    90deg,
    #5eead4 0%,
    #00e5ff 20%,
    #ffffff 40%,
    #00ffc8 55%,
    #7dd3fc 75%,
    #00e5ff 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: logoShine 3.2s linear infinite;
}

.logo__line {
  display: block;
  white-space: nowrap;
}

.logo__line:first-child {
  font-size: 1.08em;
}

.logo:hover .logo__text {
  animation-duration: 1.6s;
}

@keyframes logoShine {
  0% { background-position: 0% 50%; }
  100% { background-position: -200% 50%; }
}

.nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
  background:
    radial-gradient(ellipse 70% 55% at 70% 20%, rgba(0, 120, 180, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(0, 80, 120, 0.22), transparent 55%),
    rgba(3, 6, 14, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  clip-path: circle(0% at calc(100% - 2.6rem) calc(var(--header-h) / 2));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    clip-path 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    visibility 0.45s;
}

.nav.is-open {
  clip-path: circle(160% at calc(100% - 2.6rem) calc(var(--header-h) / 2));
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav__space {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.nav__nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0;
  transition: opacity 0.6s ease 0.2s;
}

.nav.is-open .nav__nebula {
  opacity: 0.55;
}

.nav__nebula--1 {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: 8%;
  right: 5%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.35), transparent 70%);
  animation: navNebula 12s ease-in-out infinite alternate;
}

.nav__nebula--2 {
  width: min(45vw, 420px);
  height: min(45vw, 420px);
  bottom: 5%;
  left: 8%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
  animation: navNebula 14s ease-in-out infinite alternate-reverse;
}

.nav__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(68deg) scale(0.4);
  opacity: 0;
  transition: transform 1s var(--ease), opacity 0.6s ease;
}

.nav.is-open .nav__orbit {
  opacity: 1;
  transform: translate(-50%, -50%) rotateX(68deg) scale(1);
}

.nav__orbit--1 {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  transition-delay: 0.15s;
}

.nav__orbit--2 {
  width: min(92vw, 720px);
  height: min(92vw, 720px);
  border-color: rgba(0, 255, 200, 0.12);
  transition-delay: 0.28s;
}

.nav__orbit--3 {
  width: min(110vw, 900px);
  height: min(110vw, 900px);
  border-color: rgba(120, 200, 255, 0.08);
  transition-delay: 0.4s;
}

.nav.is-open .nav__orbit--1 {
  animation: navOrbitSpin 28s linear infinite;
}

.nav.is-open .nav__orbit--2 {
  animation: navOrbitSpin 40s linear infinite reverse;
}

.nav.is-open .nav__orbit--3 {
  animation: navOrbitSpin 55s linear infinite;
}

.nav__star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.9);
  opacity: 0;
}

.nav.is-open .nav__star {
  animation: navStarTwinkle 2.8s ease-in-out infinite;
}

.nav__star:nth-child(6) { top: 18%; left: 12%; animation-delay: 0.2s; }
.nav__star:nth-child(7) { top: 28%; right: 18%; width: 2px; height: 2px; animation-delay: 0.7s; }
.nav__star:nth-child(8) { top: 62%; left: 22%; animation-delay: 1.1s; }
.nav__star:nth-child(9) { bottom: 22%; right: 28%; width: 4px; height: 4px; animation-delay: 0.4s; }
.nav__star:nth-child(10) { top: 42%; left: 8%; animation-delay: 1.5s; }
.nav__star:nth-child(11) { top: 14%; right: 36%; animation-delay: 0.9s; }
.nav__star:nth-child(12) { bottom: 16%; left: 42%; width: 2px; height: 2px; animation-delay: 1.8s; }
.nav__star:nth-child(13) { top: 72%; right: 12%; animation-delay: 0.5s; }

.nav__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  text-align: left;
}

.nav__label {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.55s var(--ease);
}

.nav.is-open .nav__label {
  opacity: 1;
  transform: none;
  transition-delay: 0.35s;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav__list li {
  opacity: 0;
  transform: translateY(36px) scale(0.92);
  filter: blur(8px);
  transition:
    opacity 0.5s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s ease;
}

.nav.is-open .nav__list li {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition-delay: calc(0.28s + var(--i) * 0.07s);
}

.nav__list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.nav__list a:hover {
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.07);
  border-color: rgba(0, 229, 255, 0.22);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.12);
  transform: translateX(6px);
}

.nav__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.22);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.15);
  transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.35s var(--ease);
}

.nav__icon svg {
  width: 22px;
  height: 22px;
}

.nav__list a:hover .nav__icon {
  color: var(--teal);
  background: rgba(0, 255, 200, 0.12);
  border-color: rgba(0, 255, 200, 0.35);
  box-shadow: 0 0 22px rgba(0, 255, 200, 0.3);
  transform: rotate(-8deg) scale(1.06);
}

.nav__cta {
  margin-top: 0.35rem;
  color: #041018 !important;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  border-color: transparent !important;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.25);
}

.nav__cta:hover {
  color: #041018 !important;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  transform: translateX(6px) scale(1.02);
  box-shadow: 0 0 36px rgba(0, 255, 200, 0.35);
}

.nav__cta .nav__icon {
  color: #041018;
  background: rgba(4, 16, 24, 0.18);
  border-color: rgba(4, 16, 24, 0.2);
  box-shadow: none;
}

.nav__cta:hover .nav__icon {
  color: #041018;
  background: rgba(4, 16, 24, 0.28);
  border-color: rgba(4, 16, 24, 0.25);
  box-shadow: none;
}

.nav__brand {
  display: none;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.55s var(--ease);
}

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

.nav.is-open .nav__brand {
  opacity: 1;
  transform: none;
  transition-delay: 0.28s;
}

.nav__mobile-only {
  display: none;
}

.nav__icon--2gis {
  background: rgba(41, 178, 74, 0.16);
  border-color: rgba(41, 178, 74, 0.35);
}

.nav__icon--2gis img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: block;
}

.nav__2gis:hover .nav__icon--2gis {
  background: rgba(41, 178, 74, 0.28);
  border-color: #29b24a;
}

.nav__phone {
  display: inline-flex;
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.55s var(--ease), color 0.25s;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.2);
}

.nav.is-open .nav__phone {
  opacity: 1;
  transform: none;
  transition-delay: 0.75s;
}

.nav__phone:hover {
  color: var(--cyan);
}

@keyframes navNebula {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-18px, 12px) scale(1.08); }
}

@keyframes navOrbitSpin {
  to { transform: translate(-50%, -50%) rotateX(68deg) rotate(360deg); }
}

@keyframes navStarTwinkle {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.6); }
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.25s var(--ease), text-shadow 0.25s;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.15);
}

.header__phone:hover {
  color: var(--cyan);
  text-shadow: 0 0 22px rgba(0, 229, 255, 0.35);
}

.header__phone-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--cyan);
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.55));
}

.header__phone-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.header__phone-ring {
  fill: none;
  transform-origin: 14px 14px;
  opacity: 0.55;
}

.header__phone-ring--1 {
  animation: phoneRingPulse 2.4s ease-out infinite;
}

.header__phone-ring--2 {
  animation: phoneRingPulse 2.4s ease-out infinite 0.7s;
}

.header__phone-icon path {
  animation: phoneHandset 2.4s ease-in-out infinite;
  transform-origin: 14px 14px;
}

.header__phone:hover .header__phone-icon {
  color: var(--teal);
  filter: drop-shadow(0 0 12px rgba(0, 255, 200, 0.6));
}

@keyframes phoneRingPulse {
  0% {
    opacity: 0.75;
    transform: scale(0.82);
  }
  70% {
    opacity: 0;
    transform: scale(1.15);
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}

@keyframes phoneHandset {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-12deg); }
  30% { transform: rotate(10deg); }
  45% { transform: rotate(-6deg); }
  60% { transform: rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .header__phone-ring,
  .header__phone-icon path,
  .social-dock__btn--call .social-dock__icon path,
  .logo__text,
  .logo__mark {
    animation: none !important;
  }

  .logo__text {
    background-position: 40% center;
  }
}

.burger {
  position: relative;
  z-index: 100;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  color: var(--text);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.burger:hover {
  background: rgba(0, 229, 255, 0.14);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.25);
  transform: scale(1.05);
}

.burger__ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.35);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.35s, transform 0.45s var(--ease);
}

.burger.is-open .burger__ring,
.burger:hover .burger__ring {
  opacity: 1;
  transform: scale(1);
}

.burger.is-open .burger__ring {
  animation: burgerPulse 1.8s ease-out infinite;
}

.burger__lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.burger__lines span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.4s var(--ease), opacity 0.3s, width 0.3s;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.35);
}

.burger__lines span:nth-child(2) {
  width: 70%;
  margin-left: auto;
}

.burger.is-open {
  background: rgba(0, 229, 255, 0.16);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.35);
}

.burger.is-open .burger__lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open .burger__lines span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.is-open .burger__lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@keyframes burgerPulse {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.45); }
}

body.nav-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .nav,
  .nav__list li,
  .nav__label,
  .nav__brand,
  .nav__phone,
  .nav__orbit,
  .burger__lines span,
  .nav__nebula,
  .nav__star {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }

  .nav {
    clip-path: none;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
  text-decoration: none;
}

.btn.magnetic {
  --mag-x: 0px;
  --mag-y: 0px;
  --lift: 0px;
  transform: translate3d(var(--mag-x), calc(var(--mag-y) + var(--lift)), 0);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--cyan), #0099cc 50%, var(--teal));
  background-size: 200% 200%;
  color: #041018;
  box-shadow: var(--glow);
  animation: gradientShift 6s ease infinite;
}

.btn--primary:hover {
  color: #021018;
  --lift: -2px;
  box-shadow: 0 0 50px rgba(0, 229, 255, 0.4);
}

.btn--primary.magnetic:hover {
  transform: translate3d(var(--mag-x), calc(var(--mag-y) + var(--lift)), 0);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--border-strong);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.05);
  --lift: -2px;
}

.btn--ghost.magnetic:hover {
  transform: translate3d(var(--mag-x), calc(var(--mag-y) + var(--lift)), 0);
}

.btn--full {
  width: 100%;
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  margin-top: 0.75rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 1.25rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.gradient-text {
  background: linear-gradient(105deg, var(--cyan) 0%, var(--teal) 45%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: textShine 5s ease-in-out infinite;
}

.text-yellow {
  color: var(--amber);
}

@keyframes textShine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 0 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__orbit {
  position: absolute;
  right: -8%;
  top: 50%;
  translate: var(--orbit-x, 0px) calc(-50% + var(--orbit-y, 0px));
  width: min(52vw, 560px);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: none;
  will-change: translate;
  transition: translate 0.05s linear;
}

.planet {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55), transparent 18%),
    radial-gradient(circle at 40% 40%, #1a6a8a, #0a2540 55%, #041020);
  box-shadow:
    inset -30px -20px 50px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(0, 229, 255, 0.35),
    0 0 120px rgba(0, 150, 200, 0.2);
  animation: planetFloat 8s ease-in-out infinite;
}

.planet::after {
  content: "";
  position: absolute;
  inset: 18% 12% auto auto;
  width: 28%;
  height: 18%;
  border-radius: 50%;
  background: rgba(0, 40, 60, 0.45);
  transform: rotate(-25deg);
}

.ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.25);
}

.ring--1 {
  transform: rotateX(72deg) rotateZ(15deg);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
  animation: ringSpin1 24s linear infinite;
}

.ring--2 {
  inset: 2%;
  border-color: rgba(0, 255, 200, 0.18);
  transform: rotateX(72deg) rotateZ(-10deg);
  animation: ringSpin2 36s linear infinite reverse;
}

.satellite {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 16px var(--teal);
  animation: satOrbit 14s linear infinite;
}

@keyframes planetFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes ringSpin1 {
  from { transform: rotateX(72deg) rotateZ(15deg); }
  to { transform: rotateX(72deg) rotateZ(375deg); }
}

@keyframes ringSpin2 {
  from { transform: rotateX(72deg) rotateZ(-10deg); }
  to { transform: rotateX(72deg) rotateZ(350deg); }
}

@keyframes satOrbit {
  from { transform: rotate(0deg) translateX(min(42vw, 220px)) rotate(0deg); }
  to { transform: rotate(360deg) translateX(min(42vw, 220px)) rotate(-360deg); }
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ===== Sections ===== */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section__head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 0.85rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.section__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
  max-width: 36rem;
}

/* ===== Services ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s;
}

.service:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 36px rgba(0, 229, 255, 0.16);
}

.service:hover .service__icon {
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.55));
  color: var(--teal);
}

.service--accent {
  background: linear-gradient(145deg, rgba(0, 80, 100, 0.35), rgba(12, 22, 42, 0.6));
  border-color: rgba(0, 229, 255, 0.28);
}

.service__icon {
  width: 48px;
  height: 48px;
  color: var(--cyan);
  margin-bottom: 1.1rem;
  transition: filter 0.35s var(--ease), color 0.35s var(--ease);
}

.service__icon svg {
  width: 100%;
  height: 100%;
}

.service h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
}

.service p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.service__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.price {
  font-weight: 700;
  color: var(--teal);
  font-size: 0.95rem;
}

.badge {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.services__more {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.services__more p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ===== Portfolio ===== */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.work {
  display: block;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.work.magnetic {
  --mag-x: 0px;
  --mag-y: 0px;
  --lift: 0px;
  transform: translate3d(var(--mag-x), calc(var(--mag-y) + var(--lift)), 0);
  transition:
    transform 0.2s var(--ease),
    border-color 0.35s,
    box-shadow 0.35s;
}

.work:hover {
  color: inherit;
  --lift: -6px;
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 229, 255, 0.14);
}

.work.magnetic:hover {
  transform: translate3d(var(--mag-x), calc(var(--mag-y) + var(--lift)), 0);
}

.work__visual {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  perspective: 600px;
}

.work__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 229, 255, 0.2), transparent 55%),
    linear-gradient(135deg, rgba(0, 229, 255, 0.08), transparent 50%);
  z-index: 0;
  transition: opacity 0.4s;
}

.work:hover .work__visual::before {
  opacity: 1;
}

.work__visual--1 { background: linear-gradient(145deg, #0c3a4a, #1a5a7a 40%, #062030); }
.work__visual--2 { background: linear-gradient(145deg, #0a2a40, #1e4a6a 45%, #081828); }
.work__visual--3 { background: linear-gradient(145deg, #0d3840, #126060 40%, #051820); }
.work__visual--4 { background: linear-gradient(145deg, #0f2848, #1a4070 40%, #081428); }
.work__visual--5 { background: linear-gradient(145deg, #123040, #2a6080 40%, #0a1820); }
.work__visual--6 { background: linear-gradient(145deg, #0a3040, #186878 40%, #061820); }

.work__orbits {
  position: absolute;
  inset: 8%;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.work__orbit {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.12);
}

.work__orbit--a {
  width: 78%;
  aspect-ratio: 1;
  transform: rotateX(68deg) rotateZ(0deg);
  animation: workOrbitA 12s linear infinite;
}

.work__orbit--b {
  width: 92%;
  aspect-ratio: 1;
  border-color: rgba(0, 255, 200, 0.28);
  border-style: dashed;
  transform: rotateX(68deg) rotateZ(0deg);
  animation: workOrbitB 18s linear infinite reverse;
}

.work__sat {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal), 0 0 20px rgba(0, 229, 255, 0.5);
  animation: workSat 10s linear infinite;
}

.work__icon {
  position: relative;
  z-index: 2;
  width: min(58%, 120px);
  height: auto;
  color: var(--cyan);
  filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.5));
  transition: transform 0.45s var(--ease), filter 0.45s, color 0.35s;
  animation: workIconFloat 4.5s ease-in-out infinite;
}

.work:hover .work__icon {
  transform: translateY(-6px) scale(1.08);
  color: var(--teal);
  filter: drop-shadow(0 0 22px rgba(0, 255, 200, 0.65));
  animation-play-state: paused;
}

.work:hover .work__orbit--a {
  animation-duration: 6s;
  border-color: rgba(0, 229, 255, 0.65);
}

.work:hover .work__orbit--b {
  animation-duration: 9s;
  border-color: rgba(0, 255, 200, 0.55);
}

.work:hover .work__sat {
  animation-duration: 5s;
}

@keyframes workOrbitA {
  to { transform: rotateX(68deg) rotateZ(360deg); }
}

@keyframes workOrbitB {
  to { transform: rotateX(68deg) rotateZ(360deg); }
}

@keyframes workSat {
  from { transform: rotate(0deg) translateX(min(28%, 52px)) rotate(0deg); }
  to { transform: rotate(360deg) translateX(min(28%, 52px)) rotate(-360deg); }
}

@keyframes workIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
  .work__orbit--a,
  .work__orbit--b,
  .work__sat,
  .work__icon {
    animation: none !important;
  }
}

.work__info {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.work__type {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.work__price {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--teal);
  text-shadow: 0 0 16px rgba(0, 255, 200, 0.25);
}

.portfolio__cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* ===== Process ===== */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: none;
}

.step {
  position: relative;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border-strong);
}

.step__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 229, 255, 0.45);
  display: block;
  margin-bottom: 0.85rem;
  line-height: 1;
}

.step h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ===== Benefits ===== */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-bottom: 2.5rem;
}

.benefit {
  padding: 1.5rem;
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.06), transparent);
}

.benefit h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.benefit p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.promo {
  position: relative;
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface-strong);
  overflow: hidden;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.promo__glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 80%;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.2), transparent 65%);
  pointer-events: none;
}

.promo__label {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.75rem;
}

.promo h3 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  margin: 0 0 0.85rem;
}

.promo > p {
  position: relative;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 36rem;
  margin-inline: auto;
}

.promo__deadline {
  position: relative;
  margin: 0.35rem 0 1.35rem !important;
  font-size: 0.9rem;
  color: var(--cyan) !important;
  font-weight: 600;
}

.promo .btn {
  position: relative;
}

.countdown {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 auto 0.25rem;
  flex-wrap: wrap;
}

.countdown__item {
  min-width: 78px;
  padding: 0.85rem 0.65rem 0.7rem;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 20, 40, 0.55);
  box-shadow: inset 0 0 24px rgba(0, 229, 255, 0.06);
}

.countdown__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--text);
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
  font-variant-numeric: tabular-nums;
}

.countdown__label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.countdown__sep {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cyan);
  opacity: 0.7;
  margin-bottom: 1rem;
  animation: sepBlink 1s steps(1) infinite;
}

@keyframes sepBlink {
  0%, 49% { opacity: 0.85; }
  50%, 100% { opacity: 0.25; }
}

.promo.is-ended .countdown {
  display: none;
}

.promo.is-ended .countdown__sep {
  animation: none;
}

.promo.is-ended .promo__label {
  color: var(--text-muted);
}

.promo.is-ended .promo__deadline {
  color: var(--amber) !important;
}

@media (max-width: 480px) {
  .countdown__item {
    min-width: 68px;
    padding: 0.7rem 0.45rem 0.55rem;
  }

  .countdown__sep {
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
  }
}

/* ===== Support ===== */
.support {
  padding-top: 2rem;
}

.support__card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(0, 60, 80, 0.28), rgba(10, 18, 36, 0.85));
  overflow: hidden;
}

.support__glow {
  position: absolute;
  width: 55%;
  height: 120%;
  left: -10%;
  top: -20%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.18), transparent 65%);
  pointer-events: none;
}

.support__orbits {
  position: absolute;
  left: 2.5rem;
  top: 50%;
  translate: 0 -50%;
  width: 160px;
  height: 160px;
  pointer-events: none;
  opacity: 0.55;
}

.support__orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 229, 255, 0.35);
  transform: rotateX(66deg);
  animation: supportOrbit 14s linear infinite;
}

.support__sat {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  animation: supportSat 10s linear infinite;
}

.support__icon {
  position: relative;
  z-index: 1;
  width: 110px;
  height: 110px;
  color: var(--cyan);
  filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.45));
  flex-shrink: 0;
}

.support__icon svg {
  width: 100%;
  height: 100%;
}

.support__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.support__content .section__title {
  margin-bottom: 1rem;
}

.support__text {
  margin: 0 0 1.35rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.support__points {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.support__points li {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 229, 255, 0.06);
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@keyframes supportOrbit {
  to { transform: rotateX(66deg) rotateZ(360deg); }
}

@keyframes supportSat {
  from { transform: rotate(0deg) translateX(68px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(68px) rotate(-360deg); }
}

@media (max-width: 768px) {
  .support__card {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.35rem;
    text-align: center;
    justify-items: center;
  }

  .support__orbits {
    left: 50%;
    translate: -50% -50%;
  }

  .support__points {
    justify-content: center;
  }

  .support__content .section__title br {
    display: none;
  }
}

/* ===== Reviews ===== */
.reviews__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(41, 178, 74, 0.1), rgba(0, 229, 255, 0.05) 55%, transparent);
}

.reviews__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.reviews__logo {
  width: 140px;
  height: auto;
}

.reviews__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.reviews__score {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}

.reviews__stars,
.review__stars {
  display: inline-flex;
  gap: 0.15rem;
  color: var(--amber);
}

.reviews__stars svg,
.review__stars svg {
  width: 18px;
  height: 18px;
}

.review__stars svg {
  width: 14px;
  height: 14px;
}

.reviews__count {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.review {
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.review:hover {
  border-color: rgba(41, 178, 74, 0.45);
  transform: translateY(-3px);
}

.review__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.review__avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(145deg, #29b24a, #1a7a32);
}

.review__author {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  font-weight: 700;
}

.review__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.reviews__cta {
  display: flex;
  justify-content: center;
}

.btn--2gis {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(41, 178, 74, 0.55);
  background: linear-gradient(135deg, rgba(41, 178, 74, 0.22), rgba(41, 178, 74, 0.08));
  color: var(--text);
  font-weight: 600;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn--2gis:hover {
  color: #fff;
  border-color: #29b24a;
  background: linear-gradient(135deg, rgba(41, 178, 74, 0.45), rgba(41, 178, 74, 0.18));
  box-shadow: 0 0 28px rgba(41, 178, 74, 0.3);
  transform: translateY(-2px);
}

.btn--2gis img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

/* ===== Quiz ===== */
.quiz__card {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-strong);
  overflow: hidden;
}

.quiz__card::before {
  content: "";
  position: absolute;
  inset: -40% 20% auto -20%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.12), transparent 65%);
  pointer-events: none;
}

.quiz__progress-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.quiz__progress {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 4px;
  border-radius: 999px;
  background: rgba(120, 200, 255, 0.12);
  overflow: hidden;
}

.quiz__progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
  transition: width 0.45s var(--ease);
}

.quiz__discount {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 11.5rem;
  padding: 0.4rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 193, 77, 0.35);
  background: linear-gradient(145deg, rgba(255, 193, 77, 0.16), rgba(0, 229, 255, 0.08));
  box-shadow: 0 0 0 1px rgba(255, 193, 77, 0.08) inset;
  line-height: 1.2;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.quiz__discount.is-active {
  border-color: rgba(255, 193, 77, 0.55);
  box-shadow: 0 0 14px rgba(255, 193, 77, 0.28);
}

.quiz__discount.is-bump {
  animation: quiz-discount-bump 0.55s var(--ease);
}

.quiz__discount-cta {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--amber);
}

.quiz__discount-hint {
  margin-top: 0.1rem;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: rgba(255, 223, 160, 0.85);
}

.quiz__discount-label {
  font-size: 0.58rem;
  letter-spacing: 0.02em;
  color: rgba(255, 223, 160, 0.9);
}

.quiz__discount-value {
  margin-top: 0.1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--amber);
}

@keyframes quiz-discount-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .quiz__discount.is-bump {
    animation: none;
  }
}

.quiz__step-label {
  position: relative;
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.quiz__title {
  position: relative;
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
}

.quiz__body {
  position: relative;
  margin-bottom: 1.25rem;
}

.quiz__options {
  display: grid;
  gap: 0.55rem;
}

.quiz__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(8, 16, 32, 0.55);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.quiz__option:hover {
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.08);
  transform: translateX(4px);
}

.quiz__option.is-selected {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.12);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.quiz__option-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 11px;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.3s var(--ease);
}

.quiz__option-icon svg {
  width: 22px;
  height: 22px;
}

.quiz__option:hover .quiz__option-icon,
.quiz__option.is-selected .quiz__option-icon {
  color: var(--teal);
  background: rgba(0, 255, 200, 0.12);
  border-color: rgba(0, 255, 200, 0.35);
  transform: scale(1.05);
}

.quiz__option-text {
  flex: 1;
  min-width: 0;
}

.quiz__option-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 229, 255, 0.45);
  background: transparent;
  position: relative;
  margin-left: auto;
}

.quiz__option.is-selected .quiz__option-check {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.quiz__option.is-selected .quiz__option-check::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #041018;
}

.quiz__hint,
.quiz__flash {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.quiz__flash {
  color: var(--amber);
}

.quiz__field textarea,
.quiz__form input[type="text"],
.quiz__form input[type="tel"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(8, 16, 32, 0.65);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}

.quiz__field textarea:focus,
.quiz__form input:focus {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}

.quiz__field textarea.is-invalid,
.quiz__form input.is-invalid {
  border-color: var(--danger);
}

.quiz__nav {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
}

.quiz__nav .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.quiz__form .btn--full {
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .quiz__card {
    padding: 1.35rem 1.1rem 1.2rem;
  }

  .quiz__progress-row {
    gap: 0.55rem;
    align-items: stretch;
  }

  .quiz__discount {
    max-width: 9.5rem;
    padding: 0.35rem 0.5rem;
  }

  .quiz__discount-cta {
    font-size: 0.62rem;
  }

  .quiz__discount-value {
    font-size: 0.9rem;
  }

  .quiz__discount-label {
    font-size: 0.52rem;
  }

  .quiz__option {
    padding: 0.75rem 0.85rem;
    font-size: 0.9rem;
  }
}

/* ===== Contact ===== */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: start;
}

.contact__list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contact__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact__list a,
.contact__list > li > span:last-child {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.contact__list a:hover {
  color: var(--cyan);
}

.form {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-strong);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 1rem;
}

.form__row {
  display: grid;
  gap: 0.4rem;
}

/* Honeypot — скрытое поле против ботов (уникальный префикс wca-) */
.wca-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
}

.form label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form select.is-highlight {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.2), 0 0 24px rgba(0, 255, 200, 0.15);
  animation: selectPulse 1.2s var(--ease);
}

@keyframes selectPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.35); }
  100% { box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.2), 0 0 24px rgba(0, 255, 200, 0.15); }
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(5, 10, 20, 0.65);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}

.form input.is-invalid,
.form select.is-invalid,
.form textarea.is-invalid {
  border-color: var(--danger);
}

.form__error {
  min-height: 1.1em;
  font-size: 0.8rem;
  color: var(--danger);
}

.form__row--recaptcha {
  margin: 0.35rem 0 0.15rem;
}

.form__row--recaptcha .form__error {
  display: block;
  margin-top: 0.4rem;
}

.form__row--recaptcha iframe {
  max-width: 100%;
}

.form__check input {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--cyan);
}

.form__note {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form__success[hidden] {
  display: none !important;
}

.form__success {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 2rem;
  background: rgba(5, 12, 24, 0.95);
  border-radius: inherit;
  animation: fadeIn 0.4s var(--ease);
  z-index: 2;
}

.form__success strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--teal);
}

.form__success p {
  margin: 0;
  color: var(--text-muted);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== Footer ===== */
.footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border);
  background: rgba(3, 6, 12, 0.6);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 1rem 0 0;
  max-width: 28rem;
}

.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.footer__cols > * {
  min-width: 0;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--cyan);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer ul a {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

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

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__bottom a {
  color: var(--text-muted);
}

.footer__bottom a:hover {
  color: var(--cyan);
}

/* ===== Legal / Privacy page ===== */
.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 2.5rem;
}

.page-hero .section__title {
  margin-bottom: 0.75rem;
}

.legal {
  padding: 0 0 5rem;
}

.legal__content {
  max-width: 760px;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(12px);
}

.legal__content h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 2rem 0 0.85rem;
  color: var(--cyan);
}

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

.legal__content p,
.legal__content li {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal__content p {
  margin: 0 0 0.9rem;
}

.legal__content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal__content li {
  margin-bottom: 0.4rem;
}

.legal__content a {
  color: var(--cyan);
}

.legal__meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Scroll progress (left, desktop) ===== */
.scroll-progress {
  display: none;
  position: fixed;
  left: 0;
  top: var(--header-h);
  bottom: 0;
  width: 14px;
  z-index: 95;
  pointer-events: none;
}

.scroll-progress__rail {
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      rgba(0, 229, 255, 0.08) 0%,
      rgba(59, 130, 246, 0.12) 40%,
      rgba(0, 255, 200, 0.08) 100%
    );
  box-shadow:
    inset 0 0 6px rgba(0, 229, 255, 0.15),
    0 0 12px rgba(0, 40, 80, 0.35);
  overflow: visible;
}

.scroll-progress__rail::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    radial-gradient(1px 1px at 50% 12%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 50% 28%, rgba(0, 229, 255, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 50% 47%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 50% 63%, rgba(0, 255, 200, 0.5), transparent),
    radial-gradient(1px 1px at 50% 81%, rgba(255, 255, 255, 0.35), transparent);
  opacity: 0.7;
}

.scroll-progress__glow {
  position: absolute;
  left: 50%;
  top: 0;
  width: 18px;
  height: 0;
  translate: -50% 0;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(0, 229, 255, 0) 0%,
    rgba(0, 229, 255, 0.22) 35%,
    rgba(0, 255, 200, 0.28) 100%
  );
  filter: blur(6px);
  opacity: 0.85;
  will-change: height;
}

.scroll-progress__fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(0, 229, 255, 0.35) 0%,
    var(--cyan) 45%,
    var(--teal) 100%
  );
  box-shadow:
    0 0 10px rgba(0, 229, 255, 0.55),
    0 0 22px rgba(0, 255, 200, 0.35);
  will-change: height;
}

.scroll-progress__comet {
  position: absolute;
  left: 50%;
  top: 0;
  width: 14px;
  height: 14px;
  translate: -50% -50%;
  will-change: top;
}

.scroll-progress__core {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--cyan) 45%, var(--teal) 100%);
  box-shadow:
    0 0 8px rgba(0, 229, 255, 0.9),
    0 0 18px rgba(0, 255, 200, 0.55),
    0 0 28px rgba(59, 130, 246, 0.35);
  animation: scrollCometPulse 2.4s ease-in-out infinite;
}

.scroll-progress__halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
  animation: scrollCometHalo 2.4s ease-in-out infinite;
}

@keyframes scrollCometPulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.12);
    filter: brightness(1.25);
  }
}

@keyframes scrollCometHalo {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.25;
  }
}

@media (min-width: 981px) {
  .scroll-progress {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress__core,
  .scroll-progress__halo {
    animation: none !important;
  }
}

/* ===== Social dock (right) ===== */
.social-dock {
  position: fixed;
  right: 1.1rem;
  top: 50%;
  translate: 0 -50%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-dock__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(120, 200, 255, 0.12);
  background: rgba(10, 18, 34, 0.42);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s, background 0.3s;
  animation: socialDockIn 0.6s var(--ease) both;
}

.social-dock__btn--max {
  animation-delay: 0.08s;
}

.social-dock__btn--tg {
  animation-delay: 0.16s;
}

.social-dock__btn img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.social-dock__icon {
  width: 42px;
  height: 42px;
  display: block;
  pointer-events: none;
  color: var(--cyan);
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.4));
}

.social-dock__btn--call {
  border: none;
  background: rgba(0, 70, 90, 0.28);
}

.social-dock__btn--call:hover {
  border: none;
  background: rgba(0, 90, 110, 0.4);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.28),
    0 0 26px rgba(0, 255, 200, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.social-dock__btn--call .social-dock__icon path {
  animation: phoneHandset 2.4s ease-in-out infinite;
  transform-origin: 14px 14px;
}

.social-dock__btn:hover {
  transform: translateX(-4px) scale(1.05);
  border-color: rgba(0, 229, 255, 0.28);
  background: rgba(12, 24, 44, 0.55);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(0, 229, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.social-dock__btn--call:hover .social-dock__icon {
  color: var(--teal);
}

.social-dock__btn--max:hover {
  background: rgba(18, 18, 28, 0.5);
}

.social-dock__btn--tg:hover {
  background: rgba(10, 40, 70, 0.48);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(42, 171, 238, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.social-dock__btn::after {
  content: attr(title);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  translate: 0 -50%;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: rgba(5, 10, 20, 0.92);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}

.social-dock__btn:hover::after,
.social-dock__btn:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

@keyframes socialDockIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .social-dock {
    right: 0.75rem;
    top: auto;
    bottom: 6.75rem;
    translate: none;
  }

  .social-dock__btn {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .social-dock__btn img {
    width: 26px;
    height: 26px;
  }

  .social-dock__icon {
    width: 38px;
    height: 38px;
  }

  .social-dock__btn::after {
    display: none;
  }
}

/* ===== Back to top ===== */
.wca-totop {
  position: fixed;
  right: 1.1rem;
  bottom: 1.25rem;
  z-index: 91;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(120, 200, 255, 0.18);
  background: rgba(10, 18, 34, 0.55);
  color: var(--cyan);
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.22),
    0 0 18px rgba(0, 229, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.28s var(--ease),
    transform 0.28s var(--ease),
    visibility 0.28s,
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}

.wca-totop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.wca-totop:hover,
.wca-totop:focus-visible {
  color: var(--teal);
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(12, 24, 44, 0.7);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.28),
    0 0 26px rgba(0, 255, 200, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.wca-totop:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.wca-totop__icon {
  width: 26px;
  height: 26px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
}

@media (max-width: 768px) {
  .wca-totop {
    right: 0.75rem;
    bottom: 1.1rem;
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .wca-totop__icon {
    width: 22px;
    height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wca-totop {
    transition: opacity 0.2s, visibility 0.2s;
    transform: none;
  }
}

/* ===== Cookie ===== */
.cookie {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  max-width: 520px;
  margin-inline: auto;
  display: none;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.cookie.is-open {
  display: flex;
  animation: slideUp 0.5s var(--ease);
}

.cookie[hidden] {
  display: none !important;
}

.cookie p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cookie a {
  color: var(--cyan);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease), box-shadow 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal.is-entering {
  filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.28));
}

.service.reveal.is-entering,
.work.reveal.is-entering,
.benefit.reveal.is-entering,
.review.reveal.is-entering,
.step.reveal.is-entering {
  animation: cardEnterGlow 0.75s var(--ease);
}

@keyframes cardEnterGlow {
  0% {
    box-shadow: 0 0 0 rgba(0, 229, 255, 0);
    border-color: var(--border);
  }
  40% {
    box-shadow: 0 0 48px rgba(0, 229, 255, 0.32), 0 0 16px rgba(0, 255, 200, 0.18);
    border-color: var(--border-strong);
  }
  100% {
    box-shadow: 0 0 0 rgba(0, 229, 255, 0);
    border-color: var(--border);
  }
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

/* ===== Magnetic CTA ===== */
.header__cta.magnetic {
  --mag-x: 0px;
  --mag-y: 0px;
  --lift: 0px;
  transform: translate3d(var(--mag-x), calc(var(--mag-y) + var(--lift)), 0);
  transition:
    transform 0.2s var(--ease),
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .header__phone {
    font-size: 0.95rem;
  }

  .header__phone-icon {
    width: 34px;
    height: 34px;
  }

  .header__phone > span:last-child {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero__orbit {
    opacity: 0.35;
    right: -20%;
    width: min(70vw, 420px);
  }

  .services__grid,
  .portfolio__grid,
  .benefits__grid,
  .reviews__grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .contact__layout,
  .footer__inner,
  .footer__inner:has(.footer__cols--3) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header__inner > .logo,
  .header__2gis,
  .header__cta {
    display: none;
  }

  .header__inner .header__phone {
    margin-left: 0;
    margin-right: 0;
  }

  .header__phone {
    display: inline-flex;
    font-size: 0.88rem;
    gap: 0.45rem;
    white-space: nowrap;
  }

  .header__phone > span:last-child {
    display: inline;
  }

  .header__phone-icon {
    width: 32px;
    height: 32px;
  }

  .header__actions {
    margin-left: auto;
    gap: 0.4rem;
  }

  .header__calc-label {
    display: none;
  }

  .header__calc-title {
    font-size: 0.72rem;
  }

  .header__calc {
    padding: 0.3rem 0.55rem 0.3rem 0.35rem;
  }

  .nav__brand.nav__mobile-only {
    display: inline-flex;
  }

  .nav__list > .nav__mobile-only {
    display: list-item;
  }

  .nav__phone {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 5rem;
  }

  .hero__orbit {
    position: relative;
    right: auto;
    top: auto;
    translate: var(--orbit-x, 0px) var(--orbit-y, 0px);
    width: min(78vw, 300px);
    margin: 0 auto 2rem;
    opacity: 0.85;
    order: -1;
  }
}

@media (max-width: 520px) {
  .header__phone {
    font-size: 0.8rem;
    gap: 0.35rem;
  }

  .header__phone-icon {
    width: 28px;
    height: 28px;
  }

  .header__calc-text {
    display: none;
  }

  .header__calc {
    padding: 0.3rem;
  }

  .header__calc-icon {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .hero__scroll {
    display: none;
  }

  .section {
    padding: 4.5rem 0;
  }

  .services__grid,
  .portfolio__grid,
  .benefits__grid,
  .reviews__grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .reviews__summary {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem;
  }

  .reviews__score {
    font-size: 2rem;
  }

  .promo {
    padding: 1.75rem 1.25rem;
  }

  .form {
    padding: 1.35rem;
  }

  .cookie.is-open {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

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

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .reveal.is-entering,
  .service.reveal.is-entering,
  .work.reveal.is-entering,
  .benefit.reveal.is-entering,
  .review.reveal.is-entering,
  .step.reveal.is-entering {
    animation: none !important;
    filter: none;
  }

  .magnetic {
    --mag-x: 0px !important;
    --mag-y: 0px !important;
    --lift: 0px !important;
  }

  .nebula,
  .hero__orbit {
    translate: none !important;
  }
}

/* SEO: about + FAQ blocks */
.seo-about__card {
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: 1.25rem;
  border: 1px solid rgba(120, 170, 255, 0.18);
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(56, 120, 255, 0.16), transparent 55%),
    linear-gradient(160deg, rgba(12, 20, 40, 0.92), rgba(8, 12, 24, 0.88));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.seo-about__card .section__head {
  margin-bottom: 1.25rem;
}

.seo-about__body {
  display: grid;
  gap: 1rem;
  max-width: 72ch;
  color: rgba(220, 230, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.7;
}

.seo-about__body strong {
  color: #eef3ff;
  font-weight: 600;
}

.faq__list {
  display: grid;
  gap: 0.85rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq__item {
  border-radius: 1rem;
  border: 1px solid rgba(120, 170, 255, 0.16);
  background: rgba(10, 16, 32, 0.72);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq__item[open] {
  border-color: rgba(120, 190, 255, 0.35);
  background: rgba(14, 24, 48, 0.9);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #eef3ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq__item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid rgba(160, 200, 255, 0.8);
  border-bottom: 2px solid rgba(160, 200, 255, 0.8);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-top: -0.2rem;
}

.faq__item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.2rem;
}

.faq__item p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  color: rgba(210, 222, 255, 0.78);
  line-height: 1.65;
}

@media (max-width: 640px) {
  .seo-about__body {
    font-size: 0.98rem;
  }

  .faq__item summary {
    font-size: 0.98rem;
    padding: 1rem 1.05rem;
  }
}

/* ===== Service card links (homepage) ===== */
.service h3 a {
  color: inherit;
  text-decoration: none;
}

.service h3 a:hover {
  color: var(--cyan, #7ec8ff);
}

.service p a {
  color: var(--cyan, #7ec8ff);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.service__link {
  display: inline-flex;
  margin-top: 0.85rem;
  color: var(--cyan, #7ec8ff);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.service__link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.services__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  justify-content: center;
}

.services__links a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 170, 255, 0.22);
  background: rgba(10, 18, 36, 0.65);
  color: rgba(220, 230, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.services__links a:hover {
  border-color: rgba(126, 200, 255, 0.55);
  color: #fff;
  background: rgba(30, 60, 110, 0.55);
}

/* ===== Landing pages ===== */
.lp-hero {
  padding: calc(var(--header-h, 72px) + 3.25rem) 0 2.5rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  font-size: 0.88rem;
  color: rgba(180, 200, 240, 0.65);
}

.breadcrumbs a {
  color: rgba(160, 210, 255, 0.9);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.lp-hero__title {
  font-family: var(--font-display, "Orbitron", sans-serif);
  font-size: clamp(1.85rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.lp-hero__lead {
  max-width: 42rem;
  margin: 0 0 1.25rem;
  color: rgba(210, 222, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.65;
}

.lp-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.lp-hero__price {
  font-family: var(--font-display, "Orbitron", sans-serif);
  font-size: 1.15rem;
  color: #eef5ff;
  letter-spacing: 0.03em;
}

.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.lp-intro__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1.75rem;
  align-items: start;
}

.lp-intro__text p {
  color: rgba(210, 222, 255, 0.82);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.lp-card {
  padding: 1.5rem 1.4rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(120, 170, 255, 0.2);
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(56, 120, 255, 0.18), transparent 55%),
    rgba(10, 16, 32, 0.85);
}

.lp-card h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.lp-check {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.lp-check li {
  position: relative;
  padding-left: 1.45rem;
  color: rgba(215, 225, 255, 0.85);
  line-height: 1.45;
}

.lp-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #5fd0ff, #4a7dff);
  box-shadow: 0 0 10px rgba(95, 208, 255, 0.45);
}

.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.lp-step {
  padding: 1.25rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(120, 170, 255, 0.14);
  background: rgba(10, 16, 32, 0.55);
}

.lp-step__num {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-family: var(--font-display, "Orbitron", sans-serif);
  font-size: 0.85rem;
  color: var(--cyan, #7ec8ff);
  letter-spacing: 0.08em;
}

.lp-step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.lp-step p {
  margin: 0;
  color: rgba(200, 214, 245, 0.75);
  font-size: 0.95rem;
  line-height: 1.55;
}

.lp-related {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.lp-related__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(120, 170, 255, 0.16);
  background: rgba(10, 16, 32, 0.62);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.lp-related__item:hover {
  border-color: rgba(126, 200, 255, 0.45);
  background: rgba(18, 32, 60, 0.8);
  transform: translateY(-2px);
}

.lp-related__title {
  font-weight: 600;
  color: #eef3ff;
}

.lp-related__price {
  font-size: 0.9rem;
  color: rgba(160, 200, 255, 0.85);
}

.nav__link.is-active .nav__text {
  color: var(--cyan, #7ec8ff);
}

@media (max-width: 980px) {
  .lp-intro__grid,
  .lp-steps,
  .lp-related {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .lp-intro__grid,
  .lp-steps,
  .lp-related {
    grid-template-columns: 1fr;
  }

  .lp-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.nav__list a[aria-current="page"] .nav__text,
.nav__list a.is-active .nav__text {
  color: var(--cyan);
}

/* ===== Portfolio page ===== */
.folio-hero {
  padding: calc(var(--header-h) + 3.25rem) 0 2rem;
}

.folio-hero__lead {
  max-width: 40rem;
}

.folio-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 2rem;
}

.folio-stat {
  padding: 1.05rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(10, 16, 32, 0.55);
}

.folio-stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}

.folio-stat__label {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.folio-list {
  display: grid;
  gap: 1.75rem;
}

.folio-case {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1.75rem;
  align-items: center;
  padding: 1.15rem;
  border-radius: 1.35rem;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(0, 229, 255, 0.08), transparent 55%),
    rgba(10, 16, 32, 0.62);
  overflow: hidden;
}

.folio-case--reverse {
  grid-template-columns: 0.88fr 1.12fr;
}

.folio-case--reverse .folio-case__preview {
  order: 2;
}

.folio-case__glow {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.folio-case--clean .folio-case__glow {
  right: -4rem;
  top: -5rem;
  background: radial-gradient(circle, rgba(56, 160, 255, 0.45), transparent 70%);
}

.folio-case--keytchi .folio-case__glow {
  right: -4rem;
  top: -5rem;
  background: radial-gradient(circle, rgba(255, 90, 160, 0.32), transparent 70%);
}

.folio-case--zaym .folio-case__glow {
  left: -4rem;
  bottom: -6rem;
  background: radial-gradient(circle, rgba(80, 220, 140, 0.28), transparent 70%);
}

.folio-case__preview,
.folio-case__body {
  position: relative;
  z-index: 1;
}

.folio-browser {
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(120, 200, 255, 0.2);
  background: #071018;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.4),
    0 0 36px rgba(0, 229, 255, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.folio-browser:hover {
  color: inherit;
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.48),
    0 0 48px rgba(0, 229, 255, 0.18);
}

.folio-browser__bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.85rem;
  background: rgba(8, 14, 28, 0.96);
  border-bottom: 1px solid rgba(120, 200, 255, 0.12);
}

.folio-browser__dots {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.folio-browser__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a4a62;
}

.folio-browser__dots span:nth-child(1) { background: #ff6b8a; }
.folio-browser__dots span:nth-child(2) { background: #ffc14d; }
.folio-browser__dots span:nth-child(3) { background: #00ffc8; }

.folio-browser__url {
  min-width: 0;
  flex: 1;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(120, 200, 255, 0.1);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.folio-browser__screen {
  position: relative;
  aspect-ratio: 16 / 10.4;
  overflow: hidden;
  background: #0a1220;
}

.folio-browser__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s var(--ease);
}

.folio-browser:hover .folio-browser__screen img {
  transform: scale(1.045);
}

.folio-browser__open {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(5, 8, 16, 0.05), rgba(5, 8, 16, 0.55));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.folio-browser:hover .folio-browser__open,
.folio-browser:focus-visible .folio-browser__open {
  opacity: 1;
}

.folio-browser__open span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.45);
  background: rgba(5, 8, 16, 0.78);
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  backdrop-filter: blur(10px);
}

.folio-case__body {
  padding: 0.35rem 0.65rem 0.35rem 0.15rem;
}

.folio-case--reverse .folio-case__body {
  padding: 0.35rem 0.15rem 0.35rem 0.65rem;
}

.folio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.folio-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 200, 255, 0.2);
  background: rgba(10, 18, 36, 0.7);
  color: rgba(200, 220, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.folio-case__title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.folio-case__text {
  margin: 0 0 1rem;
  color: rgba(210, 222, 255, 0.82);
  line-height: 1.65;
}

.folio-points {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.folio-points li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(220, 230, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.45;
}

.folio-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.45);
}

.folio-case__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.folio-note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.folio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.folio-card {
  display: flex;
  flex-direction: column;
  padding: 0.8rem;
  border-radius: 1.2rem;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(0, 229, 255, 0.07), transparent 55%),
    rgba(10, 16, 32, 0.62);
}

.folio-card .folio-browser {
  flex: 0 0 auto;
}

.folio-card .folio-browser__screen {
  aspect-ratio: 16 / 10;
}

.folio-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.95rem 0.4rem 0.35rem;
}

.folio-card .folio-case__title {
  font-size: 1.18rem;
}

.folio-card .folio-case__text {
  flex: 1;
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}

.folio-home .folio-list {
  gap: 1.5rem;
}

.folio-home__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

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

  .folio-case,
  .folio-case--reverse {
    grid-template-columns: 1fr;
  }

  .folio-case--reverse .folio-case__preview {
    order: 0;
  }

  .folio-case__body,
  .folio-case--reverse .folio-case__body {
    padding: 0.15rem 0.35rem 0.55rem;
  }
}

@media (max-width: 640px) {
  .folio-stats {
    grid-template-columns: 1fr;
  }

  .folio-browser__url {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .folio-browser,
  .folio-browser__screen img,
  .folio-browser__open {
    transition: none;
  }

  .folio-browser:hover {
    transform: none;
  }

  .folio-browser:hover .folio-browser__screen img {
    transform: none;
  }
}

/* ===== Niche SEO pages ===== */
.niche-why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.niche-why__item {
  padding: 1.25rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(120, 170, 255, 0.14);
  background: rgba(10, 16, 32, 0.55);
}

.niche-why__item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.niche-why__item p {
  margin: 0;
  color: rgba(200, 214, 245, 0.78);
  font-size: 0.95rem;
  line-height: 1.55;
}

.folio-seo-link {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  color: var(--cyan, #7ec8ff);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.folio-seo-link:hover,
.folio-seo-link:focus-visible {
  text-decoration: underline;
  color: #fff;
}

.niche-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.folio-grid--niche:has(> :only-child) {
  grid-template-columns: minmax(0, 36rem);
}

.footer__cols--3 {
  grid-template-columns: 1fr 1.1fr 0.9fr;
}

.footer__inner:has(.footer__cols--3) {
  grid-template-columns: 1fr 1.7fr;
}

@media (max-width: 980px) {
  .niche-why,
  .niche-index,
  .footer__cols--3 {
    grid-template-columns: 1fr 1fr;
  }

  .footer__inner:has(.footer__cols--3) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .footer {
    padding-bottom: 6.5rem;
  }

  .footer__cols {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer__cols--3 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.75rem 1.15rem;
  }

  .footer__cols--3 > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .niche-why,
  .niche-index {
    grid-template-columns: 1fr;
  }
}
