﻿:root {
  --bg: #f6f8fc;
  --bg-soft: #f2f5fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --text: #243446;
  --muted: #6d7885;
  --line: rgba(36, 52, 70, 0.1);
  --brand: #ea8a3d;
  --brand-strong: #cf6b22;
  --brand-cool: #5f96cf;
  --mint: #dff2e8;
  --accent: #e5eefb;
  --shadow: 0 18px 44px rgba(111, 140, 171, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

.seo-toggle-section {
  padding-top: 0;
  padding-bottom: 44px;
}

.seo-toggle {
  overflow: hidden;
  border: 1px solid rgba(32, 48, 66, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
  box-shadow: var(--shadow);
  text-align: center;
  padding-bottom: 24px;
}

.seo-toggle__summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin: 24px auto 0;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59a3a, #ef7f1a);
  box-shadow: 0 18px 36px rgba(239, 127, 26, 0.24);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.seo-toggle__summary::-webkit-details-marker {
  display: none;
}

.seo-toggle__panel {
  max-height: 0;
  padding: 0 24px 24px;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.38s ease, opacity 0.28s ease, padding-top 0.38s ease;
}

.seo-toggle.is-open .seo-toggle__panel,
.seo-toggle[open] .seo-toggle__panel {
  padding-top: 20px;
  opacity: 1;
}

.seo-toggle.is-open,
.seo-toggle[open] {
  padding-bottom: 0;
}

.seo-toggle__content {
  padding: 28px 30px;
  border: 1px solid rgba(32, 48, 66, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.seo-toggle__content h2 {
  margin: 0 0 14px;
}

.seo-toggle__copy {
  display: grid;
  gap: 14px;
}

.seo-toggle__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.related-service-card {
  display: grid;
  gap: 18px;
  height: 100%;
  padding: 28px;
  border: 1px solid rgba(32, 48, 66, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.related-service-card__body {
  display: grid;
  gap: 10px;
}

.related-service-card__body h3 {
  margin: 0;
}

.related-service-card__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.related-service-card__link {
  justify-self: flex-start;
}

.breadcrumbs {
  margin-bottom: 20px;
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  color: rgba(109, 120, 133, 0.7);
}

.breadcrumbs__item a {
  transition: color 0.2s ease;
}

.breadcrumbs__item a:hover {
  color: var(--text);
}

.breadcrumbs__item span[aria-current="page"] {
  color: var(--text);
}

@media (max-width: 767px) {
  .seo-toggle {
    padding-bottom: 20px;
  }

  .seo-toggle__summary {
    margin: 20px auto 0;
  }

  .seo-toggle__panel {
    padding: 0 20px 20px;
  }

  .seo-toggle.is-open .seo-toggle__panel,
  .seo-toggle[open] .seo-toggle__panel {
    padding-top: 18px;
  }

  .seo-toggle.is-open,
  .seo-toggle[open] {
    padding-bottom: 0;
  }

  .seo-toggle__content {
    padding: 22px 20px;
  }

  .related-services-grid {
    grid-template-columns: 1fr;
  }

  .related-service-card {
    padding: 22px 20px;
  }

  .breadcrumbs {
    margin-bottom: 16px;
  }

  .breadcrumbs__list,
  .breadcrumbs__item {
    gap: 8px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Muller", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(32, 48, 66, 0.06);
  backdrop-filter: blur(10px);
}

.topbar__inner,
.header__inner,
.nav,
.topbar__links,
.hero__actions,
.cta-card__actions {
  display: flex;
  align-items: center;
}

.topbar__inner {
  justify-content: space-between;
  min-height: 42px;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.topbar__links {
  gap: 18px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 251, 255, 0.94);
  border-bottom: 1px solid rgba(32, 48, 66, 0.08);
  backdrop-filter: blur(14px);
}

.header__inner {
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.logo__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, #eef6ff, #dceafb);
  color: #476d9c;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.logo__text {
  display: grid;
  gap: 3px;
}

.logo__text strong {
  font-size: 20px;
  font-weight: 700;
}

.logo__text span {
  color: var(--muted);
  font-size: 13px;
}

.nav {
  gap: 18px;
}

.nav > a,
.nav-services__trigger {
  color: var(--muted);
  font-size: 15px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nav > a:hover,
.nav-services__trigger:hover,
.nav-services.is-open .nav-services__trigger {
  color: var(--text);
}

.nav-services {
  position: relative;
  padding: 14px 0;
  margin: -14px 0;
}

.nav-services__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-services__trigger::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.nav-services:hover .nav-services__trigger::after,
.nav-services.is-open .nav-services__trigger::after {
  transform: rotate(225deg) translateY(-1px);
}

.services-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-34%);
  width: 760px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 35;
}

.services-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 24px;
}

.nav-services:hover .services-menu,
.nav-services.is-open .services-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-34%) translateY(0);
}

.services-menu__inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(36, 52, 70, 0.1);
  border-radius: 22px;
  box-shadow: 0 28px 54px rgba(64, 86, 112, 0.16);
  overflow: hidden;
}

.services-menu__col {
  padding: 22px 18px;
  max-height: min(68vh, 620px);
  overflow: auto;
}

.services-menu__col--submenu {
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.98));
  border-left: 1px solid rgba(36, 52, 70, 0.08);
}

.services-menu__title {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.services-menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--text);
  transition: background 0.18s ease;
  line-height: 1.25;
}

.services-menu__item:hover,
.services-menu__item.is-active {
  background: #f3f7fc;
}

.services-menu__arrow {
  color: var(--brand-strong);
  font-size: 20px;
  line-height: 1;
}

.services-submenu {
  display: none;
  gap: 6px;
}

.services-submenu.is-active {
  display: grid;
}

.services-submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--text);
  line-height: 1.35;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.services-submenu a:hover {
  background: #fff3e6;
  color: var(--brand-strong);
  transform: translateX(2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0a257, #de7b2d);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(222, 123, 45, 0.22);
}

.button--secondary,
.button--ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border-color: rgba(222, 123, 45, 0.14);
  box-shadow: none;
}

.button--small {
  min-height: 40px;
  padding: 0 16px;
}

.button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  flex: 0 0 auto;
}

.button__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.button.button--header {
  min-height: 46px;
  padding: 0 20px;
  border-color: rgba(222, 123, 45, 0.34);
  background: linear-gradient(180deg, #f39b47, #ea7f27);
  color: #fff;
  box-shadow:
    0 12px 24px rgba(234, 127, 39, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  font-weight: 700;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand-strong);
  background: #fff7ef;
  border: 1px solid rgba(222, 123, 45, 0.14);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h3 {
  font-size: 20px;
  line-height: 1.24;
}

.hero {
  padding: 44px 0 24px;
  position: relative;
  overflow: hidden;
  background:
    url("assets sfera-prototype/img/fon1.webp") center center / cover no-repeat,
    #eef5ff;
}

.hero--it-audit {
  background:
    url("assets sfera-prototype/img/it-audit.png") center center / cover no-repeat,
    #eef5ff;
}

.hero--computer-support {
  background:
    url("assets sfera-prototype/img/obc.png") center center / cover no-repeat,
    #eef5ff;
}

.hero--server-support {
  background:
    url("assets sfera-prototype/img/server.png") center center / cover no-repeat,
    #eef5ff;
}

.hero--networks {
  background:
    url("assets sfera-prototype/img/local.png") center center / cover no-repeat,
    #eef5ff;
}

.hero--networks::before {
  background:
    radial-gradient(circle at 14% 26%, rgba(255, 255, 255, 0.95), transparent 28%),
    radial-gradient(circle at 68% 14%, rgba(255, 255, 255, 0.34), transparent 32%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.985) 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0.58) 56%, rgba(255, 255, 255, 0.24) 76%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0.24) 68%, rgba(255, 255, 255, 0.64) 86%, rgba(255, 255, 255, 0.97) 100%);
}

