:root {
  --bg: #0b0f14;
  --bg-soft: #121822;
  --text: #eef2f7;
  --muted: #a8b0be;
  --accent: #ff6a3d;
  --accent-2: #ffb347;
  --accent-soft: rgba(255, 106, 61, 0.18);
  --card: #161d28;
  --border: #263142;
  --shadow: 0 20px 50px rgba(7, 10, 14, 0.35);
  --max-width: 1120px;
}

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

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #101723 0%, var(--bg) 55%);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body.popup-open {
  overflow: hidden;
}

.kp-page {
  background: var(--bg);
}

@media print {
  @page {
    size: A4 portrait;
    margin: 12mm;
  }

  .kp-page {
    background: #fff;
    color: #111;
  }

  .kp-page .kp-section {
    padding: 18px 0;
  }

  .kp-page .kp-table {
    border-color: #ddd;
  }

  .kp-page .kp-table th,
  .kp-page .kp-table td {
    color: #111;
  }
}

.kp-page .container {
  max-width: 210mm;
}

.kp-header {
  border-bottom: 1px solid var(--border);
  padding: 1px 0;
}

.kp-header__inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.kp-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.kp-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-top: 2px;
}

.kp-brand h1 {
  margin: 0;
  font-size: 28px;
}

.kp-brand a {
  color: inherit;
  text-decoration: none;
}

.kp-brand p {
  margin: 4px 0 0;
  color: var(--muted);
}

.kp-contacts {
  color: var(--muted);
  font-size: 14px;
  display: grid;
  gap: 12px;
  margin: 0;
  padding-right: 0;
  border-right: none;
  text-align: left;
}

.kp-contacts__block {
  display: grid;
  gap: 4px;
}

.kp-contacts__title {
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
}

.kp-contacts p {
  margin: 0;
}

.kp-main {
  padding-bottom: 5px;
}

.kp-section {
  padding: 1px 0;
}

.kp-section h2 {
  margin-bottom: 12px;
}

.kp-page .kp-section h2 {
  font-size: 150%;
}

.kp-lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 860px;
}

.kp-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 4px;
}

.kp-steps {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.kp-note {
  color: var(--muted);
  margin-bottom: 16px;
}

.kp-table {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
}

.kp-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.kp-table th,
.kp-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.kp-table th {
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
}

.kp-table td {
  color: var(--muted);
}

.kp-table tr:last-child td {
  border-bottom: none;
}

.kp-extra {
  margin-top: 24px;
}

.kp-footer {
  border-top: 1px solid var(--border);
  padding: 0;
  color: var(--muted);
}

.kp-footer p {
  margin: 4px 0;
}

.kp-footer__spacer {
  margin: 12px 0;
}

.kp-footer p {
  margin: 4px 0;
  line-height: 1.35;
}

.kp-page .container {
  max-width: 210mm;
}

@page {
  size: A4 portrait;
  margin: 16mm;
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .kp-page {
    background: #fff;
  }

  .kp-header,
  .kp-footer {
    border-color: #ddd;
  }

  .kp-table {
    border-color: #ddd;
  }

  .kp-table th,
  .kp-table td {
    color: #000;
  }
}

@media (max-width: 720px) {
  .kp-brand h1 {
    font-size: 24px;
  }

  .kp-brand img {
    width: 52px;
    height: 52px;
  }
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: sticky;
  top: 0;
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 44px;
  width: auto;
  display: block;
}

.logo__text {
  font-size: 18px;
  font-weight: 700;
}

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

.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.header__contact {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 13px;
  color: var(--muted);
}

.header__contact a {
  color: inherit;
  transition: color 0.2s ease;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header__contact-email {
  line-height: 1.2;
  padding-left: 20px;
  color: var(--muted);
}
.header__contact-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.header__contact-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header__contact a[href^="tel:"] {
  font-weight: 600;
}

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

.header__cta {
  padding: 10px 16px;
  font-size: 13px;
  white-space: nowrap;
}

.nav a {
  color: var(--muted);
  transition: color 0.2s ease;
  position: relative;
}

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

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  border-radius: 999px;
}

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

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

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

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

.hero {
  padding: 56px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(255, 106, 61, 0.15),
    transparent 55%
  );
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  margin: 12px 0 18px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.lead {
  color: var(--muted);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin: 24px 0 32px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 106, 61, 0.35);
}

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

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

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero__trust span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(255, 106, 61, 0.12),
    rgba(18, 24, 34, 0.85)
  );
  border: 1px solid rgba(255, 106, 61, 0.25);
  font-size: 13px;
  color: var(--text);
  text-align: center;
  box-shadow: 0 10px 20px rgba(7, 10, 14, 0.25);
}

