.cblock{ padding: 28px 0; }
.cblock + .cblock{ border-top: 1px solid #eee; }

.cblock--media{
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
  align-items: start;
}

/* Заголовок на всю ширину (обе колонки) */
.cblock--media > h2, .cblock--media > h3, .cblock--media > h4{ grid-column: 1 / -1; }

.cblock__media{
  border-radius: 18px;
  overflow: hidden;
  background: #eee;
  aspect-ratio: var(--ratio, 4 / 5);
}
.cblock__media > img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px){
  .cblock--media{ grid-template-columns: 1fr; }
  .cblock__media{ aspect-ratio: 16 / 10 !important; }
}


/* Сброс кастомного списка */
.list{ margin: 12px 0; padding: 0; list-style: none; }
.list > li{ position: relative; padding-left: 30px; margin: 10px 0; line-height: 1.45; }

/* Голубые маркеры с галочкой */
.list--check > li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;

  width: 18px;
  height: 18px;
  border-radius: 999px;

  /* круг + “галка” через SVG  */
  background-color: #2f66b3;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyMCAyMCc+PHBhdGggZmlsbD0nd2hpdGUnIGQ9J004LjIgMTMuNyA0LjYgMTAuMWwxLjItMS4yIDIuNCAyLjQgNS45LTUuOSAxLjIgMS4yeicvPjwvc3ZnPg==");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

/* Красные маркеры */
.list--dot > li::before{
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #e53935;
  transform: translateY(-50%);
}

/* Список из двух колонок  */
.list--2col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
}
.list--2col > li{ margin: 0; } /* gap управляет расстояниями */

@media (max-width: 768px){
  .list--2col{ grid-template-columns: 1fr; }
}

/* Небольшие тестовые стили заголовков внутри текста */
.cblock h3{ margin: 22px 0 10px; }
.cblock h4{ margin: 14px 0 8px; }
.cblock p{ margin: 0 0 12px;}
.cblock .blue{ color: #2f66b3; }

/*стили hero блока  */
.hero-section {
  background-color: #f8f9fa;
  padding-top: 32px;
  padding-bottom: 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-areas:
    "info"
    "image"
    "actions";
  padding-inline: 20px;
}

/* --- Тексты --- */
.hero-info {
  grid-area: info;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

.hero-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #222;
}

.hero-schedule {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 15px;
  color: #444;
}
.schedule-item {
  font-size: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.schedule-item strong { display: block; color: #222; margin-bottom: 4px; }
.schedule-item p { margin: 0; }

.hero-figure {
  grid-area: image;
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;

  display: flex;
  justify-content: flex-end;
  align-items: flex-end;

  height: 320px;
  z-index: 1;
}

/* Круг на фоне */
.hero-blob {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  background: #eef6ff;
  border-radius: 50%;
  z-index: -1;
}

.hero-img {
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.hero-actions {
  grid-area: actions;
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: -100px;
  padding-bottom: 40px;
}
.hero-messengers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.btn-services  {
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}


.btn--primary { background: #0dbc91; color: #fff; }
.btn--telegram { background: #eef4fb; color: #3b5998; border: 1px solid #dce5f0; }
.btn--viber { background: #eef4fb; color: #7b519d; border: 1px solid #dce5f0; }
.btn-icon { width: 20px; height: 20px; }

@media (min-width: 992px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas:
      "info    image"
      "actions image";
    gap: 40px;
    align-items: start;
  }

  .hero-info {
    margin-bottom: 0;
    max-width: 550px;
  }
  .hero-title { font-size: 42px; margin-bottom: 40px; }


  .hero-figure {
    height: auto;
    align-self: stretch;
    margin: 0;
    max-width: none;
    justify-content: flex-start;
    grid-row: 1 / 3;
  }

  .hero-blob {
    width: 480px;
    height: 480px;
    top: 50%;
    left: -60px;
    right: auto;
    transform: translateY(-60%);
  }

  .hero-img {
    height: 100%;
    max-height: 550px;
    object-position: bottom right;
  }

  .hero-actions {
    margin: 40px 0 0 0;
    padding-bottom: 0;
    max-width: none;
    align-items: flex-start;
  }

  .btn--primary {
    max-width: 320px;
  }

  .hero-messengers {
    flex-direction: row;
    gap: 16px;
    width: auto;
  }

  .hero-messengers .btn {
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  .btn-services { box-shadow: none; }
}
@media (min-width: 768px) {
  .hero-schedule { flex-direction: row; gap: 60px; }
  .hero-info { margin-bottom: 20px}
}
