
/* Hero */
#hero .hero-title {
  color: #FFF;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.6px;
}
#hero .hero-subtitle {
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
}

/* about-solution */
#about-solution .row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px; 
  align-items: stretch;
  margin: 0;
}
#about-solution .icon-wrapper {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-start;    
}
#about-solution .item {
  border-radius: 16px;
  padding: 20px;
  background: #F5F6F7;
  flex: 1;
  min-width: 200px;
  transition: box-shadow 0.2s ease;
}

#about-solution .item img {
  width: 24px; 
  height: 24px;
}
#about-solution h5 {
  font-size: 18px;
  font-weight: 500;
  line-height: 120%;
}
#about-solution .advantages-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
}

/* how_run_exam */


/* about_implementation */
#about_implementation .item {
  border-bottom: 1px solid #D7D7E2;
  height: 100%;
  padding: 14px 0;
  display: flex;
  gap: 24px;
  align-items: center;
}
#about_implementation .item p {
  margin-bottom: 0;
}
#about_implementation .number {
  color: #4890D9;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.3em;
  min-width: 1.45em;
}
#about_implementation .step-text{
  font-size: 18px;
  font-style: normal;
  font-weight: 600px;
  line-height: 140%;     
}

/* tariffs */
.row {
  gap: 12px;
}
.tarif-card {
  padding: 20px;
  border-radius: 8px;
  background: #FFF;
}
.tarif-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.empty {
  border: 1px solid #B7C6D5;
  margin: 16px 0;
}
#tariffs h4 {
  color: #1890FF;
  font-size: 20px;    
  font-weight: 600;
  line-height: 140%;
}
#tariffs h5 {
  color: #1890FF;
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
}
.head-underline {
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
}
.tarif-body {
  padding: 16px;
  border-radius: 8px;
  background: #F5F9FB;
}
#tariffs p {
  margin-bottom: 0;
}
.for-price {
  color: #605E7B;
  font-size: 16px;
  font-weight: 500;
}
.price {
  color: #0D141C;
  font-size: 24px;
  font-weight: 500;
  line-height: 120%;
}
/* equipment */
#equipment .owl-carousel-wrapper {
  position: relative;
  border-radius: 16px;
  padding: 20px;
  overflow: visible;
}

#equipment .owl-stage-outer {
  background: #E7F3FB;
  border-radius: 24px;
  overflow: hidden;
}

#equips-carousel .owl-stage {
  display: flex;
  align-items: center;
}

#equips-carousel .owl-item {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#equips-carousel .owl-item.active {
  opacity: 1;
}

/* Стили для видео слайда */
#equips-carousel .video-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px;
  min-height: 400px;
  background: #E7F3FB;
}

.video-container {
  position: relative;
  width: 100%;
  background: #E7F3FB;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background: #E7F3FB;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.video-poster {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #E7F3FB;
}

.play-video-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
  z-index: 10;
}

.play-video-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-video-btn:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.custom-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #E7F3FB;
  outline: none;
  object-fit: cover;
  object-position: center;
}

/* Стили для изображений */
#equips-carousel .image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    background: #E7F3FB;
}

#equipment .owl-carousel img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

/* Навигация карусели */
#equips-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: -20px;
  right: -20px;
  transform: translateY(-50%);
  pointer-events: none;
  margin: 0;
}

#equips-carousel .owl-nav button {
  position: absolute;
  pointer-events: auto;
  background: transparent !important;
  border: none;
  padding: 0 !important;
  margin: 0;
  transition: transform 0.2s ease;
}

#equips-carousel .owl-nav .owl-prev {
    left: 3%;
}

#equips-carousel .owl-nav .owl-next {
  right: 3%;
}

#equips-carousel .owl-nav button svg {
  width: 44px;
  height: 44px;
  display: block;
  cursor: pointer;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
  transition: all 0.2s ease;
}

#equips-carousel .owl-nav button:hover svg {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 12px rgba(24, 144, 255, 0.3));
}

/* Dots */
.owl-theme .owl-dots {
  margin-top: 25px !important;
}

.owl-theme .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 0 6px;
  background: #cbd5e1;
  transition: all 0.2s ease;
}

.owl-theme .owl-dots .owl-dot.active span {
  background: #1890ff;
  width: 28px;
  border-radius: 10px;
}

.owl-theme .owl-dots .owl-dot:hover span {
  background: #69b9ff;
}

/* Блоки с характеристиками */
.techical {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 5px;
  align-items: baseline;
}

.techical .item-dot,
.techical .techical-values {
  display: contents;
}

