:root {
      --bg: #f5f7fb;
      --text: #111827;
      --muted: #5b6472;
      --line: #dbe3ef;
      --primary: #0b71ba;
      --primary-alt: #1245ff;
      --primary-dark: #084f82;
      --card: #ffffff;
      --card-dark: #0d2740;
      --accent-soft: #eaf5ff;
      --success: #14c38e;
      --shadow: 0 20px 50px rgba(11, 113, 186, 0.12);
      --radius-xl: 32px;
      --radius-lg: 24px;
      --radius-md: 18px;
      --container: 1200px;
      --button-radius: 20px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: auto; }
    body {
      margin: 0;
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
      background: linear-gradient(180deg, #f7fbff 0%, #f4f6fa 100%);
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }

    .container {
      width: min(calc(100% - 32px), var(--container));
      margin: 0 auto;
    }

    .header {
      position: relative;
      top: auto;
      z-index: 20;
      backdrop-filter: none;
      background: rgba(247, 251, 255, 0.96);
      border-bottom: 1px solid rgba(219, 227, 239, 0.7);
    }

    .header__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 18px 0;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      max-width: 220px;
    }

    .logo__image {
      display: block;
      width: 100%;
      height: auto;
      max-height: 44px;
      object-fit: contain;
      object-position: left center;
    }

    .header-contacts {
      position: relative;
      display: flex;
      align-items: center;
    }

    .header-contacts__toggle {
      min-width: 148px;
    }

    .header-contacts__popup {
      position: absolute;
      top: calc(100% + 14px);
      right: 0;
      width: 340px;
      padding: 16px;
      border-radius: 26px;
      background: rgba(255,255,255,0.98);
      border: 1px solid rgba(11, 113, 186, 0.12);
      box-shadow: 0 24px 54px rgba(11, 113, 186, 0.16);
      display: grid;
      gap: 12px;
      z-index: 30;
    }

    .header-contacts__popup[hidden] {
      display: none;
    }

    .header-contacts__link {
      display: grid;
      grid-template-columns: 40px minmax(0, 1fr);
      gap: 14px;
      align-items: center;
      padding: 14px 16px;
      border-radius: 20px;
      background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
      border: 1px solid rgba(11, 113, 186, 0.10);
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
      overflow: hidden;
      position: relative;
    }

    .header-contacts__link::after {
      content: "";
      position: absolute;
      inset: auto auto -30px -20px;
      width: 90px;
      height: 90px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(11, 113, 186, 0.08) 0%, rgba(11, 113, 186, 0) 72%);
      pointer-events: none;
    }

    .header-contacts__link:hover {
      transform: translateY(-1px);
      border-color: rgba(11, 113, 186, 0.18);
      box-shadow: 0 16px 28px rgba(11, 113, 186, 0.10);
    }

    .header-contacts__icon {
      width: 36px;
      height: 36px;
      border-radius: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      position: relative;
      z-index: 1;
      flex: 0 0 40px;
      overflow: hidden;
    }

    .header-contacts__icon svg,
    .header-contacts__icon img {
      width: 36px;
      height: 36px;
      display: block;
      object-fit: contain;
    }

    .header-contacts__link--telegram .header-contacts__icon {
      background: linear-gradient(180deg, #2aabee 0%, #1a88d7 100%);
      color: #fff;
    }

    .header-contacts__link--max .header-contacts__icon {
      background: linear-gradient(180deg, #f5f8ff 0%, #eaf3ff 100%);
      color: #fff;
    }

    .header-contacts__link--mail .header-contacts__icon {
      background: linear-gradient(180deg, #1d8cff 0%, #0b71ba 100%);
      color: #fff;
    }

    .header-contacts__text {
      position: relative;
      z-index: 1;
    }

    .header-contacts__link strong {
      display: block;
      font-size: 16px;
      font-weight: 800;
      line-height: 1.25;
      color: #0d2640;
    }

    .header-contacts__link small {
      display: block;
      margin-top: 4px;
      font-size: 13px;
      font-weight: 600;
      color: var(--muted);
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 22px;
      color: var(--muted);
      font-size: 15px;
      flex-wrap: wrap;
      justify-content: center;
    }

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

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 15px 24px;
      border-radius: var(--button-radius);
      font-weight: 700;
      font-size: 15px;
      border: 1px solid transparent;
      transition: 0.2s ease;
      cursor: pointer;
    }

    .btn--primary {
      background: #b6ff00;
      color: #0d0f14;
      box-shadow: 0 14px 30px rgba(182, 255, 0, 0.24);
    }

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

    .btn--ghost {
      background: #fff;
      color: var(--primary);
      border-color: rgba(11, 113, 186, 0.18);
    }

    .hero {
      padding: 42px 0 32px;
    }

    .hero .container {
      width: min(calc(100% - 32px), var(--container));
    }

    .hero__grid {
      display: grid;
      grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
      gap: 0;
      align-items: stretch;
      border-radius: var(--radius-xl);
      overflow: hidden;
      box-shadow: var(--shadow);
      border: 1px solid rgba(11, 113, 186, 0.14);
      background: linear-gradient(135deg, #0b71ba 0%, #1245ff 100%);
      min-height: 540px;
    }

    .hero__content,
    .hero__visual {
      position: relative;
      overflow: hidden;
    }

.hero__content {
  padding: 56px 48px 56px 56px;
  min-height: 540px;
  display: block;
  background: transparent;
  color: #fff;
  width: 900px;
}

.hero__visual {
  min-height: 540px;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero__visual::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,69,255,0.18) 0%, rgba(18,69,255,0) 72%);
}

.hero__visual::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,113,186,0.14) 0%, rgba(11,113,186,0) 70%);
}

.hero-figure {
  position: relative;
  width: min(100%, 430px);
  height: 100%;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-figure__halo {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.42) 48%, rgba(255,255,255,0) 74%);
}

.hero-figure__screen {
  position: absolute;
  border-radius: 26px;
  border: 1px solid #d7e5f7;
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  box-shadow: 0 18px 34px rgba(11, 113, 186, 0.12);
}

.hero-figure__screen--back {
  width: 210px;
  height: 140px;
  right: 8px;
  top: 88px;
  transform: rotate(10deg);
}

.hero-figure__screen--front {
  width: 230px;
  height: 150px;
  left: 0;
  top: 138px;
  transform: rotate(-8deg);
}

.hero-figure__screen::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 16px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4e3f5 0%, #bfd3ed 100%);
}