.hero--backup {
  background:
    url("assets sfera-prototype/img/rezerv.png") center center / cover no-repeat,
    #eef5ff;
}

.hero--info-security {
  background:
    url("assets sfera-prototype/img/info.png") center center / cover no-repeat,
    #eef5ff;
}

.hero--onec-support {
  background:
    url("assets sfera-prototype/img/1c.png") center center / cover no-repeat,
    #eef5ff;
}

.hero--onec-support::before {
  background:
    radial-gradient(circle at 15% 24%, rgba(255, 255, 255, 0.94), transparent 28%),
    radial-gradient(circle at 74% 16%, rgba(255, 255, 255, 0.32), transparent 30%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.985) 0%, rgba(255, 255, 255, 0.88) 32%, rgba(255, 255, 255, 0.54) 55%, rgba(255, 255, 255, 0.18) 76%, rgba(255, 255, 255, 0.05) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0.6) 86%, rgba(255, 255, 255, 0.95) 100%);
}

.hero--corporate-services {
  background:
    url("assets sfera-prototype/img/servis.png") center center / cover no-repeat,
    #eef5ff;
}

.hero--monitoring {
  background:
    url("assets sfera-prototype/img/monitor.png") center center / cover no-repeat,
    #eef5ff;
}

.hero--project-work {
  background:
    url("assets sfera-prototype/img/proekt.png") center center / cover no-repeat,
    #eef5ff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.9), transparent 25%),
    radial-gradient(circle at 74% 16%, rgba(255, 255, 255, 0.3), transparent 30%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.84) 31%, rgba(255, 255, 255, 0.46) 57%, rgba(255, 255, 255, 0.18) 77%, rgba(255, 255, 255, 0.05) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 54%, rgba(255, 255, 255, 0.22) 72%, rgba(255, 255, 255, 0.62) 86%, rgba(255, 255, 255, 0.98) 100%);
  pointer-events: none;
}

.hero::after {
  content: none;
}

.hero__grid,
.process__grid,
.pricing-grid,
.service-grid,
.pain-grid,
.metrics__grid,
.stack-grid,
.case-grid,
.footer__grid,
.calc-layout,
.calc-grid,
.option-grid,
.calc-result__metrics {
  display: grid;
  gap: 22px;
}

.hero__grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero__lead,
.section-heading p:last-child,
.panel p,
.service-card p,
.price-card p,
.timeline p,
.note-card li,
.comparison__row,
.stack-card p,
.case-card p,
.faq-list p,
.cta-card p,
.footer p,
.footer a {
  color: var(--muted);
}

.hero__lead {
  margin-top: 18px;
  max-width: 700px;
  font-size: 18px;
  line-height: 1.65;
}

.hero__content > h1:not(.eyebrow),
.hero__content > h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero__actions {
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero__facts {
  list-style: none;
  padding: 0;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.hero__facts li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
}

.hero__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}

.hero__facts li:nth-child(2)::before,
.hero__facts li:nth-child(4)::before {
  background: #73b391;
}

.hero-panel,
.panel,
.service-card,
.price-card,
.note-card,
.stack-card,
.case-card,
.faq-list details,
.cta-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(32, 48, 66, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.hero-panel,
.panel,
.service-card,
.price-card,
.note-card,
.stack-card,
.case-card,
.faq-list details,
.cta-card,
.metrics article,
.timeline article,
.calc-group,
.calc-result__card,
.logos span {
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease;
  will-change: transform;
}

.hero-panel:hover,
.panel:hover,
.service-card:hover,
.price-card:hover,
.note-card:hover,
.stack-card:hover,
.case-card:hover,
.faq-list details:hover,
.cta-card:hover,
.metrics article:hover,
.timeline article:hover,
.calc-group:hover,
.calc-result__card:hover,
.logos span:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(111, 140, 171, 0.16);
}

.price-card:hover,
.calc-group:hover,
.calc-result__card:hover,
.timeline article:hover {
  border-color: rgba(95, 150, 207, 0.16);
}

.cta-card:hover,
.hero-panel:hover {
  box-shadow: 0 28px 64px rgba(111, 140, 171, 0.18);
}

.button,
.nav > a,
.nav-services__trigger,
.services-menu__item,
.services-submenu a {
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--secondary:hover,
.button--ghost:hover {
  border-color: rgba(222, 123, 45, 0.22);
  background: rgba(255, 255, 255, 0.98);
}

.nav > a:hover,
.nav-services__trigger:hover {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel,
  .panel,
  .service-card,
  .price-card,
  .note-card,
  .stack-card,
  .case-card,
  .faq-list details,
  .cta-card,
  .metrics article,
  .timeline article,
  .calc-group,
  .calc-result__card,
  .logos span,
  .button,
  .nav > a,
  .nav-services__trigger,
  .services-menu__item,
  .services-submenu a {
    transition: none;
  }

  .hero-panel:hover,
  .panel:hover,
  .service-card:hover,
  .price-card:hover,
  .note-card:hover,
  .stack-card:hover,
  .case-card:hover,
  .faq-list details:hover,
  .cta-card:hover,
  .metrics article:hover,
  .timeline article:hover,
  .calc-group:hover,
  .calc-result__card:hover,
  .logos span:hover,
  .button:hover,
  .nav > a:hover,
  .nav-services__trigger:hover {
    transform: none;
  }
}

.hero-panel {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 0.98)),
    #fff;
  border-color: rgba(95, 150, 207, 0.12);
}

.hero-panel__header {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-panel__eyebrow {
  color: var(--brand-strong);
  font-size: 13px;
}

.hero-panel__header strong {
  font-size: 22px;
  line-height: 1.25;
}

.hero-panel__list {
  display: grid;
  gap: 16px;
}

.hero-panel__list article {
  padding-top: 16px;
  border-top: 1px solid rgba(32, 48, 66, 0.08);
}

.hero-panel__list article:first-child {
  padding-top: 0;
  border-top: 0;
}

.hero-panel__list strong {
  display: block;
  margin-bottom: 6px;
}

.hero-panel__list p {
  color: var(--muted);
  line-height: 1.55;
}

.hero-feature {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.hero-feature__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #ecf5ff, #dceafb);
  color: #4f82bc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-feature__icon--accent {
  background: linear-gradient(180deg, #fff1e3, #ffe0be);
  color: #de7b2d;
}

.hero-feature__icon--soft {
  background: linear-gradient(180deg, #eef7f2, #dff2e8);
  color: #5c9b7d;
}

.hero-feature__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.hero-feature__content {
  min-width: 0;
}

.hero-feature__content strong,
.hero-feature__content p {
  overflow-wrap: anywhere;
}

.metrics {
  padding: 12px 0 10px;
}

.metrics__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metrics article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92));
  border: 1px solid rgba(32, 48, 66, 0.07);
  border-radius: 18px;
  padding: 12px 16px 6px;
  position: relative;
  overflow: hidden;
  min-height: 114px;
}

.metrics article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #ea8a3d, #5f96cf);
}

.metrics strong {
  display: block;
  font-size: 20px;
  margin-bottom: 2px;
}

.metrics span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.28;
  max-width: 156px;
  display: block;
}

.metric-card__visual {
  position: absolute;
  right: 10px;
  bottom: 12px;
  width: 54px;
  height: 54px;
  opacity: 0.14 !important;
  pointer-events: none;
  color: #4f82bc;
}

