/* ACS landing — палитра как в Telegram-боте: navy #17212b / карты #242f3d, акцент #54a9eb */

:root {
  --bg: #17212b;
  --bg-mid: #1e2c3a;
  --bg-deep: #0e1621;
  --bg-elevated: #242f3d;
  --bg-card: rgba(36, 47, 61, 0.92);
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(84, 169, 235, 0.28);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.58);
  --accent: #54a9eb;
  --accent-soft: rgba(84, 169, 235, 0.14);
  --accent-dim: #3d8fd9;
  --accent-glow: rgba(84, 169, 235, 0.4);
  --font: "Inter", system-ui, sans-serif;
  --font-display: "Outfit", var(--font);
  --radius: 14px;
  --radius-lg: 18px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-premium: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}

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

.mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(at 38% 18%, rgba(84, 169, 235, 0.07) 0px, transparent 50%),
    radial-gradient(at 82% 62%, rgba(84, 169, 235, 0.05) 0px, transparent 46%);
}

.mesh--fine {
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 88% 72% at 50% 38%, black 12%, transparent 72%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.glow {
  position: fixed;
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.38;
}

.glow--tl {
  top: -20%;
  left: -10%;
  background: radial-gradient(circle, rgba(84, 169, 235, 0.35) 0%, transparent 68%);
}

.glow--br {
  bottom: -15%;
  right: -15%;
  background: radial-gradient(circle, rgba(61, 143, 217, 0.14) 0%, transparent 65%);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(14, 22, 33, 0.82);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  line-height: 1.15;
  font-family: var(--font-display);
}

.logo__en {
  font-weight: 700;
  font-size: clamp(0.95rem, 1.35vw + 0.58rem, 1.32rem);
  letter-spacing: 0.12em;
  padding-left: 0.06em;
  color: var(--text);
}

.logo__accent {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav a:not(.nav__cta) {
  position: relative;
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  padding-bottom: 0.45rem;
}

.nav a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 1px;
  background: #00bcd4;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.32s var(--ease);
}

.nav a:not(.nav__cta):hover,
.nav a:not(.nav__cta):focus-visible {
  color: #7390ff;
}

.nav a:not(.nav__cta):hover::after,
.nav a:not(.nav__cta):focus-visible::after {
  transform: scaleX(1);
}

.nav a:not(.nav__cta):focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(115, 144, 255, 0.35);
  border-radius: 4px;
}

.nav__cta {
  padding: 0.45rem 1rem !important;
  border-radius: 999px;
  border: 1px solid rgba(84, 169, 235, 0.38);
  color: var(--accent) !important;
  background: rgba(84, 169, 235, 0.09);
  transition:
    transform 0.4s var(--ease-premium),
    box-shadow 0.4s var(--ease-premium),
    background 0.4s var(--ease-premium),
    border-color 0.4s var(--ease-premium),
    filter 0.35s var(--ease-premium);
  transform-origin: center;
}

.nav__cta:hover {
  transform: translateY(-1px);
  background: rgba(84, 169, 235, 0.15);
  border-color: rgba(84, 169, 235, 0.5);
  box-shadow:
    0 10px 28px rgba(84, 169, 235, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav__cta:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.15s;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

@media (max-width: 1024px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(14, 22, 33, 0.98);
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
  }

  .nav.is-open {
    display: flex;
  }

  .burger {
    display: flex;
  }
}

.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 2.5rem) 1.25rem 3rem;
}

.hero__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem 3rem;
  align-items: center;
}

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

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__intro {
  text-align: center;
  margin-bottom: 1.35rem;
  max-width: 26rem;
  margin-inline: auto;
}

.hero__fullname {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
}

.hero__fullname-accent {
  color: var(--accent);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0;
  text-wrap: balance;
}

.hero__title-line {
  display: block;
}

.hero__title-line--plain {
  color: var(--text);
}