.techical .item-dot p:nth-child(1) { grid-row: 1; grid-column: 1; }
.techical .techical-values p:nth-child(1) { grid-row: 1; grid-column: 2; }
.techical .item-dot p:nth-child(2) { grid-row: 2; grid-column: 1; }
.techical .techical-values p:nth-child(2) { grid-row: 2; grid-column: 2; }
.techical .item-dot p:nth-child(3) { grid-row: 3; grid-column: 1; }
.techical .techical-values p:nth-child(3) { grid-row: 3; grid-column: 2; }
.techical .item-dot p:nth-child(4) { grid-row: 4; grid-column: 1; }
.techical .techical-values p:nth-child(4) { grid-row: 4; grid-column: 2; }

.techical p {
  margin: 0;
  line-height: 1.4;
}

.techical .item-dot p {
  font-weight: 500;
}

.techical .techical-values p {
  color: #333;
}

/* Row-2 блоки */
#equipment .row-2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 40px;
}

.equipment-item {
  flex: 1;
}

.equip-card {
  padding: 20px;
  border-radius: 8px;
  background: #F5F6F7;
  height: 100%;
}

.equip-card img {
  width: 24px;
  height: 24px;
}

.head {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.head h5 {
  margin: 0;
}

@media screen and (min-width: 992px) {
  #equipment .owl-stage-outer {
    min-height: 60vh;
    display: flex;
    align-items: center;
  }
  
  #equips-carousel .image,
  #equips-carousel .video-slide {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #equipment .owl-carousel img {
    max-height: 50vh;
    width: auto;
  }
  
  .custom-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .techical .item-dot p {
    display: flex;
    align-items: baseline;
    white-space: nowrap;
  }
  
  .techical .item-dot p::after {
    content: "";
    flex: 1;
    border-bottom: 2px dotted #999;
    height: 1em;
    min-width: 20px;
  }
  
  #equipment .row-2 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
  }
  
  .equipment-item {
    margin-bottom: 0 !important;
  }
  
  .equip-card {
    padding: 24px;
    border-radius: 16px;
    height: 100%;
  }
  
  .head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
  }
  
  .head img {
    width: 32px;
    height: 32px;
  }
}

@media screen and (max-width: 991px) {
  .techical {
    gap: 12px 16px;
  }
  
  .techical .item-dot p {
    white-space: normal;
  }
  
  #equipment .owl-carousel-wrapper {
    padding: 10px;
  }
  
  #equipment .owl-stage-outer {
    padding: 15px 10px;
    border-radius: 20px;
  }
  
  #equips-carousel .image,
  #equips-carousel .video-slide {
    padding: 10px;
    min-height: auto;
  }
  
  #equipment .owl-carousel img {
    max-height: 320px;
    width: auto;
    margin: 0 auto;
  }
  
  .custom-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  #equips-carousel .owl-nav {
    left: -10px;
    right: -10px;
  }
  
  #equips-carousel .owl-nav button svg {
    width: 36px;
    height: 36px;
  }
  
  .owl-theme .owl-dots {
    margin-top: 20px !important;
  }
}

@media screen and (max-width: 480px) {
  #equipment .owl-stage-outer {
    padding: 10px 8px;
  }
  
  #equipment .owl-carousel img {
    max-height: 250px;
  }
  
  #equips-carousel .image,
  #equips-carousel .video-slide {
    padding: 5px;
  }
  
  #equips-carousel .owl-nav {
    display: none;
  }
  
  .owl-theme .owl-dots {
    margin-top: 15px !important;
  }
  
  .play-video-btn svg {
    width: 50px;
    height: 50px;
  }
  
  .custom-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}
/* connect_anywhere */
#connect_anywhere .content-anywhere { 
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}
#connect_anywhere p {
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
}
#connect_anywhere  img {
  max-height: 15vh;
}
#connect_anywhere .row {
  gap: 16px;
  flex-direction: column;
}
#connect_anywhere .item {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
}
#connect_anywhere .anywhere-head {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  margin-bottom: 1em;
}

/* about_us */
#about_us .row {
  gap: 32px;
  flex-direction: column;
}
#about_us .item {
  flex: 1;
}
.videoframe {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

/* why_choose */
#why_choose .row {
  gap: 8px;
  flex-direction: column;
}
#why_choose .item {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
}
#why_choose .choose-head {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}

/* our_partners */
#our_partners {
  padding: 3em 0;
}
#brands-carousel {
  padding-bottom: 3em;
}
#our_partners .owl-stage {
  display: flex;
  gap: 80px;
}