.hero-figure__screen::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 22px;
  bottom: 20px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid #d8e6f7;
  background: linear-gradient(180deg, #ffffff 0%, #eff5ff 100%);
}

.hero-figure__person {
  position: absolute;
  bottom: 0;
  width: 290px;
  height: 420px;
}

.hero-figure__head {
  position: absolute;
  top: 54px;
  left: 50%;
  transform: translateX(-50%);
  width: 102px;
  height: 102px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f8c7a8 0%, #e9a983 100%);
  box-shadow: inset 0 -8px 0 rgba(0,0,0,0.04);
  z-index: 3;
}

.hero-figure__hair {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 90px;
  border-radius: 60px 60px 42px 42px;
  background: linear-gradient(180deg, #1a2433 0%, #324761 100%);
  z-index: 4;
}

.hero-figure__body {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 230px;
  height: 280px;
  border-radius: 34px 34px 24px 24px;
  background: linear-gradient(180deg, #123555 0%, #0b71ba 100%);
  z-index: 2;
}

.hero-figure__body::before,
.hero-figure__body::after {
  content: "";
  position: absolute;
  top: 44px;
  width: 64px;
  height: 170px;
  border-radius: 32px;
  background: linear-gradient(180deg, #123555 0%, #0b71ba 100%);
}

.hero-figure__body::before {
  left: -34px;
  transform: rotate(16deg);
}

.hero-figure__body::after {
  right: -34px;
  transform: rotate(-16deg);
}

.hero-figure__laptop {
  position: absolute;
  left: 50%;
  bottom: 78px;
  transform: translateX(-50%);
  width: 250px;
  height: 138px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #edf5ff 100%);
  border: 1px solid #d7e5f7;
  box-shadow: 0 20px 32px rgba(11, 113, 186, 0.18);
  z-index: 5;
}

.hero-figure__laptop::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d7e6f7 0%, #bfd4ed 100%);
}

.hero-figure__laptop::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 32px;
  bottom: 22px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border: 1px solid #d8e6f7;
}

.hero-figure__caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 20px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 16px 32px rgba(11, 113, 186, 0.12);
  z-index: 6;
}

.hero-figure__caption strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
  color: #0d2640;
  margin-bottom: 6px;
}

.hero-figure__caption span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
  max-width: 410px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.16);
}

h1 {
  margin: 20px 0 0 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #fff;
}

.hero__lead {
  margin: 30px 0 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 60px;
}

.hero__content .btn--ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

.hero__content .btn--ghost:hover {
  background: rgba(255,255,255,0.18);
}

.hero__content .btn--primary:hover {
  background: #c6ff3d;
}

.hero__photo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-right: 12px;
}

.hero__photo-wrap::before {
  content: "";
  position: absolute;
  inset: auto -10% -14% auto;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 72%);
}

.hero__photo {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: 165px;
  align-self: flex-end;
  bottom: -5px;
}

