html {
  scroll-behavior: smooth;
}

/* Скрываем номер телефона на мобильных устройствах */
@media (max-width: 991px) {
  .phone-desktop-only {
    display: none !important;
  }
}


.sonar-title {
  font-size: 45px !important;
  line-height: 50px !important;
}

.sonar-subtitle {  /* или .tariff-section-title */
  font-size: 32px !important;
  line-height: 38px !important;
  font-weight: 600;
}


.sonar-ctn {
  font-size: 130px !important;
}

.rus-font {
  font-family: Arial !important;
}

.sonar-bold-font {
  font-weight: bold !important;
}

.sonar-service-brand-head:hover {
  color: var(--ztc-text-text-8) !important;
  transition: all 0.4s !important;
}

.service-branding-boxesarea:hover,
.service-branding-boxesarea:focus {
  border-color: #902bf1;
}

.error-title {
  font-size: 40px !important;
}

.sonar-gradient-txt {
  color: var(--ztc-gradient) !important;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  padding: 12px 12px;
  border-radius: 16px;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sonar-main {
  font-family: var(--ztc-family-font1);
  font-size: 80px;
  color: #ffffff;
  /*text-shadow: 
      0 0 5px #902bf1,
      0 0 10px #902bf1,
      0 0 20px #902bf1,
      0 0 40px #902bf1,
      0 0 80px #902bf1; */
}

.sonar-contact {
  font-size: var(--ztc-font-size-font-s18);
  font-family: var(--ztc-family-font1);
  color: var(--ztc-text-text-1);
  padding: 0 16px;
  position: relative;
  display: inline-block;
}

/* Убираем спиннер в Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


.sonar-service {
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(255, 255, 255);
  font-weight: var(--ztc-weight-bold);
  font-family: var(--ztc-family-font1);
  font-size: 24px;
}

.glass-card-service {
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* background: rgba(255, 255, 255, 0.1); */
  background: var(--ztc-gradient-dark);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  padding: 12px 12px;
  border-radius: 10px;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-boxarea::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -5%;
  width: 110%;
  height: 110%;
  opacity: 15%;
  background: conic-gradient(
    from 220deg,
    rgb(85, 51, 207) 0deg,
    rgb(146, 64, 222) 120deg,
    rgba(64, 64, 222, 1) 240deg,
    rgb(160, 123, 245) 360deg
  );
  filter: blur(80px);
  z-index: -1;
  border-radius: 50%; /* чтобы подсветка была плавнее */
}


.bg-decor {
  position: absolute;
  top: 25%;
  left: 22%;
  width: 1000px;
  opacity: 0.5;
  z-index: 0;
}

.contact-info {
  color: white;
  font-size: 20px !important;
  line-height: 40px;
  text-align: right;
}

.contact-info-h2 {
  color: white;
  font-size: 26px !important;
  line-height: 36px !important;
  text-align: right;
}

/* Общий цвет текста */
.text-agree-policy {
  color: #ffffff;
  font-size: 14px;
}

@media (max-width: 430px) {
  .text-agree-policy {
    font-size: 12px;
  }
}

/* Стили ссылки */
.text-agree-policy a {
  color: #902bf1;
  text-decoration: underline;
  transition: color 0.3s ease;
}

/* При наведении делаем белой */
.text-agree-policy a:hover {
  color: #ffffff;
}

/* Стили чекбокса */
.form-check-input {
  accent-color: #902bf1; /* современный способ задать цвет */
  transition: all 0.3s ease;
}

/* При hover */
.form-check-input:hover {
  filter: brightness(1.2);
}

/* Когда выбран */
.form-check-input:checked {
  accent-color: #902bf1;
}

.custom-checkbox:checked {
  background-color: #902bf1;/* Цвет фона */
  border-color: #902bf1;    /* Цвет рамки */
}

.custom-checkbox:focus {
  box-shadow: 0 0 0 0.25rem rgba(207, 149, 255, 0.25); /* Свечение при фокусе */
}

