@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

*{
    font-family: "Nunito", sans-serif;
    margin: 0;
    padding: 0;
    color: black;
    text-decoration: none;
    box-sizing: border-box;
    /* user-select: none; */
}


body, html{
    max-width: 100%;
    background-color: white;
    scroll-behavior: smooth;
}

a{
  cursor: pointer;
}

h1{
  color: rgb(64, 64, 64);
}
/* ===== ОВЕРЛЕЙ ===== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}





.selfs{
    display: flex;
    gap: 20px;
}

.selfs a{
    border-radius: 20px;
    padding: 10px;
    transition: all 0.2s;
}


.preimuch{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.preimuch span {
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.preimuch span::before {
    content: "✓";
    color: #00a4b2;
    font-weight: bold;
}


.bannerPrices{
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  padding: 30px;
    background-color: #F6F8FB;
    flex-wrap: wrap;
}

.bannerPrices img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);

}

.blockSites{
  display: flex;
  width: 100%;
  align-items: center;
}

.Blockcontent{
  width: 100%;
}


.blockSites {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Добавил - теперь на телефонах скидывается */
}

.Blockcontent {
    flex: 1;
    min-width: 300px; /* Минимальная ширина перед переносом */
}

.hero-image {
    flex: 1;
    min-width: 300px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Кнопки */
.buttonPrice1, .buttonPrice2 {
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.buttonPrice1{
  background-color: #00a4b2;
  color: white;
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.buttonPrice2{
  color: #00a4b2;
  border: 2px solid #00a4b2;
  padding: 18px;
  border-radius: 10px;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.buttonPrice2:hover{
  background-color: #00a4b2;
  color: white;
  padding: 18px;
  border-radius: 10px;
}
.buttonPrice1:hover{
  background-color: #00737e;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}





.advenc{
    margin-top: 5px;
    display: flex;
    gap: 10px;
}

.advenc p{
    font-size: 15px;
    background-color: white;
    border-radius: 50px;
    padding: 8px;
}

.connect{
    border-radius: 15px;
    background-color: #00a4b2;
    color: white;
    padding: 20px;
    padding-right: 25px;
    padding-left: 25px;
}


.sasConnect{
  display: inline-block;
  border-radius: 15px;
  background-color: #00A4B2;
  color: white;
  padding: 20px;
  padding-right: 25px;
  padding-left: 25px;
  transition: all 0.3s;
  box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.sasConnect:hover{
  transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.12),
        0 3px 8px rgba(0, 0, 0, 0.15);
  background-color: #01909d;
}

.connect:hover{
  background-color: #01909d;
}






.carousel {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.carousel-track p{
  text-align: center;
}

.carousel img {
  border-radius: 20px;
  height: 400px;
  margin: 0 20px;
  object-fit: contain;
}

@keyframes scroll {
  from {
  transform: translateX(0);
  }
  to {
  transform: translateX(-50%);
  }
}






.cardRandom {
  opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
  border-radius: 20px;
  background-color: #D9E7FF;
  width: 100%; /* Лучше 100%, чтобы занимало всю ширину родителя */
  /* padding: 40px; */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Немного тени */
}

.cardRandom img{
  width: 90%;
}


.parrentRandom{
  padding: 40px;
}

.cardRandom h1{
  padding-top: 10px;
  /* margin-bottom: 100px; */
  text-align: center;
}

/* .stolb1, .stolb2 .cardRandom {
  margin-bottom: 30px;
} */


.stolb1, .stolb2{
  width: 50%;
}




.accordion {
  background-color: #f9f9f9;
  padding: 40px;
  margin: 20px auto;
  width: 90%;
  border-radius: 20px;
}

.accordion-item {
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  border: none;
  background: none;
}

.accordion-item input[type="checkbox"] {
  display: none;
}

.accordion-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 20px 24px;
  user-select: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.accordion-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 16px;
}

.accordion-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* или cover, если нужно */
  display: block;
}

.accordion-text {
  flex-grow: 1;
  font-size: 1.4rem;
  font-weight: 600;
}

.accordion-arrow {
  width: 20px;
  height: 20px;
  border-left: 4px solid #000000;
  border-bottom: 4px solid #000000;
  transform: rotate(-405deg);
  transition: transform 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.4;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-item input[type="checkbox"]:checked ~ .accordion-content {
  max-height: 250px;
  padding: 16px 24px;
}


.accordion-item input[type="checkbox"]:checked + .accordion-label .accordion-arrow {
  transform: rotate(135deg);
}




.accordion hr{
    width: 90%;
    margin: 0 auto;
}



.cardPriceSite{
  padding: 2px;
  width: 30%;
  border-radius: 20px;
}

.help-button {
    align-items: center;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: none;
    color: rgb(0, 0, 0);
    text-decoration: none;
    border: 1px solid black;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}







  .price-table {
    border-collapse: collapse;
    width: 100%; /* полная ширина */
    margin: 20px auto;
    font-size: 1.2rem; /* крупнее шрифт */
    color: #333;
  }

  /* Ячейки с вертикальными линиями между ними */
.price-table th,
.price-table td {
  border-left: none; /* убираем ВСЕ вертикальные линии */
  padding: 30px;
}


.table-scroll{
  width: 100%;
}

/* Добавляем вертикальную линию справа от 1-го столбца */
.price-table th:nth-child(1),
.price-table td:nth-child(1) {
  border-right: 1px solid #ccc; /* или 1px, можно толще */
}

  /* У первой ячейки в каждой строке убираем левый бордер (чтобы не было двойных линий слева таблицы) */
  .price-table th:first-child,
  .price-table td:first-child {
    border-left: none;
  }


  /* Вертикальная линия справа у последнего заголовка */
  .price-table thead th:last-child {
    border-right: none; /* чтобы не было двойной правой линии */
  }

  /* Первый столбец - услуги, светлый фон */
  .price-table tbody td:first-child {
    font-weight: 600;
    text-align: left;
  }

  /* Остальные столбцы — белый фон и текст по центру */
  .price-table tbody td:not(:first-child) {
    text-align: center;
  }

  /* Нижняя линия (подчеркивание) у всех строк кроме последней */
  .price-table tbody tr {
    border-bottom: 1px solid #ccc;
  }

  /* Убираем нижнюю границу у последней строки */
  .price-table tbody tr:last-child {
    border-bottom: none;
  }

  /* Убираем внешние бордеры таблицы слева, справа, сверху и снизу */
  .price-table {
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: none;
  }

  .no-borders th {
  border: none !important;
}



.black-pill {
  display: inline-block;
  background-color: black;
  color: white;
  padding: 20px 60px ;
  border-radius: 50px;
  font-weight: bold;
  font-size: 25px;
  text-align: center;
  user-select: none;
  margin: 0 auto; /* центрируем внутри ячейки */
}

td{
  font-weight:bolder;
}


.rdr{
  width: 30%;
  border: 1px solid black;
  padding: 60px;
  border-radius: 20px;
}

.rdr h1,p{
  color: rgb(0, 0, 0);
}

.rdr h1{
  font-size: 60px;
}

.rdr img{
  width: 30%;
  padding: 10px;
  background-color: #ededed;
  border-radius: 50%;
}



.consult-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #eaeaea;
  border-radius: 20px;
  padding: 20px;
  flex-wrap: wrap;
  gap: 16px;
}



/* кнопка */
.help-button {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s;
}

.help-button:hover{
  background-color: #d3d3d3;
}



.cardWhat {
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 20px;
  max-width: 500px;
  margin: 20px auto;
}

.cardWhat h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
}

.cardWhat p {
  margin-bottom: 15px;
}

.cardWhat ul {
  margin: 0;
  padding: 0;
  list-style: none; /* Убираем стандартные точки */
}

.cardWhat li {
  display: flex;        /* Делаем flex-контейнер */
  align-items: center;  /* Выравниваем по вертикали */
  margin-bottom: 12px;
  line-height: 1.5;
  color: #444;
  min-height: 24px;     /* Гарантируем минимальную высоту */
}

.cardWhat li:last-child {
  margin-bottom: 0;
}

.cardWhat li:before {
  content: "•";
  color: #0066cc;
  font-size: 24px;
  line-height: 1;       /* Убираем влияние на высоту строки */
  margin-right: 12px;   /* Отступ между точкой и текстом */
  flex-shrink: 0;       /* Точка не сжимается */
  align-self: center;   /* Дополнительное выравнивание */
}


.container {
    width: 100%;
    height: 70px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-container {
    font-size: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}














/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
  .selfs {
    display: none;
  }

  .stolb1, .stolb2{
    flex-wrap: wrap;
    width: 100%;
  }

  .cardPriceSite{
    width: 100%;
  }

  .help-button{
    display: block;
    justify-content: center;
  }

  .wrapper{
    flex-wrap: wrap;
  }


  .consult-box {
    justify-content: center; /* центрируем строки */
    text-align: center;
  }

  .help-button {
    margin: 0 auto; /* центр по горизонтали */
  }

  .table-scroll {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
  }

  .price-table {
    min-width: 900px; /* ВАЖНО: чтобы появилась прокрутка */
  }
  .rdr{
    width: 100%;
  }

  .blockSites{
    flex-wrap: wrap;
  }

  .accordion {
    margin: 0;
    width: 100%;
    padding: 16px;
    border-radius: 16px;
  }

  .accordion-text {
    font-size: 1.1rem;
  }

  .carousel-track{
    animation: scroll 15s linear infinite;
  }

  .hero-image{
    display: none;
  }
  .phoneMargin{
    margin: 20px 50px 0 20px;
  }
  .cardRandom img{
    width: 100%;
  }
  .container{
    display: block;
    width: 100%;
    height: 20px;
  }

  .modal-icon img{
    width: 90%;
  }

}





#scrollToTop {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #a9a9a9c4;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
}

#scrollToTop.show {
    opacity: 1;
    visibility: visible;
}

#scrollToTop:hover {
    background: #dbdbdda4;
    transform: scale(1.1);
}