.metric-card__visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.metric-card--shield .metric-card__visual {
  width: 56px;
  height: 56px;
  right: 10px;
  bottom: 10px;
}

.metric-card--check .metric-card__visual {
  color: #6b98ca;
}

.metric-card--plans .metric-card__visual {
  color: #ea8a3d;
}

.metric-card--time .metric-card__visual {
  color: #ea8a3d;
}

.section {
  padding: 72px 0;
  position: relative;
}

.section--soft {
  background-color: #fbf8f3;
  background-image:
    url("data:image/svg+xml,%3Csvg width='900' height='260' viewBox='0 0 900 260' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23d9d0c5' stroke-width='1'%3E%3Cpath d='M-40 210C82 150 126 148 244 178C366 208 432 210 548 164C656 121 742 122 944 196'/%3E%3Cpath d='M-56 182C78 132 158 138 270 168C370 196 458 194 558 154C666 112 760 108 942 162'/%3E%3Cpath d='M-54 150C80 112 174 116 286 146C392 176 470 172 572 136C688 95 782 92 944 126'/%3E%3Cpath d='M-48 116C96 84 184 90 302 122C408 152 500 146 606 112C720 76 810 68 946 92'/%3E%3Cpath d='M-28 86C102 58 214 62 330 96C428 124 524 122 628 92C744 58 820 44 936 50'/%3E%3Cpath d='M-22 52C118 28 220 28 342 64C452 98 558 98 664 72C752 50 824 34 936 28'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center center;
  background-size: 920px 260px;
}

.section--soft::before {
  display: none;
}

.section--soft::after {
  display: none;
}

.section--cta {
  padding-top: 40px;
  padding-bottom: 84px;
}

.section--director {
  padding-top: 10px;
  padding-bottom: 10px;
  overflow: hidden;
}

.section--calculator {
  padding-top: 28px;
  padding-bottom: 28px;
  min-height: calc(100svh - 78px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  margin-top: 14px;
  line-height: 1.65;
}

.pain-grid,
.service-grid,
.stack-grid,
.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pain-grid--visual {
  gap: 18px;
}

.panel,
.service-card,
.stack-card,
.case-card {
  padding: 24px;
}

.panel--accent {
  background: linear-gradient(180deg, rgba(241, 247, 255, 0.98), rgba(255, 255, 255, 0.95));
  border-color: rgba(222, 123, 45, 0.18);
}

.pain-card {
  position: relative;
  overflow: hidden;
  min-height: 268px;
  padding: 20px 22px 22px;
}

.pain-card__art {
  width: 100%;
  height: 136px;
  margin-bottom: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: saturate(0.98);
}

.pain-card h3 {
  font-size: 18px;
  line-height: 1.26;
}

.pain-card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.62;
}

.pain-card__art--warn {
  background-image: url("assets%20sfera-prototype/img/1.webp");
}

.pain-card__art--support {
  background-image: url("assets%20sfera-prototype/img/2.webp");
}

.pain-card__art--team {
  background-image: url("assets%20sfera-prototype/img/3.webp");
}

.pain-card__art--shield {
  background-image: url("assets%20sfera-prototype/img/4.webp");
}

.pain-card__art--alert {
  background-image: url("assets%20sfera-prototype/img/5.webp");
}

.pain-card__art--infra {
  background-image: url("assets%20sfera-prototype/img/6.webp");
}

.pain-visual {
  position: relative;
  margin-top: 16px;
  min-height: 320px;
  overflow: hidden;
}

.pain-visual::before {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 14px;
  height: 118px;
  background:
    radial-gradient(circle at 18% 52%, rgba(232, 240, 251, 0.54), transparent 18%),
    radial-gradient(circle at 82% 48%, rgba(248, 226, 198, 0.34), transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.88));
  pointer-events: none;
}

.pain-visual__image {
  width: min(100%, 760px);
  height: 380px;
  margin: 0 auto;
  background-image: url("assets%20sfera-prototype/img/7.webp");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  filter: saturate(0.98);
}

.panel p,
.service-card p,
.stack-card p,
.case-card p {
  margin-top: 12px;
  line-height: 1.6;
}

.case-slider {
  position: relative;
}

.case-slider__controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 16px;
}

.case-slider__arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(32, 48, 66, 0.1);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
  color: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

.case-slider__arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(222, 123, 45, 0.24);
  color: var(--brand-strong);
  box-shadow: 0 20px 42px rgba(111, 140, 171, 0.14);
}

.case-slider__arrow:disabled {
  opacity: 0.42;
  cursor: default;
  transform: none;
  box-shadow: var(--shadow);
}

.case-slider__arrow span {
  display: block;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-1px);
}

.case-slider__viewport {
  overflow: hidden;
}

.case-slider__track {
  display: flex;
  gap: 22px;
  grid-template-columns: none;
  transition: transform 0.34s ease;
  will-change: transform;
}

.case-slider__slide {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.calc-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: start;
  gap: 16px;
}

.calc-form {
  display: grid;
  gap: 12px;
}

.calc-group,
.calc-result__card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.94));
  border: 1px solid rgba(32, 48, 66, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 18px;
}

.calc-group h3,
.calc-result__head h3 {
  margin-bottom: 12px;
}

.calc-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.calc-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 8px;
}

.field span,
.calc-result__price span,
.calc-result__metrics span,
.calc-result__eyebrow,
.calc-result__subtitle {
  color: var(--muted);
  font-size: 14px;
}

.field input,
.field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(32, 48, 66, 0.12);
  border-radius: 14px;
  background: #fbfdff;
  padding: 0 14px;
  color: var(--text);
}

.field textarea {
  width: 100%;
  border: 1px solid rgba(32, 48, 66, 0.12);
  border-radius: 14px;
  background: #fbfdff;
  padding: 12px 14px;
  color: var(--text);
  resize: vertical;
}

.field strong {
  color: var(--accent);
}

.option-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(32, 48, 66, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  min-height: 48px;
  font-size: 13px;
  line-height: 1.2;
}

.check:has(input:checked) {
  border-color: rgba(95, 150, 207, 0.22);
  background: linear-gradient(180deg, #f5faff, #ffffff);
  box-shadow: inset 0 0 0 1px rgba(95, 150, 207, 0.08);
}

.check input {
  margin-top: 3px;
}

.calc-result {
  display: grid;
  gap: 14px;
}

.calc-result__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
}

.calc-result__head p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.calc-result__price {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.calc-result__price div,
.calc-result__metrics article {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(32, 48, 66, 0.07);
}

.calc-result__price strong,
.calc-result__metrics strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.1;
}

.calc-result__metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
  gap: 10px;
}

.calc-result__included {
  margin-top: 12px;
}

.calc-result__included ul {
  margin: 8px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.calc-result__included li {
  line-height: 1.4;
}

.calc-result__card > .button {
  display: inline-flex;
  margin-top: 18px;
  align-self: flex-start;
}

.price-card {
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  border-color: rgba(222, 123, 45, 0.2);
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.price-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff2e3;
  color: var(--brand-strong);
  font-size: 12px;
}

.price-card__top {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.price-card__top span {
  color: var(--muted);
}

.price-card__top strong {
  font-size: 28px;
  line-height: 1;
}

.price-card ul,
.note-card ul {
  margin-top: 18px;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--text);
}

.price-card li,
.note-card li {
  line-height: 1.55;
}

.button--tariff {
  margin-top: auto;
  width: 100%;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 45, 63, 0.34);
  backdrop-filter: blur(8px);
}