.vl-btn1:disabled {
  background: #bdbdbd !important; /* Серый фон */
  color: #f2f2f2 !important;      /* Светлый текст */
  cursor: not-allowed;
  opacity: 1;
  box-shadow: none !important;    /* Убираем любые тени */
  border: none !important;        /* Убираем обводку */
  outline: none !important;       /* Убираем стандартный outline */
  pointer-events: none;
}

@media (max-width: 430px) {
  .sonar-title {
    font-size: 30px !important;
    line-height: 40px !important;
  }
}

@media (max-width: 430px) {
  .sonar-main {
    font-size: 47px !important;
  }
}

@media (max-width: 525px) {
  .label-mobile {
    font-size: 14px !important;
  }
}

@media (max-width: 420px) {
  .label-mobile {
    font-size: 12px !important;
  }
}

@media (max-width: 767px) {
  .service-branding-boxesarea {
    width: 100% !important;
    align-items: center !important;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    display: flex;
  }
}

@media (max-width: 767px) {
  .contact-image-mobile img {
    width: 80% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

@media (max-width: 767px) {
  .contact-inner-area .contact-images .img2 {
    margin-top: -150px;
  }
}

@media (max-width: 1090px) {
  .homepage1-menu .vl-main-menu ul > li > a {
    font-size: var(--ztc-font-size-font-s15);
  }
}

@media (max-width: 1250px) {
  .vl-btn1{
    white-space: nowrap;
    word-wrap: normal;
    text-align: center;
      padding: 18px 14px;
    }
}

@media (max-width: 768px) {
  .arrow {
    transform: scale(0.75); /* сдвигаем вверх */
    transform-origin: center center; /* центрируем уменьшение */
  }
}

@media (max-width: 768px) {
  #target-request {
    scroll-margin-top: -920px; 
  }
}

@media (max-width: 768px) {
  #target-services {
    scroll-margin-top: 70px; 
  }
}

@media (max-width: 768px) {
  #target-product {
    scroll-margin-top: 70px; 
  }
}

@media (max-width: 768px) {
  .contact-info {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .contact-info-h2 {
    text-align: center;
    font-size: 22px !important;
    font-weight: bold !important;
  }
}

@media (max-width: 768px) {
  .space60-mob {
    height: 0;
  }
}

@media (max-width: 768px) {
  .hero1-section-area {
    padding: 100px 0 0 !important;
  }
}

.glow-text {
  position: relative;
  display: inline-block;
}

.glow-text::before {
  content: "";
  position: absolute;
  inset: -20%;
  width: 140%;
  height: 140%;
  opacity: 0.6;
  background: conic-gradient(from 220deg, rgb(85, 51, 207) 0deg, rgb(146, 64, 222) 120deg, rgba(64, 64, 222, 1) 240deg, rgb(160, 123, 245) 360deg);
  filter: blur(130px);
  z-index: -1;
  border-radius: 100%;
}

.glow-text80::before {
  inset: -10%;
  width: 120%;
  height: 100%;
  opacity: 0.4;
  filter: blur(70px);
}

.glow-text50::before {
  inset: -10%;
  width: 120%;
  height: 100%;
  opacity: 0.3;
  filter: blur(90px);
}

@media (max-width: 768px) {
  .glow-text::before {
    inset: -5%;
    width: 100%;
    height: 110%;
    opacity: 0.4;
    filter: blur(60px);
  }

  .glow-text80::before {
    inset: -5%;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    filter: blur(40px);
  }

  .glow-text50::before {
    inset: -5%;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    filter: blur(50px);
  }
}


/* Блок масштабирования бизнеса */
.business-scale-section {
  position: relative;
  background-image: url('../img/bg/hero-bg5.png');
  background-attachment: fixed;
  background-position: center center;
  background-repeat: repeat;
  background-size: auto;
}

.business-scale-section .scale-title {
  font-size: 48px;
  line-height: 1.3;
}

.business-scale-section .scale-description {
  font-size: 20px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  max-width: 650px;
}

.text-center .scale-description {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Стилизованный разделитель */
.business-scale-section hr.styled-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, 
    rgba(139, 92, 246, 0) 0%, 
    rgba(139, 92, 246, 0.5) 50%, 
    rgba(139, 92, 246, 0) 100%);
  margin: 60px auto;
  max-width: 900px;
  position: relative;
}


