/**
 * Хиро: кнопка «Записаться» — прямоугольная (скошенная) голубая плашка.
 * Одна кнопка .hero-cta--desktop на всех экранах — px/clamp.
 */

#hero.hero--video-bg {
  --hcz-blue: #7088a1;
  --hcz-fg: #101010;
  --hcz-border: rgba(16, 16, 16, 0.35);
  overflow: visible;
}

/* —— /PROMPT — жирным —— */
#hero h1[data-startscreen-title] .hero-start__p {
  font-weight: 700 !important;
}

/* —— #курс по нейросетям — строчными буквами, серым —— */
#hero.hero--video-bg .text-size-hashtag {
  text-transform: none !important;
}

/* —— Зона кнопки —— */
#hero .hero-cta-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
  gap: 0;
  box-sizing: border-box;
}

#hero .hero-cta-zone .hero-cta--mobile {
  display: none;
}

#hero .hero-cta-zone .hero-cta--desktop.hero-cta-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  width: auto;
  min-height: clamp(52px, 4.2vw, 64px);
  padding: clamp(16px, 1.4vw, 22px) clamp(28px, 2.4vw, 40px) !important;
  border-radius: 999px !important;
  font-size: clamp(16px, 1.25vw, 20px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-sizing: border-box;
  position: relative;
  background-image: none !important;
}

#hero .hero-cta-zone .hero-cta--desktop.hero-cta-btn .button_bg {
  display: none !important;
}

/* —— Кнопка: прямоугольная скошенная плашка —— */
#hero .hero-cta-zone .hero-cta--desktop.hero-cta-btn .button_arrow-wrap {
  display: none !important;
}

#hero .hero-cta-zone .hero-cta--desktop.hero-cta-btn {
  min-height: clamp(56px, 4.8vw, 72px) !important;
  padding: clamp(18px, 1.6vw, 26px) clamp(32px, 2.8vw, 48px) !important;
  border: none !important;
  border-radius: 0 !important;
  background: var(--hcz-blue) !important;
  clip-path: polygon(clamp(14px, 1.2vw, 20px) 0, 100% 0, calc(100% - clamp(14px, 1.2vw, 20px)) 100%, 0 100%);
  box-shadow: none !important;
  filter: drop-shadow(0 10px 24px rgba(112, 136, 161, 0.32));
  color: #fff !important;
  font-size: clamp(15px, 1.2vw, 20px) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#hero .hero-cta-zone .hero-cta--desktop.hero-cta-btn:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 14px 32px rgba(112, 136, 161, 0.4));
}

#hero .hero-cta-zone .hero-cta--desktop.hero-cta-btn .button_text {
  color: #fff !important;
  text-transform: uppercase;
}

@media screen and (min-width: 992px) {
  /* Группа слева, но /PROMPT, #курс и кнопка центрированы друг относительно друга
     (общая ось = центр /PROMPT). Колонка ужимается до ширины /PROMPT. */
  #hero .hero__content .flex-v.justify--space-between.height-100-auto {
    align-items: center !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-left: clamp(-34px, -2.6vw, -18px) !important;
  }

  #hero h1[data-startscreen-title] {
    width: -moz-fit-content !important;
    width: fit-content !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  #hero .flex-h-v-v.justify--space-between.gap--0-80-80 {
    flex-direction: column !important;
    align-items: center !important;
    gap: clamp(1.75rem, 3.5vw, 3rem) !important;
  }

  #hero .hero-prompt-circles-wrap.flex-v.gap--15 {
    order: 1 !important;
    align-items: center !important;
  }

  #hero .hero-prompt-circles-wrap .grid-3-3-2col.home--hero {
    margin-left: 0 !important;
    align-items: center !important;
  }

  #hero .hero-prompt-circles-wrap .text-size-hashtag {
    text-align: center !important;
  }

  #hero .hero-cta-zone {
    order: 2 !important;
    align-items: center !important;
    width: auto;
    max-width: 100%;
    margin-top: clamp(-14px, -1.1vw, -8px) !important;
    margin-left: clamp(-22px, -1.7vw, -14px) !important;
  }
}

@media screen and (max-width: 991px) {
  #hero .hero-cta-zone {
    position: relative;
    z-index: 12;
    align-items: stretch;
    width: 100%;
    padding: 0 clamp(12px, 3vw, 16px);
    box-sizing: border-box;
  }

  #hero .hero-cta-zone .hero-cta--desktop.hero-cta-btn {
    display: flex !important;
    align-self: stretch !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: clamp(64px, 16vw, 80px) !important;
    height: auto !important;
    padding: clamp(18px, 4.8vw, 24px) clamp(28px, 8vw, 44px) !important;
    border-radius: 0 !important;
    font-size: clamp(15px, 4vw, 18px) !important;
    letter-spacing: 0.05em !important;
    white-space: normal !important;
    flex-wrap: nowrap !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  #hero .hero-cta-zone .hero-cta--desktop.hero-cta-btn .button_text {
    font-size: clamp(15px, 4vw, 18px) !important;
    white-space: normal !important;
    letter-spacing: 0.05em !important;
    text-align: center !important;
    max-width: 100% !important;
    line-height: 1.15 !important;
  }

  #hero .hero-cta-zone .hero-cta--desktop.hero-cta-btn [text-split] .char {
    display: inline !important;
    position: static !important;
    overflow: visible !important;
  }

  #hero .hero-cta-zone .hero-cta--desktop.hero-cta-btn [text-split] .char:before,
  #hero .hero-cta-zone .hero-cta--desktop.hero-cta-btn [text-split] .char:after {
    display: none !important;
  }
}