.hero__card .card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero__card {
  position: relative;
  display: grid;
  gap: 16px;
}

.hero__media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 106, 61, 0.35),
    rgba(11, 15, 20, 0.2) 55%,
    rgba(11, 15, 20, 0.6)
  );
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  visibility: hidden;
  will-change: opacity;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-slide__caption {
  position: absolute;
  inset: 16px 16px auto 16px;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 12px 16px;
  color: #fff;
  font-weight: 600;
  font-size: clamp(14px, 2.2vw, 20px);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  z-index: 2;
  background: rgba(12, 16, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.hero-slide__caption strong {
  font-weight: 700;
  font-size: inherit;
}

.hero-slide__caption small {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 20, 28, 0.6);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-slider__arrow:hover {
  background: rgba(255, 106, 61, 0.25);
  transform: translateY(-50%) scale(1.04);
}

.hero-slider__arrow--prev {
  left: 12px;
}

.hero-slider__arrow--next {
  right: 12px;
}

.hero-slider__arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}

.hero-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-slider__dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

.card--floating {
  margin-top: -40px;
  margin-left: 24px;
  margin-right: 24px;
  backdrop-filter: blur(6px);
  background: rgba(22, 29, 40, 0.9);
}

.card ul {
  padding-left: 18px;
  color: var(--muted);
}

.card__cta {
  margin-top: 20px;
}

.card__form {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.card__form-title {
  margin: 12px 0 8px;
  font-weight: 600;
}

.card__form input {
  max-width: 220px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0f131b;
  color: var(--text);
  font-size: 16px;
}

@media (max-width: 540px) {
  .card__form {
    justify-content: center;
  }

  .card__form input {
    margin: 0 auto;
  }
}

.card__form .btn {
  height: 44px;
}

section {
  padding: 10px 0;
  position: relative;
}

section:not(:last-of-type)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 26px;
  height: 26px;
  border-right: 2px solid rgba(255, 106, 61, 0.5);
  border-bottom: 2px solid rgba(255, 106, 61, 0.5);
  transform: translateX(-50%) rotate(45deg);
  pointer-events: none;
}

.kp-page section:not(:last-of-type)::after {
  display: none;
}


section h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 12px;
}

section h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.kp-page section h2::after {
  display: none;
}

.section-lead {
  color: var(--muted);
  margin-bottom: 36px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.services .grid--3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.segment,
.service-card,
.why-card,
.why-point,
.process-step,
.case-card,
.review-card,
.faq-item,
.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(7, 10, 14, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.faq-item,
.about-card {
  padding: 20px;
}

.faq-item summary,
.about-card summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.faq-item summary::after,
.about-card summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  flex: 0 0 24px;
}

.faq-item[open] summary::after,
.about-card[open] summary::after {
  content: "–";
}

.faq-item p,
.about-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.segment:hover,
.service-card:hover,
.why-point:hover,
.case-card:hover,
.review-card:hover,
.faq-item:hover,
.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 61, 0.45);
}

.segment:hover .btn--ghost,
.segment:focus-within .btn--ghost {
  border-color: rgba(255, 106, 61, 0.6);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(255, 106, 61, 0.2);
}

.segment ul,
.service-card ul,
.business__list {
  padding-left: 18px;
  color: var(--muted);
}

.service-card p {
  color: var(--muted);
}

.service-card--with-image {
  position: relative;
  overflow: hidden;
}

.service-card--with-image > * {
  position: relative;
  z-index: 2;
}

.service-card--with-image::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(22, 29, 40, 0.85) 0%,
    rgba(22, 29, 40, 0.45) 40%,
    rgba(22, 29, 40, 0.1) 100%
  );
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.service-card--with-image::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 20px;
  width: 44%;
  height: 80%;
  background: var(--service-image) center / contain no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
  filter: blur(0.3px);
}

