.mobile-number { display: none; }
/* Figma mobile frame 1:6166. Only the matching sections change at 600px. */
.figma-mobile-copy { display: none; }
.figma-desktop-copy, .figma-mobile-copy { line-height: inherit; letter-spacing: inherit; }
@media (max-width: 600px) {
  .first *, .program *, .banner *, .reasons-section *, .advantages *, .hero__two-gray *, .footer * { letter-spacing: 0; }
  .program .figma-mobile-copy { line-height: inherit; }
  .first .icons_block_mobile { flex-direction: row; align-items: center; }
  .program .mobile-number { display: flex; flex: 0 0 55.122px; width: 55.122px; height: 60px; align-items: center; justify-content: center; background: url('../img/mobile/star-red.svg') center / contain no-repeat; color: white; font-size: 20px; font-weight: 600; line-height: 1.2; }
  .program li:nth-child(4n + 2) .mobile-number { background-image: url('../img/mobile/star-blue.svg'); }
  .program li:nth-child(4n + 3) .mobile-number { background-image: url('../img/mobile/star-green.svg'); }
  .program li:nth-child(4n) .mobile-number { background-image: url('../img/mobile/star-orange.svg'); }
  .program .program_content-item-text li > img { display: none; }

  .figma-desktop-copy { display: none; }
  .figma-mobile-copy { display: inline; }
  .first > .container, .program > .container, .banner > .container,
  .reasons-section > .container, .advantages > .container,
  .hero__two-gray > .container, .footer > .container, .header > .container {
    width: 100%; max-width: 100%; padding-left: 15px; padding-right: 15px;
  }
  .header { position: absolute; top: 20px; min-width: 0; display: block !important; transform: none; }
  .header .header__content { margin: 0; padding: 0; border: 0; justify-content: center; }
  .header .header__content-logo_img { display: block; width: 138px; }
  .header .header__content-logo_img img { display: block; width: 138px; height: 30px; }
   .first { padding: 0 0 20px; background: white; }
  .first::before, .first::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-position: center; background-size: cover; opacity: .2; }
  .first::before { background-image: url('../img/mobile/header-1.jpg'); }
  .first::after { background-image: url('../img/mobile/header-2.jpg'); }

  .first .first__content { display: flex; flex-direction: column; padding-top: 80px; gap: 30px; }
  .first .first__content-title { width: 100%; display: flex; flex-direction: column; }
  .first .hero-description, .first .hero-description > span { display: block; line-height: inherit; }
  .first .hero-description > span + span { margin-top: 12px; }
  .first .first__content-title h1, .first .first__content-title h1 span {
    font-size: 36px; font-weight: 600; line-height: 1; text-align: center; margin: 0;
  }
  .first .first__content-title h2 { display: block; font-size: 18px; font-weight: 500; line-height: normal; text-align: center; padding: 20px 0 0; }
  .first .icons_block_mobile { gap: 5px; margin: 30px 0; justify-content: center; }
  .first .icons_block_mobile li { gap: 5px; margin: 0; }
  .first .icons_block_mobile li img { width: 24px; max-width: none; height: 24px; margin: 0; }
  .first .icons_block_mobile li p { font-size: 13px !important; line-height: 1; margin: 0; }
  .first .first__content-title p.bonus_text-p { font-size: 16px; line-height: 1.2; text-align: center; margin: 0 0 20px !important; }
  .first .image-mobile { display: none; }
  .first .first__content-form { margin: 0; padding: 20px; width: 100%; border-radius: 30px; }
  .first .first__content__image { display: block; position: static; width: 100% !important; margin: 0; }
  .first .first__content__image img { display: block; position: static; transform: none; width: 100%; max-width: 100%; height: auto; }
  .first .form_new, .hero__two-gray .form_new { display: flex; flex-direction: column; gap: 10px; }
  .first .form_new input:not([type=hidden]):not([type=checkbox]),
  .hero__two-gray .form_new input:not([type=hidden]):not([type=checkbox]) {
    height: 50px; font-size: 16px; margin: 0; border-radius: 20px;
  }
  .first .form_new > input[name=name] { order: 1; }
  .first .form_new > .iti, .first .form_new > input[type=tel] { order: 2; }
  .first .form_new > input[type=email] { order: 3; }
  .first .form_new > .checkbox { order: 4; }
  .first .form_new > button { order: 5; }
  .first .checkbox, .hero__two-gray .checkbox { margin: 0; align-items: center; gap: 10px; text-align: left; }
  .first .checkbox input, .hero__two-gray .checkbox input { width: 18px; height: 18px; flex-shrink: 0; margin: 0; }
  .first .checkbox a, .hero__two-gray .checkbox a { font-size: 12px; line-height: 1; }
  .first .form__submit span { line-height: 20px; }
  .first .form__submit, .hero__two-gray .form__submit { min-height: 60px; padding: 20px 15px; font-size: 24px; font-weight: 500; line-height: 20px; }
  .program.mt, .advantages.mt, .banner.mt { margin-top: 50px; }
  .program .main_title, .program .main_title span { font-size: 32px; font-weight: 500; line-height: 1; text-align: center; letter-spacing: -.32px; }
  .program .program_content { display: flex; flex-direction: column !important; gap: 30px; margin-top: 30px; }
  .program .program_content-item-text { order: 0; width: 100%; gap: 20px; }
  .program .program_content-item-text li { gap: 20px; align-items: center; }
  .program .program_content-item-text li > img { width: 55.122px; height: 60px; flex-shrink: 0; }
  .program .item-text_info { min-width: 0; gap: 10px; }
  .program .item-text_info h4 { font-size: 24px; font-weight: 500; line-height: 1; }
  .program .item-text_info.v2 h4 { font-size: 16px; line-height: 1.2;    font-weight: 400; }
  .program .item-text_info p { font-size: 16px; line-height: 1.2; }
  .program .program_content-item-image { display: block; order: 1; width: 100%; max-width: 415px; }
  .program .program_content-item-image img { display: block; width: 100%; height: auto; }
  .banner { padding: 30px 0; background: linear-gradient(#eeeeeecc,#eeeeeecc), url('../img/mobile/banner.jpg') center / cover; }
  .banner .banner-content { padding: 20px; border-radius: 30px; }
  .banner .main_title, .banner .main_title span, .advantages .main_title, .advantages .main_title span {
    font-size: 36px; font-weight: 500; line-height: 1; text-align: center;
  }
  .banner .third__content { display: block; margin: 30px 0 0; }
  .banner .third__content-item { flex-direction: column; gap: 30px; margin: 0; }
  .banner .third__content-item-img img { display: block; width: 221.371px; height: 240px; }
  .banner .third__content-item-info { width: 100%; display: flex; flex-direction: column; gap: 20px; }
  .banner .third__content-item-info h4 { font-size: 24px; font-weight: 500; line-height: 1; margin-bottom: 0; }
  .banner .third__content-item-info p { font-size: 16px; line-height: 1; padding-left: 24px; margin: 0; }
  .banner .third__content-item-info p:last-child { margin-bottom: 0; }
  .banner .third__content-item-info p::before { content: ''; width: 14px; height: 15px; background: url('../img/mobile/bullet.svg') center / contain no-repeat; top: 50%; transform: translateY(-50%); }
  .banner .btn_block_a { display: block; width: 100%; max-width: none; padding: 20px 10px; font-size: 20px; font-weight: 500; line-height: 20px; border-radius: 20px; }
  .reasons-section { margin: 50px 0 0; }
  .reasons-section .reasons-card { padding: 24px 20px; border-radius: 30px; gap: 30px; }
  .reasons-section .reasons-title { font-size: 28px; line-height: 1; margin: 0 0 24px !important; }
  .reasons-section .reasons-subtitle { font-size: 18px; line-height: 1; margin: 0; }
  .reasons-section .reasons-list { gap: 20px; margin: 24px 0; }
  .reasons-section .reasons-item { gap: 10px; font-size: 16px; line-height: 1; align-items: center; }
  .reasons-section .reasons-icon { background: url('../img/mobile/bullet.svg') center / contain no-repeat; width: 14px; min-width: 14px; height: 15px; }
  .reasons-section .reasons-icon svg { display: none; }
  .reasons-section .reasons-desc { font-size: 16px; line-height: 1; padding: 0; margin: 0 0 30px !important; }
  .reasons-section .reasons-btn { min-height: 60px; padding: 20px 10px; border-radius: 20px; font-size: 20px; font-weight: 500; line-height: 20px; }
  .reasons-section .reasons-media { min-height: 0; width: 100%; }
  .reasons-section .reasons-image { display: block; width: 220.906px; height: 240px; }
  .advantages { background: none; padding: 0; }
  .advantages .advantages_bg { display: none; }
  .advantages .advantages_ul { margin: 30px 0 0; overflow: visible; }
  .advantages .advantages_ul .swiper-slide { width: 315px; max-width: 100%; height: auto; }
  .advantages .advantages_item { padding: 30px; gap: 20px; }
  .advantages .advantages_item img { display: block; width: 193.699px; height: 210px; object-fit: contain; }
  .advantages .advantages_item h3, .advantages .advantages_item h4 { margin: 0 !important; }
  .advantages .advantages_item h3 { font-size: 24px; }
  .advantages .advantages_item h4 { font-size: 20px; }
  .advantages .advantages_item ul { margin: 0; }
  .advantages .advantages_item ul li { font-size: 14px; line-height: 1.2; margin: 0 0 6px; }
  .advantages .advantages_item > p { font-size: 14px; }
  .advantages .advantages-slider_btns { margin-top: 30px; }
  .advantages .swiper-pagination-advantages { position: static; display: flex; justify-content: center; gap: 5px; }
  .advantages .swiper-pagination-bullet { width: 10px; height: 10px; margin: 0 !important; background: #d9d9d9; opacity: 1; }
  .advantages .swiper-pagination-bullet-active { width: 30px !important; border-radius: 20px; background: #e70000; }
  .hero__two-gray { margin: 50px 0 0; }
  .hero__two-gray .hero__two-gray-content { padding: 30px 20px 20px; border-radius: 30px; min-height: 0; }
  .hero__two-gray .hero__two-gray-content-text { max-width: 100%; }
  .hero__two-gray .hero__two-gray-content-text h3 { font-size: 22px; line-height: 1; font-weight: 500; }
  .hero__two-gray .hero__two-gray-content-text ul { gap: 5px; margin: 20px 0; }
  .hero__two-gray .hero__two-gray-content-text li { font-size: 13px; gap: 5px; }
  .hero__two-gray .hero__two-gray-content-text li img { width: 24px; height: 24px; margin: 0; }
  .hero__two-gray .form_new { max-width: 100%; margin: 0; }
  .footer.mt { margin-top: 50px; padding: 40px 0 60px; }
  .footer .footer_content { flex-direction: column; gap: 40px; }
  .footer .footer_content-left { gap: 20px; }
  .footer .footer_content-left > img { width: 161px; height: 35px; }
  .footer .footer_content-left p { font-size: 12px; line-height: 1.2; }
  .footer .footer_content-soc { gap: 30px; }
  .footer .footer_content-soc img { width: 22px; height: 22px; padding: 0; background: none; }
  .footer .footer_content-info { width: auto; max-width: 100%; display: flex; flex-direction: column; gap: 30px; }
  .footer .footer_content-info .info h3 { font-size: 16px; font-weight: 400; line-height: 1.4; }
  .footer .footer_content-info .info p { font-size: 16px; line-height: 1.4; padding: 0; }
  .footer .footer_content-info .info a { margin-top: 15px; }
}