.section {

      padding: 24px 0;
    }

    section[id] {
      scroll-margin-top: 110px;
    }

    .section__head {
      display: flex;
      align-items: end;
      justify-content: flex-start;
      gap: 20px;
      margin-bottom: 20px;
    }

    .section__title {
      margin: 0;
      font-size: clamp(18px, 4vw, 22px);
      line-height: 1.05;
      letter-spacing: -0.04em;
      color: #0d2640;
    }

    .section__desc {
      display: none;
    }

    .services {
      display: grid;
      grid-template-columns:
        minmax(0, 1.25fr)
        minmax(0, 1fr)
        minmax(0, .9fr);

      grid-template-areas:
        "crm dev licenses"
        "crm dev site";
      gap: 18px;
      align-items: stretch;
    }

    .service {
      border-radius: 30px;
      padding: 26px;
      min-height: 320px;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: var(--shadow);
      border: 1px solid rgba(11, 113, 186, 0.1);
      overflow: hidden;
      position: relative;
      height: 100%;
    }

    .service--main {
      background: linear-gradient(180deg, #0f2033 0%, #183452 100%);
      color: #fff;
    }

    .service--second {
      background: #ffffff;
    }

    .service--accent {
      background: linear-gradient(180deg, #0b71ba 0%, #1245ff 100%);
      color: #fff;
    }

    .service--light {
      background: #f4f8ff;
    }

    .service__badge {
      display: inline-flex;
      width: fit-content;
      padding: 8px 12px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 800;
      background: rgba(255,255,255,0.12);
      color: inherit;
      border: 1px solid rgba(255,255,255,0.14);
    }

    .service--second .service__badge,
    .service--light .service__badge {
      background: #eaf5ff;
      color: var(--primary);
      border-color: #d7ebff;
    }

    .service h3 {
      margin: 18px 0 14px;
      font-size: 38px;
      max-width: none;
      line-height: 0.98;
      letter-spacing: -0.04em;
    }
	
    h3.cert-tile__name {
      margin: 0;
      font-size: 32px;
      line-height: 0.98;
      letter-spacing: -0.04em;
      color: #0d0f14;
      max-width: 320px;
	  font-weight: 700;
    }

    .cert-tile__text {
      font-size: 16px;
      line-height: 1.55;
      color: var(--muted);
      max-width: 320px;
    }

    .service p {
      margin: 0;
      color: inherit;
      opacity: 0.92;
      line-height: 1.55;
      font-size: 16px;
    }

    .service ul {
      margin: 18px 0 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 10px;
      font-size: 15px;
      line-height: 1.5;
    }

    .service li {
      display: flex;
      gap: 10px;
      align-items: flex-start;
    }

    .service li::before {
      content: "";
      flex: 0 0 8px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      margin-top: 8px;
      background: currentColor;
      opacity: 0.8;
    }

    .service__cta {
      margin-top: 22px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 58px;
      border-radius: 18px;
      font-size: 18px;
      font-weight: 900;
      background: #b6ff00;
      color: #0d0f14;
      padding: 16px 20px;
    }

    .service__small {
      min-height: 0;
    }

    .service--crm {
      grid-area: crm;
      min-height: 540px;
    }

    .service--dev {
      grid-area: dev;
      min-height: 540px;
    }

    .service--licenses {
      grid-area: licenses;
      min-height: 540px;
    }

    .service--apps {
      grid-area: apps;
      min-height: 330px;
    }

    .service--site {
      grid-area: site;
      min-height: 212px;
    }

    .tariffs-plus {
      display: grid;
      grid-template-columns: 1.1fr 0.90fr 0.90fr;
      gap: 18px;
      align-items: stretch;
    }

    .tariff-card {
      border-radius: 30px;
      padding: 26px;
      box-shadow: var(--shadow);
      border: 1px solid rgba(11, 113, 186, 0.1);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 540px;
    }

    .tariff-card--main {
      background: linear-gradient(180deg, #0f2033 0%, #183452 100%);
      color: #fff;
    }

    .tariff-card--deposit {
      background: #ffffff;
    }

    .tariff-card--single {
      background: #f4f8ff;
    }

    .tariff-card__badge, .leadbox__badge {
      display: inline-flex;
      width: fit-content;
      padding: 8px 12px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 800;
      background: rgba(255,255,255,0.12);
      color: inherit;
      border: 1px solid rgba(255,255,255,0.14);
    }

    .tariff-card--deposit .tariff-card__badge,
    .tariff-card--single .tariff-card__badge {
      background: #eaf5ff;
      color: var(--primary);
      border-color: #d7ebff;
    }

    .tariff-card h3 {
      margin: 18px 0 12px;
      font-size: 32px;
      line-height: 0.98;
      letter-spacing: -0.04em;
    }

    .tariff-price {
      margin: 16px 0 10px;
      font-size: clamp(28px, 3vw, 42px);
      line-height: 0.95;
      letter-spacing: -0.04em;
      font-weight: 900;
    }

    .tariff-sub {
      display: block;
      margin-bottom: 18px;
      font-size: 15px;
      line-height: 1.45;
      color: inherit;
      opacity: 0.9;
    }

    .tariff-card p {
      margin: 0;
      line-height: 1.55;
      font-size: 16px;
      opacity: 0.92;
    }

    .tariff-card ul {
      margin: 18px 0 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 10px;
      font-size: 15px;
      line-height: 1.5;
    }

    .tariff-card li {
      display: flex;
      gap: 10px;
      align-items: flex-start;
    }

    .tariff-card li::before {
      content: "";
      flex: 0 0 8px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      margin-top: 8px;
      background: currentColor;
      opacity: 0.8;
    }

    .tariffs-plus__note {
      margin-top: 14px;
      font-size: 14px;
      line-height: 1.55;
      color: var(--muted);
    }

    .trust-grid {

      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 18px;
      align-items: stretch;
    }

    .cert-tiles {
      display: grid;
      grid-template-columns: repeat(2, minmax(0,1fr));
      gap: 16px;
      min-width: 0;
    }

    .cert-tile {
      min-height: 136px;
      border-radius: 30px;
      background: #fff;
      border: 1px solid rgba(11, 113, 186, 0.1);
      padding: 20px;
      display: grid;
      gap: 10px;
      align-content: start;
      box-shadow: var(--shadow);
    }

    .cert-tile--wide {
      grid-column: 1 / -1;
    }

    .cert-tile__icon {
      width: 38px;
      height: 38px;
      border-radius: 12px;
      background: #0f2033;
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      font-weight: 900;
      box-shadow: 0 10px 22px rgba(11, 113, 186, 0.14);
    }

    .cert-tile__icon--gold { background: linear-gradient(180deg, #ffcc52 0%, #d89b17 100%); color: #fff; }
    .cert-tile__icon--red { background: linear-gradient(180deg, #ff6c63 0%, #d1322b 100%); color: #fff; }
    .cert-tile__icon--violet { background: linear-gradient(180deg, #7367ff 0%, #5144db 100%); color: #fff; }
    .cert-tile__icon--blue { background: linear-gradient(180deg, #26a6ff 0%, #0b71ba 100%); color: #fff; }
    .cert-tile__icon--teal { background: linear-gradient(180deg, #24c7b6 0%, #0a8b80 100%); color: #fff; }

    .cert-stats-card {
      position: relative;
      border-radius: 30px;
      background: #ffffff;
      border: 1px solid rgba(11, 113, 186, 0.1);
      padding: 28px 48px 48px 48px;
      box-shadow: var(--shadow);
      min-height: 100%;
      display: grid;
      gap: 24px;
      align-content: start;
    }

    .cert-stats-card::before,
    .cert-stats-card::after {
      content: "";
      position: absolute;
      right: 18px;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      border: 2px solid #b8cae6;
      background: transparent;
    }

    .cert-stats-card::before { top: 18px; }
    .cert-stats-card::after { bottom: 18px; }

	.cert-about-top {
	  margin-bottom: 16px;
	}

	.cert-about-top__label {
	  display: inline-block;
	  font-size: 12px;
	  font-weight: 800;
	  letter-spacing: 0.08em;
	  text-transform: uppercase;
	  color: var(--primary);
	  margin-bottom: 8px;
	}

	.cert-about-top__text {
	  margin: 0;
	  font-size: 16px;
	  line-height: 1.6;
	  color: #0d0f14;
	  max-width: 420px;
	}

	.cert-about-top__intro {
	  display: grid;
	  grid-template-columns: 86px minmax(0, 1fr);
	  gap: 16px;
	  align-items: start;
	}

	.cert-about-top__photo {
	  width: 86px;
	  height: 86px;
	  border-radius: 50%;
	  object-fit: cover;
	  object-position: center top;
	  box-shadow: 0 10px 24px rgba(11, 113, 186, 0.18);
	  border: 4px solid #fff;
	  background: linear-gradient(180deg, #eef5ff 0%, #dbeaff 100%);
	}

	.cert-about-top__bubble {
	  position: relative;
	  padding: 18px 20px;
	  border-radius: 22px;
	  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
	  border: 1px solid rgba(11, 113, 186, 0.12);
	}

	.cert-about-top__bubble::before {
	  content: "";
	  position: absolute;
	  left: -10px;
	  top: 28px;
	  width: 18px;
	  height: 18px;
	  background: #f4f9ff;
	  border-left: 1px solid rgba(11, 113, 186, 0.12);
	  border-bottom: 1px solid rgba(11, 113, 186, 0.12);
	  transform: rotate(45deg);
	}


    .cert-stat {
      padding: 0;
      border: 0;
      background: transparent;
    }

    .cert-stat strong {
      display: block;
      font-size: clamp(34px, 3vw, 48px);
      line-height: 0.9;
      color: #000;
      letter-spacing: -0.05em;
      margin-bottom: 10px;
      font-weight: 900;
    }

    .cert-stat span {
      display: block;
      font-size: 17px;
      line-height: 1.35;
      color: #0d0f14;
      max-width: 320px;
    }
    
.reviews-panel {
  position: relative;
}

.reviews-slider {
  position: relative;
  padding: 0 72px;
}

.reviews-track-wrap {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.review-card {
  flex: 0 0 calc((100% - 32px) / 3);
  margin-right: 16px;
  background: #ffffff;
  border: 1px solid rgba(11, 113, 186, 0.10);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 30px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.review-card:last-child {
  margin-right: 0;
}

.review-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ff6b2c;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(255, 107, 44, 0.22);
}

.review-card__icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.review-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
  color: #0d2640;
}

.review-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #445468;
}

.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(11, 113, 186, 0.16);
  background: #fff;
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(11, 113, 186, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  z-index: 2;
}

.reviews-arrow:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 16px 32px rgba(11, 113, 186, 0.16);
}

.reviews-arrow:disabled {
  opacity: 0.45;
  cursor: default;
  box-shadow: none;
}

.reviews-arrow--prev { left: 0; }
.reviews-arrow--next { right: 0; }

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.reviews-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 113, 186, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.reviews-dot.is-active {
  background: var(--primary);
  transform: scale(1.2);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.workflow__card {
  background: #fff;
  border: 1px solid rgba(11, 113, 186, 0.10);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 28px;
  min-height: 240px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.workflow__card--accent {
  background: linear-gradient(135deg, #1e63c7 0%, #1b4fd1 100%);
  color: #fff;
}

.workflow__eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.workflow__card--accent .workflow__eyebrow {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.workflow__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: inherit;
  max-width: 420px;
}

.workflow__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: inherit;
  opacity: 0.92;
  max-width: 440px;
}

.workflow__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.workflow__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.55;
  color: inherit;
  opacity: 0.95;
}

.workflow__list li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  margin-top: 8px;
  background: currentColor;
  opacity: 0.8;
}

.workflow__media {
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

.workflow__screen {
  position: absolute;
  border-radius: 24px;
  border: 1px solid #d8e7f8;
  background: linear-gradient(180deg, #fdfefe 0%, #edf5ff 100%);
  box-shadow: 0 18px 36px rgba(11, 113, 186, 0.10);
}

.workflow__screen::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 16px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d7e6f7 0%, #c1d6ee 100%);
}

.workflow__screen::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 24px;
  bottom: 22px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  border: 1px solid #d9e7f7;
}

.workflow__screen--a {
  inset: 18px 110px 36px 0;
}

.workflow__screen--b {
  inset: 68px 0 0 140px;
}

.workflow__bars {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 44px;
  display: grid;
  gap: 10px;
  z-index: 1;
}

.workflow__bars span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #cfe0f4 0%, #b7ceed 100%);
}

.workflow__bars span:nth-child(1) { width: 58%; }
.workflow__bars span:nth-child(2) { width: 76%; }
.workflow__bars span:nth-child(3) { width: 42%; }

.leadbox {
      padding: 40px 32px 100px;
      border-radius: 34px;
      background: linear-gradient(180deg, #0f2033 0%, #183452 100%);
      color: #fff;
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
      align-items: center;
      justify-items: center;
      box-shadow: 0 30px 70px rgba(7, 43, 70, 0.28);
      overflow: hidden;
      position: relative;
      min-height: 360px;
      text-align: center;
    }

    .leadbox::after {
      content: "";
      position: absolute;
      width: 420px;
      height: 420px;
      border-radius: 50%;
      right: -110px;
      bottom: -200px;
      background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
    }

    .leadbox h3 {
      margin: 20px 0px 0px 0px;
      font-size: clamp(40px, 5vw, 64px);
      line-height: 0.95;
      letter-spacing: -0.05em;
      max-width: 720px;
      color: #fff;
    }

    .leadbox p {
      margin: 0;
      font-size: 18px;
      line-height: 1.6;
      color: rgba(255,255,255,0.92);
      max-width: 720px;
    }

    .leadbox__intro {
      display: grid;
      gap: 14px;
      justify-items: center;
      position: relative;
      z-index: 1;
      padding-top: 0;
    }

    .leadbox__card,
    .leadsteps {
      display: none;
    }

    .leadmessengers {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      justify-content: center;
	  margin-top: 20px;
      margin-bottom: 40px;
      width: min(100%, 950px);
      position: relative;
      z-index: 2;
      align-items: stretch;
    }

    .leadmessengers__btn,
    .leadmessengers__card {
      min-height: 88px;
      border-radius: 20px;
      border: 1px solid rgba(11, 113, 186, 0.10);
      display: grid;
      grid-template-columns: 40px minmax(0, 1fr);
      gap: 15px;
      align-items: center;
      padding: 16px 18px;
      background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
      box-shadow: 0 16px 34px rgba(255,255,255,0.14);
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
      text-align: left;
      color: #0d2640;
	  padding-left: 30px;
	  border-bottom: 3px solid #b7ff00;
    }

    .leadmessengers__btn:hover,
    .leadmessengers__card:hover {
      transform: translateY(-1px);
      box-shadow: 0 18px 36px rgba(255,255,255,0.18);
      border-color: rgba(11, 113, 186, 0.18);
    }

    .leadmessengers__btn--max {
      color: #0d2640;
    }

    .leadmessengers__icon {
      width: 40px;
      height: 40px;
      flex: 0 0 40px;
      border-radius: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .leadmessengers__btn--max .leadmessengers__icon {
      background: linear-gradient(180deg, #f5f8ff 0%, #eaf3ff 100%);
      color: #fff;
    }

    .leadmessengers__card--mail .leadmessengers__icon {
      background: linear-gradient(180deg, #1d8cff 0%, #0b71ba 100%);
      color: #fff;
    }

    .leadmessengers__body {
      display: block;
      min-width: 0;
    }

    .leadmessengers__title {
      display: block;
      font-size: 16px;
      font-weight: 800;
      line-height: 1.25;
      color: #0d2640;
    }

    .leadmessengers__subtext {
      display: block;
      margin-top: 4px;
      font-size: 13px;
      font-weight: 600;
      color: var(--muted);
      line-height: 1.35;
    }

    .leadmessengers__email {
      display: inline-block;
      margin-top: 4px;
      font-size: 13px;
      font-weight: 700;
      color: var(--primary);
      line-height: 1.35;
      user-select: all;
      -webkit-user-select: all;
      cursor: text;
      word-break: break-all;
    }

    .leadmessengers__mail-action {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 8px;
      font-size: 12px;
      font-weight: 700;
      color: var(--primary);
    }

    

    .btn--with-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .btn__icon {
      width: 20px;
      height: 20px;
      flex: 0 0 20px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn__icon svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .leadmessengers__brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
    }

    .leadmessengers__brand-text {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 30px;
      padding: 0 10px;
      border-radius: 999px;
      background: #f3f5f8;
      color: #17181c;
      font-size: 13px;
      font-weight: 900;
      letter-spacing: 0.08em;
    }

    .leadmessengers__icon {
      width: 40px;
      height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 22px;
    }

    .leadmessengers__icon svg,
    .leadmessengers__icon img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: contain;
    }

    .footer {

      padding: 28px 0 54px;
      color: var(--muted);
      font-size: 14px;
    }

    .footer__inner {
      padding-top: 24px;
      border-top: 1px solid var(--line);
      display: flex;
      justify-content: space-between;
      gap: 18px;
      flex-wrap: wrap;
    }

    .muted-note {
      font-size: 13px;
      color: #71839a;
      margin-top: 12px;
    }

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

      .tariffs-plus {
        grid-template-columns: 1fr 1fr;
      }

      .tariff-card--main {
        grid-column: 1 / -1;
      }

      .services {
        grid-template-columns: repeat(2, minmax(0,1fr));
        grid-template-areas:
          "crm dev"
          "licenses apps"
          "site site";
      }

      .service--crm,
      .service--dev,
      .service--licenses,
      .service--apps,
      .service--site {
        min-height: auto;
      }

    .trust-grid {
 grid-template-columns: 1fr; }
      .reviews-panel .section__head { flex-direction: column; align-items: flex-start; }
      .reviews-slider { padding: 0 60px; }
      .leadbox { min-height: auto; padding: 34px 22px 110px; }
      .hero__content { padding: 42px 36px; }
      .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr); min-height: 540px; }
      .hero__visual, .hero__content, .hero__photo-wrap { min-height: 540px; }    }

    @media (max-width: 680px) {      .hero { padding-top: 20px; }
      .hero__grid { grid-template-columns: 1fr; min-height: 0; }
      .hero__content,
      .hero__visual,
      .service,
      .leadbox,
      .workflow__card,
      .review-card,
      .cert-tile,
      .cert-stats-card { border-radius: 24px; }
      .hero__content { padding: 38px 24px 18px; min-height: 0; }
      .hero__visual { min-height: 380px; padding: 0; }
      .hero__photo-wrap { min-height: 380px; justify-content: center; padding-right: 0; }
      .hero__photo { width: min(100%, 360px); max-height: 380px; object-position: bottom center; }
      .cert-about-top__intro { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
      .cert-about-top__photo { width: 72px; height: 72px; }
      .cert-about-top__bubble { padding: 16px 16px 16px 18px; }
      .header__inner { padding: 14px 0; }
      .cert-tiles,
      .tariffs-plus,
      .workflow { grid-template-columns: 1fr; }
      .reviews-panel .section__title { white-space: normal; }
      .reviews-slider { padding: 0 46px; }
      .review-card { flex-basis: 100%; min-height: 0; }
      .reviews-arrow { width: 40px; height: 40px; }
      .services { grid-template-columns: 1fr; grid-template-areas: "crm" "dev" "licenses" "site"; }
      .section { padding: 18px 0; }
      .section__head { margin-bottom: 16px; }
      .leadbox { padding: 36px 16px 114px; }
      .workflow__media { min-height: 200px; }
      .hero-figure { min-height: 320px; }
      .hero-figure__person { transform: scale(0.82); transform-origin: bottom center; }
      .workflow__screen--a { inset: 14px 70px 36px 0; }
      .workflow__screen--b { inset: 58px 0 0 90px; }
      .leadmessengers { grid-template-columns: 1fr; width: 100%; }
      .leadmessengers__btn,
      .leadmessengers__card { width: 100%; }
      .header-contacts { width: 100%; }
      .header-contacts__toggle { width: 100%; }
      .header-contacts__popup { width: min(100vw - 32px, 320px); right: 0; }
      .nav { display: none; }
      h1 { font-size: 40px; }
	  
    }
	.work-process {
  padding: 80px 0;
  margin-bottom: 60px;
}

.work-process__title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.work-process__subtitle {
  font-size: 15px;
  color: #5f6b7a;
  margin-bottom: 40px;
}

.work-process__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.work-step {
  padding: 28px;
  border-radius: 24px;
  background: #f8fbff;
  border: 1px solid rgba(0,0,0,0.05);
}

.work-step__num {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.work-step__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.work-step__list {
  padding-left: 18px;
  margin: 0;
}

.work-step__list li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .work-process__grid {
    grid-template-columns: 1fr;
  }
}
.cta-note {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.8;
}
.hero__fit {
    margin-top: 28px;
    max-width: 620px;

    display: grid;
    gap: 12px;
}
.hero__fit span {
    display: block;
    position: relative;
    padding-left: 16px;
    font-size: 15px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}
.hero__fit span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b6ff00;
}
.fit-block {
  margin: 40px 0 60px;
}

.fit-block__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: stretch;
  position: relative;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
  border: 1px solid rgba(11, 113, 186, 0.14);
  box-shadow: 0 18px 40px rgba(11, 113, 186, 0.08);
  overflow: hidden;
}

.fit-block__inner::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 69, 255, 0.10) 0%, rgba(18, 69, 255, 0) 72%);
  pointer-events: none;
}

.fit-block__content {
  position: relative;
  z-index: 1;
}

.fit-block__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(11, 113, 186, 0.08);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.fit-block__content h3 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.1;
  color: #0d2640;
}

.fit-block__lead {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 720px;
}

.fit-block__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-block__list li {
  position: relative;
  min-height: 100%;
  padding: 18px 18px 18px 52px;
  margin: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(11, 113, 186, 0.10);
  box-shadow: 0 10px 24px rgba(11, 113, 186, 0.06);
  font-size: 16px;
  line-height: 1.45;
  color: #10233b;
}

.fit-block__list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #b6ff00;
  color: #0d2640;
  font-size: 14px;
  font-weight: 800;
}

.fit-block__visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, #0d2740 0%, #12385e 100%);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(13, 39, 64, 0.18);
}

.fit-block__visual-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.fit-block__visual-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.fit-icon-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fit-icon {
  min-height: 132px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.fit-icon img {
  object-fit: contain;
}

.fit-icon span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

    @media (max-width: 991px) {
      .fit-block__inner {
        grid-template-columns: 1fr;
        padding: 26px;
      }
      .fit-block__content h3 {
        font-size: 28px;
      }
      .fit-block__list {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 640px) {
      .fit-block__inner {
        padding: 22px 18px;
        gap: 20px;
      }
      .fit-block__eyebrow {
        font-size: 12px;
      }
      .fit-block__content h3 {
        font-size: 24px;
      }
      .fit-block__lead {
        font-size: 15px;
      }
      .fit-block__list li {
        padding: 16px 16px 16px 46px;
        font-size: 15px;
      }
      .fit-icon-row {
        grid-template-columns: 1fr;
      }
      .fit-icon {
        min-height: 110px;
      }
      .fit-icon img {
        width: 78px;
        height: 42px;
      }
    }
    .leadbox__badge {
    }

    .leadbox__badge::before {
      content: "";
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #b7ff00;
      box-shadow: 0 0 0 6px rgba(127, 181, 239, 0.12);
      flex: 0 0 10px;
	  margin-right: 13px;
      margin-top: 3px;
    }

    @media (max-width: 991px) {
	.hero__photo-wrap::before,
	.hero__visual::after {
		display: none;
	}
      .hero__grid {
        position: relative;
        grid-template-columns: 1fr;
        min-height: 470px;
      }
      .hero__content {
        width: auto;
        min-height: 470px;
        padding: 44px 300px 40px 38px;
      }
      .hero__fit {
        max-width: 430px;
      }
      .hero__actions {
        margin-top: 42px;
      }
      .hero__visual {
        position: absolute;
        right: 18px;
        bottom: 0;
        width: 310px;
        min-height: 390px;
        pointer-events: none;
        justify-content: flex-end;
      }
      .hero__photo-wrap {
        min-height: 390px;
        padding-right: 0;
        justify-content: flex-end;
      }
      .hero__photo {
        width: 300px;
        max-height: 390px;
        object-position: right bottom;
      }
      .tariff-card {
        min-height: 500px;
      }
    }

    @media (max-width: 768px) {
      .nav a[href="#lead"] {
        display: none;
      }
      .hero__grid {
        min-height: 430px;
      }
      .hero__content {
        min-height: 430px;
        padding: 36px 250px 30px 30px;
      }
      .hero__fit {
        max-width: 310px;
        margin-top: 24px;
      }
      .hero__actions {
        margin-top: 34px;
      }
      .hero__visual {
        right: 10px;
        width: 245px;
        min-height: 320px;
      }
      .hero__photo-wrap {
        min-height: 320px;
      }
      .hero__photo {
        width: 225px;
        max-height: 320px;
      }
      .leadbox {
        padding: 36px 16px 90px;
      }
    }

    @media (max-width: 680px) {
      .header__inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 12px;
      }
      .header-contacts {
        width: auto;
        justify-self: end;
      }
      .header-contacts__toggle {
        width: auto;
        min-width: 136px;
      }
      .hero__grid {
        position: relative;
        min-height: 410px;
      }
      .hero__content {
        padding: 30px 170px 24px 24px;
        min-height: 410px;
      }
      .hero__fit {
        max-width: 230px;
        margin-top: 22px;
      }
      .hero__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 28px;
        max-width: 215px;
      }
      .hero__actions .btn {
        width: 100%;
      }
      .hero__visual {
        right: 0;
        width: 300px;
        min-height: 300px;
      }
      .hero__photo-wrap {
        min-height: 250px;
      }
      .hero__photo {
        width: 300px;
        max-height: 3000px;
      }
      .tariff-card {
        min-height: 450px;
      }
      .cert-tiles,
      #workflow {
        display: none;
      }
      .leadbox {
        padding: 36px 16px 70px;
      }
    }

    @media (max-width: 570px) {
      .hero__grid {
        min-height: 380px;
      }
      .hero__content {
        padding: 24px 138px 18px 20px;
        min-height: 380px;
      }
      .eyebrow {
        font-size: 0;
        padding: 8px 12px;
        max-width: 155px;
      }
      .eyebrow::before {
        content: "⚡ Не агентство";
        font-size: 13px;
        line-height: 1.2;
      }
      h1 {
        font-size: 34px;
      }
      .hero__fit {
        max-width: 180px;
        font-size: 14px;
        line-height: 1.45;
      }
      .hero__actions {
        max-width: 185px;
      }
      .hero__actions .btn {
        padding: 14px 16px;
        font-size: 14px;
      }
      .hero__visual {
        width: 200px;
        min-height: 210px;
        right: 0px;
      }
      .hero__photo-wrap {
        min-height: 210px;
      }
      .hero__photo {
        width: 200px;
        max-height: 210px;
      }
	}
	
    @media (max-width: 500px) {	  
	  .hero__visual {
        right: -40px;
      }	  
    }
    @media (max-width: 400px) {	  
	  .hero__visual {
        right: -80px;
      }	  
    }

/* Bitrix template adjustments */
.page-wrapper{min-height:100vh;display:flex;flex-direction:column;}
main.main-content{flex:1 0 auto;}


.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 16px;

    border-radius: 999px;

    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);

    backdrop-filter: blur(10px);

    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    color: #fff;
}

/* =========================
   Типовые задачи Bitrix24
   ========================= */

.scenarios {
    padding-top: 6px;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-top: 26px;
}

.scenario-card {
    padding: 28px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(11, 113, 186, 0.10);
    box-shadow: var(--shadow);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.scenario-card:hover {
    transform: translateY(-3px);
    border-color: rgba(182,255,0,.35);

    box-shadow:
        0 20px 40px rgba(11, 113, 186, 0.08);
}

.scenario-card h3 {
    margin: 0 0 16px;

    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -.03em;

    color: #0d2640;
}

.scenario-card p {
    margin: 0;

    font-size: 15px;
    line-height: 1.7;

    color: var(--muted);
}

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

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

    .scenario-card {
        padding: 24px;
    }

    .scenario-card h3 {
        font-size: 22px;
    }

    .hero-points {
        gap: 10px;
    }

    .hero-points span {
        font-size: 13px;
    }
}

/* =========================================================
   OlegADV personal positioning
   ========================================================= */
.personal-logo {
	display: inline-grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 235px;
    color: #0d2640;
}


.personal-logo::before {
    width: 0;
    height: 0;
    border-right: 8px solid transparent;
    border-bottom: 15px solid #c8fc0a;
    border-left: 8px solid transparent;
    content: "";
}

.personal-logo__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  color: #0d2640;
  font-size: initial;
  font-weight: initial;
  line-height: normal;
  letter-spacing: normal;
}