.modal__dialog {
  position: relative;
  width: min(520px, calc(100% - 24px));
  margin: 8vh auto 0;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
  border: 1px solid rgba(36, 52, 70, 0.08);
  box-shadow: 0 28px 64px rgba(31, 45, 63, 0.18);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(36, 52, 70, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  cursor: pointer;
}

.modal__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff4e8;
  color: var(--brand-strong);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modal__dialog h3 {
  margin-top: 16px;
  font-size: 30px;
}

.modal__lead {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.modal-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.modal-form textarea {
  width: 100%;
  border: 1px solid rgba(32, 48, 66, 0.12);
  border-radius: 14px;
  background: #fbfdff;
  padding: 12px 14px;
  color: var(--text);
  resize: vertical;
}

.modal-success {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 28px 12px 10px;
  text-align: center;
}

.modal-success[hidden] {
  display: none;
}

.modal-success__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ebfff0, #dff7e7);
  color: #2f7a46;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(47, 122, 70, 0.12);
}

.modal-success h4 {
  font-size: 28px;
  line-height: 1.1;
  color: var(--text);
}

.modal-success p {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.6;
}

.modal--offer .modal__backdrop {
  background:
    radial-gradient(circle at left center, rgba(241, 194, 154, 0.34), transparent 34%),
    radial-gradient(circle at right center, rgba(126, 170, 227, 0.34), transparent 32%),
    rgba(31, 45, 63, 0.18);
  backdrop-filter: blur(14px);
}

.modal__dialog--offer {
  width: min(760px, calc(100% - 24px));
  max-height: none;
  margin: 16px auto;
  padding: 16px 28px 14px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 207, 157, 0.22), transparent 24%),
    radial-gradient(circle at 86% 16%, rgba(163, 195, 238, 0.24), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 251, 255, 0.98));
  box-shadow:
    0 30px 80px rgba(85, 112, 146, 0.22),
    0 8px 20px rgba(255, 255, 255, 0.6) inset;
}

.modal__dialog--offer::before,
.modal__dialog--offer::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.modal__dialog--offer::before {
  width: 280px;
  height: 280px;
  left: -90px;
  top: 150px;
  background: radial-gradient(circle, rgba(244, 193, 152, 0.2), transparent 70%);
}

.modal__dialog--offer::after {
  width: 320px;
  height: 320px;
  right: -110px;
  bottom: -60px;
  background: radial-gradient(circle, rgba(156, 190, 236, 0.22), transparent 72%);
}

.modal__eyebrow--offer {
  position: relative;
  z-index: 1;
  background: rgba(255, 244, 232, 0.94);
}

.modal__close--offer {
  width: 42px;
  height: 42px;
  top: 14px;
  right: 14px;
  border-color: rgba(234, 138, 61, 0.22);
  color: var(--brand-strong);
  box-shadow: 0 10px 24px rgba(234, 138, 61, 0.14);
}

.offer-modal__arrow {
  position: absolute;
  left: -6px;
  top: 34px;
  width: 230px;
  border-top: 6px dotted rgba(245, 179, 118, 0.85);
  transform: rotate(-22deg);
  transform-origin: left center;
  opacity: 0.9;
}

.offer-modal__arrow::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -12px;
  width: 22px;
  height: 22px;
  border-top: 6px solid rgba(245, 179, 118, 0.95);
  border-right: 6px solid rgba(245, 179, 118, 0.95);
  transform: rotate(16deg);
  border-top-right-radius: 6px;
}

.offer-modal__headline {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  font-size: clamp(24px, 3.1vw, 38px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.offer-modal__headline strong {
  color: var(--brand-strong);
}

.offer-modal__visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 196px;
  margin: 10px auto 20px;
  overflow: visible;
}

.offer-modal__visual::before {
  content: "";
  position: absolute;
  width: min(100%, 620px);
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(255, 214, 106, 0.55), rgba(255, 214, 106, 0.16) 48%, transparent 74%);
  filter: blur(2px);
}

.offer-modal__image {
  position: relative;
  z-index: 1;
  width: min(100%, 270px);
  max-height: 110px;
  object-fit: contain;
  transform: scale(2.7);
  transform-origin: center center;
  filter: drop-shadow(0 18px 30px rgba(239, 142, 18, 0.18));
}

.offer-modal__ticket {
  position: relative;
  min-width: 320px;
  padding: 28px 46px;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffc22c, #ef8e12);
  color: #fff9ef;
  font-size: clamp(56px, 8vw, 92px);
  font-weight: 800;
  letter-spacing: -0.05em;
  text-shadow: 0 4px 14px rgba(149, 75, 0, 0.24);
  box-shadow:
    0 16px 34px rgba(239, 142, 18, 0.3),
    inset 0 2px 0 rgba(255, 250, 214, 0.7),
    inset 0 -10px 24px rgba(214, 106, 10, 0.22);
}

.offer-modal__ticket::before,
.offer-modal__ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 10px rgba(255, 195, 68, 0.22);
}

.offer-modal__ticket::before {
  left: -17px;
}

.offer-modal__ticket::after {
  right: -17px;
}

.offer-modal__coins {
  position: absolute;
  left: 26%;
  bottom: 18px;
  display: grid;
  gap: 4px;
}

.offer-modal__coins span {
  width: 82px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd857, #f0a515);
  border: 2px solid rgba(255, 248, 213, 0.72);
  box-shadow: 0 6px 16px rgba(236, 156, 28, 0.24);
}

.offer-modal__lead {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  margin: 0 auto 4px;
  color: #555f72;
  font-size: 15px;
  line-height: 1.3;
}

.modal-form--offer {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  margin: 8px auto 0;
  gap: 8px;
}

.field--offer {
  text-align: left;
}

.field__label {
  display: inline-block;
  margin-bottom: 4px;
  color: #616c7e;
  font-size: 13px;
}

.field__control--offer {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  min-height: 54px;
  border: 2px solid rgba(194, 213, 243, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(170, 192, 222, 0.16);
  overflow: hidden;
}

.field__icon {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 20px;
  color: #88a5cd;
  background: linear-gradient(180deg, rgba(232, 240, 252, 0.92), rgba(245, 248, 255, 0.96));
}

.field__control--offer input {
  min-height: 50px;
  border: 0;
  background: transparent;
  padding: 0 22px 0 16px;
  font-size: 17px;
  color: var(--text);
}

.field__control--offer input::placeholder {
  color: #a3acbb;
}

.button--offer {
  min-height: 54px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 800;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 247, 214, 0.55), transparent 24%),
    linear-gradient(180deg, #ffc829, #f09a13);
  box-shadow:
    0 18px 34px rgba(240, 154, 19, 0.26),
    inset 0 2px 0 rgba(255, 250, 228, 0.8),
    inset 0 -10px 22px rgba(215, 117, 11, 0.18);
}

.button--offer:hover {
  transform: translateY(-1px);
  box-shadow:
    0 22px 40px rgba(240, 154, 19, 0.3),
    inset 0 2px 0 rgba(255, 250, 228, 0.8),
    inset 0 -10px 22px rgba(215, 117, 11, 0.18);
}

.offer-modal__privacy {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  margin: 6px auto 0;
  color: #7a8493;
  font-size: 12px;
  line-height: 1.25;
}

.offer-modal__privacy a {
  color: #3d73b4;
}

.offer-modal__dismiss {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  border: 0;
  background: transparent;
  color: #7a8493;
  cursor: pointer;
  font-size: 13px;
}

