:root {
  --bg: #e3e5e8;
  --blue: #0e73b6;
  --blue-soft: #30b8d4;
  --ink: #101218;
  --ink-soft: #2e3441;
  --paper-tint: rgba(255, 255, 255, 0.9);
  --line: rgba(16, 18, 24, 0.15);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at top, #f6f8fa 0%, var(--bg) 40%, #d8dbe0 100%);
  color: var(--ink);
  min-height: 100vh;
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
.hero__subtitle,
.hero__kicker,
.sticker {
  font-family: "Tektur", sans-serif;
  margin: 0;
  text-wrap: balance;
}

p,
li,
small,
label,
textarea,
input,
button,
a {
  font-family: "Manrope", sans-serif;
}

.page {
  width: min(1240px, 100% - 2rem);
  margin: 0 auto;
  padding: 1.25rem 0 3.2rem;
}

.hero {
  text-align: center;
  padding: 1.2rem 0 1.4rem;
}

.hero__kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ff6920;
  background: #141f2a;
  padding: 0.3rem 0.7rem;
  transform: rotate(-1.5deg);
}

.hero h1 {
  font-size: clamp(2rem, 5.8vw, 4.4rem);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero__subtitle {
  font-size: clamp(1.08rem, 2.8vw, 2.15rem);
  text-transform: uppercase;
  margin-bottom: 1.05rem;
}

.hero__seo {
  margin: 0 auto 1.2rem;
  max-width: 82ch;
  line-height: 1.55;
  color: var(--ink-soft);
}

.cta {
  border: 0;
  border-radius: 999px;
  padding: 0.86rem 1.3rem;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), filter 220ms ease;
}

.cta:active {
  transform: scale(0.97);
}

.cta--primary {
  background: var(--blue);
  color: #f2f9ff;
}

.cta--secondary {
  background: #1a222d;
  color: #f4f7fb;
}

.cta--telegram {
  background: linear-gradient(135deg, #23a1dc 0%, #1c6fb8 100%);
  color: #ffffff;
  width: 100%;
  justify-content: center;
}

.cta--telegram.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.grid-wrap {
  padding-top: 0.4rem;
}

.montage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.card {
  display: block;
  min-height: clamp(220px, 29vw, 360px);
  border: 1px solid var(--line);
  isolation: isolate;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: filter 220ms ease, box-shadow 220ms ease;
  cursor: pointer;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 14, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease-out);
  z-index: 2;
}

.card.is-pressing::after {
  opacity: 1;
}

.card.is-pressing .card__inner {
  filter: blur(1.6px) brightness(0.78);
  transition: filter 180ms var(--ease-out);
}

.card:focus-visible {
  outline: 3px solid rgba(48, 184, 212, 0.75);
  outline-offset: -3px;
}

.card--blue {
  background: var(--blue);
}