.personal-logo__text strong {
  color: #0d2640;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: normal;
}

.personal-logo__text > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.24em;
}

.hero__content {
  width: auto;
}

.hero__fit {
  display: block;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

.hero__actions {
  margin-top: 34px;
}

.hero__content .btn--ghost {
  border-color: rgba(255,255,255,0.34);
}

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

.scenario-card {
  position: relative;
  overflow: hidden;
}

.scenario-card__number {
  display: inline-flex;
  margin-bottom: 22px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  color: var(--primary);
}

.fit-block__title {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #0d2640;
}

.fit-block__visual-label {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.09);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.services--personal {
  grid-template-areas:
    "crm dev licenses"
    "crm dev site";
}

.service__cta--outline {
  background: #0d2740;
  color: #fff;
}


/* Более читаемые подписи над блоками */
.eyebrow,
.fit-block__eyebrow,
.workflow__eyebrow,
.scenario-card__number,
.service__badge,
.cooperation-card__label,
.leadbox__badge {
  letter-spacing: 0.08em;
}

.section__head--wide {
  align-items: flex-end;
  justify-content: space-between;
}

.section__desc-visible {
  margin: 0;
  max-width: 590px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.cooperation-section {
  margin-top: 6px;
  padding: 24px 0;
  background: #f5f7fb;
}

.cooperation-section .section__head {
  margin-bottom: 22px;
}

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

.cooperation-card {
  min-height: 300px;
  padding: 26px;
  border-radius: 26px;
  border: 1px solid #e4ebf4;
  background: #fff;
  box-shadow: 0 18px 46px rgba(37, 83, 143, 0.10);
  display: flex;
  flex-direction: column;
  color: #111827;
}

.cooperation-card--primary {
  background: linear-gradient(145deg, #3477d8 0%, #1e59c9 100%);
  border-color: transparent;
  box-shadow: 0 20px 48px rgba(30, 89, 201, 0.22);
  color: #fff;
}

.cooperation-card--soft {
  background: #fff;
}

.cooperation-card__label {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eaf4ff;
  border: 0;
  color: #0b66b2;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.cooperation-card--primary .cooperation-card__label {
  color: #fff;
  background: rgba(255,255,255,0.14);
  border-color: transparent;
}

.cooperation-card h3 {
  margin: 18px 0 0;
  max-width: 620px;
  font-size: clamp(26px, 2.7vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.cooperation-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #4f5663;
}

.cooperation-card--primary p {
  color: rgba(255,255,255,0.88);
}

.cooperation-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
  font-size: 15px;
  line-height: 1.5;
}

.cooperation-card li {
  position: relative;
  padding-left: 20px;
}

.cooperation-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9d8ff;
}

.cooperation-card:not(.cooperation-card--primary) li::before {
  background: #555b66;
}

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

.workflow--three .workflow__card {
  min-height: 410px;
}

.brand-separation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, #0d2740 0%, #1245ff 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.brand-separation__label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.brand-separation h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.brand-separation p {
  margin: 0;
  max-width: 850px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
}

.btn--brand {
  flex: 0 0 auto;
  background: #b6ff00;
  color: #0d0f14;
  white-space: nowrap;
}

.leadbox__intro p {
  max-width: 760px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer__nav a:hover {
  color: var(--primary);
}

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

  .workflow--three {
    grid-template-columns: 1fr;
  }

  .workflow--three .workflow__card {
    min-height: 0;
  }
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero__content {
    min-height: 0;
    padding: 44px 40px;
  }

  .hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 360px;
    justify-content: center;
  }

  .hero__photo-wrap {
    min-height: 360px;
    justify-content: center;
    padding-right: 0;
  }

  .hero__photo {
    width: min(100%, 420px);
    max-height: 390px;
    object-position: center bottom;
  }

  .section__head--wide {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-separation {
    grid-template-columns: 1fr;
  }

  .brand-separation .btn {
    width: fit-content;
  }
}

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

  .cooperation-card {
    min-height: 0;
  }

  .services--personal {
    grid-template-columns: 1fr;
    grid-template-areas: "crm" "dev" "licenses" "site";
  }

  .service--crm,
  .service--dev {
    min-height: 0;
  }
}

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

  .personal-logo {
    min-width: 0;
  }

  .personal-logo strong {
    font-size: 18px;
  }

  .personal-logo span {
    font-size: 10px;
  }

  .header-contacts__toggle {
    min-width: 116px;
    padding: 13px 16px;
  }

  .hero__grid {
    min-height: 0;
  }

  .hero__content {
    min-height: 0;
    padding: 32px 24px 26px;
  }

  .eyebrow {
    max-width: none;
    font-size: 12px;
    padding: 8px 12px;
  }

  .eyebrow::before {
    content: none;
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .hero__fit {
    max-width: none;
    margin-top: 22px;
    font-size: 16px;
  }

  .hero-points {
    margin-top: 24px;
  }

  .hero__actions {
    max-width: none;
    width: 100%;
    margin-top: 28px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual {
    position: relative;
    right: auto;
    width: 100%;
    min-height: 280px;
  }

  .hero__photo-wrap {
    min-height: 280px;
  }

  .hero__photo {
    width: min(100%, 320px);
    max-height: 300px;
  }

  .scenario-grid--four {
    grid-template-columns: 1fr;
  }

  .fit-block__title {
    font-size: 25px;
  }

  .cert-tiles {
    display: grid;
  }

  #workflow {
    display: block;
  }

  .brand-separation {
    padding: 26px 22px;
  }

  .brand-separation .btn {
    width: 100%;
  }

  .section__desc-visible {
    font-size: 15px;
  }
}