.service-card--with-image {
  --service-image: url("assets/service-1.png?v=1");
}

.service-card--image-2 {
  --service-image: url("assets/service-2.png?v=1");
}

.service-card--image-3 {
  --service-image: url("assets/service-3.png?v=1");
}

.service-card--image-4 {
  --service-image: url("assets/service-4.png?v=1");
}

.segment h3,
.service-card h3,
.process-step h3 {
  margin-top: 0;
}

.segment h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.segment__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 106, 61, 0.35);
  background: rgba(255, 106, 61, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.segment__icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card {
  text-align: center;
  font-weight: 600;
  background: linear-gradient(160deg, rgba(255, 106, 61, 0.08), transparent);
}

.why__intro {
  max-width: 760px;
  display: grid;
  gap: 12px;
}

.why__lead {
  font-size: 18px;
  color: var(--text);
  margin: 0;
  display: grid;
  gap: 8px;
}

.why__lead-sub {
  font-size: 18px;
  color: var(--muted);
}

.why__subtitle {
  margin-top: 8px;
  color: var(--muted);
}

.why__points {
  margin-top: 24px;
}

.why-compare {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.why-compare__title {
  margin: 28px 0 8px;
  font-weight: 600;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.why-compare__col {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  background: rgba(16, 22, 30, 0.75);
}

.why-compare__col h3 {
  margin-top: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-list__wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  align-items: center;
}

.compare-list {
  max-width: 260px;
}

.why-compare__icon {
  width: 56px;
  height: 56px;
}

.why-compare__col ul {
  list-style: none;
  padding-left: 0;
  color: var(--muted);
  margin: 0;
}

.why-compare__col--accent {
  border-color: rgba(255, 106, 61, 0.45);
  background: linear-gradient(160deg, rgba(255, 106, 61, 0.12), transparent);
}

.why-compare__col--accent h3 {
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
}

.why-compare__icon {
  width: 100px;
  height: 65px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-left: -8px;
}

.why-compare__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
}



.compare-list--risk li::before {
  color: #8b93a1;
  border: none;
  transform: none;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background:
    linear-gradient(45deg, transparent 46%, #8b93a1 46%, #8b93a1 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, #8b93a1 46%, #8b93a1 54%, transparent 54%);
  box-shadow: 0 0 0 1px rgba(139, 147, 161, 0.25);
}

.compare-list--safe li::before {
  color: var(--accent);
  border-color: var(--accent);
  border-right: 0;
  border-top: 0;
  width: 12px;
  height: 7px;
  transform: rotate(-45deg);
  margin-top: 6px;
}

.why__final {
  margin-top: 20px;
  font-weight: 600;
  color: var(--text);
}

.why-point h3 {
  margin-top: 0;
}

.why-point p {
  color: var(--muted);
}

.why-point--with-image {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.why-point__content {
  display: grid;
  gap: 4px;
}

.why-point__media {
  width: 88px;
  aspect-ratio: 4 / 5;
  border-radius: 0;
  overflow: visible;
  border: none;
  background: transparent;
  justify-self: end;
}

.why-point__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.why-point--highlight {
  border-color: rgba(255, 106, 61, 0.6);
  box-shadow: 0 0 0 1px rgba(255, 106, 61, 0.35),
    0 18px 40px rgba(7, 10, 14, 0.25);
  background: linear-gradient(160deg, rgba(255, 106, 61, 0.12), transparent);
}

.why-point__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 106, 61, 0.12);
  border: 1px solid rgba(255, 106, 61, 0.35);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.process-step span {
  color: var(--accent);
  font-weight: 700;
}

.process-step {
  background: var(--bg-soft);
  position: relative;
  padding-top: 28px;
  z-index: 1;
}

.process__flow {
  position: relative;
  margin-top: 24px;
  z-index: 0;
}

.process__flow::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 106, 61, 0.2) 0%,
    rgba(255, 179, 71, 0.45) 45%,
    rgba(255, 106, 61, 0.15) 100%
  );
  opacity: 0.6;
  z-index: -1;
}

