@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');



* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  color: #000;
  line-height: 1.4;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px 20px;
}

.intro {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.image-wrapper {
  position: relative;
  flex-shrink: 0;
      width: 500px;
    height: auto;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.label {
      position: absolute;
    top: 60px;
    right: -30px;
    background-color: #3a3a66;
    color: white;
    font-size: 14px;
    padding: 8px 16px;
        border-radius: 18px;
    font-weight: 600;
    user-select: none;
    transform: rotate(10deg);
}

.intro-text h1 {
  font-weight: 700;
      font-size: 58px;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.intro-text p {
  font-weight: 400;
      font-size: 26px;
          line-height: 26px;
  color: #666;
  margin: 0;
  max-width: 340px;
}

.program-benefit {
  text-align: center;
  margin-bottom: 40px;
}

.program-benefit-text {
  font-weight: 700;
      font-size: 42px;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.dots {
  font-weight: 700;
  color: #3a3a66;
  font-size: 20px;
  letter-spacing: 0.3em;
}
.dots i{
  width: 13px;
    height: 13px;
    margin-right: 7px;
    display: inline-block;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNSIgdmlld0JveD0iMCAwIDI1IDI1IiBmaWxsPSJub25lIj4gPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzcyNV83NTkpIj4gPHBhdGggZD0iTTEyLjUgMEMxMi41IDYuOTAzNTggNi45MDMzNyAxMi41IDAgMTIuNUM2LjkwMzM3IDEyLjUgMTIuNSAxOC4wOTY0IDEyLjUgMjVDMTIuNSAxOC4wOTY0IDE4LjA5NjYgMTIuNSAyNSAxMi41QzE4LjA5NjYgMTIuNSAxMi41IDYuOTAzNTggMTIuNSAwWiIgZmlsbD0iIzQxNDE0MyIgc3R5bGU9ImZpbGw6IHJnYig2NywgNzMsIDExMyk7Ii8+IDwvZz4gPGRlZnMgc3R5bGU9ImZpbGw6IHJnYig2NywgNzMsIDExMyk7Ij4gPGNsaXBQYXRoIGlkPSJjbGlwMF83MjVfNzU5IiBzdHlsZT0iZmlsbDogcmdiKDY3LCA3MywgMTEzKTsiPiA8cmVjdCB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIGZpbGw9IndoaXRlIiBzdHlsZT0iZmlsbDogcmdiKDY3LCA3MywgMTEzKTsiLz4gPC9jbGlwUGF0aD4gPC9kZWZzPiA8L3N2Zz4=");
  background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.benefits-list {
  margin-bottom: 40px;
}

.benefits-list h2 {
  font-weight: 600;
      font-size: 42px;
    line-height: 1.23;
  margin-bottom: 20px;
  text-align: center;
}

.benefits-list-timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  counter-reset: step-counter;
  max-width: 760px;
}

.benefits-list-timeline li {
  position: relative;
  padding-left: 70px;
  margin-bottom: 80px;
  font-weight: 400;
      font-size: 26px;
  color: #000;
  line-height: 1.3;
}

/* Круг с номером */
.benefits-list-timeline li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #3a3a66;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 44px;
  text-align: center;
  user-select: none;
  z-index: 1;
}

/* Вертикальная линия между кружками */
.benefits-list-timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px; /* центр линии относительно круга (32px / 2 = 16px, чуть сдвинули) */
  top: 46px; /* сразу под кружком */
  width: 2px;
  height: 100px;
  background: #e8e8e8;
  z-index: 0;
}


.instruction-structure {
  margin-bottom: 40px;
  text-align: center;
}

.instruction-structure h2 {
  font-weight: 600;
  font-size: 42px;
  margin-bottom: 24px;
}

.cards {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 calc(25% - 12px);
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px 16px 140px 16px;
  box-sizing: border-box;
  position: relative;
  min-width: 160px;
  font-size: 22px;
  font-weight: 400;
  color: #000;
  text-align: center;
  border-radius: 4px;
  margin-top: 70px;
}

.card .circle {
  width: 70px;
  height: 70px;
  background: #3a3a66;
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-radius: 50%;
  line-height: 70px;
  margin: -55px auto 12px auto;
  user-select: none;
  font-size: 20px;
}

.card p {
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.icon {

  margin: 0 auto;
  fill: #3a3a66;

  max-width: 100px;
    width: 100px;
    margin: auto auto 0;
    padding-top: 20px;
    height: 100px;
    position: absolute;
    bottom: 20px;
        left: calc(50% - 50px);
}

/* Иконки в SVG ниже */

.icon.calendar {
  background: url('calendar.svg') no-repeat center;
  background-size: contain;
}

.icon.refresh {
  background: url('refresh.svg') no-repeat center;
  background-size: contain;
}

.icon.chat {
  background: url('message.svg') no-repeat center;
  background-size: contain;
}

.icon.phone {
  background: url('phone.svg') no-repeat center;
  background-size: contain;
}

.messages-info {
  text-align: center;
  margin-bottom: 40px;
}

.messages-info h2 {
  font-weight: 600;
  font-size: 38px;
}
.messages-info hr {
  max-width: 160px;
}

.messages-info p {
  color: #000;
  margin: 30px 0 0 0;
      font-size: 28px;
    line-height: 42px;
    text-align: center;
}

.messages-info .bold {
  font-weight: 700;
  margin-top: 12px;
}

.cta {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 600;
      font-size: 22px;
  color: #1a4fff;
  border: 1px solid #1a4fff;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  user-select: none;
}

.btn:hover,
.btn:focus {
  background-color: #1a4fff;
  color: #fff;
  outline: none;
}

/* Адаптивность */
@media (max-width: 768px) {
  .intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .image-wrapper {
    width: 100%;
    height: auto;
  }

  .intro-text {
    max-width: 100%;
    margin-top: 24px;
  }

  .cards {
    flex-direction: column;
  }

  .card {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* Mobile fixes */
@media (max-width: 768px) {
  .container {
    padding: 20px 16px 40px;
  }
  .intro-text h1 {
    font-size: 28px;
    line-height: 1.2;
  }
  .intro-text p {
    font-size: 16px;
    line-height: 1.4;
    max-width: 100%;
  }
  .program-benefit-text {
    font-size: 22px;
  }
  .benefits-list h2,
  .instruction-structure h2 {
    font-size: 22px;
  }
  .benefits-list-timeline li {
    font-size: 16px;
    padding-left: 50px;
    margin-bottom: 40px;
  }
  .benefits-list-timeline li::before {
    width: 32px;
    height: 32px;
    font-size: 13px;
    line-height: 32px;
  }
  .benefits-list-timeline li:not(:last-child)::after {
    left: 15px;
    top: 34px;
    height: 50px;
  }
  .card {
    font-size: 16px;
    padding: 20px 16px 100px;
    margin-top: 40px;
  }
  .card .circle {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    margin-top: -35px;
  }
  .icon {
    width: 70px;
    height: 70px;
    left: calc(50% - 35px);
  }
  .messages-info h2 {
    font-size: 22px;
  }
  .messages-info p {
    font-size: 18px;
    line-height: 1.5;
  }
  .label {
    top: 30px;
    right: -10px;
    font-size: 12px;
    padding: 6px 12px;
  }
}