.hero__title-line + .hero__title-line {
  margin-top: 0.06em;
}

.text-gradient {
  background: linear-gradient(115deg, #93c5fd 0%, #54a9eb 42%, #3b82f6 78%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  width: 100%;
  margin-bottom: 1.65rem;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  padding-top: 1.15rem;
  margin-top: 0.15rem;
  border-top: 1px solid var(--border);
}

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

.metric {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.metric strong {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.65vw, 1.85rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.metric > span {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

.hero__visual {
  min-width: 0;
}

.hero__visual--showcase {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-showcase {
  position: relative;
  width: 100%;
  max-width: min(400px, 88vw);
}

.hero-showcase__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: calc(var(--radius-lg) + 4px);
  overflow: hidden;
  background: linear-gradient(
    168deg,
    rgba(36, 47, 61, 0.72) 0%,
    rgba(23, 33, 43, 0.94) 48%,
    rgba(30, 44, 58, 0.92) 100%
  );
  border: 1px solid var(--border);
  box-shadow:
    0 22px 56px rgba(5, 10, 18, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-showcase__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  filter: brightness(1.02) saturate(1.05) hue-rotate(-2deg);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-showcase {
    animation: hero-showcase-float 8s ease-in-out infinite;
  }
}

@keyframes hero-showcase-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

/* Рамка как у экрана Telegram: те же navy-тона, скрин вписан без контрастной подложки */
.tg-frame {
  --tg-rim: var(--bg-elevated);
  --tg-bevel: rgba(84, 169, 235, 0.12);
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--tg-rim);
  border: 1px solid var(--tg-bevel);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.tg-frame__chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tg-frame__chrome-spacer {
  width: 42px;
  height: 1px;
  pointer-events: none;
}

.tg-frame__dots {
  display: inline-flex;
  gap: 6px;
}

.tg-frame__dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5c6b7a;
}

.tg-frame__dots span:nth-child(1) {
  background: #ff5f56;
}

.tg-frame__dots span:nth-child(2) {
  background: #ffbd2e;
}

.tg-frame__dots span:nth-child(3) {
  background: #27c93f;
}

.tg-frame__title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.tg-frame__figure {
  margin: 0;
  padding: 8px;
  background: var(--bg-mid);
}

.tg-frame__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: 12px;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.section__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.section__lead {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
}

.section__lead--muted {
  font-size: 0.9rem;
  opacity: 0.92;
}

.section-head {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  text-align: center;
}

.section-head .section__title {
  margin-left: auto;
  margin-right: auto;
}

.section-head .section__lead {
  margin-inline: auto;
}

.services {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2.5rem;
}

.services__head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 1.35rem;
}

.services__title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
}

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

@media (min-width: 560px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 0.35rem;
  min-height: 0;
}

.card__icon {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.94;
  filter: drop-shadow(0 3px 14px rgba(84, 169, 235, 0.28));
  transition:
    transform 0.45s var(--ease-premium),
    filter 0.45s var(--ease-premium),
    opacity 0.35s ease;
}

.card:hover .card__icon {
  transform: scale(1.06) translateY(-2px);
  opacity: 1;
  filter: drop-shadow(0 8px 24px rgba(84, 169, 235, 0.42));
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(84, 169, 235, 0.22);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.card__text {
  flex: 1;
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.card__footer {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-decoration: none;
  transition:
    color 0.38s var(--ease-premium),
    transform 0.38s var(--ease-premium),
    filter 0.38s var(--ease-premium),
    text-shadow 0.38s var(--ease-premium);
}

.card__more::after {
  content: "→";
  font-weight: 700;
  transition: transform 0.42s var(--ease-premium);
}

.card:hover .card__more::after {
  transform: translateX(5px);
}

.card__more:hover {
  color: #7ebef5;
  transform: translateX(2px);
  filter: brightness(1.06);
  text-shadow: 0 0 24px rgba(84, 169, 235, 0.22);
}

.card--accent {
  border-color: rgba(84, 169, 235, 0.35);
  background: linear-gradient(155deg, rgba(84, 169, 235, 0.09), rgba(17, 24, 42, 0.88));
}

/* Страница модуля (подробнее) */
.module-detail {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 2rem) 1.25rem 4rem;
}

.module-detail__shell {
  max-width: 1180px;
  margin: 0 auto;
}

.module-detail__back {
  margin: 0 0 1.5rem;
}

.module-detail__back a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.module-detail__back a:hover {
  text-decoration: underline;
}

.module-detail__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.module-hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.module-hero__main {
  min-width: 0;
}

.module-hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.module-hero__lead {
  margin: 0 0 1.5rem;
  max-width: none;
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.65;
}

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

@media (min-width: 900px) {
  .module-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 2rem 2.5rem;
    align-items: stretch;
  }

  .module-price-card {
    align-self: start;
  }
}

.module-price-card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(23, 33, 43, 0.92), rgba(14, 20, 30, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.22);
}

.module-price-card__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.module-price-card__value {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--accent);
}