/* Финальный блок: от первой задачи к обращению */
.leadbox {
  padding: 42px 80px 38px;
  gap: 30px;
  min-height: 0;
  text-align: left;
  justify-items: stretch;
  background: linear-gradient(180deg, #10243a 0%, #1d3a58 100%);
}

.leadbox__content {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  position: relative;
  z-index: 1;
}

.leadbox__intro {
  justify-items: start;
  text-align: left;
}

.leadbox__badge {
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
}

.leadbox h3 {
  font-size: clamp(44px, 5vw, 62px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  max-width: 720px;
}

.leadbox__start {
  width: 100%;
  display: grid;
  gap: 18px;
  margin-top: 40px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 24px;
  background: rgba(255,255,255,0.07);
  position: relative;
  z-index: 1;
  max-width: 950px;
}

.leadbox__start ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
}

.leadbox__start li {
  position: relative;
  padding-left: 22px;
}

.leadbox__start li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b7ff00;
}

.leadbox__start p {
  margin: 2px 0 0;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,0.13);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: #fff;
}

.leadmessengers {
  width: min(100%, 950px);
}

@media (max-width: 1080px) {
  .leadbox {
    padding-right: 54px;
    padding-left: 54px;
  }
}

@media (max-width: 760px) {
  .leadbox {
    padding: 34px 26px 30px;
  }

  .leadbox h3 {
    margin-top: 28px;
    font-size: clamp(38px, 10vw, 52px);
    line-height: 0.95;
  }

  .leadbox__start {
    padding: 24px;
    border-radius: 22px;
  }

  .leadmessengers {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .leadbox {
    padding: 28px 18px 24px;
    border-radius: 24px;
  }

  .leadbox h3 {
    margin-top: 24px;
    font-size: 38px;
  }

  .leadbox__start {
    padding: 20px;
  }

  .leadbox__start ul {
    font-size: 15px;
  }

  .leadbox__start p {
    font-size: 16px;
  }
}

:root {
  --brand-blue: #1052eb;
  --brand-lime: #c8fc0a;
}

.hero__grid {
  position: relative;
  isolation: isolate;
}

.hero__grid::after {
  content: "OLEGADV";
  position: absolute;
  right: 30px;
  bottom: -18px;
  z-index: 0;
  font-size: clamp(92px, 13vw, 180px);
  line-height: .82;
  font-weight: 950;
  letter-spacing: -.075em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.085);
  text-stroke: 2px rgba(255,255,255,.085);
  pointer-events: none;
  white-space: nowrap;
}

