/*
  Production — Производство наружной рекламы (css_v2).
  Стандартные блоки: hero, feature-grid, steps, cta-form.
  Кастомный блок prod-expertise вынесен в css_v2/components/prod-expertise.css.
*/

/* Основной фон страницы — чёрный, как на других demo-страницах */
.app {
  background: #000000;
}

/* Обёртка страницы */
.demo-prod {
  width: 100%;
  overflow-x: hidden;
}

/* Hero фон: 834 — fon_834_pr, 1440+ — production-hero-bg */
.hero--production .hero__bg-img--production-tablet {
  display: none;
}

@media (min-width: 834px) and (max-width: 1439px) {
  .hero--production .hero__bg-img--mobile,
  .hero--production .hero__bg-img--desktop {
    display: none !important;
  }
  .hero--production .hero__bg-img--production-tablet {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (min-width: 1440px) {
  .hero--production .hero__bg-img--mobile,
  .hero--production .hero__bg-img--production-tablet,
  .hero--production .hero__bg-img--desktop {
    display: none !important;
  }
  .hero--production .hero__bg {
    background: #000000;
  }
  /* Layout как hero-with-figure: flex, контент и фигура по центру */
  .hero--production {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    min-height: 485px;
    padding: 0;
  }
  .hero--production .container {
    flex: 0 1 560px;
    max-width: 560px;
    padding: 0;
    margin: 0;
  }
  .hero--production .hero__content {
    padding: 184px 0 150px;
    width: 100%;
  }
  .hero--production .hero__title {
    font-size: 65px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.48px;
    margin-bottom: 18px;
  }
  .hero--production .hero__subtitle {
    font-size: 21px;
    line-height: 32px;
    max-width: 512px;
    margin-bottom: 24px;
  }
  .hero--production .hero__image-wrap {
    display: flex;
    flex: 0 0 564px;
    width: 564px;
    height: 564px;
    position: relative;
    margin-right: -24px;
    align-items: center;
    justify-content: center;
  }
  .hero--production .hero__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .hero--production .hero__glow {
    display: none;
  }
  .hero--production .hero__ai {
    display: none;
  }
}

/* ——— Steps: модификатор Production (тёмный круг с оранжевой обводкой, 4 карточки) ——— */
.steps--production .step-card__circle {
  background: #19161c;
  border: 2px solid #ff7b00;
}

.steps--production .step-card:last-child {
  grid-column: auto;
}

/* Hero 1440: AI-фигура — лёгкое свечение как везде */
@media (min-width: 1440px) {
  .demo-prod .hero--production .hero__ai-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: rgba(255, 123, 0, 0.75);
    filter: blur(80px);
    border-radius: 100px;
    pointer-events: none;
    z-index: -1;
  }
}

/* Contact — layout как у Печати (print.css): mobile column, 834+ две колонки, по центру */
.cta-form--production .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 834px) {
  .cta-form--production .container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
  }
}

/* CTA 1440: сетка инпутов + кнопка */
@media (min-width: 1440px) {
  .cta-form--production .cta-form__content {
    margin-bottom: 48px;
  }

  /* Имя + Телефон — строка; Сфера бизнеса — строка; Какую задачу — строка */
  .cta-form--production .cta-form__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }

  .cta-form--production .cta-form__field:nth-child(1),
  .cta-form--production .cta-form__field:nth-child(2) {
    grid-column: auto;
  }

  .cta-form--production .cta-form__field:nth-child(3),
  .cta-form--production .cta-form__field:nth-child(4) {
    grid-column: span 2;
  }

  .cta-form--production .cta-form__form .button {
    white-space: nowrap;
  }
}

/* CTA 834–1439: фиксируем текст кнопки в одну строку */
@media (min-width: 834px) and (max-width: 1439px) {
  .cta-form--production .cta-form__form .button {
    white-space: nowrap;
  }
}