@media (max-height: 860px) {
  .modal__dialog--offer {
    padding: 18px 22px 16px;
  }

  .offer-modal__arrow {
    display: none;
  }

  .offer-modal__headline {
    font-size: clamp(22px, 2.8vw, 34px);
  }

  .offer-modal__visual {
    min-height: 120px;
    margin-bottom: 12px;
  }

  .offer-modal__image {
    width: min(100%, 168px);
    max-height: 66px;
    transform: scale(2.2);
  }

  .offer-modal__lead {
    font-size: 14px;
  }
}

.process__grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: start;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(32, 48, 66, 0.08);
  border-radius: 18px;
}

.timeline span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff2e3, #e8f2fe);
  color: #496f9d;
  font-weight: 700;
}

.timeline p {
  margin-top: 8px;
  line-height: 1.58;
}

.note-card {
  padding: 24px;
}

.note-card h3 {
  margin-bottom: 16px;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.comparison-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(32, 48, 66, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
  box-shadow: var(--shadow);
}

.comparison-card--staff {
  background:
    radial-gradient(circle at top left, rgba(228, 236, 248, 0.9), transparent 42%),
    linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(242, 246, 252, 0.96));
}

.comparison-card--outsource {
  background:
    radial-gradient(circle at top right, rgba(255, 228, 196, 0.88), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 239, 0.96));
  border-color: rgba(234, 125, 45, 0.12);
}

.comparison-card__head {
  display: grid;
  gap: 12px;
}

.comparison-card__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.comparison-card--staff .comparison-card__eyebrow {
  background: linear-gradient(180deg, #f3f6fb, #e8eef6);
  color: #617084;
}

.comparison-card--outsource .comparison-card__eyebrow {
  background: linear-gradient(180deg, #fff3e6, #ffe6c9);
  color: var(--brand-strong);
}

.comparison-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.comparison-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.comparison-list li {
  position: relative;
  min-height: 62px;
  padding: 14px 16px 14px 58px;
  border-radius: 18px;
  border: 1px solid rgba(32, 48, 66, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  line-height: 1.45;
}

.comparison-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.comparison-list li::after {
  position: absolute;
  left: 24px;
  top: 20px;
  font-size: 15px;
  font-weight: 800;
}

.comparison-list--minus li::before {
  background: linear-gradient(180deg, #fff2eb, #ffe0d0);
}

.comparison-list--minus li::after {
  content: "−";
  color: #dc7d53;
}

.comparison-list--plus li::before {
  background: linear-gradient(180deg, #fff1e2, #ffd9b1);
}

.comparison-list--plus li::after {
  content: "✓";
  color: var(--brand-strong);
}

.comparison-benefits {
  margin-top: 18px;
  padding: 18px 22px 20px;
  border-radius: 24px;
  border: 1px solid rgba(32, 48, 66, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.92));
  box-shadow: var(--shadow);
}

.comparison-benefits__title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #b66a2e;
}

.comparison-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.comparison-benefit {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px 18px;
  min-height: 96px;
  border-right: 1px solid rgba(32, 48, 66, 0.08);
}

.comparison-benefit:last-child {
  border-right: 0;
}

.comparison-benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff2e2, #ffe3c1);
  box-shadow: 0 10px 22px rgba(234, 138, 61, 0.12);
  overflow: hidden;
  position: relative;
}

.comparison-benefit__icon img {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.comparison-benefit--saving .comparison-benefit__icon img {
  width: 82px;
  height: 82px;
  transform: translate(-50%, -50%) scale(1.18);
}

.comparison-benefit--team .comparison-benefit__icon img {
  width: 84px;
  height: 84px;
  transform: translate(-50%, -50%) scale(1.28);
}

.comparison-benefit--support .comparison-benefit__icon img {
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%) scale(1.22);
}

.comparison-benefit__text {
  display: grid;
  gap: 2px;
}

.comparison-benefit strong {
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

.comparison-benefit span {
  color: var(--text);
  font-size: 16px;
  line-height: 1.2;
}

.case-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff5e8, #ffe8cf);
  color: var(--brand-strong);
  font-size: 13px;
  margin-bottom: 14px;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.logos span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92));
  border: 1px solid rgba(32, 48, 66, 0.08);
  color: var(--muted);
}

.logos--cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.logo-card {
  position: relative;
  min-height: 84px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
  border: 1px solid rgba(32, 48, 66, 0.08);
  box-shadow: var(--shadow);
}

.logo-card::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb25c, #ea7d2d);
  box-shadow: 0 0 0 6px rgba(255, 171, 84, 0.12);
  flex: 0 0 auto;
}

.logo-card strong {
  font-size: 18px;
  line-height: 1.3;
  color: var(--text);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  padding-right: 26px;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--brand-strong);
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin-top: 14px;
  line-height: 1.65;
}

.cta-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 34px;
  padding: 34px 38px 38px;
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 179, 84, 0.08), transparent 18%),
    radial-gradient(circle at 12% 88%, rgba(229, 238, 251, 0.3), transparent 24%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 0.98));
  border-color: rgba(222, 123, 45, 0.14);
}

.cta-card__content {
  max-width: 880px;
}

.cta-card__content h2 {
  max-width: 860px;
  line-height: 1.14;
}

.cta-card__lead {
  margin-top: 12px;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.6;
}

.cta-card__actions {
  display: flex;
  gap: 12px;
  flex-direction: column;
  align-items: stretch;
}

.cta-offer {
  position: relative;
  margin-top: 24px;
  border-radius: 26px;
  border: 1px solid rgba(32, 48, 66, 0.08);
  background:
    radial-gradient(circle at 78% 42%, rgba(229, 238, 251, 0.55), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cta-offer::after {
  content: "";
  position: absolute;
  right: 34px;
  top: 118px;
  width: min(56%, 460px);
  height: 260px;
  background: url("assets%20sfera-prototype/img/obloko.webp") no-repeat center center / contain;
  opacity: 0.62;
  pointer-events: none;
  z-index: 0;
}

.cta-offer__promo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  margin: 20px 20px 0;
  padding: 0 22px 0 92px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff2e4, #ffe6c7);
  color: var(--brand-strong);
  font-weight: 700;
  font-size: 16px;
  position: relative;
}

.cta-offer__gift {
  position: absolute;
  left: -6px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 102px;
  height: 102px;
  transform: translateY(-54%);
  line-height: 1;
  flex: 0 0 auto;
}

.cta-offer__gift img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cta-offer__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  padding: 18px 20px 20px;
}

.cta-offer__text h3 {
  margin-bottom: 16px;
  font-size: 30px;
  line-height: 1.16;
}

.cta-card__list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 0;
}

.cta-card__list li {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  line-height: 1.35;
  font-weight: 600;
  font-size: 18px;
}

.cta-card__list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #4ea163;
  background: rgba(86, 176, 109, 0.08);
  font-size: 20px;
  font-weight: 700;
  flex: 0 0 auto;
}

.cta-offer__action {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-offer__action .button {
  min-width: 320px;
}

.cta-offer__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 20px 18px;
  border-top: 1px solid rgba(32, 48, 66, 0.08);
}

.cta-offer__meta span {
  position: relative;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.cta-offer__meta span + span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 14px;
  margin-bottom: 2px;
  border-radius: 999px;
  background: rgba(32, 48, 66, 0.18);
}