.process__flow::after {
  content: "";
  position: absolute;
  top: 42px;
  left: 12px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(255, 106, 61, 0.45);
  transition: width 0.2s ease;
  z-index: -1;
}

.process__flow[data-active="1"]::after {
  width: 20%;
}

.process__flow[data-active="2"]::after {
  width: 40%;
}

.process__flow[data-active="3"]::after {
  width: 60%;
}

.process__flow[data-active="4"]::after {
  width: 80%;
}

.process__flow[data-active="5"]::after {
  width: calc(100% - 24px);
}

.process-step__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.process-step__num {
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.75;
  line-height: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.process-step__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 106, 61, 0.35);
  background: rgba(255, 106, 61, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.process-step__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-step:hover,
.process-step:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 61, 0.45);
}

.process-step:hover .process-step__icon,
.process-step:focus-within .process-step__icon {
  border-color: rgba(255, 106, 61, 0.7);
  box-shadow: 0 0 12px rgba(255, 106, 61, 0.35);
}

.process-step:hover .process-step__num,
.process-step:focus-within .process-step__num {
  opacity: 1;
  transform: scale(1.05);
}

.case-card {
  position: relative;
  display: grid;
  gap: 16px;
}

.case-card__media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
}

.case-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 106, 61, 0.25),
    rgba(11, 15, 20, 0.5) 55%,
    rgba(11, 15, 20, 0.75)
  );
}

.case-slider {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0f131b;
}

.case-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.case-slide.is-active {
  opacity: 1;
}

.case-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.case-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 20, 28, 0.6);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.case-slider__arrow:hover {
  background: rgba(255, 106, 61, 0.25);
  transform: translateY(-50%) scale(1.04);
}

.case-slider__arrow--prev {
  left: 8px;
}

.case-slider__arrow--next {
  right: 8px;
}

.case-slider__arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.case-slider__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.case-slider__dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

.case-card__text {
  margin: 0;
  color: var(--muted);
}

.case-card__text strong {
  color: var(--text);
  font-weight: 700;
}

.case-card__result {
  color: var(--text);
  opacity: 1;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.6;
}

.case-card__result svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 28px;
}

.case-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  width: 155px;
  text-align: center;
  height: 40px;
  line-height: 26px;
  box-sizing: border-box;
}

.review-card {
  font-style: italic;
  color: var(--muted);
  position: relative;
}

.review-card::before {
  content: "“";
  position: absolute;
  top: -12px;
  left: 16px;
  font-size: 42px;
  color: rgba(255, 106, 61, 0.3);
}

.cta {
  background: linear-gradient(120deg, #1b2330, #10141b);
}

.cta__inner {
  background: rgba(12, 16, 23, 0.6);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cta__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}

.cta__form {
  display: grid;
  gap: 12px;
}

.cta__form input,
.cta__form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0f131b;
  color: var(--text);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta__form input:focus,
.cta__form textarea:focus {
  border-color: rgba(255, 106, 61, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 106, 61, 0.15);
}

.cta__form textarea {
  resize: vertical;
  min-height: 96px;
}

.form__note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.form__note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.popup__success-icon {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
}

.form__note--small {
  font-size: 11px;
  line-height: 1.4;
}

.business {
  background: linear-gradient(120deg, rgba(255, 106, 61, 0.08), transparent);
}

.business__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.business__cta {
  display: flex;
  justify-content: flex-start;
}

.footer__links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
}

.footer__contacts a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.footer__email {
  color: var(--muted);
  padding-left: 20px;
}

.footer__links {
  display: flex;
  gap: 16px;
}

.quiz__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow);
}

.quiz__progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.quiz__progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.2s ease;
}

.quiz__step {
  display: none;
  gap: 12px;
}

.quiz__step.is-active {
  display: grid;
}

.quiz__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quiz__options .btn--ghost {
  padding: 10px 14px;
}

.quiz__options--cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quiz-card-option {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.quiz-card-option:hover {
  border-color: rgba(255, 106, 61, 0.45);
  transform: translateY(-2px);
}

.quiz-card-option img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  display: block;
  order: 2;
}

.quiz-card-option span {
  font-weight: 600;
  order: 1;
}