.hero__content,
.hero__visual {
  z-index: 1;
}

/* Brand triangle used consistently instead of generic round bullets. */
.hero-points span::before,
.service li::before,
.cooperation-card li::before,
.leadbox__start li::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 0;
  background: var(--brand-lime);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 1;
}

.hero-points span {
  gap: 9px;
}

.service li::before {
  margin-top: 7px;
}

.cooperation-card li::before,
.leadbox__start li::before {
  position: absolute;
  left: 0;
  top: .52em;
}

.cooperation-card:not(.cooperation-card--primary) li::before {
  background: var(--brand-blue);
}

.scenario-card::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 20px;
  width: 13px;
  height: 13px;
  background: var(--brand-lime);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: .92;
}

.scenario-card:nth-child(even)::after {
  width: 18px;
  height: 10px;
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
  background: var(--brand-blue);
  opacity: .18;
}

/* Final block: outline wordmark as a quiet watermark. */
.leadbox {
  isolation: isolate;
}

.leadbox::before {
  content: "OLEGADV";
  position: absolute;
  right: 34px;
  top: 27px;
  z-index: 0;
  font-size: clamp(110px, 17vw, 230px);
  line-height: .8;
  font-weight: 950;
  letter-spacing: -.11em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.055);
  text-stroke: 2px rgba(255,255,255,.055);
  pointer-events: none;
  white-space: nowrap;
}