.cta-card__action-box {
  min-width: 332px;
  max-width: 360px;
  align-self: center;
  padding: 18px 18px;
  border: 1px solid rgba(32, 48, 66, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  box-shadow: 0 20px 48px rgba(111, 140, 171, 0.1);
}

.lead-form {
  display: grid;
  gap: 10px;
}

.lead-form--contact {
  margin-top: 14px;
}

.lead-form--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.lead-form--compact .field {
  gap: 4px;
}

.lead-form--compact .field span {
  font-size: 12px;
}

.lead-form--compact input,
.lead-form--compact textarea {
  min-height: 40px;
  padding-top: 0;
  padding-bottom: 0;
}

.lead-form--compact textarea {
  min-height: 72px;
  padding: 8px 12px;
}

.field--half {
  grid-column: span 1;
}

.lead-form--compact .field:not(.field--half),
.lead-form--compact .button,
.lead-form--compact .lead-form__note {
  grid-column: 1 / -1;
}

.lead-form__note {
  margin: -1px 0 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
}

.form-status {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.form-status:empty {
  display: none;
}

.form-status--success {
  color: #2f7a46;
}

.form-status--error {
  color: #b14d2f;
}

.form-legal {
  margin: -2px 0 2px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.form-legal a {
  color: var(--brand-strong);
}

.form-consent {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  margin: 4px 0 4px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.form-consent input {
  width: 14px;
  height: 14px;
  margin: 0;
  flex: 0 0 auto;
}

.form-consent span {
  display: block;
}

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

.lead-form--compact .form-consent,
.lead-form--compact .form-status,
.modal-form .form-consent,
.modal-form .form-status {
  grid-column: 1 / -1;
}

.success-toast {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 31, 46, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.success-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.success-toast[hidden] {
  display: none;
}

.success-toast__card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 32px;
  align-items: start;
  gap: 18px;
  width: min(33vw, 560px);
  min-width: min(100%, 420px);
  min-height: 220px;
  padding: 28px 30px;
  border: 1px solid rgba(47, 122, 70, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 70px rgba(31, 45, 63, 0.24);
}

.success-toast__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ebfff0, #dff7e7);
  color: #2f7a46;
  font-size: 32px;
  font-weight: 700;
}

.success-toast__content strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.15;
}

.success-toast__content p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.success-toast__close {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .success-toast {
    padding: 16px;
  }

  .success-toast__card {
    width: min(100%, 560px);
    min-width: 0;
    min-height: 0;
    padding: 22px 20px;
    grid-template-columns: 52px minmax(0, 1fr) 28px;
    gap: 14px;
  }

  .success-toast__icon {
    width: 52px;
    height: 52px;
    font-size: 26px;
  }

  .success-toast__content strong {
    font-size: 22px;
  }

  .success-toast__content p {
    font-size: 16px;
  }
}

.lead-form__note--compact {
  margin-top: -4px;
}

.cta-card__action-title {
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.cta-card__action-lead {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}

.cta-card__mini-note {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(32, 48, 66, 0.08);
}

.cta-card__mini-note strong {
  font-size: 14px;
  color: var(--text);
}

.cta-card__mini-note span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.director-band {
  position: relative;
  width: auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 52%, rgba(240, 246, 255, 0.96) 100%),
    radial-gradient(circle at 82% 28%, rgba(229, 238, 251, 0.68), transparent 24%);
  overflow: hidden;
}

.director-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0)),
    repeating-linear-gradient(180deg, rgba(255,255,255,0.18) 0, rgba(255,255,255,0.18) 24px, rgba(246,250,255,0.08) 24px, rgba(246,250,255,0.08) 48px);
  pointer-events: none;
}

.director-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.95fr);
  gap: 28px;
  align-items: stretch;
  min-height: 500px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.director-card__content {
  display: grid;
  align-content: start;
  max-width: 700px;
  padding: 8px 0;
}

.director-card__lead {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.68;
  max-width: 640px;
}

.director-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.director-card__meta {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(36, 52, 70, 0.08);
}

.director-card__meta strong {
  display: block;
  font-size: 18px;
}

.director-card__meta span,
.director-card__meta p {
  color: var(--muted);
}

.director-card__meta span {
  display: block;
  margin-top: 4px;
}

.director-card__meta p {
  line-height: 1.6;
  max-width: 620px;
}

.director-band__photo {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
}

.director-band__photo::before {
  content: "";
  position: absolute;
  inset: auto -14% -22% auto;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 150, 207, 0.16), transparent 68%);
}

.director-band__photo::after {
  content: none;
}

.director-band__photo-image {
  position: relative;
  z-index: 1;
  display: block;
  max-width: min(162%, 698px);
  max-height: 680px;
  object-fit: contain;
  object-position: bottom center;
  transform: translate(34px, 44px);
  filter: drop-shadow(0 18px 34px rgba(126, 149, 178, 0.12));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.92) 78%, rgba(0, 0, 0, 0.28) 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.92) 78%, rgba(0, 0, 0, 0.28) 94%, transparent 100%);
}

.footer {
  padding: 34px 0 28px;
  border-top: 1px solid rgba(32, 48, 66, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 250, 255, 0.92));
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 1.08fr) minmax(220px, 0.88fr) minmax(220px, 0.88fr) minmax(220px, 0.92fr);
  grid-template-areas:
    "brand contacts services nav"
    "legal map map map";
  gap: 28px 34px;
  padding-bottom: 22px;
}

.footer__brand,
.footer__col {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer__brand {
  grid-area: brand;
}

.footer__col--contacts {
  grid-area: contacts;
}

.footer__col--services {
  grid-area: services;
}

.footer__col--nav {
  grid-area: nav;
}

.footer__col--legal {
  grid-area: legal;
}

.footer__map {
  grid-area: map;
  display: grid;
  align-content: start;
  gap: 0;
  min-width: 0;
}

.footer__title {
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text);
}

.footer p,
.footer a {
  display: block;
  line-height: 1.7;
}

.footer__brand p:first-of-type {
  color: var(--text);
  font-weight: 600;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(32, 48, 66, 0.08);
}