.quiz__form {
  display: grid;
  gap: 12px;
}

.quiz__row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.quiz__input input,
.quiz__form input {
  max-width: 320px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0f131b;
  color: var(--text);
  font-size: 16px;
  line-height: 1.2;
}

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

  .quiz__input input,
  .quiz__form input {
    max-width: 100%;
  }
}

@media (max-width: 540px) {
  .quiz__options--cards {
    grid-template-columns: 1fr;
  }
}

.quiz__nav {
  display: flex;
  justify-content: space-between;
}

.quiz__back {
  visibility: hidden;
}

.quiz__back.is-visible {
  visibility: visible;
}

.popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 20px;
}

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

.popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 12, 0.7);
  backdrop-filter: blur(4px);
}

.popup__dialog {
  position: relative;
  background: rgba(12, 16, 23, 0.95);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 20px;
  padding: 28px;
  width: min(420px, 90vw);
  display: grid;
  gap: 12px;
  z-index: 1;
}

.popup__dialog h2 {
  margin: 0;
}

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

.popup__form {
  display: grid;
  gap: 12px;
}

.popup__bonus {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  background: rgba(255, 106, 61, 0.12);
  border: 1px solid rgba(255, 106, 61, 0.3);
  border-radius: 12px;
  padding: 8px 12px;
}
.popup__form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0f131b;
  color: var(--text);
  font-size: 16px;
}

.popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(15, 20, 28, 0.6);
  color: var(--text);
  cursor: pointer;
}

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

  .hero__card {
    order: -1;
  }

  .card--floating {
    margin: 0;
  }

  .process__flow::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 64px;
    right: 0;
    background: var(--bg-soft);
    flex-direction: column;
    width: 220px;
    padding: 20px;
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.2s ease;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .burger {
    display: flex;
  }

  .header__cta,
  .header__contact {
    display: none;
  }

  .services .grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 50px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__trust,
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .why-compare {
    grid-template-columns: 1fr;
  }

  .header__contact {
    display: flex;
  }

  .header__contact-email {
    display: none;
  }

  .hero__grid {
    gap: 28px;
  }

  .hero__content h1 {
    font-size: clamp(28px, 7vw, 34px);
  }

  .hero__card {
    gap: 10px;
  }

  .card--floating {
    padding: 20px;
  }

  .hero__media {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .service-card {
    padding: 16px;
    display: grid;
    gap: 12px;
    grid-template-rows: auto auto auto auto;
  }

  .service-card h3 {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .service-card ul {
    margin: 0;
    display: grid;
    gap: 8px;
  }

  .service-card--with-image::before {
    display: none;
  }

  .service-card--with-image::after {
    position: static;
    width: min(42vw, 150px);
    height: 110px;
    margin: 8px auto 0;
    background: var(--service-image) center / contain no-repeat;
  }

  .service-card .btn--primary {
    width: 100%;
    height: 50px;
    margin-top: 14px;
    justify-content: center;
  }

  .why-point--with-image {
    grid-template-columns: 1fr 90px;
  }

  .service-card--with-image {
    display: flex;
    flex-direction: column;
  }

  .service-card--with-image::after {
    order: 3;
  }

  .service-card .btn--primary {
    order: 4;
  }

  .case-card__media {
    aspect-ratio: 4 / 5;
  }

  .case-slider,
  .case-slide img {
    height: 100%;
  }
}

@media (max-width: 360px) {
  .service-card {
    padding: 1px;
  }

  .service-card h3 {
    font-size: 17px;
  }

  .service-card--with-image::after {
    width: 120px;
    height: 90px;
  }
}

@media (max-width: 540px) {
  section:not(:last-of-type)::after {
    bottom: -12px;
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 540px) {
  .hero__media {
    aspect-ratio: 1 / 1;
  }
  .hero {
    padding-top: 1px;
  }
  .btn {
    width: 100%;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    padding-top: 1px;
  }

  .hero__content h1 {
    font-size: clamp(26px, 8vw, 32px);
  }

  .hero__content .lead {
    font-size: 16px;
  }

  .hero__trust span {
    font-size: 12px;
    padding: 10px 12px;
  }
}