.card--paper {
  background-color: #f3f5f8;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
    url("./assets/paper-rotated.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.card__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: clamp(0.9rem, 2.2vw, 1.6rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
}

.card__inner > * {
  transition: transform 5s var(--ease-out), color 420ms ease, filter 420ms ease, opacity 420ms ease;
  transform: scale(1);
}

.card h2 {
  font-size: clamp(1.55rem, 3.2vw, 3rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.card p,
.card li {
  margin: 0;
  line-height: 1.35;
  font-size: clamp(0.88rem, 1.65vw, 1.15rem);
}

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

.card--blue h2,
.card--blue p,
.card--blue li {
  color: #bfd8ea;
}

.card--paper h2,
.card--paper p,
.card--paper li {
  color: #52657a;
}

.sticker {
  width: max-content;
  text-transform: uppercase;
  font-size: clamp(1.65rem, 3vw, 3.5rem);
  line-height: 0.92;
  font-weight: 800;
  padding: 0.5rem 0.74rem;
  color: #0c1016;
}

.sticker--cyan {
  background: linear-gradient(120deg, #57c6d0 0%, #2cb7c4 100%);
  transform: rotate(-11deg);
}

.sticker--pink {
  background: linear-gradient(140deg, #ff2de5 0%, #f400ce 100%);
  transform: rotate(11deg);
}

.sticker--orange {
  background: linear-gradient(125deg, #ff7e2a 0%, #ff5b00 100%);
  color: #fff;
  transform: rotate(-8deg);
}

.asset {
  width: 100%;
  height: auto;
  filter: grayscale(0.42) saturate(0.66) brightness(0.92) contrast(0.9);
}

.asset--hands {
  align-self: center;
  margin-top: auto;
  width: 108%;
  max-width: none;
  margin-left: -4%;
  margin-bottom: -1.7rem;
}

.asset--folder {
  align-self: flex-end;
  max-width: 57%;
}

.asset--light {
  width: clamp(92px, 42%, 280px);
  align-self: flex-end;
}

.card--services ul {
  margin-top: auto;
}

.card--metric h2 {
  font-size: clamp(2rem, 4.5vw, 4.15rem);
}

.card--metric p {
  font-size: clamp(0.9rem, 1.45vw, 1.04rem);
}

.card--price p {
  font-weight: 700;
}

.card--engagement h2 {
  font-size: clamp(1.25rem, 2.45vw, 2.35rem);
}

.lang-en .card h2 {
  font-size: clamp(1.25rem, 2.55vw, 2.55rem);
}

.card--article-link h2 {
  font-size: clamp(1.35rem, 2.65vw, 2.55rem);
}

.card__tag,
.card__read {
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-size: clamp(0.68rem, 1.25vw, 0.82rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card__tag {
  background: rgba(255, 255, 255, 0.15);
  color: #d8f6ff;
}

.card--paper .card__tag {
  background: rgba(14, 115, 182, 0.12);
  color: #0d679e;
}

.card__read {
  margin-top: auto;
  color: #061c2a;
  background: linear-gradient(135deg, #95efff, #48cdf7);
}

.card--paper .card__read {
  color: #f5fbff;
  background: linear-gradient(135deg, #0e73b6, #28b9d4);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover .card__inner > * {
    transform: scale(1.1);
  }

  .card:hover .asset {
    filter: none;
  }

  .card--blue:hover h2,
  .card--blue:hover p,
  .card--blue:hover li {
    color: #f7fdff;
  }

  .card--paper:hover h2,
  .card--paper:hover p,
  .card--paper:hover li {
    color: #090d13;
  }
}

.card:active .card__inner > * {
  transform: scale(1.055);
  transition-duration: 260ms;
}

.contacts {
  margin-top: 1.4rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(14, 115, 182, 0.12), rgba(255, 255, 255, 0.92));
  padding: 1.05rem;
  display: grid;
  gap: 0.75rem;
}

.contacts h2 {
  font-size: clamp(1.3rem, 2.1vw, 2rem);
}

.contacts p {
  margin: 0;
  max-width: 70ch;
  line-height: 1.45;
}

.article-body {
  background:
    radial-gradient(circle at 12% 5%, rgba(41, 189, 219, 0.2), transparent 28rem),
    radial-gradient(circle at 90% 14%, rgba(255, 108, 34, 0.12), transparent 24rem),
    var(--bg);
}

.article-shell {
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
  padding: 1.1rem 0 3rem;
}

.article-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.article-back {
  color: #0d679e;
  font-weight: 800;
  text-decoration: none;
}

.article-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(14, 115, 182, 0.92), rgba(8, 92, 148, 0.96)),
    url("./assets/paper-rotated.webp") center / cover no-repeat;
  color: #f4fbff;
  padding: clamp(1.2rem, 4vw, 3rem);
}

.article-hero::after {
  content: "";
  position: absolute;
  right: clamp(-2rem, -4vw, -0.8rem);
  bottom: clamp(-1.4rem, -3vw, -0.5rem);
  width: clamp(9rem, 24vw, 18rem);
  aspect-ratio: 1;
  border-radius: 26% 74% 42% 58%;
  background: linear-gradient(135deg, rgba(149, 239, 255, 0.85), rgba(255, 105, 32, 0.82));
  transform: rotate(-10deg);
  opacity: 0.76;
}

.article-hero > * {
  position: relative;
  z-index: 1;
}

.article-kicker {
  display: inline-block;
  margin: 0 0 0.85rem;
  color: #08151f;
  background: #8eeeff;
  padding: 0.28rem 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-1.2deg);
}

.article-hero h1,
.article-section h2,
.article-cta h2 {
  font-family: "Tektur", sans-serif;
  text-transform: uppercase;
}

.article-hero h1 {
  max-width: 12ch;
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 7vw, 5.4rem);
  line-height: 0.92;
}

.article-hero__lead {
  max-width: 66ch;
  margin: 0;
  color: #dceefa;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.55;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 1rem;
  margin-top: 1rem;
}

.article-main,
.article-aside,
.article-cta {
  border: 1px solid var(--line);
  background-color: #f4f6f8;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.24)),
    url("./assets/paper-rotated.webp");
  background-size: cover;
  background-position: center;
}

.article-main {
  padding: clamp(1rem, 3vw, 2rem);
}

.article-section + .article-section {
  margin-top: clamp(1.2rem, 3vw, 2.2rem);
}

.article-section h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 0.98;
}

.article-section p,
.article-section li {
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.7;
}

.article-section p {
  margin: 0 0 0.9rem;
}

.article-section ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.article-aside {
  align-self: start;
  position: sticky;
  top: 1rem;
  padding: 1rem;
}

.metric-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.metric-card {
  border-radius: 14px;
  background: rgba(14, 115, 182, 0.1);
  padding: 0.85rem;
}

.metric-card strong {
  display: block;
  color: #0d679e;
  font-family: "Tektur", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1;
}

.metric-card span {
  display: block;
  margin-top: 0.35rem;
  color: #415264;
  line-height: 1.35;
}

.article-cta {
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  display: grid;
  gap: 0.85rem;
}

.article-cta h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 0.98;
}

.article-cta p {
  margin: 0;
  max-width: 72ch;
  color: var(--ink-soft);
  line-height: 1.55;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.article-actions .cta {
  min-width: min(100%, 230px);
}

.article-telegram.is-disabled {
  opacity: 0.62;
  cursor: pointer;
  pointer-events: auto;
}

.error-body {
  overflow-x: hidden;
}

.error-shell {
  width: min(1180px, 100% - 2rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(1.2rem, 4vw, 4rem) 0;
  display: grid;
  align-content: center;
  gap: clamp(1rem, 3vw, 1.6rem);
}

.error-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  min-height: min(680px, calc(100vh - 8rem));
  border: 1px solid rgba(16, 18, 24, 0.16);
  background:
    linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84)),
    url("./assets/paper-rotated.webp") center / cover no-repeat;
  box-shadow: 0 28px 90px rgba(13, 39, 66, 0.16);
  overflow: hidden;
  animation: errorRise 760ms var(--ease-out) both;
}

.error-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 1.4rem);
  padding: clamp(1.3rem, 5vw, 4.6rem);
}