.business-scale-section .scale-highlight {
  color: #8B5CF6;
  font-weight: 600;
  font-size: 21px;
}

.business-scale-list {
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.scale-item {
  margin-bottom: 32px;
  position: relative;
  padding-left: 35px;
  transition: all 0.3s ease;
}

.scale-item:last-child {
  margin-bottom: 0;
}

.scale-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.scale-item:hover::before {
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
}

.scale-item::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 18px;
  width: 1px;
  height: calc(100% + 14px);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.3) 0%, rgba(139, 92, 246, 0) 100%);
}

.scale-item:last-child::after {
  display: none;
}

.scale-item p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.scale-item .scale-accent {
  color: #8B5CF6;
  font-weight: 500;
}

@media (max-width: 991px) {
  .business-scale-list {
    padding-left: 0;
    margin-top: 40px;
  }
  
  .business-scale-section .scale-title {
    font-size: 36px;
  }
  
  .business-scale-section .scale-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .business-scale-section {
    background-attachment: scroll;
    background-size: auto;
  }
}

/* Блок "Как работают технологии" */
.technology-flow-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  position: relative;
}

.flow-circle {
  flex: 0 1 320px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.flow-circle-icon {
  width: 90px;
  height: 90px;
  background: rgba(139, 92, 246, 0.12);
  border: 3px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  transition: all 0.4s ease;
}

.flow-circle:hover .flow-circle-icon {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.flow-circle-icon svg {
  width: 45px;
  height: 45px;
  stroke: #8B5CF6;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-circle-number-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 28px;
  height: 28px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: #902bf1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.flow-circle-title {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.4;
}

.flow-circle-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.flow-arrow {
  flex-shrink: 0;
  width: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 35px;
}

.flow-arrow svg {
  width: 100%;
  height: 24px;
  fill: none;
  stroke: rgba(139, 92, 246, 0.4);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.3s ease;
}

@media (max-width: 991px) {
  .technology-flow-container {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }
  
  .flow-arrow {
    transform: rotate(90deg);
    margin-top: 0;
  }
  
  .flow-circle {
    max-width: 400px;
  }
}

/* Сетка для карточек технологий */
.technology-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

/* Стили для SVG внутри stage-icon-box */
.stage-icon-box svg {
  width: 32px;
  height: 32px;
  color: #ffffff;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.stage-box:hover .stage-icon-box svg {
  transform: scale(1.1);
}

/* Обновление позиционирования номеров для stage-icon-box */
.stage-icon-box .flow-circle-number-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 28px;
  height: 28px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: #902bf1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* Адаптивность для technology-flow-grid */
@media (max-width: 991px) {
  .technology-flow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .technology-flow-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* Обертка для описания технологий - той же ширины, что и сетка карточек */
.tech-description-wrapper {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 0;
}

/* Переопределяем ограничение ширины для описания внутри tech-description-wrapper */
.text-center .tech-description-wrapper .scale-description,
.tech-description-wrapper .scale-description,
.text-center .tech-description-wrapper p.scale-description {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Сетка для карточек технологий */
.tech-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

/* Компактные карточки для технологий */
.tech-cards-grid .stage-box {
  padding: 25px 20px;
}

.tech-cards-grid .stage-icon-box {
  width: 65px;
  height: 65px;
  margin-bottom: 20px;
}

.tech-cards-grid .stage-icon-box i {
  font-size: 28px;
}

.tech-cards-grid .stage-box h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.tech-cards-grid .stage-box p {
  font-size: 14px;
}

@media (max-width: 768px) {
  .tech-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .tech-cards-grid .stage-box {
    padding: 25px 20px;
  }
  
  .tech-description-wrapper {
    max-width: 100%;
  }
}