.module-price-card__amount {
  font-size: clamp(2rem, 4vw, 2.35rem);
}

.module-price-card__currency {
  margin-left: 0.15rem;
  font-size: 1.35rem;
}

.module-price-card__unit {
  margin-left: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.module-price-card__hint {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.47);
}

.module-price-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.module-price-card__link:hover {
  text-decoration: underline;
}

.module-price-card__solo {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.52);
}

.module-price-card--compact .module-price-card__solo {
  margin-top: 0.15rem;
}

.module-detail__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 820px) {
  .module-detail__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

.module-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(23, 33, 43, 0.88), rgba(17, 24, 42, 0.94));
}

.module-panel h2 {
  flex-shrink: 0;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.module-panel > p {
  flex: 1 1 auto;
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.module-panel > p + p {
  margin-top: 0.85rem;
}

.module-video-placeholder {
  margin-top: 1rem;
  flex-shrink: 0;
  display: flex;
  width: 100%;
  max-height: min(220px, 42vw);
  aspect-ratio: 16 / 9;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
}

.module-video-placeholder__play {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.85rem;
  color: var(--accent);
  background: rgba(84, 169, 235, 0.16);
}

.module-detail--soon {
  padding-top: calc(var(--header-h) + 3rem);
  text-align: center;
}

.module-detail--soon h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.module-detail--soon p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.module-detail--soon a {
  font-weight: 600;
  color: var(--accent);
}

.contacts-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  text-align: center;
}

.contacts-page__lead {
  margin: 0 auto 2rem;
  max-width: 28rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: min(1040px, 100%);
  margin: 0 auto;
}

@media (max-width: 960px) {
  .contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.contacts-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(36, 47, 61, 0.45);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.contacts-card:hover {
  border-color: rgba(84, 169, 235, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.contacts-card__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.contacts-card__hint {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.referral-page__head {
  text-align: center;
  margin-bottom: 1.35rem;
}

.referral-page__lead-top {
  margin-top: 0.35rem !important;
}

.referral-page__panels {
  width: 100%;
  max-width: min(42rem, 100%);
  margin: 0 auto 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.referral-page__panels > .referral-rates,
.referral-page__panels > .referral-page__story {
  width: 100%;
  max-width: none;
  margin: 0;
}

.referral-rates {
  padding: 1.35rem 1.5rem !important;
}

.referral-rates__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.referral-rates__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.referral-rates__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.referral-rates__list li:first-child {
  padding-top: 0;
}

.referral-rates__sum {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.referral-rates__for {
  font-size: 0.95rem;
  color: var(--muted);
}

.referral-page__story .referral-page__flow {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.referral-page__arrow {
  color: var(--accent);
  font-weight: 600;
}

.referral-page__actions {
  justify-content: center;
  margin: 0.25rem auto 2.5rem;
}

.referral-page .module-detail__shell {
  padding-bottom: 3rem;
}
/* Калькулятор прайса */
.pricing {
  position: relative;
  z-index: 1;
  padding: 1rem 1.25rem 2.5rem;
}

.pricing__shell {
  max-width: 1180px;
  margin: 0 auto;
}

.pricing__head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 1.35rem;
}

.pricing__title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.pricing__lead {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.pricing__board {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(23, 33, 43, 0.92), rgba(14, 20, 30, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 44px rgba(0, 0, 0, 0.28);
  padding: 1.15rem 1.35rem 1.25rem;
}

.pricing__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing__toolbar-label {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.pricing__toolbar .pricing-period {
  flex: 1 1 220px;
  max-width: 320px;
  margin-bottom: 0;
  align-self: center;
}

.pricing__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(288px, 360px);
  grid-template-rows: auto auto;
  gap: 0.55rem 1.5rem;
  align-items: start;
}

.pricing__modules-head {
  grid-column: 1;
  grid-row: 1;
}

.pricing__aside-head {
  grid-column: 2;
  grid-row: 1;
}

.pricing__modules {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.pricing__aside {
  grid-column: 2;
  grid-row: 2;
  padding: 0.85rem 1rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.22);
}

.pricing__col-tag {
  display: block;
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.pricing__col-tag--aside {
  text-align: right;
}

.pricing__modules--locked {
  opacity: 0.55;
  pointer-events: none;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(23, 33, 43, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.pricing-row:hover {
  border-color: rgba(84, 169, 235, 0.2);
  background: rgba(36, 47, 61, 0.65);
}

.pricing-row:has(.pricing-row__check:checked) {
  border-color: rgba(84, 169, 235, 0.28);
  background: rgba(84, 169, 235, 0.06);
}

.pricing-row__main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.pricing-row__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.pricing-row__desc {
  font-size: 0.6875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.46);
}

.pricing-row__rate {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.pricing-row__unit {
  font-weight: 500;
  opacity: 0.85;
}

.pricing-row__check {
  appearance: none;
  box-sizing: border-box;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  min-height: 1.25rem;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pricing-row__check:hover {
  border-color: rgba(84, 169, 235, 0.55);
}

.pricing-row__check:checked {
  border-color: var(--accent);
  background: radial-gradient(circle, var(--accent) 45%, transparent 48%);
  box-shadow: inset 0 0 0 3px rgba(23, 33, 43, 0.95);
}

.pricing-row__check:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pricing-period {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.25rem;
  margin-bottom: 1.15rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-period__btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 2.25rem;
  padding: 0.45rem 0.5rem;
  margin: 0;
  border: none;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}

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

.pricing-period__btn.is-active {
  color: var(--text);
  background: rgba(84, 169, 235, 0.22);
  box-shadow: 0 0 0 1px rgba(84, 169, 235, 0.25);
}

.pricing-full {
  display: flex;
  flex-direction: row;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.65rem;
  border-radius: var(--radius);
  border: 1px solid rgba(84, 169, 235, 0.18);
  background: rgba(84, 169, 235, 0.05);
  cursor: pointer;
}

.pricing-full:has(.pricing-full__input:checked) {
  border-color: rgba(84, 169, 235, 0.4);
  background: rgba(84, 169, 235, 0.1);
}

.pricing-full__input {
  appearance: none;
  box-sizing: border-box;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  min-height: 1.25rem;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  margin-top: 0.15rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.pricing-full__input:checked {
  border-color: var(--accent);
  background: radial-gradient(circle, var(--accent) 45%, transparent 48%);
  box-shadow: inset 0 0 0 2px rgba(23, 33, 43, 0.95);
}

.pricing-full__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.pricing-full__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.pricing-full__hint {
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.48);
  overflow-wrap: break-word;
}

.pricing-full__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

.pricing__total-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.65rem;
  margin-bottom: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing__total-label {
  font-size: 0.8125rem;
  color: var(--muted);
}

.pricing__total-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.pricing__fine {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.38);
}

.pricing__fine[hidden] {
  display: none;
}

.pricing__buy {
  width: 100%;
  justify-content: center;
}

@media (max-width: 960px) {
  .pricing__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .pricing__toolbar .pricing-period {
    flex: 0 0 auto;
    align-self: stretch;
    width: 100%;
    max-width: none;
  }

  .pricing__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 0.65rem;
  }

  .pricing__modules-head {
    grid-column: 1;
    grid-row: 1;
  }

  .pricing__aside-head {
    display: none;
  }

  .pricing__modules {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: 1fr;
  }

  .pricing__aside {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (max-width: 520px) {
  .pricing-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .pricing-row__main {
    grid-column: 1 / -1;
  }

  .pricing-row__check {
    justify-self: end;
  }
}

.reviews-text {
  padding: 2rem 0 2.5rem;
}

.reviews-text__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.reviews-text .section-head {
  max-width: none;
  margin: 0 auto;
  padding: 0 0 2rem;
  text-align: center;
}

.reviews-carousel {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  outline: none;
}

.reviews-carousel:focus-visible {
  outline: 2px solid rgba(84, 169, 235, 0.45);
  outline-offset: 6px;
  border-radius: var(--radius);
}

.reviews-carousel__viewport {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.reviews-carousel__track {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.45s var(--ease);
  will-change: transform;
  align-items: stretch;
}

.reviews-carousel__slide {
  display: flex;
  flex-shrink: 0;
  min-width: 0;
  box-sizing: border-box;
}

.reviews-carousel__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.reviews-carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(36, 47, 61, 0.65);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease;
}

.reviews-carousel__btn:hover:not(:disabled) {
  border-color: rgba(84, 169, 235, 0.35);
  background: rgba(84, 169, 235, 0.12);
  color: var(--text);
}

.reviews-carousel__btn:active:not(:disabled) {
  transform: scale(0.96);
}

.reviews-carousel__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.reviews-carousel__counter {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(148, 163, 184, 0.65);
}

.review-card {
  margin: 0;
  width: 100%;
  min-height: 100%;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(19, 27, 46, 0.65);
  display: flex;
  flex-direction: column;
}

.review-card__topic {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.review-card__stars {
  color: #fbbf24;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.review-card p:not(.review-card__topic) {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: rgba(241, 245, 249, 0.92);
  line-height: 1.48;
}

.review-card p:not(.review-card__topic):last-of-type {
  margin-bottom: 1rem;
}

.review-card footer {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.review-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transform-origin: center;
  backface-visibility: hidden;
  transition:
    transform 0.42s var(--ease-premium),
    box-shadow 0.42s var(--ease-premium),
    background 0.42s var(--ease-premium),
    border-color 0.42s var(--ease-premium),
    color 0.42s var(--ease-premium),
    filter 0.42s var(--ease-premium);
}

.btn:focus-visible {
  outline: 2px solid rgba(84, 169, 235, 0.55);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(135deg, #7eb8ea 0%, #54a9eb 48%, #3b82f6 100%);
  color: #0a1624;
  box-shadow: 0 10px 36px rgba(84, 169, 235, 0.22);
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.015);
  filter: brightness(1.05);
  box-shadow:
    0 16px 48px rgba(84, 169, 235, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.btn--primary:active {
  transform: translateY(0) scale(0.988);
  filter: brightness(0.97);
  box-shadow: 0 8px 24px rgba(84, 169, 235, 0.2);
  transition-duration: 0.14s;
}

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

.btn--outline:hover {
  transform: translateY(-1px);
  border-color: rgba(84, 169, 235, 0.5);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.035);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.btn--outline:active {
  transform: translateY(0) scale(0.99);
  transition-duration: 0.14s;
}

.btn--lg {
  padding: 0.95rem 2rem;
  font-size: 0.9rem;
}

.btn--shine {
  position: relative;
  overflow: hidden;
}

.btn--shine::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: shine-move 3.5s ease-in-out infinite;
  opacity: 0.92;
  transition: opacity 0.45s var(--ease-premium);
}

.btn--shine:hover::after {
  opacity: 1;
  animation-duration: 2.6s;
}

@keyframes shine-move {
  0%, 85%, 100% { transform: translateX(-100%) rotate(18deg); }
  40% { transform: translateX(100%) rotate(18deg); }
}

.cta {
  position: relative;
  z-index: 1;
  padding: 1rem 1.25rem 4rem;
}

.cta__shell {
  max-width: 1180px;
  margin: 0 auto;
}

.cta__inner {
  position: relative;
  padding: 2rem clamp(1.25rem, 3vw, 2.25rem) 2.5rem;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(84, 169, 235, 0.12);
  background: linear-gradient(
    165deg,
    rgba(36, 47, 61, 0.72) 0%,
    rgba(23, 33, 43, 0.94) 46%,
    rgba(18, 28, 40, 0.97) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(84, 169, 235, 0.07),
    0 16px 42px rgba(8, 12, 20, 0.42);
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  width: 130%;
  height: 85%;
  left: -15%;
  top: -48%;
  background: radial-gradient(
    ellipse 72% 52% at 50% 12%,
    rgba(84, 169, 235, 0.07) 0%,
    transparent 58%
  );
  pointer-events: none;
}

/* Кнопка в блоке CTA — тот же акцент, без лишнего «циана» в градиенте */
.cta .btn--primary {
  background: var(--accent);
  color: #0e1621;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
}

.cta .btn--primary:hover {
  background: #63b4ed;
  transform: translateY(-2px) scale(1.015);
  filter: brightness(1.04);
  box-shadow:
    0 14px 38px rgba(84, 169, 235, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.cta .btn--primary:active {
  filter: brightness(0.98);
}

.cta .btn--shine::after {
  opacity: 0.22;
}

.cta .btn--shine:hover::after {
  opacity: 0.34;
}

.cta__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin: 0 auto 1.35rem;
  padding-top: 1.35rem;
  max-width: 26rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cta__title-line {
  display: block;
}

.cta__title-line + .cta__title-line {
  margin-top: 0.15em;
}

.cta__title-accent {
  color: var(--accent);
}

.cta__benefits {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.5rem;
  text-align: left;
}

@media (max-width: 900px) {
  .cta__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .cta__benefits {
    grid-template-columns: minmax(0, 1fr);
  }
}

.cta-benefit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.35rem 1.1rem 1.2rem;
  padding-top: 1.45rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(165deg, rgba(36, 47, 61, 0.42), rgba(14, 20, 30, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 6px 22px rgba(0, 0, 0, 0.22);
  transition:
    border-color 0.28s var(--ease),
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}

.cta-benefit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: calc(var(--radius) + 2px) calc(var(--radius) + 2px) 0 0;
}

.cta-benefit:hover {
  border-color: rgba(84, 169, 235, 0.22);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 38px rgba(0, 0, 0, 0.35);
}

.cta-benefit--orange::before {
  background: linear-gradient(90deg, #fb923c, #ea580c);
}

.cta-benefit--green::before {
  background: linear-gradient(90deg, #4ade80, #16a34a);
}

.cta-benefit--purple::before {
  background: linear-gradient(90deg, #c084fc, #9333ea);
}

.cta-benefit--blue::before {
  background: linear-gradient(90deg, #7dd3fc, var(--accent));
}

.cta-benefit__icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
}

.cta-benefit__icon {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
}

.cta-benefit__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
}

.cta-benefit__text {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.52);
}

.cta-benefit--orange .cta-benefit__icon-wrap {
  color: #fdba74;
  border-color: rgba(251, 146, 60, 0.22);
  background: rgba(251, 146, 60, 0.07);
}

.cta-benefit--green .cta-benefit__icon-wrap {
  color: #86efac;
  border-color: rgba(74, 222, 128, 0.22);
  background: rgba(74, 222, 128, 0.06);
}

.cta-benefit--purple .cta-benefit__icon-wrap {
  color: #d8b4fe;
  border-color: rgba(192, 132, 252, 0.22);
  background: rgba(168, 85, 247, 0.08);
}

.cta-benefit--blue .cta-benefit__icon-wrap {
  color: #93c5fd;
  border-color: rgba(84, 169, 235, 0.28);
  background: rgba(84, 169, 235, 0.09);
}

.cta__text {
  position: relative;
  z-index: 1;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
}

.footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem 1.25rem;
}

.footer__brand {
  justify-self: start;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 1.35rem;
  font-size: 0.8125rem;
}

.footer__links a {
  font-weight: 500;
  color: rgba(148, 163, 184, 0.88);
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__copy {
  justify-self: end;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.55);
}

@media (max-width: 720px) {
  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer__brand,
  .footer__copy {
    justify-self: center;
  }

  .footer__links {
    order: 2;
  }
}

/* Политика конфиденциальности */
.privacy-doc .privacy-doc__article {
  max-width: 46rem;
  margin: 0 auto;
}

.privacy-doc__header {
  margin-bottom: 1.25rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.privacy-doc__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  line-height: 1.2;
}

.privacy-doc__meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

.privacy-doc__meta a {
  color: var(--accent);
  text-decoration: none;
}

.privacy-doc__meta a:hover {
  text-decoration: underline;
}

.privacy-doc__intro {
  margin: 0 0 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.92);
}

.privacy-doc__toc {
  margin: 0 0 2rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(14, 20, 30, 0.65);
}

.privacy-doc__toc-title {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.privacy-doc__toc ol {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
}

.privacy-doc__toc a {
  color: var(--accent);
  text-decoration: none;
}

.privacy-doc__toc a:hover {
  text-decoration: underline;
}

.privacy-doc__section {
  margin: 0;
  padding: 1.35rem 0 0;
  border-top: 2px solid rgba(255, 255, 255, 0.22);
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.privacy-doc__section:first-of-type {
  padding-top: 1.5rem;
}

.privacy-doc__section:last-of-type {
  padding-bottom: 0.15rem;
}

/* Подпункты подряд (несколько абзацев в одном разделе) */
.privacy-doc__section p + p {
  margin-top: 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.privacy-doc__section h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.privacy-doc__section p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.9);
}

.privacy-doc__section p:last-child {
  margin-bottom: 0;
}

.privacy-doc__section ul {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.9);
}

.privacy-doc__section ul:last-child {
  margin-bottom: 0;
}

.privacy-doc__section li {
  margin-bottom: 0.35rem;
}

.privacy-doc__section li + li {
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 0.45rem;
}

.privacy-doc__section p + ul {
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.privacy-doc__section a {
  color: var(--accent);
  text-decoration: none;
}

.privacy-doc__section a:hover {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

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

.reveal--d1 { transition-delay: 0.06s; }
.reveal--d2 { transition-delay: 0.12s; }
.reveal--d3 { transition-delay: 0.18s; }
.reveal--d4 { transition-delay: 0.24s; }
.reveal--d5 { transition-delay: 0.3s; }
.reveal--d6 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn--shine::after,
  .glow {
    animation: none !important;
  }

  .btn:hover,
  .btn:active,
  .nav__cta:hover,
  .nav__cta:active,
  .card__more:hover {
    transform: none !important;
    filter: none !important;
    text-shadow: none !important;
  }

  .card:hover {
    transform: none !important;
  }

  .card:hover .card__icon {
    transform: none !important;
    filter: none !important;
  }

  .hero-showcase {
    animation: none !important;
  }

  .hero-showcase__img {
    filter: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