.leadbox__content,
.leadmessengers {
  position: relative;
  z-index: 2;
}

.leadbox__badge::before {
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: var(--brand-lime);
  box-shadow: none;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

@media (max-width: 980px) {
  .hero__grid::after {
    right: 8px;
    bottom: -6px;
    font-size: 118px;
  }
}

@media (max-width: 680px) {
  .hero__grid::after {
    right: -4px;
    bottom: 0;
    font-size: 72px;
    -webkit-text-stroke-width: 1px;
  }

  .leadbox::before {
    right: -18px;
    top: 40px;
    font-size: 125px;
    -webkit-text-stroke-width: 1px;
  }
}


@media (max-width: 1180px) {
  .services.services--personal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "crm dev"
      "licenses licenses";
    gap: 18px;
  }

  .services--personal .service--crm,
  .services--personal .service--dev,
  .services--personal .service--licenses {
    min-height: auto;
  }

  .services--personal .service--licenses {
    min-height: 240px;
  }
}

@media (max-width: 820px) {
  .services.services--personal {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "crm"
      "dev"
      "licenses";
  }

  .services--personal .service {
    min-height: 0;
    padding: 24px;
  }

  .services--personal .service h3 {
    font-size: clamp(30px, 8vw, 38px);
  }
}
/* =========================================================
   Shared 404 page; no inline styles in 404.php
   ========================================================= */