.error-brand {
  align-self: flex-start;
}

.error-kicker {
  margin: 0;
  color: var(--blue);
  font-family: "Tektur", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-hero h1 {
  max-width: 740px;
  margin: 0;
  font-family: "Tektur", sans-serif;
  font-size: clamp(3rem, 8vw, 7.3rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.error-lead {
  max-width: 660px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.error-hero__visual {
  position: relative;
  min-height: 520px;
  background:
    radial-gradient(circle at 70% 18%, rgba(48, 184, 212, 0.95), transparent 24%),
    linear-gradient(145deg, #0e73b6 0%, #075d9b 58%, #0b4e88 100%);
  overflow: hidden;
}

.error-hero__visual::before,
.error-hero__visual::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  transform: rotate(-7deg);
  animation: errorFloat 7s ease-in-out infinite;
}

.error-hero__visual::after {
  inset: 18% 12%;
  border-color: rgba(255, 255, 255, 0.12);
  transform: rotate(8deg);
  animation-delay: -2.5s;
}

.error-code {
  position: absolute;
  left: clamp(1rem, 4vw, 2.6rem);
  top: clamp(1rem, 5vw, 3.4rem);
  color: rgba(255, 255, 255, 0.94);
  font-family: "Tektur", sans-serif;
  font-size: clamp(5rem, 16vw, 12rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.1em;
  text-shadow: 0 22px 42px rgba(0, 0, 0, 0.2);
}

.error-frame {
  position: absolute;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(5px);
}

.error-frame--one {
  right: 14%;
  top: 18%;
  width: 42%;
  aspect-ratio: 9 / 16;
  animation: errorFloat 6.5s ease-in-out infinite;
}

.error-frame--two {
  left: 12%;
  bottom: 12%;
  width: 38%;
  aspect-ratio: 16 / 9;
  animation: errorFloat 7.5s ease-in-out infinite reverse;
}

.error-light {
  position: absolute;
  right: -7%;
  bottom: 5%;
  width: min(74%, 430px);
  filter: saturate(0.25) contrast(0.92) drop-shadow(0 24px 30px rgba(0, 0, 0, 0.28));
  opacity: 0.84;
  transform: rotate(-3deg);
  transition: filter 5s var(--ease-out), transform 5s var(--ease-out);
}

.error-hero:hover .error-light {
  filter: saturate(1) contrast(1) drop-shadow(0 28px 36px rgba(0, 0, 0, 0.32));
  transform: rotate(-3deg) scale(1.08);
}

.error-sticker {
  position: absolute;
  right: 9%;
  top: 62%;
  padding: 0.35em 0.72em;
  background: #ff4e13;
  color: white;
  font-family: "Tektur", sans-serif;
  font-size: clamp(1.4rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  transform: rotate(-8deg);
  box-shadow: 0 18px 40px rgba(7, 39, 74, 0.2);
  animation: errorSticker 860ms 260ms var(--ease-out) both;
}

.error-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  animation: errorRise 760ms 180ms var(--ease-out) both;
}

.error-link {
  min-height: 180px;
  padding: clamp(1rem, 3vw, 1.6rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 5s var(--ease-out), filter 5s var(--ease-out);
}

.error-link:hover {
  transform: scale(1.035);
  filter: saturate(1.1);
}

.error-link span {
  font-family: "Tektur", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.error-link small {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.45;
}

.error-link--blue {
  background: var(--blue);
  color: white;
}

.error-link--paper {
  background:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)),
    url("./assets/paper-rotated.webp") center / cover no-repeat;
  color: var(--ink);
}

@keyframes errorRise {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes errorFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-6deg);
  }
  50% {
    transform: translate3d(0, -16px, 0) rotate(-3deg);
  }
}

@keyframes errorSticker {
  from {
    opacity: 0;
    transform: translateY(16px) rotate(-14deg) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-8deg) scale(1);
  }
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(0.5rem, 2vw, 1.4rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 240ms ease;
  z-index: 20;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 11, 16, 0.78);
  backdrop-filter: blur(5px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(94vw, 520px);
  max-height: calc(100dvh - 1rem);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 26px 82px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 23, 28, 0.98) 0%, rgba(15, 16, 19, 0.98) 100%);
  color: #f5f7fa;
  transform: scale(0.95);
  transition: transform 260ms var(--ease-out);
}

.modal.is-open .modal__panel {
  transform: scale(1);
}

.modal__panel--video {
  padding: 0.75rem 0.8rem 0.9rem;
}

.modal__panel--calc {
  width: min(calc(100vw - 1rem), 640px);
  max-height: min(92dvh, 860px);
  padding: 0.9rem 1rem 1.1rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.62rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #eef2f5;
  font-size: 1.4rem;
  cursor: pointer;
}

.modal__close:active {
  transform: scale(0.96);
}

.modal__panel h3 {
  margin: 0 0 0.8rem;
  padding-right: 2.8rem;
  font-size: clamp(1.2rem, 2.7vw, 1.8rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.video-shell {
  width: min(100%, 410px);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #090d13;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.video-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.calc {
  display: grid;
  gap: 0.95rem;
  min-width: 0;
}

.calc__lead {
  margin: 0 0 0.9rem;
  color: #d8dde3;
  line-height: 1.35;
}

.field {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.field span {
  line-height: 1.38;
  color: #edf2f7;
  overflow-wrap: anywhere;
}

.field strong {
  color: #69dcff;
}

input[type="range"] {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3c4b57 0%, #1f7cb9 50%, #12b7d1 100%);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-top: -6px;
  background: #f4f8fb;
  border: 2px solid #0982cc;
}

input[type="range"]::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3c4b57 0%, #1f7cb9 50%, #12b7d1 100%);
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 2px solid #0982cc;
  border-radius: 50%;
  background: #f4f8fb;
}

.result {
  border-radius: 14px;
  padding: 0.75rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.result p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.result small {
  color: #c4cbd4;
  line-height: 1.34;
}

.result__total-line {
  display: grid;
  gap: 0.35rem;
}

.result__prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.48rem;
  min-width: 0;
}

.result__prices strong {
  color: #7ce4ff;
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  line-height: 1.1;
}

.result__old-price {
  color: #afb8c4;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.result__discount {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.58rem;
  width: max-content;
  max-width: 100%;
  padding: 0.42rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 215, 255, 0.28);
  background: linear-gradient(130deg, rgba(0, 168, 214, 0.2), rgba(0, 102, 180, 0.2));
}

.result__discount.is-pop {
  animation: discountPop 430ms var(--ease-out);
}

.result__discount-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.52rem;
  border-radius: 999px;
  font-weight: 800;
  color: #021a2c;
  background: linear-gradient(145deg, #95efff, #45d1ff);
  text-transform: uppercase;
  font-size: 0.77rem;
}

.result__discount-text {
  margin: 0;
  color: #d6f6ff;
  line-height: 1.2;
  font-size: 0.9rem;
}

@keyframes discountPop {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(3px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.field--textarea textarea {
  width: 100%;
  min-width: 0;
  padding: 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 10, 13, 0.55);
  color: #f2f6fc;
  resize: vertical;
}

.calc__actions {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

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

.calc__actions .cta {
  width: 100%;
  min-width: 0;
}

.calc__submit-status {
  margin: 0;
  min-height: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #b9c8d9;
}

.calc__submit-status.is-success {
  color: #8df5c9;
}

.calc__submit-status.is-error {
  color: #ff9ea6;
}

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

  .card {
    min-height: clamp(220px, 37vw, 340px);
  }

  .error-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .error-hero__visual {
    min-height: 360px;
  }

  .error-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .modal {
    align-items: stretch;
    padding: 0.45rem;
  }

  .page {
    width: min(1240px, 100% - 1rem);
    padding-top: 0.65rem;
  }

  .hero {
    padding-top: 0.65rem;
  }

  .error-shell {
    width: min(100% - 1rem, 1180px);
    min-height: 100dvh;
    padding: 0.65rem 0;
  }

  .error-hero__copy {
    padding: 1.05rem;
  }

  .error-hero h1 {
    font-size: clamp(2.5rem, 16vw, 4.6rem);
  }

  .error-actions {
    display: grid;
  }

  .error-actions .cta {
    width: 100%;
    min-height: 44px;
    padding: 0.66rem 0.82rem;
    font-size: 0.9rem;
  }

  .error-hero__visual {
    min-height: 290px;
  }

  .error-code {
    font-size: clamp(4.6rem, 28vw, 7.6rem);
  }

  .error-light {
    width: min(78%, 300px);
  }

  .error-sticker {
    right: 6%;
    top: 58%;
  }

  .error-link {
    min-height: 142px;
  }

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

  .card {
    min-height: 230px;
  }

  .card--article-link h2 {
    font-size: clamp(1.45rem, 9vw, 2.8rem);
  }

  .lang-en .card h2,
  .lang-en .card--article-link h2 {
    font-size: clamp(1.25rem, 8vw, 2.35rem);
  }

  .asset--hands {
    width: 104%;
    margin-left: -2%;
    margin-bottom: -1.2rem;
  }

  .modal__panel {
    width: calc(100vw - 0.9rem);
    border-radius: 18px;
  }

  .modal__panel--calc {
    place-self: center;
    max-height: calc(100dvh - 0.9rem);
    padding: 0.72rem 0.82rem 0.86rem;
  }

  .modal__close {
    top: 0.55rem;
    right: 0.55rem;
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }

  .modal__panel h3 {
    margin-bottom: 0.55rem;
    padding-right: 2.35rem;
    font-size: clamp(1.02rem, 5.6vw, 1.42rem);
  }

  .calc {
    gap: 0.64rem;
  }

  .calc__lead {
    margin-bottom: 0.1rem;
    font-size: 0.94rem;
    line-height: 1.28;
  }

  .field {
    gap: 0.34rem;
  }

  .field span {
    font-size: 0.92rem;
    line-height: 1.28;
  }

  input[type="range"]::-webkit-slider-runnable-track {
    height: 8px;
  }

  input[type="range"]::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    margin-top: -6px;
  }

  input[type="range"]::-moz-range-track {
    height: 8px;
  }

  input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
  }

  .result {
    padding: 0.58rem 0.64rem;
    gap: 0.24rem;
    border-radius: 12px;
  }

  .result p {
    font-size: 0.94rem;
  }

  .result small {
    font-size: 0.78rem;
    line-height: 1.28;
  }

  .result__prices strong {
    font-size: 1.22rem;
  }

  .result__discount {
    width: 100%;
    gap: 0.38rem;
    padding: 0.36rem 0.42rem;
  }

  .result__discount-badge {
    font-size: 0.68rem;
  }

  .result__discount-text {
    font-size: 0.82rem;
  }

  .field--textarea textarea {
    min-height: 74px;
    max-height: 112px;
    padding: 0.58rem 0.62rem;
    font-size: 0.86rem;
    line-height: 1.28;
  }

  .calc__actions {
    gap: 0.42rem;
  }

  .calc__actions .cta {
    min-height: 44px;
    padding: 0.66rem 0.82rem;
    font-size: 0.9rem;
  }

  .calc__submit-status {
    font-size: 0.82rem;
  }

  .article-shell {
    width: min(1100px, 100% - 1rem);
    padding-top: 0.65rem;
  }

  .article-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-hero {
    padding: 1.05rem;
  }

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

  .article-aside {
    position: static;
  }

  .article-actions {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .card__inner > *,
  .cta,
  .modal,
  .modal__panel {
    transition-duration: 120ms !important;
  }
}