/* Кнопка чата */
#chatButton {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #00a4b2;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatButton:hover {
    transform: scale(1.1);
}

/* Пульсация для привлечения внимания */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 #00a4b2; }
    70% { box-shadow: 0 0 0 10px rgba(255, 64, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 64, 129, 0); }
}

#chatButton.pulse {
    animation: pulse 2s infinite;
}

/* Контент для демонстрации */
.content {
    height: 2000px;
    padding: 50px;
    background: linear-gradient(white, #f0f8ff);
}

h1 {
    margin-top: 100px;
}

.base-text {
    color: #333;
    white-space: nowrap;
}

.changing-text {
    color: #006666; /* Начальный цвет - темно-бирюзовый */
    min-width: 250px; /* Фиксированная ширина чтобы текст не двигался */
    display: inline-block;
    white-space: nowrap;
}

/* Цвета для градиента бирюзовых оттенков */
.color-0 { color: #001f1f !important; } /* Самый темный */
.color-1 { color: #005151 !important; }
.color-2 { color: #007171 !important; }
.color-3 { color: #009999 !important; }
.color-4 { color: #00cccc !important; }
.color-5 { color: #00ffff !important; } /* Самый светлый */
#text {
    color: rgb(0, 0, 0);
    font-family: monospace;
    font-size: clamp(24px, 5vw, 40px); /* адаптивный размер */
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}


.cardRandom.show {
    opacity: 1;
    transform: translateY(0);
}

/* Разные анимации для разнообразия */
.cardRandom:nth-child(2) {
    transform: translateX(-50px);
}

.cardRandom:nth-child(2).show {
    transform: translateX(0);
}

.cardRandom:nth-child(3) {
    transform: scale(0.8);
}

.cardRandom:nth-child(3).show {
    transform: scale(1);
}

.cardRandom:nth-child(4) {
    transform: rotateX(90deg);
}

.cardRandom:nth-child(4).show {
    transform: rotateX(0);
}