.footer__bottom p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer__map-frame {
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(32, 48, 66, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 46px rgba(111, 140, 171, 0.12);
}

.footer__map-frame iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

@media (max-width: 1080px) {
  .hero__grid,
  .process__grid,
  .pricing-grid,
  .pain-grid,
  .service-grid,
  .stack-grid,
  .case-grid,
  .metrics__grid,
  .footer__grid,
  .calc-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "brand contacts"
      "services nav"
      "legal legal"
      "map map";
  }

  .footer__map {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-slider__slide {
    flex-basis: calc((100% - 22px) / 2);
  }

  .pain-card {
    min-height: 252px;
  }

  .pain-visual {
    min-height: 320px;
  }

  .pain-visual__image {
    width: min(100%, 620px);
    height: 320px;
    background-size: cover;
    background-position: center bottom;
  }

  .logos--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-result__metrics {
    grid-template-columns: 1fr;
  }

  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics article {
    min-height: 108px;
  }

  .metric-card__visual {
    width: 48px;
    height: 48px;
    bottom: 10px;
    opacity: 0.14 !important;
  }

  .director-band__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .director-band__photo {
    min-height: 300px;
  }

  .director-band__photo::before {
    width: 420px;
    height: 420px;
    right: 50%;
    transform: translateX(50%);
  }

  .director-band__photo::after {
    width: 420px;
    height: 420px;
    right: 50%;
    transform: translateX(50%);
  }

  .director-band__photo-image {
    max-width: min(100%, 480px);
    max-height: 520px;
    transform: translate(10px, 28px);
  }

}

@media (max-width: 840px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(32, 48, 66, 0.08);
    box-shadow: var(--shadow);
    max-height: calc(100svh - 108px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nav.is-open {
    display: flex;
  }

  .nav > a,
  .nav-services,
  .nav-services__trigger {
    width: 100%;
    text-align: left;
  }

  .nav-services__trigger {
    justify-content: space-between;
    min-height: 42px;
  }

  .services-menu {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    overflow: visible;
  }

  .nav-services.is-open .services-menu {
    display: block;
  }

  .nav-services:hover .services-menu {
    transform: none;
  }

  .services-menu__inner {
    grid-template-columns: 1fr;
  }

  .services-menu__col {
    padding: 16px;
    max-height: none;
    overflow: visible;
  }

  .services-menu__col--submenu {
    display: none;
  }

  .services-submenu {
    display: none;
  }

  .services-submenu.is-active {
    display: grid;
  }

  .services-mobile-submenu {
    display: grid;
    gap: 6px;
    margin: 8px 0 14px;
    padding: 8px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(36, 52, 70, 0.08);
  }

  .services-mobile-submenu a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--text);
    line-height: 1.35;
    background: rgba(255, 255, 255, 0.88);
  }

  .header__inner {
    position: relative;
  }

  .hero,
  .section {
    padding: 52px 0;
  }

  .metrics article {
    min-height: 104px;
  }

  .metrics span {
    max-width: none;
  }

  .metric-card__visual {
    width: 44px;
    height: 44px;
    bottom: 8px;
    opacity: 0.14 !important;
  }

  .calc-grid,
  .option-grid,
  .calc-layout {
    grid-template-columns: 1fr;
  }

  .section--calculator {
    min-height: auto;
  }

  .comparison {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .comparison-card {
    padding: 20px;
    border-radius: 22px;
  }

  .comparison-card h3 {
    font-size: 22px;
  }

  .comparison-list li {
    min-height: 58px;
    padding: 13px 14px 13px 54px;
  }

  .comparison-list li::before {
    left: 14px;
    top: 15px;
    width: 26px;
    height: 26px;
  }

  .comparison-list li::after {
    left: 21px;
    top: 18px;
  }

  .comparison-benefits {
    padding: 14px 14px 16px;
    border-radius: 18px;
  }

  .comparison-benefits__title {
    margin-bottom: 8px;
    text-align: left;
    font-size: 14px;
    line-height: 1.25;
  }

  .comparison-benefits__grid {
    grid-template-columns: 1fr;
  }

  .comparison-benefit {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px;
    padding: 8px 0;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(32, 48, 66, 0.08);
  }

  .comparison-benefit:last-child {
    border-bottom: 0;
  }

  .comparison-benefit__icon {
    width: 40px;
    height: 40px;
    box-shadow: none;
  }

  .comparison-benefit--saving .comparison-benefit__icon img {
    width: 46px;
    height: 46px;
    transform: translate(-50%, -50%) scale(1.1);
  }

  .comparison-benefit--team .comparison-benefit__icon img {
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%) scale(1.16);
  }

  .comparison-benefit--support .comparison-benefit__icon img {
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%) scale(1.12);
  }

  .comparison-benefit strong {
    font-size: 15px;
  }

  .comparison-benefit span {
    font-size: 12px;
    line-height: 1.15;
  }

  .comparison__row > div:nth-child(2),
  .comparison__row > div:nth-child(3) {
    padding-top: 34px;
  }

  .comparison__row > div:nth-child(2)::before,
  .comparison__row > div:nth-child(3)::before {
    position: absolute;
    left: 16px;
    top: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .comparison__row > div:nth-child(2)::before {
    content: "Штатный специалист";
  }

  .comparison__row > div:nth-child(3)::before {
    content: "Сфера БИТ";
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-card__action-box {
    width: 100%;
    max-width: none;
    align-self: stretch;
  }

  .cta-offer__body {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cta-offer__action .button {
    min-width: 0;
    width: 100%;
  }

  .director-band__inner {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .director-band__photo {
    min-height: 260px;
  }

  .director-band__photo::after {
    right: 50%;
    transform: translateX(50%);
    width: 340px;
    height: 340px;
  }

  .director-band__photo::before {
    right: 50%;
    transform: translateX(50%);
    width: 340px;
    height: 340px;
  }

  .director-band__photo-image {
    max-width: min(100%, 420px);
    max-height: 460px;
    transform: translate(6px, 22px);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1140px);
  }

  .topbar {
    display: none;
  }

  .header__inner {
    min-height: 74px;
  }

  .logo__text strong {
    font-size: 18px;
  }

  .logo__text span {
    font-size: 12px;
  }

  .topbar__inner,
  .topbar__links,
  .cta-card__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__content > h1:not(.eyebrow),
  .hero__content > h2 {
    font-size: 18px;
    line-height: 1.06;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
  }

  .hero__lead {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.45;
  }


.hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
    width: 100%;
  }

  .hero__actions .button--secondary {
    min-height: 0;
    padding: 4px 0 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--text);
  }

  .section-heading h2,
  .comparison-copy h2,
  .cta-card__content h2,
  .director-card__content h2,
  .faq-copy h2 {
    font-size: 20px;
    line-height: 1.12;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
  }

  .section-heading p:last-child,
  .comparison-copy p,
  .cta-card__lead,
  .director-card__lead,
  .faq-copy p {
    font-size: 14px;
    line-height: 1.55;
  }

  .hero__facts,
  .hero-panel__list,
  .metrics__grid,
  .pain-grid,
  .service-grid,
  .pricing-grid,
  .stack-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hero__facts::-webkit-scrollbar,
  .hero-panel__list::-webkit-scrollbar,
  .metrics__grid::-webkit-scrollbar,
  .pain-grid::-webkit-scrollbar,
  .service-grid::-webkit-scrollbar,
  .pricing-grid::-webkit-scrollbar,
  .stack-grid::-webkit-scrollbar {
    display: none;
  }

  .hero__facts {
    display: grid;
    gap: 6px;
    margin-top: 12px;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .hero__facts li {
    flex: none;
    min-height: 0;
    padding: 10px 12px 10px 24px;
    border-radius: 12px;
    border: 1px solid rgba(32, 48, 66, 0.06);
    background: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    line-height: 1.3;
    scroll-snap-align: none;
  }

  .hero__facts li::before {
    left: 10px;
    top: 16px;
    width: 6px;
    height: 6px;
  }

  .hero-panel {
    padding: 14px;
  }

  .hero-panel__header {
    margin-bottom: 12px;
  }

  .hero-panel__header strong {
    font-size: 18px;
  }

  .hero-panel__list {
    gap: 12px;
  }

  .hero-panel__list article {
    flex: 0 0 78%;
    padding: 12px;
    border-top: 0;
    border: 1px solid rgba(32, 48, 66, 0.08);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
    scroll-snap-align: start;
  }

  .hero-feature {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .hero-feature__icon {
    width: 30px;
    height: 30px;
  }

  .hero-feature__content strong {
    font-size: 15px;
  }

  .hero-feature__content p {
    display: none;
  }

  .cta-card {
    padding: 24px 22px 24px;
  }

  .cta-card__lead {
    font-size: 14px;
  }

  .cta-offer__promo {
    min-height: 46px;
    margin: 16px 16px 0;
    padding: 0 14px 0 70px;
    font-size: 14px;
    gap: 10px;
  }

  .cta-offer__gift {
    left: -2px;
    width: 74px;
    height: 74px;
  }

  .cta-offer__text h3 {
    font-size: 20px;
  }

  .cta-card__list li {
    font-size: 15px;
  }

  .cta-offer__meta span {
    font-size: 14px;
  }

  .cta-offer::after {
    right: 18px;
    top: 148px;
    width: min(72%, 320px);
    height: 170px;
    opacity: 0.46;
  }

  .cta-card__action-box {
    padding: 22px 18px;
  }

  .lead-form--compact {
    grid-template-columns: 1fr;
  }

  .field--half {
    grid-column: auto;
  }

  .hero__grid,
  .process__grid,
  .case-grid,
  .footer__grid,
  .calc-layout,
  .calc-result__price {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "contacts"
      "services"
      "nav"
      "legal"
      "map";
    gap: 20px;
  }

  .footer__map-frame,
  .footer__map-frame iframe {
    min-height: 320px;
    height: 320px;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .timeline span {
    width: 46px;
    height: 46px;
  }

  .button,
  .button--small {
    width: 100%;
  }

  .button {
    min-height: 46px;
    font-size: 14px;
  }

  .metrics {
    display: none;
  }

  .metrics article {
    flex: 0 0 74%;
    min-height: 86px;
    padding: 14px 16px 10px;
    scroll-snap-align: start;
  }

  .metric-card__visual {
    width: 38px;
    height: 38px;
    bottom: 12px;
    right: 12px;
    opacity: 0.12 !important;
  }

  .pain-grid > .panel,
  .service-grid > .service-card,
  .pricing-grid > .price-card,
  .stack-grid > .stack-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .calc-result {
    order: 2;
    gap: 10px;
  }

  .calc-form {
    order: 1;
  }

  .calc-result__card {
    padding: 14px;
  }

  .calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .calc-grid--compact {
    grid-template-columns: 1fr;
  }

  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .field {
    gap: 6px;
  }

  .field span {
    font-size: 12px;
    line-height: 1.3;
  }

  .field input,
  .field select {
    min-height: 38px;
    border-radius: 12px;
    padding: 0 12px;
    font-size: 14px;
  }

  .calc-group h3,
  .calc-result__head h3 {
    margin-bottom: 10px;
    font-size: 17px;
  }

  .check {
    min-height: 50px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.25;
  }

  .check input {
    margin-top: 2px;
  }

  .calc-result__price {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .calc-result__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

.calc-result__metrics article:last-child {
  grid-column: 1 / -1;
}

.calc-mobile-extra {
  margin-top: 18px;
  border-radius: 20px;
  border: 1px solid rgba(32, 48, 66, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
  box-shadow: var(--shadow);
}

.calc-mobile-extra summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 48px 0 18px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  list-style: none;
}

.calc-mobile-extra summary::-webkit-details-marker {
  display: none;
}

.calc-mobile-extra summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  line-height: 1;
  color: var(--brand-strong);
}

.calc-mobile-extra[open] summary::after {
  content: "−";
}

.calc-group--nested {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(32, 48, 66, 0.08);
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: 641px) {
  .calc-mobile-extra {
    margin-top: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .calc-mobile-extra summary {
    display: none;
  }

  .calc-group--nested {
    border-top: 0;
  }
}

  .calc-result__price div,
  .calc-result__metrics article {
    padding: 10px;
    border-radius: 14px;
  }

  .calc-result__price strong,
  .calc-result__metrics strong {
    font-size: 16px;
  }

  .calc-result__included {
    margin-top: 14px;
  }

  .calc-result__included ul {
    gap: 8px;
  }

  .calc-result__card > .button {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
  }

  .calc-mobile-extra {
    margin-top: 12px;
    border-radius: 16px;
  }

  .calc-mobile-extra summary {
    min-height: 48px;
    padding: 0 42px 0 14px;
    font-size: 14px;
  }

  .calc-group--nested {
    padding: 14px;
  }

  @media (min-width: 641px) {
    .calc-mobile-extra {
      margin-top: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }

    .calc-mobile-extra > summary {
      display: none !important;
    }

    .calc-group--nested {
      padding: 0;
      border-top: 0;
    }
  }

  .comparison {
    gap: 12px;
    padding: 0;
  }

  .comparison__row > div:nth-child(2),
  .comparison__row > div:nth-child(3) {
    padding-top: 46px;
  }

  .comparison__row > div:nth-child(2)::before,
  .comparison__row > div:nth-child(3)::before {
    top: 10px;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
  }

  .comparison__row > div:nth-child(2)::before {
    color: #66758a;
    background: linear-gradient(180deg, #f4f7fb, #edf2f7);
    border: 1px solid rgba(123, 140, 163, 0.18);
  }

  .comparison__row > div:nth-child(3)::before {
    color: var(--brand-strong);
    background: linear-gradient(180deg, #fff2e4, #ffe6c7);
    border: 1px solid rgba(234, 125, 45, 0.18);
    box-shadow: 0 10px 22px rgba(234, 138, 61, 0.12);
  }

  .logos--cards {
    grid-template-columns: 1fr;
  }

  .logo-card {
    min-height: 72px;
    padding: 16px 18px;
  }

  .logo-card strong {
    font-size: 17px;
  }

  .case-slider__controls {
    justify-content: flex-start;
    margin-bottom: 12px;
  }

  .case-slider__arrow {
    width: 40px;
    height: 40px;
  }

  .case-slider__slide {
    flex-basis: 80%;
  }

  .hero-panel,
  .panel,
  .service-card,
  .price-card,
  .stack-card,
  .case-card,
  .faq-list details,
  .cta-card,
  .calc-group,
  .calc-result__card {
    padding: 18px;
  }

  .director-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .director-band__inner {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .director-band__photo {
    min-height: 220px;
  }

  .director-band__photo::after {
    width: 260px;
    height: 260px;
    bottom: -12px;
  }

  .director-band__photo-image {
    max-width: min(100%, 360px);
    max-height: 430px;
    transform: translate(0, 20px);
  }

  .pain-card {
    min-height: auto;
  }

  .pain-card__art {
    height: 124px;
    background-size: cover;
  }

  .pain-visual {
    min-height: 240px;
    margin-top: 8px;
  }

  .pain-visual__image {
    width: min(100%, 420px);
    height: 240px;
    background-size: cover;
    background-position: center bottom;
  }

  .modal__dialog--offer {
    width: min(100%, calc(100% - 16px));
    max-height: none;
    margin: 8px auto;
    padding: 18px 14px 14px;
  }

  .offer-modal__arrow {
    display: none;
  }

  .offer-modal__headline {
    font-size: 24px;
  }

  .offer-modal__visual {
    min-height: 98px;
    margin-top: 4px;
    margin-bottom: 10px;
  }

  .offer-modal__image {
    width: min(100%, 146px);
    max-height: 56px;
    transform: scale(2);
  }

  .offer-modal__ticket {
    min-width: 0;
    width: min(100%, 280px);
    padding: 18px 24px;
    border-radius: 24px;
    font-size: 54px;
  }

  .offer-modal__coins {
    left: 14%;
    bottom: 6px;
  }

  .offer-modal__coins span {
    width: 58px;
    height: 16px;
  }

  .offer-modal__lead {
    font-size: 14px;
  }

  .field__control--offer {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 52px;
    border-radius: 16px;
  }

  .field__control--offer input {
    min-height: 48px;
    padding-right: 16px;
    font-size: 18px;
  }

  .button--offer {
    min-height: 52px;
    font-size: 18px;
  }

  .offer-modal__privacy {
    font-size: 12px;
  }

}

@media (min-width: 641px) {
  .calc-mobile-extra {
    margin-top: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .calc-mobile-extra > summary,
  .calc-mobile-extra > summary::-webkit-details-marker {
    display: none !important;
  }

  .calc-mobile-extra > summary {
    list-style: none !important;
    appearance: none !important;
  }

  .calc-group--nested {
    padding: 0 !important;
    border-top: 0 !important;
  }
}