#our_partners .owl-item {
  height: inherit!important
}
#our_partners .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1em;
  height: 100%;
}
#our_partners .item .image {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}
#our_partners .item img {
  width: initial;
  max-height: 100px;
  object-fit: contain;
}
#our_partners .item p {
  margin-top: 1em;
  text-align: center;
  font-size: 1em;
  font-weight: 700;
  color: #000;
}

#our_partners .owl-nav .owl-prev {
  margin-left: 1.25em;
}
#our_partners .owl-nav .owl-next {
  margin-right: 1.25em;
}

/* contacts */
#contacts .row {
  gap: 20px;
  flex-direction: column;
}
#contacts .item {
  flex: 1;
}
#contacts .item a{
  color: #0D141C;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; 
  text-decoration: none;
}
#contacts img {
  width: 22px;
  height: 22px;
}


/* MEDIA 991px */

@media screen and (min-width: 991px) {
  #hero .hero-title {
    font-size: 64px;
  }
  #hero .hero-subtitle {
    font-size: 28px;
  }  
  /* ---------- */

  #about-solution h5 {
    font-size: 20px;
  }  
  #about-solution .icon-wrapper {
    flex-direction: column;
    gap: 20px;  
  }
  #about-solution .item img {
    width: 40px; 
    height: 40px;
  }
  /* ---------- */

  #about_implementation .item {
    border-bottom: none;
    border-left: 1px solid #D7D7E2;
    flex-direction: column;
    gap: 16px;
    justify-content: start;
    padding: 20px;
    align-items: start;
  }
  #about_implementation .number {
    font-size: 48px;
    line-height: 1.1em;

  }
  /* ---------- */

  #why_choose .row {
    flex-direction: row;
    gap:16px;
  }
  #why_choose .item {
    padding: 32px;
  }
  #why_choose .choose-head {
    flex-direction: column;
    align-items: start;
  }
  #why_choose h5 {
    margin: .7em 0;
  }
  /* ---------- */
  #contacts .row {
    gap: 60px;
    flex-direction: row;
  }
  #about_us .row {
    flex-direction: row;
  }
  #contacts .item a{
    font-size: 20px;
  }

  /* ---------- */
#connect_anywhere .content-anywhere {
    padding: 40px;
    border-radius: 16px;
}

#connect_anywhere img {
    max-height: 27vh;
}

#connect_anywhere p {
    font-size: 20px;
    font-weight: 400;
    line-height: 140%;
}

#connect_anywhere .row {
    flex-direction: row;
    gap: 16px;
    align-items: stretch;
}

#connect_anywhere .item {
    padding: 32px;
}

#connect_anywhere .anywhere-head {
    flex-direction: column;
    align-items: start;
}

/* ========== СТИЛИ ДЛЯ РАВНОЙ ВЫСОТЫ left И right ========== */

#connect_anywhere .row.d-flex.mt-4.mb-5 {
    display: flex !important;
    align-items: stretch;
}

#connect_anywhere .row.d-flex.mt-4.mb-5 > div[class*="col-"] {
    display: flex;
    flex-direction: column;
}

#connect_anywhere .left {
    display: flex;
}

#connect_anywhere .left .content-anywhere {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Убираем лишние отступы, которые создают проблемы */
#connect_anywhere .left .content-anywhere > div:first-child {
    margin-bottom: 0;
}

#connect_anywhere .left .content-anywhere > div:last-child {
    margin-top: 0;
}

/* Добавляем нормальный отступ между цитатой и подписью через gap */
#connect_anywhere .left .content-anywhere > div:first-child p {
    margin-bottom: 32px; /* Настройте под ваш дизайн */
}

#connect_anywhere .right {
    display: flex;
}

#connect_anywhere .right .img-wrapper {
    display: flex;
    height: 100%;
    width: 100%;
}

#connect_anywhere .right .img-wrapper img {
    max-height: none;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

  .row {
    gap: 0;
  }
  .tarif-item {
    flex: 1;
  }
  .tarif-card {
    padding: 24px;
    border-radius: 16px;
  }  
  .tarif-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  #tariffs h4 {
    font-size: 24px;  
  }
  #tariffs h5 {
    font-size: 18px;
  }
  .head-underline {
    font-size: 18px;
  }
  .tarif-body {
    padding: 24px;
  }
  .empty {
    margin: 24px 0;
  }
  .for-price {
    font-size: 18px;
  }
  .price {
    font-size: 36px;
  }

}