.page-404 {
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 15%, rgba(16, 82, 235, 0.12), transparent 34%),
    #f3f7fc;
}

.error-page {
  min-height: calc(100vh - 154px);
}

.error-page__section {
  display: flex;
  min-height: calc(100vh - 154px);
  align-items: center;
  padding: clamp(52px, 8vw, 110px) 0;
}

.error-page__card {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid rgba(16, 82, 235, 0.14);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 42, 67, 0.12);
}

.error-page__code {
  margin: 0 0 8px;
  color: var(--brand-blue, #1052eb);
  font-size: clamp(64px, 15vw, 132px);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.error-page__card h1 {
  max-width: 620px;
  margin: 0 0 18px;
  color: #102a43;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
}

.error-page__card p {
  max-width: 580px;
  margin: 0 0 32px;
  color: #607087;
  font-size: 18px;
  line-height: 1.6;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-page__button {
  border: 1px solid var(--brand-blue, #1052eb);
  background: transparent;
  color: var(--brand-blue, #1052eb);
}

.metrika-pixel {
  position: absolute;
  left: -9999px;
}

@media (max-width: 720px) {
  .personal-logo {
    gap: 9px;
    min-width: 0;
  }

  .personal-logo__mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .personal-logo__mark svg {
    width: 20px;
    height: 20px;
  }

  .personal-logo__text strong {
    font-size: 18px;
  }

  .personal-logo__text > span {
    font-size: 9px;
    letter-spacing: 0.18em;
  }
}

@media (max-width: 520px) {
  .error-page__card {
    border-radius: 24px;
  }

  .error-page__actions,
  .error-page__actions .btn {
    width: 100%;
  }
}
